lisp/emacs-lisp/package-x.el: Follow-up to change in package.el.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2
3 * emacs-lisp/package-x.el (package--archive-contents-from-url):
4 Use url-insert-file-contents; package-handle-response no longer exists.
5
6 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
7
8 * emacs-lisp/package.el: Fix bug#16733 (again).
9 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
10 (url-http-target-url): Remove unused declarations.
11 (package-handle-response): Remove.
12 (package--with-work-buffer): Use url-insert-file-contents and simplify.
13 (package--download-one-archive): Use current-buffer instead of
14 dynamic binding of `buffer'.
15 (describe-package-1): Do not decode readme-string.
16
17 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
18
19 * simple.el (primitive-undo): Correction to 2014-03-24 change.
20
21 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
22
23 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
24
25 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
26 from 2014-03-07, it decreases performance unnecessarily. Let-bind
27 `remote-file-name-inhibit-cache' to nil in the second pass.
28 (tramp-find-executable): Do not call "which" on SunOS.
29 (tramp-send-command-and-check): Fix docstring.
30 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
31 check whether source directory has set the sticky bit.
32
33 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
34
35 * simple.el (primitive-undo): Only process marker adjustments
36 validated against their corresponding (TEXT . POS). Issue warning
37 for lone marker adjustments in undo history. (Bug#16818)
38 (undo-make-selective-list): Add marker adjustments to selective
39 undo list based on whether their corresponding (TEXT . POS) is in
40 the region. Remove variable adjusted-markers, which was unused
41 and only non nil during undo-make-selective-list.
42 (undo-elt-in-region): Return nil when passed a marker adjustment
43 and explain in function doc.
44
45 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
46
47 * emacs-lisp/package.el (package--add-to-archive-contents):
48 Include already installed and built-in packages in
49 `package-archive-contents'.
50 (package-install): Don't include already installed packages in the
51 options during interactive invocation. (Bug#16762)
52
53 2014-03-24 Daniel Colascione <dancol@dancol.org>
54
55 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
56 instead of cl-loop search function.
57
58 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
59
60 * frameset.el (frameset--initial-params): Fix typo in parameter name.
61
62 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
63
64 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
65
66 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
67
68 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
69 Match special global variables without curlies, too.
70 (ruby-font-lock-keywords): Simplify the matcher for special global
71 variables. Don't require a non-word character after the variable.
72 (Bug#17057)
73
74 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * simple.el (redisplay-highlight-region-function): Increase priority of
77 overlay to make sure boundaries are visible (bug#15899).
78
79 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
80
81 * frameset.el (frameset-restore): Compare display strings with equal.
82
83 * frame.el (make-frame): Don't quote display name in error message,
84 it is already a string.
85
86 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
87
88 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
89 the password.
90
91 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
92
93 * emacs-lisp/package.el (package-show-package-list): If the buffer
94 is already displayed in another window, switch to that window.
95
96 2014-03-21 Daniel Colascione <dancol@dancol.org>
97
98 * mail/emacsbug.el (report-emacs-bug): Include memory usage
99 information in bug reports.
100
101 2014-03-23 Daniel Colascione <dancol@dancol.org>
102
103 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
104 list to look for keyword arguments instead of `memq', fixing
105 (Bug#3647) --- unfortunately, only for freshly-compiled code.
106 Please make bootstrap.
107
108 2014-03-23 Richard Stallman <rms@gnu.org>
109
110 * battery.el (battery-linux-sysfs): Search for each field
111 from the beginning of the buffer.
112
113 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
114
115 * emacs-lisp/package.el (package-desc): Use the contents of the
116 quoted form, not its cdr. (Bug#16873)
117
118 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
119
120 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
121 benefit of doc.c; change parameter profile to match the X function.
122
123 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
124
125 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
126 and `tramp-copy-env'.
127
128 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
129 (tramp-maybe-open-connection): Handle `tramp-login-env'.
130
131 2014-03-21 Glenn Morris <rgm@gnu.org>
132
133 * electric.el (electric-indent-post-self-insert-function): Add doc.
134
135 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
136
137 * emacs-lisp/package.el (package-compute-transaction):
138 Use `version-list-<=' to compare the requirement version against
139 the version of package already to be installed. Update the error
140 message. (Bug#16826)
141
142 * progmodes/ruby-mode.el (ruby-smie-rules):
143 Add indentation rule for ` @ '. (Bug#17050)
144
145 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
146
147 * align.el (align-regexp): Remove superfluous backslash.
148
149 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
150 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
151 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
152 Fix docstring typos.
153 (ffap-next): Use C-u in docstring.
154 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
155 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
156 Remove superfluous backslashes.
157 (ffap-string-at-point): Reflow docstring.
158
159 * server.el (server-host): Reflow docstring.
160 (server-unload-function): Fix docstring typo.
161 (server-eval-at): Remove superfluous backslash.
162
163 * skeleton.el (skeleton-insert): Remove superfluous backslash.
164 (skeleton-insert): Doc fix.
165 (skeleton-insert): Reflow docstring.
166
167 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
168 (tty-color-approximate, tty-color-by-index, tty-color-values)
169 (tty-color-desc): Remove superfluous backslashes.
170
171 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * electric.el (electric-newline-and-maybe-indent): New command.
174 Bind it globally to C-j.
175 (electric-indent-mode): Don't mess with the global map any more.
176 Don't drop the post-self-insert-hook is some buffer is still using it
177 (bug#16770).
178 * bindings.el (global-map): Remove C-j binding.
179
180 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
181 the docstring of functions advised before dumping (bug#16993).
182
183 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
184
185 * ps-print.el (ps-generate-postscript-with-faces):
186 Explicitly deactivate the mark (bug#16866).
187 * simple.el (deactivate-mark): Update region highlight.
188
189 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
190
191 * emacs-lisp/package.el (describe-package-1):
192 Decode commentary (bug#16733).
193
194 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
195
196 * custom.el (defcustom): Doc fix: recommend avoiding destructive
197 modification of the value argument of :set (bug#16755).
198
199 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * simple.el (newline-and-indent): Do autofill (bug#17031).
202
203 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
204
205 * newcomment.el (comment-normalize-vars): Only add escaping check
206 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
207 (comment-beginning): Use `narrow-to-region' instead of moving back
208 one character.
209 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
210 (comment-start-skip): Update the docstring.
211
212 2014-03-18 Richard Stallman <rms@gnu.org>
213
214 * dired.el (dired-display-file): Force use of other window.
215
216 2014-03-18 Daniel Colascione <dancol@dancol.org>
217
218 * startup.el (tty-handle-args): Remove debug message from 2007.
219
220 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
223 (advice--make-interactive-form): Use it to avoid (auto)loading function.
224 (advice--make-1, advice-add, advice-remove):
225 Remove braindead :advice-pending hack.
226
227 2014-03-17 Glenn Morris <rgm@gnu.org>
228
229 * calendar/calendar.el (calendar-generate-month): Apply weekend
230 face to the right days; fixes 2013-08-06 change. (Bug#17028)
231
232 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
233
234 * net/tramp.el (tramp-action-out-of-band): Read pending output.
235 (tramp-call-process): Trace also DESTINATION.
236
237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
238 Quote file names when they are local. Remove superfluous trace.
239
240 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
241
242 * newcomment.el (comment-beginning): If `comment-start-skip'
243 doesn't match, move back one char and try again. (Bug#16971)
244
245 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
246 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
247 Set `comment-start-skip' to a simpler value that doesn't try to
248 check if the semicolon is escaped (this is handled by
249 `syntax-ppss' now). (Bug#16971)
250
251 * progmodes/scheme.el (scheme-mode-variables): Same.
252
253 2014-03-16 Martin Rudalics <rudalics@gmx.at>
254
255 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
256 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
257 current (Bug#16816, Bug#17007).
258 (with-current-buffer-window): New macro doing the same as
259 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
260 * help.el (help-print-return-message): Warn in doc-string to not
261 use this in `with-help-window'.
262 (describe-bindings-internal): Call `describe-buffer-bindings'
263 from within help buffer. See Juanma's scenario in (Bug#16816).
264 (with-help-window): Update doc-string.
265 * dired.el (dired-mark-pop-up):
266 * files.el (save-buffers-kill-emacs):
267 * register.el (register-preview): Use `with-current-buffer-window'
268 instead of `with-temp-buffer-window'.
269
270 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
271
272 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
273 Implement inserting into current buffer, documented in their docstrings.
274 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
275 (rst-section-tree-point, rst-forward-section, rst-indent)
276 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
277 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
278 (rst-font-lock-handle-adornment-pre-match-form)
279 (rst-repeat-last-character): Reflow docstrings.
280 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
281 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
282 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
283 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
284 Fix docstring typos.
285 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
286 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
287 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
288
289 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
290
291 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
292 for compatibility with other ports.
293 (ns-initialize-window-system): Use it. It is set in term/common-win.el
294 from the -xrm command line argument, but in the Nextstep port its value
295 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
296
297 * progmodes/python.el (defconst, python-syntax-count-quotes)
298 (python-indent-region, python-indent-shift-right)
299 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
300 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
301 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
302 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
303 (inferior-python-mode, python-shell-make-comint, run-python-internal)
304 (python-shell-buffer-substring, python-shell-send-buffer)
305 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
306 (python-completion-complete-at-point, python-fill-docstring-style)
307 (python-eldoc-function, python-imenu-format-item-label)
308 (python-imenu-format-parent-item-label)
309 (python-imenu-format-parent-item-jump-label)
310 (python-imenu--build-tree, python-imenu-create-index)
311 (python-imenu-create-flat-index): Fix docstring typos.
312 (python-indent-context, python-shell-prompt-regexp, run-python):
313 Remove superfluous backslashes.
314 (python-indent-line, python-nav-beginning-of-defun)
315 (python-shell-get-buffer, python-shell-get-process)
316 (python-info-current-defun, python-info-current-line-comment-p)
317 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
318 (python-indent-post-self-insert-function, python-shell-send-file)
319 (python-shell-completion-get-completions)
320 (python-shell-completion-complete-or-indent)
321 (python-eldoc--get-doc-at-point): Reflow docstrings.
322
323 2014-03-14 Glenn Morris <rgm@gnu.org>
324
325 * emacs-lisp/package.el (package-menu-mode-map):
326 Replace use of obsolete function alias. Tweak menu item text.
327
328 * info.el (Info-finder-find-node):
329 Ignore the `emacs' metapackage. (Bug#10813)
330
331 * finder.el (finder-list-matches): Include unversioned packages
332 in the result of a keyword search.
333
334 * finder.el (finder--builtins-descriptions): New constant.
335 (finder-compile-keywords): Use finder--builtins-descriptions.
336
337 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
338
339 * simple.el (blink-matching-paren): Describe the new value,
340 `jump', enabling the old behavior.
341 (blink-matching-open): Use that value. (Bug#17008)
342
343 2014-03-14 Glenn Morris <rgm@gnu.org>
344
345 * finder.el (finder-no-scan-regexp): Add leim-list.
346 (finder-compile-keywords):
347 Don't skip files with same basename. (Bug#14010)
348 * Makefile.in (setwins_finder): New, excluding leim.
349 (finder-data): Use setwins_finder.
350
351 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
352 (help-function-arglist, help-make-usage): Move from here...
353 * help.el (help-split-fundoc, help-add-fundoc-usage)
354 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
355 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
356
357 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
358
359 * net/socks.el (socks, socks-override-functions)
360 (socks-find-services-entry):
361 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
362 (hif-find-ifdef-block):
363 * progmodes/modula2.el (m2-indent): Fix docstring typos.
364
365 * net/tls.el (tls-program): Reflow docstring.
366
367 * progmodes/pascal.el (pascal-mode-abbrev-table)
368 (pascal-imenu-generic-expression, pascal-auto-endcomments)
369 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
370 (pascal-outline-mode): Fix docstring typos.
371 (pascal-mode): Let define-derived-mode document mode hook.
372 (pascal-uncomment-area): Reflow.
373 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
374
375 * progmodes/opascal.el (opascal-compound-block-indent)
376 (opascal-case-label-indent): Fix docstring typos.
377 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
378
379 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
380
381 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
382 Fontify multiple adjacent negation chars. (Bug#17004)
383
384 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
385
386 * emacs-lisp/package.el (package--prepare-dependencies):
387 Accept requirements without explicit version (bug#14941).
388
389 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
390
391 * register.el (register-separator, copy-to-register): Doc fixes.
392 (register-preview-default): Remove unnecessary call to concat.
393
394 * frameset.el (frameset-restore): When checking for a visible frame,
395 use the action map instead of calling visible-frame-list.
396
397 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
398
399 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
400
401 2014-03-12 Martin Rudalics <rudalics@gmx.at>
402
403 * window.el (fit-frame-to-buffer): Get maximum width from
404 display's width instead of height.
405
406 2014-03-12 Glenn Morris <rgm@gnu.org>
407
408 * desktop.el (desktop-restore-frames)
409 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
410 (desktop-restore-reuses-frames): Doc tweaks.
411
412 * electric.el (electric-indent-mode): Doc fix.
413
414 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
415
416 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
417 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
418 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
419 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
420 (cvs-dired-use-hook): Fix docstring typos.
421 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
422 Doc fixes.
423
424 * vc/pcvs-defs.el (cvs-auto-remove-handled)
425 (cvs-auto-remove-directories, cvs-default-ignore-marks)
426 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
427 (cvs-execute-single-dir): Fix docstring typos.
428
429 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
430 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
431
432 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
433
434 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
435 Fix docstring typos.
436
437 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
438
439 * frameset.el (frameset--jump-to-register): Add autoload; it could be
440 called from jump-to-register after unloading the frameset package.
441
442 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
445 (bug#16975). Deactivate the mark before setting it to nil.
446 (activate-mark): Do nothing if region is already active.
447
448 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
449
450 * frameset.el (frameset--target-display): Remove definition; declare.
451 (frameset-save, frameset-restore): Let-bind frameset--target-display.
452
453 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
456 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
457 when the advice is pending.
458 (advice-remove): Remove this marker when not needed any more.
459
460 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
461
462 * frameset.el: Separate options for reusing frames and cleaning up.
463 (frameset--reuse-list): Remove definition; declare.
464 (frameset--action-map): Declare.
465 (frameset--find-frame-if): Doc fix.
466 (frameset--restore-frame): Cache frame action.
467 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
468 how to clean up the frame list after restoring. Remove cleaning
469 options from REUSE-FRAMES. Change all keyword values to symbols.
470 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
471
472 * desktop.el (desktop-restore-forces-onscreen)
473 (desktop-restore-reuses-frames): Use non-keyword values.
474 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
475
476 2014-03-10 Glenn Morris <rgm@gnu.org>
477
478 * files.el (find-file): Doc fix: update info node name.
479
480 * emacs-lisp/advice.el (ad-add-advice, defadvice):
481 Doc fix: remove references to deleted info nodes.
482
483 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
484
485 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
486 Do not add `nil' to the environment, when there's no remote `locale'.
487 (tramp-find-inline-encoding): Check, that the remote host has
488 installed perl, before sending scripts.
489
490 2014-03-10 Leo Liu <sdl.web@gmail.com>
491
492 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
493 Clear eldoc-last-message. (Bug#16920)
494
495 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
498 (bug#14430).
499
500 2014-03-09 Juri Linkov <juri@jurta.org>
501
502 * ansi-color.el (ansi-color-names-vector): Copy default colors
503 from `xterm-standard-colors' that look well on the default white
504 background (and also on the black background) to avoid illegible
505 color combinations like yellow-on-white and white-on-white.
506 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
507
508 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
509
510 * frameset.el (frameset-restore): When no frame is visible, do not
511 generate a list of frames, just make visible the selected one.
512
513 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
514
515 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
516 it only contains the repository root. (Bug#16897)
517
518 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
521 only when `remote-file-name-inhibit-cache' is nil.
522 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
523
524 2014-03-06 Martin Rudalics <rudalics@gmx.at>
525
526 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
527 Fix doc-strings.
528 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
529 fit-frame-to-buffer variable. Fix doc-string.
530 (fit-window-to-buffer): Set ONLY argument in call of
531 fit-frame-to-buffer. Fix doc-string.
532
533 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
534
535 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
536 (tramp-action-password): Clear password cache if needed.
537 (tramp-read-passwd): Do not clear password cache.
538
539 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
540 cache unless it is the first password request.
541
542 2014-03-06 Glenn Morris <rgm@gnu.org>
543
544 * simple.el (newline): Doc tweak.
545
546 * emacs-lisp/shadow.el (load-path-shadows-find):
547 Ignore dir-locals. (Bug#12357)
548
549 2014-03-05 Glenn Morris <rgm@gnu.org>
550
551 * files.el (interpreter-mode-alist):
552 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
553
554 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
555
556 * frameset.el (frameset--initial-params): Filter out null entries.
557
558 2014-03-05 Martin Rudalics <rudalics@gmx.at>
559
560 * window.el (window-min-height, window-min-width):
561 Rewrite doc-strings.
562 (window-body-size): Add PIXELWISE argument to make it consistent
563 with its callees.
564
565 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
566
567 * finder.el (finder-mode-map, finder-mode-syntax-table):
568 Revert part of 2014-02-28 change.
569
570 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
571
572 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
573 (eww-setup-buffer): Clear next/prev/etc more reliably.
574 (eww-textarea-map): [tab] doesn't work on tty.
575 Reported by Mario Lang.
576
577 * net/shr.el (shr-map): Ditto.
578
579 2014-03-04 Glenn Morris <rgm@gnu.org>
580
581 * minibuffer.el (completion-hilit-commonality):
582 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
583
584 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
585
586 * hilit-chg.el (hilit-chg-unload-function): New function.
587 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
588 (hilit-chg-map-changes): Prefer cardinal number to digit.
589 (hilit-chg-display-changes): Reflow docstring.
590 (highlight-changes-rotate-faces): Remove superfluous backslash.
591
592 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
593
594 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
595 `tramp-send-command-and-check'.
596
597 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
598
599 * hexl.el (hexl-address-region, hexl-ascii-region)
600 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
601 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
602 (hexl-forward-word, hexl-previous-line, hexl-next-line):
603 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
604 (hexl-mode): Doc fix.
605 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
606 (hexl-mode-ruler): Fix typos in docstrings.
607
608 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
609 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
610 Remove superfluous backslashes.
611 (strokes-last-stroke, strokes-global-map, strokes-mode):
612 Reflow docstrings.
613 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
614 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
615 (strokes-distance-squared, strokes-global-set-stroke)
616 (strokes-global-set-stroke-string): Doc fixes.
617 (strokes-help): Fix typos; reflow docstring.
618
619 2014-03-04 Martin Rudalics <rudalics@gmx.at>
620
621 * window.el (window-in-direction): Fix doc-string.
622
623 2014-03-04 Glenn Morris <rgm@gnu.org>
624
625 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
626 Explicit error if no grammar.
627 (smie-config-save): Doc fix. Fix quote typo.
628
629 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
632 electric-indent-mode-hook if we obey electric-indent-mode.
633 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
634 decide whether we obey electric-indent-mode.
635 (c-change-set-fl-decl-start, c-extend-after-change-region):
636 Silence warnings.
637 (c-electric-indent-mode-hook): Assume we do want to obey
638 electric-indent-mode.
639
640 * electric.el (electric-indent-mode-has-been-called): Remove.
641 (electric-indent-mode): Fix accordingly.
642
643 * files.el (hack-local-variables): Mention file name in warning.
644
645 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
646
647 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
648
649 * binding.el: Add comment describing why C-d binds to `delete-char'.
650 * simple.el (delete-forward-char): Mark as interactive-only.
651
652 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
653
654 * icomplete.el (icomplete-completions):
655 Follow-up to 2014-03-01 change.
656
657 * icomplete.el: Miscellaneous doc fixes.
658 Use Icomplete everywhere instead of icomplete for consistency.
659 (icomplete-max-delay-chars): Fix typo.
660 (icomplete-mode): Use \[].
661 (icomplete-tidy, icomplete-exhibit): Reflow.
662 (icomplete-minibuffer-setup-hook, icomplete-completions):
663 Remove superfluous backlashes.
664
665 * ido.el: Miscellaneous doc fixes.
666 Use Ido everywhere instead of ido or `ido' for consistency.
667 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
668 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
669 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
670 (ido-separator): Extract obsolescence info from docstring and declare
671 with make-obsolete-variable.
672 (ido-minibuffer-setup-hook): Simplify example.
673 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
674 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
675 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
676 (ido-everywhere): Reflow docstring.
677 (ido-toggle-vc): Doc fix.
678 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
679 of long list of keybindings.
680
681 2014-03-03 Glenn Morris <rgm@gnu.org>
682
683 * frame.el (display-pixel-height, display-pixel-width)
684 (display-mm-dimensions-alist, display-mm-height)
685 (display-mm-width): Doc tweaks.
686
687 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
688
689 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
690 case of undo in region.
691
692 2014-03-02 Martin Rudalics <rudalics@gmx.at>
693
694 * window.el (fit-window-to-buffer): Fix argument in window-size
695 call when window is horizontally combined.
696
697 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
698
699 * icomplete.el (icomplete-completions): Use string-width.
700 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
701
702 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
703
704 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
705 Highlight regexp options. (Bug#16914)
706
707 2014-03-01 Martin Rudalics <rudalics@gmx.at>
708
709 * window.el (window--max-delta-1): Round down when calculating
710 how many lines/columns we can get from a window.
711
712 2014-03-01 Glenn Morris <rgm@gnu.org>
713
714 * isearch.el (search-invisible): Doc fix.
715
716 * minibuffer.el (completion-hilit-commonality):
717 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
718 * comint.el (comint-dynamic-list-completions): Doc fix.
719 * comint.el (comint-dynamic-list-completions):
720 * filecache.el (file-cache-minibuffer-complete):
721 * tempo.el (tempo-display-completions):
722 * eshell/em-hist.el (eshell-list-history):
723 Replace use of obsolete argument of display-completion-list.
724
725 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
726
727 * icomplete.el (icomplete-completions):
728 Revert back to using "..." when ?… cannot be displayed.
729
730 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
731
732 * finder.el (finder-unload-function): New function.
733
734 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
735
736 * dframe.el (dframe-detach):
737 * find-dired.el (find-dired, find-name-dired):
738 * finder.el (finder-mode-map, finder-mode-syntax-table)
739 (finder-headmark, finder-select, finder-mouse-select):
740 Fix docstring typos.
741
742 2014-02-28 Martin Rudalics <rudalics@gmx.at>
743
744 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
745 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
746 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
747 Fix doc-string based on a suggestion by Nicolas Richard
748 <theonewiththeevillook@yahoo.fr>.
749 * help.el (with-help-window): Fix doc-string.
750
751 2014-02-28 Ivan Kanis <ivan@kanis.fr>
752
753 * net/shr.el (shr-image-animate): New option.
754 (shr-put-image): Respect shr-image-animate.
755
756 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
757
758 * net/tramp-adb.el (tramp-adb-parse-device-names):
759 Use `accept-process-output'.
760 (tramp-adb-handle-file-truename): Cache the localname only.
761 (tramp-adb-handle-make-directory)
762 (tramp-adb-handle-delete-directory): Flush file properties correctly.
763 (tramp-adb-handle-set-file-modes): Do not raise an error when file
764 modes cannot be changed.
765
766 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
767 file properties of symlinks.
768
769 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
770
771 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
772 required/optional fields to match development biblatex. (Bug#16781)
773
774 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
775
776 * saveplace.el (toggle-save-place):
777 Fix argument handling. (Bug#16673)
778
779 2014-02-28 Glenn Morris <rgm@gnu.org>
780
781 * minibuffer.el (completions-first-difference)
782 (completions-common-part, completion-hilit-commonality): Doc fixes.
783
784 2014-02-28 Karl Berry <karl@gnu.org>
785
786 * info.el (Info-mode-map): Add H for describe-mode,
787 to synchronize with standalone Info.
788
789 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
790
791 * progmodes/sql.el (sql-interactive-mode):
792 Avoid setting global comint-input-ring-separator. (Bug#16814)
793
794 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
795
796 * net/dbus.el (dbus--init-bus): Declare function.
797 (dbus-path-local, dbus-interface-local): New defconst.
798 (dbus-init-bus): Use them.
799 (dbus-return-values-table): Extend doc.
800 (dbus-handle-bus-disconnect): Extend error message.
801
802 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
803
804 * subr.el (y-or-n-p): Fix double space issue in message.
805
806 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
807
808 * net/tramp.el (tramp-call-process): Improve trace message.
809 (tramp-handle-insert-file-contents): Trace error case.
810
811 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
812 <insert-directory>: Use `tramp-handle-insert-directory'.
813 (tramp-adb-handle-insert-directory): Remove function.
814 (tramp-adb-send-command-and-check): New defun, replacing
815 `tramp-adb-command-exit-status'. Change all callees.
816 (tramp-adb-handle-file-attributes)
817 (tramp-adb-handle-directory-files-and-attributes): Use it.
818 (tramp-adb-ls-output-name-less-p):
819 Use `directory-listing-before-filename-regexp'.
820 (tramp-adb-handle-delete-directory): Flush also file properties of
821 the truename of directory.
822 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
823 (tramp-adb-handle-file-local-copy): Make the local copy readable.
824 (tramp-adb-handle-write-region): Implement APPEND.
825 (tramp-adb-handle-rename-file): Make it more robust. Flush file
826 properties correctly.
827 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
828 variables. Check for connected devices only when needed.
829
830 2014-02-27 Glenn Morris <rgm@gnu.org>
831
832 * minibuffer.el (completion-table-dynamic)
833 (completion-table-with-cache): Doc fixes.
834
835 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
836 (completing-read-multiple): Doc fixes.
837
838 2014-02-27 Daniel Colascione <dancol@dancol.org>
839
840 * minibuffer.el (completion--nth-completion): Fix indentation.
841
842 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
843 explicit tramp path is empty.
844
845 2014-02-27 Glenn Morris <rgm@gnu.org>
846
847 * emacs-lisp/crm.el (completing-read-multiple):
848 Empower help-enable-auto-load.
849
850 2014-02-26 Glenn Morris <rgm@gnu.org>
851
852 * startup.el (command-line): Don't init the tty in daemon mode.
853
854 Avoid calling tty-setup-hook twice, eg if a term file
855 explicitly calls tty-run-terminal-initialization. (Bug#16859)
856 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
857 (tty-create-frame-with-faces): Use it.
858 * startup.el (command-line): Pass run-hook argument
859 to tty-run-terminal-initialization.
860
861 * dired.el (dired-restore-desktop-buffer): Demote errors;
862 eg in case a glob match fails. (Bug#16884)
863
864 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
865
866 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
867 error from `read-from-string'. (Bug#16850)
868
869 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
870 result of `completing-read' in the interactive form. (Bug#16854)
871
872 2014-02-25 Glenn Morris <rgm@gnu.org>
873
874 * image.el (image-animate, image-animate-timeout):
875 Stop animating images in dead buffers. (Bug#16878)
876
877 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
878
879 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
880 Doc fixes.
881 * startup.el (term-setup-hook): Doc fix. Make obsolete.
882 * term/sun.el (sun-raw-prefix-hooks):
883 Use tty-setup-hook instead of term-setup-hook.
884 (terminal-init-sun): Construct message from bytecomp plist.
885 * term/wyse50.el (enable-arrow-keys): Doc fix.
886
887 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
888
889 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
890 Fix docstring typos.
891
892 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
895
896 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
897
898 * minibuffer.el (completion--try-word-completion):
899 Fix error when completing M-x commands (bug#16808).
900
901 2014-02-24 Leo Liu <sdl.web@gmail.com>
902
903 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
904
905 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
906
907 * apropos.el (apropos-print): Avoid formatting error when
908 apropos-do-all and apropos-compact-layout are both t.
909
910 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
911
912 * apropos.el (apropos-property, apropos-all-words-regexp)
913 (apropos-true-hit, apropos-variable, apropos-print):
914 Fix docstring typos, and remove obsolete comment.
915
916 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
917
918 * net/tramp-sh.el (tramp-sh-handle-file-truename):
919 Preserve trailing "/". (Bug#16851)
920
921 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
922
923 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
924 after `=>' (bug#16811).
925 (ruby-smie-rules): Handle the inconsistent second element of the
926 list returned by `smie-indent--parent'.
927 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
928 method call.
929
930 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
931
932 * elec-pair.el (electric-pair-text-syntax-table)
933 (electric-pair-syntax-info, electric-pair--syntax-ppss)
934 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
935 (electric-pair--looking-at-unterminated-string-p): Doc fix.
936 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
937
938 2014-02-22 Glenn Morris <rgm@gnu.org>
939
940 * imenu.el (imenu--generic-function): Doc fix.
941
942 * register.el (frame-configuration-to-register): Make obsolete.
943
944 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
945
946 * desktop.el (desktop-save-buffer-p): Do not fail when
947 desktop-files-not-to-save is nil. Return t for true result
948 as the doc says.
949
950 2014-02-22 Daniel Colascione <dancol@dancol.org>
951
952 * net/secrets.el (secrets-create-item, secrets-search-items):
953 Check that attribute values are strings, avoiding the construction
954 of invalid dbus messages.
955
956 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
957
958 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
959 defun-declarations-alist.
960
961 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
964 (bug#16829).
965
966 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
967
968 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
969 (whitespace-newline, whitespace-trailing, whitespace-line)
970 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
971 (whitespace-space-after-tab): Fix typo in docstrings.
972
973 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
974
975 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
976
977 * electric.el (electric-indent-functions-without-reindent):
978 Add `yaml-indent-line'.
979
980 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
981
982 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
983 It has done nothing for years; should be removed after the release.
984
985 * simple.el (choose-completion): Fix docstring typo.
986 (read-quoted-char-radix): Remove unneeded * in docstring.
987 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
988 Don't escape parentheses unnecessarily in docstrings.
989
990 2014-02-21 Martin Rudalics <rudalics@gmx.at>
991
992 Fix handling of window-min-height/-width (Bug#16738).
993 * window.el (window--dump-window, window--dump-frame):
994 New functions.
995 (window--min-size-1): Account for window dividers.
996 When window-resize-pixelwise is nil, delay rounding till after the
997 sum of the window components has been calculated.
998 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
999 nil make sure at least one text line and two text columns remain
1000 fully visible.
1001 (window-resize): Signal an error when window-resize-apply fails.
1002 (window--resize-child-windows): Fix calculation of by how many
1003 pixels a window can still be shrunk via window-new-normal.
1004 (adjust-window-trailing-edge): Call window--resizable with
1005 correct TRAIL argument.
1006
1007 (with-temp-buffer-window): Don't evaluate BODY within
1008 with-current-buffer (Bug#16816).
1009
1010 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * net/tramp.el (tramp-check-cached-permissions):
1013 Call `file-attributes' with `suffix' being a symbol but a string.
1014
1015 2014-02-21 Daniel Colascione <dancol@dancol.org>
1016
1017 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1018 (dbus-init-bus): New function: call into dbus-init-bus-1
1019 and installs a handler for the disconnect signal.
1020 (dbus-call-method): Rewrite to look for result in cons.
1021 (dbus-call-method-handler): Store result in cons.
1022 (dbus-check-event): Recognize events with nil sender as valid.
1023 (dbus-handle-bus-disconnect): New function. React to bus
1024 disconnection signal by synthesizing dbus error for each
1025 pending synchronous or asynchronous call.
1026 (dbus-notice-synchronous-call-errors): New function.
1027 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1028 is true, not all the time.
1029
1030 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1031
1032 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1033 Remove obsolescence declarations, these variables do not exist anymore.
1034
1035 * savehist.el (savehist-save-minibuffer-history)
1036 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1037 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1038 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1039 mostly, refer to "Savehist mode" when talking about the mode,
1040 and not the function.
1041
1042 * saveplace.el (save-place): Remove redundant info in docstring.
1043 (save-place-forget-unreadable-files, toggle-save-place)
1044 (save-place-forget-unreadable-files, save-place-dired-hook):
1045 Fix typos and remove unneeded backslashes.
1046
1047 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1048
1049 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1050 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1051
1052 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1053 <insert-directory>: Use `tramp-handle-insert-directory'.
1054 (tramp-gvfs-handle-insert-directory): Remove function.
1055
1056 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1057 Call `tramp-handle-insert-directory'.
1058
1059 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1060
1061 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1062 before the start of buffer/region (bug#16799).
1063
1064 2014-02-20 Glenn Morris <rgm@gnu.org>
1065
1066 * isearch.el (search-invisible): Doc fix.
1067
1068 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1069
1070 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1071 (bug#16657).
1072
1073 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1074
1075 * frameset.el (frameset-restore): Delay removing an old frame's
1076 duplicate id until the new frame has been correctly created.
1077
1078 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1081 (tramp-check-cached-permissions): Call `file-attributes' if the
1082 cache is empty.
1083
1084 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1085 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1086
1087 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1088 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1089 (tramp-gvfs-maybe-open-connection): Set always connection
1090 properties, even if target is mounted already.
1091
1092 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1093 Set tramp-autoload cookie.
1094 (tramp-get-remote-touch): New defun.
1095 (tramp-sh-handle-set-file-times): Use it.
1096 (tramp-sh-handle-directory-files-and-attributes):
1097 Use `tramp-handle-directory-files-and-attributes' if neither stat
1098 nor perl are available on the remote host.
1099
1100 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1101 "/". Write long listing only when "l" belongs to the switches.
1102
1103 * net/trampver.el: Update release number.
1104
1105 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1106
1107 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1108
1109 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1110
1111 * window.el (window-state-put): Allow WINDOW to refer to an
1112 internal window (Bug#16793).
1113
1114 2014-02-19 Glenn Morris <rgm@gnu.org>
1115
1116 * textmodes/remember.el: Move provide statement to end.
1117 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1118 (remember-notes): Doc fixes.
1119
1120 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * delsel.el (delete-char): Restore incorrectly erased property
1123 (bug#16795).
1124
1125 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1126
1127 * frameset.el (frameset--restore-frame): When a frame is being reused
1128 and its root window is not alive, delete all the frame's windows before
1129 restoring the window state. This works around the issue in bug#16793.
1130
1131 2014-02-18 Glenn Morris <rgm@gnu.org>
1132
1133 * textmodes/remember.el (remember-data-directory)
1134 (remember-directory-file-name-format, remember-store-in-files)
1135 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1136 (remember-notes-save-and-bury-buffer)
1137 (remember-notes--kill-buffer-query): Doc fixes.
1138
1139 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1140
1141 2014-02-17 Alan Mackenzie <acm@muc.de>
1142
1143 Connect electric-indent-mode up with CC Mode. Bug #15478.
1144 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1145 to electric-indent-{,local-}-mode.
1146 (c-basic-common-init): Set electric-indent-inhibit.
1147 Initialise c-electric-flag from electric-indent-mode.
1148 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1149 New hook functions which propagate electric-indent-mode to CC mode.
1150
1151 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1152 hit, toggle electric-indent-local-mode.
1153
1154 * electric.el (electric-indent-mode-has-been-called):
1155 New variable.
1156
1157 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1158
1159 * frameset.el (frameset-cfg-id): New function.
1160 (frameset--reuse-frame, frameset-restore): Use it.
1161 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1162
1163 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1164
1165 * ido.el (ido-file-internal): Remove unused var `d'.
1166 Use \` for to match BoS. Fit within 80n columns.
1167
1168 2014-02-17 Daniel Colascione <dancol@dancol.org>
1169
1170 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1171 dbus-call-method check for completion using a busy-wait loop with
1172 gradual backoff.
1173
1174 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1175
1176 Sync with Tramp 2.2.9.
1177
1178 * net/trampver.el: Update release number.
1179
1180 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1181
1182 * ido.el (ido-file-internal): Don't add the name of an existing
1183 directory twice. (Bug#16747)
1184
1185 2014-02-16 Glenn Morris <rgm@gnu.org>
1186
1187 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1188 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1189
1190 2014-02-15 Michael R. Mauger <michael@mauger.com>
1191
1192 * progmodes/sql.el: Version 3.4
1193 (sql-oracle-options): New default value ("-L").
1194 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1195 (sql-placeholders-filter): Correct placeholder pattern.
1196 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1197 (sql-login-delay): New variable.
1198 (sql-product-interactive): Use it.
1199
1200 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1201
1202 * frameset.el (frameset--jump-to-register): Check that buffer is live
1203 (bug#16749).
1204
1205 2014-02-15 Glenn Morris <rgm@gnu.org>
1206
1207 * info.el (info-initialize): Revert 2014-01-10 change.
1208
1209 2014-02-14 Glenn Morris <rgm@gnu.org>
1210
1211 * replace.el (map-query-replace-regexp)
1212 (read-regexp-defaults-function, read-regexp): Doc fixes.
1213
1214 * dired.el (dired-read-regexp):
1215 * faces.el (list-faces-display):
1216 * misearch.el (multi-isearch-read-matching-buffers)
1217 (multi-isearch-read-matching-files):
1218 * play/cookie1.el (cookie-apropos):
1219 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1220
1221 * textmodes/remember.el (remember): Use frameset-to-register
1222 rather than frame-configuration-to-register.
1223
1224 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1225
1226 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1227 incorrect keybinding.
1228
1229 2014-02-13 Daniel Colascione <dancol@dancol.org>
1230
1231 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1232 when adding overlays so that line numbers from compiler match line
1233 numbers we use.
1234
1235 2014-02-13 Glenn Morris <rgm@gnu.org>
1236
1237 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1238
1239 * jit-lock.el (jit-lock-mode): Doc fix.
1240
1241 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1242
1243 * apropos.el (apropos-read-pattern): When the user passes an empty
1244 string, give a more helpful error message than "Wrong type
1245 argument: stringp, nil".
1246
1247 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1250
1251 2014-02-13 Glenn Morris <rgm@gnu.org>
1252
1253 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1254
1255 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1258 shift-select commands.
1259
1260 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1261
1262 * progmodes/js.el (js-indent-line): Don't widen.
1263 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1264
1265 2014-02-12 Glenn Morris <rgm@gnu.org>
1266
1267 * icomplete.el (icomplete): Add info-link to defgroup.
1268 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1269 (icomplete-minibuffer-map, icomplete-mode)
1270 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1271
1272 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1273 (package-menu-filter): Rename from package-menu-filter-interactive.
1274 Doc fix.
1275
1276 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1277
1278 * frameset.el (frameset--jump-to-register): Select the required
1279 window and buffer before restoring position (bug#16696).
1280
1281 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1282
1283 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1284
1285 2014-02-10 Glenn Morris <rgm@gnu.org>
1286
1287 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1288
1289 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1290
1291 * w32-common-fns.el (x-get-selection): Doc fix.
1292 * select.el (x-get-selection): Doc fix. (Bug#15109)
1293
1294 * face-remap.el (face-remap-add-relative)
1295 (face-remap-remove-relative, face-remap-reset-base)
1296 (face-remap-set-base): Call force-mode-line-update to redisplay
1297 the current buffer due to potential change in faces. (Bug#16709)
1298
1299 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1300
1301 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1302 script more robustly.
1303
1304 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1305
1306 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1307
1308 * simple.el (choose-completion): Doc fix (bug#14160).
1309
1310 * subr.el (event-start): Say what a nil EVENT value means.
1311
1312 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1313 (bug#14197).
1314
1315 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1316
1317 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1318
1319 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1320
1321 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1322 predicate function (bug#15455).
1323
1324 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1325
1326 * ielm.el (inferior-emacs-lisp-mode): Instead of
1327 `comment-use-global-state', set `comment-use-syntax'.
1328
1329 2014-02-10 Glenn Morris <rgm@gnu.org>
1330
1331 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1332
1333 2014-02-09 Alan Mackenzie <acm@muc.de>
1334
1335 Fix c-invalidate-state-cache on narrowed buffers.
1336 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1337 Widen when setting and clearing the CPP delimiter properties.
1338
1339 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1340
1341 * help.el (describe-bindings): Doc fix (bug#9888).
1342
1343 * files.el (save-buffer): Use ARG as the parameter name for
1344 consistency (bug#10346).
1345 (save-buffer): Clarify the 0 argument (bug#10346).
1346
1347 * cus-edit.el (customize-apropos): Fix error string.
1348 (custom-buffer-create): Doc fix (bug#11122).
1349 (custom-sort-items): Doc fix (bug#11121).
1350
1351 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1352
1353 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1354 (icomplete-simple-completing-p): Mention the previous variable.
1355
1356 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1357 meaning of the parameter (bug#12282).
1358
1359 * files.el (find-file-noselect): Clarify prompt when changing
1360 readedness (bug#13261).
1361 (locate-file): Suffixes aren't returned, so don't say that they
1362 are (bug#12674).
1363 (backup-inhibited): Doc clarification (bug#12525).
1364
1365 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1366 before we actually start to delete things (bug#16331).
1367
1368 * subr.el (event-start): Doc fix (bug#14228).
1369 (event-end): Ditto.
1370
1371 2014-02-09 Glenn Morris <rgm@gnu.org>
1372
1373 * emacs-lisp/warnings.el (lwarn):
1374 Empower help-enable-auto-load. (Bug#15940)
1375
1376 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1377
1378 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1379 (Bug#16690)
1380
1381 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1384 Insert output at end of buffer. (Bug#16120)
1385
1386 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1387
1388 * simple.el (choose-completion-string-functions): Document new
1389 calling convention (bug#14153).
1390 (execute-extended-command): Clarify doc string (bug#13373).
1391
1392 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1393
1394 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1395 (find-grep-dired): Doc fix (bug#14288).
1396
1397 2014-02-08 Juri Linkov <juri@jurta.org>
1398
1399 * isearch.el (isearch-quote-char): Check character validity
1400 like in `quoted-insert' (bug#16677).
1401
1402 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1403
1404 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1405
1406 * isearch.el (isearch-hide-immediately): Doc clarification
1407 (bug#14723).
1408
1409 * simple.el (line-move): Document utility function used many
1410 places in the Emacs sources (bug#14843).
1411
1412 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1413 (dired-prev-marked-file): Doc fix (bug#14855).
1414 (dired-up-directory): Doc fix (bug#14848).
1415
1416 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1417
1418 * files.el (file-relative-name): Doc fix (bug#15159).
1419
1420 * fringe.el (fringe-styles): Doc fix (bug#15239).
1421
1422 * isearch.el (isearch-filter-predicate): Documentation typo fix
1423 (bug#15474).
1424
1425 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1426
1427 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1428
1429 * replace.el (replace-match-maybe-edit): Doc clarification
1430 (bug#15632).
1431
1432 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1433
1434 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1435
1436 2014-02-08 Glenn Morris <rgm@gnu.org>
1437
1438 * help-fns.el (describe-variable):
1439 Check {file,dir}-local-variables-alist, and buffer-file-name,
1440 in the correct buffer.
1441
1442 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1443
1444 * help-fns.el (describe-variable): Fix the case where
1445 a value is directory-local with no dir-locals file. (Bug#16635)
1446
1447 2014-02-08 Glenn Morris <rgm@gnu.org>
1448
1449 * abbrev.el (edit-abbrevs-mode):
1450 Derive from fundamental-mode. (Bug#16682)
1451
1452 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1453
1454 * simple.el (quoted-insert): Check character validity (bug#16677).
1455
1456 2014-02-07 Juri Linkov <juri@jurta.org>
1457
1458 * desktop.el (desktop-read): Claim the lock when the owner is not
1459 the current process. (Bug#16157)
1460
1461 2014-02-07 Juri Linkov <juri@jurta.org>
1462
1463 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1464 to "\\` ". (Bug#16651)
1465
1466 2014-02-07 Juri Linkov <juri@jurta.org>
1467
1468 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1469 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1470 (desktop-auto-save-cancel-timer): New function with some code from
1471 `desktop-auto-save-set-timer'.
1472 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1473 Instead of setting `desktop-save-mode' to nil, call
1474 `desktop-save-mode' with arg 0. (Bug#16630)
1475
1476 2014-02-07 Glenn Morris <rgm@gnu.org>
1477
1478 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1479 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1480 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1481
1482 * obsolete/iswitchb.el: Move to obsolete/.
1483 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1484 since obsolete/ is not scanned for autoloads.
1485 * emacs-lisp/authors.el (authors-valid-file-names):
1486 Add iswitchb.el.
1487
1488 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1489 Disable now non-functional find-file-hook.
1490
1491 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1492
1493 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1494 instead of ";" in order to avoid additional prompts. Let heredoc
1495 scripts read from tty. (Bug#16582)
1496 (tramp-send-command): No special handling of heredocs, it isn't
1497 necessary anymore.
1498
1499 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1502 with a space (bug#16664). Limit the symbols considered to the ones
1503 that are bound or fbound (bug#16646).
1504
1505 2014-02-06 Glenn Morris <rgm@gnu.org>
1506
1507 * epa.el (epa-mail-aliases): Doc fix.
1508
1509 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1510
1511 * emacs-lisp/lisp.el (lisp-completion-at-point):
1512 Use `completion-table-merge' instead of `completion-table-in-turn'
1513 (bug#16604).
1514
1515 * minibuffer.el (completion-table-merge): New function.
1516
1517 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1518
1519 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1520 (tramp-sh-handle-set-file-acl)
1521 (tramp-sh-handle-start-file-process)
1522 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1523 (tramp-find-executable, tramp-send-command): Use it.
1524
1525 2014-02-05 Glenn Morris <rgm@gnu.org>
1526
1527 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1528
1529 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1530
1531 * progmodes/python.el (python-shell-send-string)
1532 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1533
1534 2014-02-04 Anders Lindgren <andlind@gmail.com>
1535
1536 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1537 the names (bug#16620).
1538
1539 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1540
1541 * faces.el (window-divider): New default value. Rewrite doc-string.
1542 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1543
1544 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1545
1546 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1547 `protected' and `public' can also be called without arguments.
1548
1549 2014-02-03 Glenn Morris <rgm@gnu.org>
1550
1551 * register.el (window-configuration-to-register)
1552 (frame-configuration-to-register): Unadvertise unused argument.
1553 * frameset.el (frameset-to-register): Remove unused argument.
1554
1555 * frameset.el (frameset-to-register):
1556 * kmacro.el (kmacro-to-register):
1557 * register.el (increment-register):
1558 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1559 (calc-append-to-register, calc-prepend-to-register):
1560 * play/gametree.el (gametree-layout-to-register)
1561 (gametree-apply-register-layout):
1562 * textmodes/picture.el (picture-clear-rectangle-to-register)
1563 (picture-yank-rectangle-from-register):
1564 * vc/emerge.el (emerge-combine-versions-register):
1565 Use register-read-with-preview to read registers.
1566
1567 2014-02-03 João Távora <joaotavora@gmail.com>
1568
1569 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1570 when at beginning of (possibly narrowed) buffer.
1571
1572 2014-02-02 Daniel Colascione <dancol@dancol.org>
1573
1574 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1575 Also try to display local help from just before point.
1576
1577 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1578
1579 c-parse-state. Don't "append-lower-brace-pair" in certain
1580 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1581 recognised as a comment.
1582
1583 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1584 as well as normal comment starter.
1585 (c-parse-state-get-strategy): Extra return possibility
1586 'back-and-forward.
1587 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1588 return value list to indicate replacement of a brace-pair cons
1589 with its car.
1590 (c-parse-state-1): With 'back-and-forward, only call
1591 c-append-lower-brace-pair-to state-cache when cons-separated.
1592
1593 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1594
1595 * term/ns-win.el (ns-suspend-error): New function.
1596 (ns-initialize-window-system): Add ns-suspend-error to
1597 suspend-hook (Bug#16612).
1598
1599 2014-02-02 Daniel Colascione <dancol@dancol.org>
1600
1601 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1602 Make loading cc-mode silent.
1603
1604 2014-02-02 Daniel Colascione <dancol@dancol.org>
1605
1606 * comint.el (comint-prompt-read-only): Change doc to suggest
1607 remap keybinding.
1608
1609 2014-02-02 Glenn Morris <rgm@gnu.org>
1610
1611 * register.el (register-read-with-preview, point-to-register)
1612 (window-configuration-to-register, frame-configuration-to-register)
1613 (jump-to-register, number-to-register, view-register, insert-register)
1614 (copy-to-register, append-to-register, prepend-to-register)
1615 (copy-rectangle-to-register): Doc fixes.
1616
1617 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1620 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1621 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1622 * help-fns.el (describe-function-1): Use it.
1623
1624 2014-02-02 Glenn Morris <rgm@gnu.org>
1625
1626 * register.el (register-preview-default): New function,
1627 split from register-preview.
1628 (register-preview-function): Rename from register-preview-functions,
1629 make it not a hook.
1630 (register-preview): Use register-preview-function.
1631 (register-read-with-preview): Error on non-character event. (Bug#16595)
1632
1633 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1634
1635 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1636 `:' before binary operators (bug#16609). Don't check for `:'
1637 before `[' and `(', or their syntax status. A percent literal
1638 can't end with either.
1639 (ruby-font-lock-keywords): For built-ins that require arguments,
1640 check that they're followed by something that looks like argument
1641 (bug#16610).
1642
1643 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1644
1645 * subr.el (butlast): Document what an omitted N means (bug#13437).
1646 (nbutlast): Ditto.
1647
1648 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1649
1650 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1651 depth shallower (bug#16587).
1652 (shr-tag-svg): Respect `shr-inhibit-images'.
1653 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1654
1655 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1656
1657 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1658 (ruby-smie-grammar): Make "." right-associative. Make its priority
1659 lower than the ternary and all binary operators.
1660 (ruby-smie-rules): Indent "(" relative to the first non-"."
1661 parent, or the first "." parent at indentation.
1662 Use `ruby-align-chained-calls' for indentation of "." tokens.
1663 (Bug#16593)
1664
1665 2014-01-31 Juri Linkov <juri@jurta.org>
1666
1667 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1668 from `make-hash-table'.
1669
1670 * textmodes/ispell.el (ispell-init-process): Change message format
1671 to be consistent with other messages.
1672
1673 2014-01-31 Glenn Morris <rgm@gnu.org>
1674
1675 * delsel.el (delete-selection-mode): Doc fix.
1676
1677 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1678 (trace-function-background): Doc fixes.
1679
1680 * ido.el (ido-use-virtual-buffers): Doc fix.
1681 Reset :version, since the default value has not changed.
1682
1683 * register.el (register-preview-delay, register-read-with-preview):
1684 Doc fixes.
1685
1686 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1687 do not mess with mail-buffer position (fixes 2009-11-03 change).
1688 * progmodes/cc-mode.el (c-submit-bug-report):
1689 Check auto-fill-mode is bound. (Bug#16592)
1690
1691 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1692
1693 * startup.el (fancy-splash-image-file): New function,
1694 split from fancy-splash-head.
1695 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1696 so that we are both using the same image. (Bug#16574)
1697
1698 2014-01-30 Glenn Morris <rgm@gnu.org>
1699
1700 * simple.el (eval-expression): Doc fix.
1701
1702 * hexl.el (hexl-mode-hook):
1703 * ielm.el (ielm-mode-hook):
1704 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1705 (lisp-interaction-mode-hook):
1706 * progmodes/cfengine.e (cfengine3-documentation-function):
1707 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1708
1709 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1712 is a symbol (bug#16584).
1713
1714 2014-01-30 Glenn Morris <rgm@gnu.org>
1715
1716 * help.el (help-for-help-internal): Add "P" to text.
1717
1718 2014-01-29 Glenn Morris <rgm@gnu.org>
1719
1720 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1721
1722 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1723
1724 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1725 height constraints.
1726
1727 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1728
1729 * progmodes/hideif.el: Extend to full CPP expression syntax.
1730 (hif-token-alist): Add missing tokens.
1731 (hif-token-regexp): Add support for float/octal/hex immediates.
1732 (hif-string-literal-regexp): New const.
1733 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1734 (hif-exprlist): New function.
1735 (hif-parse-if-exp): Use it.
1736 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1737 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1738 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1739 (hif-logxor, hif-comma): New functions.
1740
1741 2014-01-28 Glenn Morris <rgm@gnu.org>
1742
1743 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1744
1745 * indent.el (tab-stop-list): Doc fix. Add :version.
1746
1747 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1748 (cvs-append-to-ignore): Add compatibility alias.
1749
1750 2014-01-27 Glenn Morris <rgm@gnu.org>
1751
1752 * dired.el (dired-hide-details-mode): Don't autoload it,
1753 since it cannot be used outside Dired buffers anyway.
1754
1755 * emulation/cua-base.el (cua-mode): Doc fix.
1756
1757 * dired.el (dired-hide-details-hide-symlink-targets)
1758 (dired-hide-details-hide-information-lines)
1759 (dired-hide-details-mode): Doc fixes.
1760
1761 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1762 * strokes.el (strokes-file): Doc fix. Bump :version.
1763 (strokes-help): Doc fix.
1764 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1765 * emulation/viper.el (viper): Doc fix for custom group.
1766 (top-level): Remove oh-so-no-longer-relevant text about vip.
1767 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1768
1769 * ido.el (ido-save-directory-list-file):
1770 * saveplace.el (save-place-file):
1771 * calendar/timeclock.el (timeclock-file):
1772 * net/quickurl.el (quickurl-url-file):
1773 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1774 * progmodes/idlwave.el (idlwave-config-directory):
1775 * textmodes/remember.el (remember-data-file):
1776 Bump :version.
1777
1778 2014-01-26 Glenn Morris <rgm@gnu.org>
1779
1780 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1781 Doc fix. Make obsolete.
1782 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1783
1784 * sort.el (delete-duplicate-lines): Doc fix.
1785
1786 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1787
1788 * progmodes/ada-mode.el (ada):
1789 * woman.el (woman): Link to info manual and Commentary section.
1790
1791 * progmodes/flymake.el (flymake):
1792 * nxml/nxml-mode.el (nxml):
1793 * net/eww.el (eww):
1794 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1795 * htmlfontify.el (htmlfontify):
1796 * ses.el (ses):
1797 * epa.el (epa):
1798 * ido.el (ido): Link to info manual.
1799
1800 2014-01-25 Leo Liu <sdl.web@gmail.com>
1801
1802 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1803
1804 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1805
1806 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1807 (bug#16537).
1808
1809 >>>>>>> MERGE-SOURCE
1810 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1811
1812 * net/eww.el (eww-download-callback):
1813 Fix reference to eww-download-directory.
1814
1815 * emacs-lisp/bytecomp.el (byte-compile-file):
1816 Remove unused local variable `file-name'.
1817
1818 2014-01-24 Glenn Morris <rgm@gnu.org>
1819
1820 * woman.el (woman-default-faces, woman-monochrome-faces):
1821 Fix obsolescence specification.
1822
1823 * subr.el (with-demoted-errors): Doc fix.
1824
1825 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1828 (cl--macroexp-fboundp): New function.
1829 (cl--make-type-test): Use it.
1830
1831 2014-01-23 Glenn Morris <rgm@gnu.org>
1832
1833 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1834 * simple.el (eval-expression): Doc fixes.
1835
1836 2014-01-22 Glenn Morris <rgm@gnu.org>
1837
1838 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1839
1840 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * emacs-lisp/package.el: Write files silently.
1843 (package-autoload-ensure-default-file, package--write-file-no-coding)
1844 (package-generate-description-file, package--download-one-archive)
1845 (package-install-from-archive): Tell `write-region' to stay quiet.
1846 (package-menu-mode, package-menu--print-info): Omit the Archive column
1847 if there's only one archive.
1848 (package-all-keywords, package--has-keyword-p): Remove dead code.
1849
1850 2014-01-22 Glenn Morris <rgm@gnu.org>
1851
1852 * version.el (emacs-bzr-version-bzr): Fix typo.
1853
1854 * version.el (emacs-repository-get-version):
1855 Check either .bzr or .git, but not both.
1856 Make the git case actually use the DIR argument, and return nil
1857 rather than the empty string.
1858 Avoid error if .git exists but the git executable is not found.
1859
1860 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1861
1862 Fixes in window size functions around Bug#16430 and Bug#16470.
1863 * window.el (window-total-size, window-size): New argument ROUND.
1864 (window--min-delta-1, window-min-delta, window--max-delta-1):
1865 Be more conservative when calculating the numbers of lines or
1866 columns a window can shrink (Bug#16430).
1867 (fit-window-to-buffer): Simplify code.
1868 * term.el (term-window-width): Call window-body-width again.
1869
1870 2014-01-22 Glenn Morris <rgm@gnu.org>
1871
1872 * image.el (image-format-suffixes): Doc fix.
1873
1874 * international/quail.el (quail-define-package): Doc fix.
1875
1876 * emacs-lisp/authors.el (authors-valid-file-names)
1877 (authors-renamed-files-alist): Additions.
1878
1879 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1880 reverts 2014-01-09 change. (Bug#16422)
1881
1882 * calc/calc-embed.el (thing-at-point-looking-at):
1883 * emacs-lisp/map-ynp.el (x-popup-dialog):
1884 * obsolete/lmenu.el (x-popup-dialog):
1885 * emacs-lisp/package.el (url-recreate-url):
1886 * mail/mailclient.el (clipboard-kill-ring-save):
1887 * subr.el (x-popup-dialog): Update declaration.
1888 * mail/rmail.el (rmail-mime-message-p):
1889 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1890
1891 2014-01-21 Daniel Colascione <dancol@dancol.org>
1892
1893 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1894 Correctly detect when we're inside an arithmetic expansion form
1895 containing nested parenthesis.
1896 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1897 to detect cases where we shouldn't expand "<<" to a heredoc
1898 skeleton.
1899
1900 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1903 (eldoc--message-command-p): New function.
1904 (eldoc-display-message-p): Use it.
1905 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1906 message is not automatically erased for us.
1907 (eldoc-print-current-symbol-info): Erase previous message, if any.
1908
1909 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1910
1911 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1912 specify it's an interactive function.
1913
1914 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1915 Fix regex used for scanning for citation keys which failed for
1916 citations with optional arguments.
1917
1918 2014-01-21 Leo Liu <sdl.web@gmail.com>
1919
1920 * simple.el (read--expression): Don't enable eldoc-mode.
1921
1922 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1923
1924 * simple.el (move-beginning-of-line): Make sure we don't move forward
1925 (bug#16497).
1926
1927 2014-01-20 Juri Linkov <juri@jurta.org>
1928
1929 * saveplace.el (toggle-save-place, save-place-to-alist)
1930 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1931 'dired-mode) before checking for dired-directory. (Bug#16477)
1932
1933 2014-01-20 Juri Linkov <juri@jurta.org>
1934
1935 * indent.el (indent-line-to): Use backward-to-indentation
1936 instead of back-to-indentation. (Bug#16461)
1937
1938 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1939
1940 Revert some of the CANNOT_DUMP fix (Bug#16494).
1941 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1942 but fixing this can wait until after the next release.
1943 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1944
1945 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1946
1947 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1948 Use `password-word-equivalents'.
1949 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1950 to t. (Bug#5664, Bug#13124)
1951
1952 2014-01-19 Alan Mackenzie <acm@muc.de>
1953
1954 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1955 points.
1956 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1957 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1958 * progmodes/cc-mode.el (c-before-change, c-after-change)
1959 (c-font-lock-fontify-region): Bind it here.
1960
1961 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1962
1963 * term.el (term-window-width): Call window-text-width instead of
1964 window-width (Bug#16470).
1965
1966 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1967
1968 * simple.el (password-word-equivalents): Remove duplicates.
1969 Sort, to make this easier next time.
1970 Downcase. Omit ": " after "jelszó".
1971
1972 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1973
1974 * term/common-win.el (saved-region-selection): Defvar it.
1975 (x-select-text): Set saved-region-selection (Bug#16382).
1976
1977 2014-01-18 Glenn Morris <rgm@gnu.org>
1978
1979 * emacs-lisp/authors.el (authors-aliases)
1980 (authors-renamed-files-alist): Add some entries.
1981
1982 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1983
1984 * net/tramp.el (tramp-password-prompt-regexp):
1985 Use `password-word-equivalents' if available.
1986 (tramp-action-password, tramp-process-one-action)
1987 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1988
1989 2014-01-17 Chong Yidong <cyd@gnu.org>
1990
1991 * simple.el (password-word-equivalents): New defcustom.
1992 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1993 to 24.4.
1994 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1995 to t. (Bug#13124)
1996
1997 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1998
1999 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2000 (ruby-align-to-stmt-keywords): Change the default value.
2001 Use `ruby-alignable-keywords' to generate the possible customization
2002 choices.
2003 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2004 keywords, check against the value of `ruby-alignable-keywords'
2005 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2006
2007 2014-01-17 Glenn Morris <rgm@gnu.org>
2008
2009 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2010
2011 Make M-x authors return zero *Authors Errors* from current logs.
2012 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2013 (authors-ignored-files): Add some entries, remove others.
2014 (authors-ambiguous-files, authors-valid-file-names):
2015 Add some entries.
2016 (authors-renamed-files-alist): Add, remove, and adjust entries.
2017 (authors-renamed-files-regexps): Add some entries.
2018 Remove some very broad ones. Make some entries `lax'.
2019 (authors-lax-changelogs): New constant.
2020 (authors-disambiguate-file-name): Treat top-level specially.
2021 (authors-lax-changelog-p): New function.
2022 (authors-canonical-file-name): Check file as written against
2023 authors-valid-file-names. Do not special-case etc/.
2024 Handle `lax' logs and authors-renamed-files-regexps elements.
2025
2026 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2029 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2030 callers.
2031
2032 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2035 Assume we're already in the proper buffer.
2036 Inspired by Anders Lindgren <andlind@gmail.com>.
2037 (follow-post-command-hook): Call it from the right buffer.
2038 (follow-comint-scroll-to-bottom): Adjust call.
2039 (follow-all-followers): Use get-buffer-window-list.
2040
2041 2014-01-15 Daniel Colascione <dancol@dancol.org>
2042
2043 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2044 `buffer-file-name' in interactive-form so that we don't leave
2045 pathless file names in `file-name-history'.
2046
2047 2014-01-15 Juri Linkov <juri@jurta.org>
2048
2049 * indent.el (indent-rigidly): Set deactivate-mark to nil
2050 in transient indentation mode. (Bug#16438)
2051
2052 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2053
2054 * emacs-lisp/package.el (package-desc-keywords): New function
2055 (Bug#16222).
2056 (describe-package-1, package-all-keywords)
2057 (package--has-keyword-p): Use it.
2058
2059 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2060
2061 * simple.el (define-alternatives): When creating the
2062 COMMAND-alternatives variable, assign COMMAND as its definition
2063 name so that `describe-variable' can relocate it.
2064
2065 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2066
2067 * font-lock.el (font-lock-keywords): Fix typo in docstring
2068 (bug#16307).
2069
2070 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2071
2072 * ispell.el (ispell-region): Reset `in-comment' for new line
2073 instead of wrongly reset `add-coment' (bug#13577).
2074
2075 2014-01-14 Daiki Ueno <ueno@gnu.org>
2076
2077 * epa-file.el (epa-file-write-region): Encode the region according
2078 to `buffer-file-format'. Problem reported at:
2079 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2080
2081 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2082
2083 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2084 so it applies in the right buffer (bug#16410).
2085
2086 2014-01-13 Daniel Colascione <dancol@dancol.org>
2087
2088 * textmodes/rst.el (rst-define-key): Provide deprecated
2089 keybindings through named functions instead of anonymous ones so
2090 that "??" doesn't appear in describe-mode output.
2091
2092 2014-01-13 Bastien Guerry <bzg@gnu.org>
2093
2094 * simple.el (define-alternatives): Call the selected command
2095 interactively. When setting `COMMAND--implementation' for the
2096 first time, tell the user how to chose another implementation.
2097 Enhance the docstring.
2098
2099 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2102 (log-edit--match-first-line): New function.
2103 (log-edit-font-lock-keywords): Use it.
2104 (log-edit-mode): Make jit-lock-defer-multiline work.
2105
2106 2014-01-13 Bastien Guerry <bzg@gnu.org>
2107
2108 * rect.el (rectangle-mark-mode): When the region is not active,
2109 display a message saying that the mark as been set and that
2110 rectangle mode is in use.
2111 (rectangle--highlight-for-redisplay): Only put an overlay with a
2112 visible vertical bar when (display-graphic-p) is non-nil.
2113 This partially fixes Bug#16403.
2114
2115 2014-01-13 Juri Linkov <juri@jurta.org>
2116
2117 * info.el (Info-find-file): Go to DIR before displaying the error
2118 about a nonexistent file if no previous Info file is visited.
2119 Use `user-error' instead of `error' for "Info file %s does not exist".
2120 (Info-find-node-2): In case of a nonexistent node in unwind forms
2121 go to the Top node if there is no previous node to revert to.
2122 (Bug#16405)
2123
2124 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2125
2126 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2127 * window.el (fit-frame-to-buffer): Fix doc-string.
2128 Respect window-min-height/-width. Fit pixelwise when
2129 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2130 when avoiding that frame goes partially off-screen.
2131 (fit-window-to-buffer): Respect window-min-height/-width
2132 (Bug#14096).
2133
2134 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2137 after an empty line.
2138
2139 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * net/shr.el (shr-render-region): Autoload.
2142
2143 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2144
2145 * net/eww.el (eww-download-directory): Rename from
2146 `eww-download-path' (Bug#16419).
2147
2148 2014-01-12 Leo Liu <sdl.web@gmail.com>
2149
2150 * dired-x.el (dired-mode-map): Fix last change.
2151
2152 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2153
2154 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2155
2156 Spelling fixes.
2157 * emacs-lisp/generic.el (generic--normalize-comments):
2158 Rename from generic--normalise-comments. All uses changed.
2159 * play/bubbles.el (bubbles--neighborhood-score)
2160 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2161 (bubbles--neighborhood-available)
2162 (bubbles--update-neighborhood-score):
2163 Rename from names with 'neighbourhood'. All uses changed.
2164
2165 2014-01-12 Leo Liu <sdl.web@gmail.com>
2166
2167 Re-implement the feature of showing eldoc info after editing.
2168 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2169 (eldoc-edit-message-commands): New function.
2170 (eldoc-print-after-edit): New variable.
2171 (eldoc-pre-command-refresh-echo-area): Emit message only by
2172 eldoc-message-commands.
2173 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2174 if eldoc-print-after-edit is set. (Bug#16346)
2175 * simple.el (read--expression): Enable eldoc-mode.
2176 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2177
2178 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2179 Eric S. Raymond <esr@thyrsus.com>
2180
2181 * version.el (emacs-repository-get-version): Enhance so the
2182 function works correctly in either a Bazaar or Git repo.
2183
2184 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2185
2186 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2187 Goes with removal of the joke manpages from /etc.
2188
2189 2014-01-10 Kenichi Handa <handa@gnu.org>
2190
2191 * mail/rmail.el (rmail-get-coding-system):
2192 Check rmail-get-coding-function before "funcall"ing it.
2193
2194 2014-01-10 Glenn Morris <rgm@gnu.org>
2195
2196 * emacs-lisp/authors.el (authors-fixed-entries):
2197 Update for files that no longer exist.
2198
2199 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2200
2201 * version.el (emacs-bzr-get-version): Restore compatibilty with
2202 24.3 (Tested).
2203
2204 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2205
2206 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2207 and Podfile.
2208
2209 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2210
2211 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2212
2213 2014-01-10 Chong Yidong <cyd@gnu.org>
2214
2215 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2216
2217 2014-01-10 Anders Lindgren <andlind@gmail.com>
2218
2219 * follow.el (follow-cache-command-list): Include right-char and
2220 left-char.
2221
2222 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2223
2224 Spelling fixes.
2225 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2226 * woman.el (woman-mark-horizontal-position):
2227 Rename from woman-mark-horizonal-position. Use changed.
2228
2229 2014-01-10 Glenn Morris <rgm@gnu.org>
2230
2231 * info.el (info-initialize): If running uninstalled, ensure our
2232 own info files are always found first, even if INFOPATH is set.
2233
2234 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2235
2236 2014-01-09 David Engster <deng@randomsample.de>
2237
2238 * emacs-lisp/eieio-custom.el:
2239 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2240 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2241 * emacs-lisp/eieio.el: Regenerate autoloads.
2242
2243 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2244
2245 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2246 following renames. (Bug#8756)
2247
2248 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2251 (bug#16382).
2252 (activate-mark): Add `no-tmm' argument.
2253 (set-mark, push-mark-command): Use it instead of running
2254 activate-mark-hook by hand.
2255
2256 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2257
2258 In preparation for the move to git, sanitize out some
2259 Bazaar-specific names.
2260
2261 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2262
2263 * version.el (emacs-bzr-version): Name changed to
2264 emacs-repository-version. Obsolete-variable alias made.
2265 * loadup.el: Follow through on this name change.
2266 * mail/emacsbug.el (report-emacs-bug): Factor out any
2267 assumption about the version control system in use.
2268
2269 2014-01-08 David Engster <deng@randomsample.de>
2270
2271 * help-fns.el (help-fns-describe-function-functions):
2272 New variable to call functions for augmenting help buffers.
2273 (describe-function-1): Remove explicit calls to
2274 `help-fns--compiler-macro', `help-fns--parent-mode' and
2275 `help-fns--obsolete'. Put them in above new variable instead, and
2276 call them through `run-hook-with-args'.
2277 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2278 `eieio-describe-class'. Not meant for interactive use anymore,
2279 but to augment existing help buffers. Remove optional second
2280 argument. Create proper button for file location.
2281 Rewrite function to use `insert' instead of `princ' and `prin1' where
2282 possible.
2283 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2284 (eieio-method-def, eieio-class-def): Move further up.
2285 (describe-method, describe-generic, eieio-describe-method):
2286 Remove aliases.
2287 (eieio-help-constructor, eieio-help-generic): Rename from
2288 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2289 Rewrite to use `insert' in the current buffer and use proper help
2290 buttons.
2291 (eieio-help-find-method-definition)
2292 (eieio-help-find-class-definition): Also accept symbols as
2293 arguments.
2294 (eieio-help-mode-augmentation-maybee): Remove.
2295 (eieio-describe-class-sb): Use `describe-function'.
2296 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2297 Add `eieio-help-generic' and `eieio-help-constructor'.
2298
2299 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2300
2301 Spelling fixes.
2302 * language/china-util.el (hz-ascii-designation):
2303 Rename from hz-ascii-designnation.
2304 (hz-ascii-designation): Rename from hz-ascii-designnation.
2305 All uses changed.
2306
2307 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2310 package-alist.
2311
2312 2014-01-08 Bastien Guerry <bzg@gnu.org>
2313
2314 * emacs-lisp/package.el (package-delete):
2315 Correctly delete the package from package-alist.
2316
2317 2014-01-08 Daiki Ueno <ueno@gnu.org>
2318
2319 * emacs-lisp/package.el (url-recreate-url): Declare.
2320 (url-http-target-url): Declare.
2321 (package-handle-response): Include requested URL in the error message.
2322 (package--check-signature): Don't re-signal errors from
2323 package--with-work-buffer. Suggested by Stefan Monnier.
2324
2325 2014-01-07 Bastien Guerry <bzg@gnu.org>
2326
2327 * minibuffer.el (completion--try-word-completion): When both a
2328 hyphen and a space are possible candidates for the character
2329 following a word, display both candidates. (Bug#15980)
2330
2331 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2332
2333 * window.el (balance-windows-2): While rounding don't give a
2334 window more than the remainder. Bug#16351, bug#16383.
2335
2336 2014-01-07 Glenn Morris <rgm@gnu.org>
2337
2338 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2339 (menu-bar-help-menu): Use view-external-packages instead.
2340
2341 2014-01-07 Bastien Guerry <bzg@gnu.org>
2342
2343 * emacs-lisp/package.el (package-delete): Also delete the package
2344 name from `package-alist', not its description only.
2345
2346 2014-01-07 Glenn Morris <rgm@gnu.org>
2347
2348 * help.el (view-external-packages):
2349 * menu-bar.el (menu-bar-help-extra-packages):
2350 Visit efaq.info rather than etc/MORE.STUFF.
2351
2352 2014-01-07 Juri Linkov <juri@jurta.org>
2353
2354 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2355 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2356
2357 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2358 that shadows RET. (Bug#16342)
2359
2360 2014-01-07 Chong Yidong <cyd@gnu.org>
2361
2362 * isearch.el (isearch-yank-char, isearch-yank-word)
2363 (isearch-yank-line): Doc fix.
2364
2365 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2368 * emacs-lisp/elint.el (elint-find-builtins):
2369 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2370 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2371 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2372 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2373 * apropos.el (apropos-safe-documentation):
2374 * subr.el (symbol-file): Remove redundant fboundp.
2375 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2376
2377 2014-01-06 Bastien Guerry <bzg@gnu.org>
2378
2379 * hl-line.el (global-hl-line-overlay): Make a local variable.
2380 (global-hl-line-overlays): New variable to store all overlays.
2381 (global-hl-line-mode): Don't delete overlays from the current
2382 buffer when `global-hl-line-sticky-flag' is non-nil.
2383 (global-hl-line-highlight): Add new overlays to
2384 `global-hl-line-overlays'.
2385 (global-hl-line-unhighlight-all): New function to delete all
2386 overlays when turning off `global-hl-line-mode'.
2387 This fixes Bug#16183.
2388
2389 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * subr.el (set-transient-map): Fix nested case and docstring.
2392
2393 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2394
2395 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2396 `Texinfo' entry.
2397
2398 2014-01-06 Daniel Colascione <dancol@dancol.org>
2399
2400 Fix defun navigation in vc log view.
2401
2402 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2403 like `beginning-of-defun'.
2404 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2405 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2406 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2407 (log-view-extract-comment): Call `log-view-current-entry' directly
2408 instead of relying on broken `log-view-beginning-of-defun' behavior.
2409
2410 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2411
2412 Spelling fixes.
2413 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2414 * emacs-lisp/debug.el (cancel-debug-on-entry):
2415 * epg.el (epg-error-to-string):
2416 * files.el (recover-file):
2417 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2418 * mail/emacsbug.el (report-emacs-bug-hook):
2419 * mail/sendmail.el (mail-recover):
2420 * ses.el (ses-yank-resize):
2421 * term/ns-win.el (ns-print-buffer):
2422 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2423 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2424 All uses changed.
2425 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2426
2427 2014-01-06 Leo Liu <sdl.web@gmail.com>
2428
2429 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2430 to avoid shadowing global key. (Bug#16354)
2431
2432 2014-01-06 Daniel Colascione <dancol@dancol.org>
2433
2434 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2435 rst-mode.
2436
2437 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2438
2439 * window.el (balance-windows): Add mising t to fix Bug#16351.
2440
2441 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2442
2443 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2444 (bug#16285).
2445 (shr-insert): If we have a word that's longer than `shr-width',
2446 break after it anyway. Otherwise we'll do no breaking once we get
2447 such a long word.
2448
2449 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2450
2451 * net/eww.el (eww): Support single/double quote for search.
2452 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2453 (eww-history-quit): Delete and use quit-window.
2454 (eww-history-kill): Delete, because it doesn't work well and
2455 not necessary.
2456 (eww-history-mode-map): Delete some keys and add easy-menu.
2457
2458 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2459
2460 Fix misspelling of 'chinese' in rx (Bug#16237).
2461 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2462 chinese-two-byte.
2463
2464 Change subword regexps back to vars (Bug#16296).
2465 * progmodes/subword.el (subword-forward-regexp)
2466 (subword-backward-regexp): Change these back to variables.
2467
2468 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2471 syntax-begin-function (bug#16247).
2472
2473 2014-01-03 Chong Yidong <cyd@gnu.org>
2474
2475 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2476 (advice--docstring): Delete variable.
2477 (advice--make-1): Leave the docstring empty.
2478 (advice-add): Use function-documentation for advised docstring.
2479
2480 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2481 Ignore function-documentation property when getting documentation.
2482 (ad-activate-advised-definition): Use function-documentation
2483 generate the docstring.
2484 (ad-make-advised-definition): Don't call
2485 ad-make-advised-definition-docstring.
2486 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2487 Delete functions.
2488
2489 * progmodes/sql.el (sql-help): Use function-documentation instead
2490 of dynamic-docstring-function property. No need to autoload now.
2491 (sql--help-docstring): New variable.
2492 (sql--make-help-docstring): Use it.
2493
2494 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * ielm.el (ielm-tab): Retarget.
2497 (ielm-map): Use ielm-tab for tab.
2498 (ielm-complete-filename): Use comint-filename-completion.
2499 (ielm-complete-symbol): Remove.
2500 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2501 remove ielm-tab from completion-at-point-functions (bug#16224).
2502
2503 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2504 Beware signals raised by predicates (bug#16201).
2505
2506 2014-01-02 Richard Stallman <rms@gnu.org>
2507
2508 * dired-aux.el (dired-do-print): Handle printer-name.
2509
2510 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2511 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2512 (rmail-epa-decrypt): Turn off mime processing.
2513
2514 * mail/rmail.el (rmail-make-in-reply-to-field):
2515 Add parens in message-id.
2516
2517 * mail/rmail.el (rmail-get-coding-function): Variable.
2518 (rmail-get-coding-system): Use it.
2519
2520 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2521
2522 * international/mule-conf.el: Unify the charset indian-is13194.
2523 (indian-is13194): Specify unify-map.
2524
2525 2013-12-31 Leo Liu <sdl.web@gmail.com>
2526
2527 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2528
2529 2013-12-30 Daniel Colascione <dancol@dancol.org>
2530
2531 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2532 of printing a useless when we resume from sleep.
2533
2534 * progmodes/sh-script.el
2535 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2536 in indentation code. (Bug#16233)
2537
2538 2013-12-28 João Távora <joaotavora@gmail.com>
2539
2540 * elec-pair.el (electric-pair-post-self-insert-function):
2541 Don't open extra newlines at beginning of buffer. (Bug#16272)
2542
2543 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2544
2545 * frame.el (window-system-for-display): Don't allow to create a
2546 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2547
2548 2013-12-28 Glenn Morris <rgm@gnu.org>
2549
2550 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2551 Update callers.
2552
2553 * apropos.el (apropos-match-face):
2554 * calculator.el (calculator-displayer):
2555 * dabbrev.el (dabbrev-search-these-buffers-only):
2556 * face-remap.el (buffer-face-mode-face):
2557 * simple.el (yank-handled-properties):
2558 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2559 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2560 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2561 (hashcash-double-spend-database):
2562 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2563 (ruby-deep-indent-paren-style):
2564 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2565 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2566 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2567 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2568 Specify custom types.
2569
2570 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2571 * bookmark.el (bookmark-bmenu-use-header-line):
2572 * doc-view.el (doc-view-scale-internally):
2573 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2574 * register.el (register-preview-delay):
2575 * net/shr.el (shr-bullet):
2576 * progmodes/cfengine.el (cfengine-cf-promises)
2577 (cfengine-parameters-indent):
2578 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2579 * textmodes/reftex-vars.el (reftex-label-regexps):
2580 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2581
2582 * net/tls.el (tls-certtool-program): Fix default value.
2583
2584 * desktop.el (desktop-restore-in-current-display):
2585 * newcomment.el (comment-empty-lines):
2586 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2587 (idlwave-pad-keyword):
2588 * progmodes/tcl.el (tcl-tab-always-indent):
2589 * textmodes/reftex-vars.el (reftex-index-default-tag):
2590 * elec-pair.el (electric-pair-skip-whitespace):
2591 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2592
2593 * emacs-lisp/authors.el (authors-ignored-files)
2594 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2595
2596 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2597
2598 * shell.el (shell-dynamic-complete-command): Doc fix.
2599 (shell--command-completion-data): Shell completion now matches
2600 executable filenames from the current buffer's directory, on
2601 systems in which this behavior is the default (windows-nt, ms-dos).
2602
2603 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2604
2605 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2606
2607 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2610 (bug#16251).
2611
2612 * electric.el: Move all electric-pair-* to elec-pair.el.
2613 * elec-pair.el: New file, split from electric.el.
2614
2615 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2616
2617 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2618 indentation level is larger than the width, because that will
2619 infloop.
2620 (shr-insert): Fill repeatedly long texts, so that Japanese is
2621 formatted correctly (bug#16263).
2622 (shr-find-fill-point): Off by one error in comparison with the
2623 indentation.
2624
2625 2013-12-26 João Távora <joaotavora@gmail.com>
2626
2627 * electric.el (electric-pair-mode): More flexible engine for skip-
2628 and inhibit predicates, new options for pairing-related functionality.
2629 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2630 if that keeps or improves their balance in buffers.
2631 (electric-pair-delete-adjacent-pairs): Delete the pair when
2632 backspacing over adjacent matched delimiters.
2633 (electric-pair-open-extra-newline): Open extra newline when
2634 inserting newlines between adjacent matched delimiters.
2635 (electric--sort-post-self-insertion-hook):
2636 Sort post-self-insert-hook according to priority values when
2637 minor-modes are activated.
2638 * simple.el (newline-and-indent): Call newline with interactive
2639 set to t.
2640 (blink-paren-post-self-insert-function): Set priority to 100.
2641 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2642 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2643 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2644 electric-pair-open-newline-between-pairs to nil.
2645
2646 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2647
2648 * progmodes/python.el: Use lexical-binding.
2649 (python-nav-beginning-of-defun): Stop searching ASAP.
2650
2651 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2652
2653 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2654 Fix interactive spec. Doc fix. (Bug#15754)
2655
2656 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2657
2658 * emacs-lisp/byte-run.el (eval-when-compile):
2659 * progmodes/cc-defs.el (cc-eval-when-compile):
2660 Fix edebug spec (bug#16184).
2661
2662 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2663
2664 * net/shr.el (shr-visit-file): Remove debugging function.
2665 (shr-insert): Don't infloop if we can't find a good place to break
2666 the line (bug#16256).
2667
2668 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2669
2670 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2671 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2672 python-nav-lisp-forward-sexp-safe.
2673 (python-nav--forward-sexp): New argument SAFE allows switching
2674 forward sexp movement behavior for parens.
2675 (python-nav-forward-sexp): Throw errors on unterminated parens
2676 (Bug#16191).
2677 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2678 (python-nav-backward-sexp-safe): New functions.
2679 (python-shell-buffer-substring):
2680 Use `python-nav-forward-sexp-safe'.
2681
2682 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2683
2684 * net/shr.el (shr-find-fill-point): Don't break lines before a
2685 quotation mark.
2686 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2687 (shr-find-fill-point): Remove the special checks for the quotation
2688 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2689
2690 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2691
2692 * net/eww.el (eww-form-textarea): Use a different face for
2693 textareas than text input since they have different keymaps
2694 (bug#16142).
2695
2696 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2697
2698 * progmodes/python.el (python-nav-beginning-of-statement):
2699 Speed up (Bug#15295).
2700
2701 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2702
2703 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2704 the window configuration.
2705
2706 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2707
2708 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2709 we run on MS-Windows or MS-DOS.
2710
2711 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2712
2713 * window.el (balance-windows-area): Call window-size instead of
2714 window-height and window-width. Bug#16241.
2715
2716 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2717
2718 * net/eww.el (eww-bookmark-quit): Remove.
2719 (eww-bookmark-browse): Restore the window configuration when you
2720 choose a bookmark (bug#16144).
2721
2722 2013-12-24 Daniel Colascione <dancol@dancol.org>
2723
2724 * icomplete.el: Remove redundant :group arguments to `defcustom'
2725 throughout.
2726 (icomplete-show-matches-on-no-input): New customizable variable.
2727 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2728 we have something to show.
2729 (icomplete-exhibit): Compute completions even if we have no user input.
2730
2731 2013-12-23 Daniel Colascione <dancol@dancol.org>
2732
2733 * icomplete.el: Move `provide' to end of file.
2734
2735 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2736
2737 * net/gnutls.el (gnutls-verify-error): Add version tag.
2738
2739 2013-12-23 Chong Yidong <cyd@gnu.org>
2740
2741 * subr.el (set-transient-map): Rename from
2742 set-temporary-overlay-map. Doc fix.
2743
2744 * face-remap.el (text-scale-adjust):
2745 * indent.el (indent-rigidly):
2746 * kmacro.el (kmacro-call-macro):
2747 * minibuffer.el (minibuffer-force-complete):
2748 * repeat.el (repeat):
2749 * simple.el (universal-argument--mode):
2750 * calendar/todo-mode.el (todo-insert-item--next-param):
2751 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2752
2753 * indent.el (indent-rigidly): Use substitute-command-keys.
2754
2755 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2756
2757 * net/eww.el (eww-tag-select): Add text-property to jump to next
2758 select field.
2759 (eww): Add non-supported ftp error.
2760
2761 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2762
2763 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2764 comments. Handle electric indent after typing `?' and `!'.
2765
2766 2013-12-22 Chong Yidong <cyd@gnu.org>
2767
2768 * faces.el (face-spec-recalc): If the theme specs are not
2769 applicable to a frame, fall back on the defface spec.
2770 This prevents themes from obliterating faces on low-color terminals.
2771
2772 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2773
2774 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2775 after `{'. We need it after block openers, and it doesn't seem
2776 to hurt after hash openers.
2777
2778 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2779
2780 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2781 extracted from `ruby-smie-rules'.
2782 (ruby--electric-indent-chars): New variable.
2783 (ruby--electric-indent-p): New function.
2784 (ruby-mode): Use `electric-indent-functions' instead of
2785 `electric-indent-chars'.
2786
2787 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2788
2789 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2790 docstring.
2791 (ruby-smie-rules): Indent plus one level after `=>'.
2792
2793 2013-12-21 Richard Stallman <rms@gnu.org>
2794
2795 * simple.el (newline): Doc fix.
2796
2797 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2798
2799 * net/eww.el (eww-list-histories, eww-list-histories)
2800 (eww-history-browse, eww-history-quit, eww-history-kill)
2801 (eww-history-mode-map, eww-history-mode): New command and
2802 functions to list browser histories.
2803 (eww-form-text): Support text form with disabled
2804 and readonly attributes.
2805 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2806
2807 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2808
2809 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2810 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2811 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2812 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2813 Use `user-error'.
2814 (eww-bookmark-mode-map): Add menu.
2815 (eww-render, eww-mode): Use `setq-local'.
2816 (eww-tool-bar-map): New variable.
2817 (eww-mode): Set `tool-bar-map'.
2818 (eww-view-source): Check for `html-mode' with `fboundp'.
2819
2820 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2821
2822 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2823 elements with text inside. Also remove debugging.
2824
2825 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2826
2827 * cus-start.el (all): Add ns-use-srgb-colorspace.
2828
2829 2013-12-21 Chong Yidong <cyd@gnu.org>
2830
2831 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2832 undefined. Thus, theme settings for undefined faces do not take
2833 effect until the faces are defined with defface, the same as with
2834 theme variables.
2835
2836 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2837 (face-spec-reset-face): Don't assign extra properties in temacs.
2838 (face-spec-recalc): Apply X resources too.
2839
2840 2013-12-21 Chong Yidong <cyd@gnu.org>
2841
2842 * faces.el (face-spec-set):
2843 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2844 * custom.el (defface): Doc fixes (Bug#16203).
2845
2846 * indent.el (indent-rigidly-map): Add docstring, and move commands
2847 into named functions.
2848 (indent-rigidly-left, indent-rigidly-right)
2849 (indent-rigidly-left-to-tab-stop)
2850 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2851 indentation direction based on bidi direction, and accumulate
2852 sequential commands in a single undo boundary.
2853 (indent-rigidly--pop-undo): New utility function.
2854
2855 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2856
2857 * faces.el (read-face-name): Require crm.el when using crm-separator.
2858
2859 2013-12-20 Daniel Colascione <dancol@dancol.org>
2860
2861 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2862 so that we don't reflow comments into the shebang line.
2863
2864 2013-12-20 Juri Linkov <juri@jurta.org>
2865
2866 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2867 a position when `dired-directory' is non-nil. Check integer
2868 positions with `integerp'.
2869 (toggle-save-place, save-places-to-alist): Add check for
2870 `dired-directory'.
2871 (save-place-find-file-hook): Check integer positions with
2872 `integerp'.
2873 (save-place-dired-hook): Use `dired-goto-file' when
2874 `dired-filename' is found in the assoc list. Check integer
2875 positions with `integerp'.
2876 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2877
2878 * dired.el (dired-initial-position-hook): Rename back from
2879 `dired-initial-point-hook'.
2880 (dired-initial-position): Rename `dired-initial-point-hook' to
2881 `dired-initial-position-hook'.
2882 (dired-file-name-at-point): Doc fix. (Bug#15329)
2883
2884 2013-12-20 Juri Linkov <juri@jurta.org>
2885
2886 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2887 (read-regexp-suggestions): New function.
2888 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2889 Use `read-regexp-suggestions'. Add non-empty default to history
2890 for empty input.
2891 (occur-read-regexp-defaults-function): Remove function.
2892 (occur-read-primary-args): Use `regexp-history-last' instead of
2893 `occur-read-regexp-defaults-function'.
2894
2895 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2896 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2897 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2898 `hi-lock-read-regexp-defaults-function'. Doc fix.
2899 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2900 with `find-tag-default-as-symbol-regexp'. Doc fix.
2901 (hi-lock-read-regexp-defaults): Remove function.
2902 (hi-lock-regexp-okay): Add check for null.
2903
2904 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2905 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2906
2907 * subr.el (find-tag-default-as-symbol-regexp): New function.
2908 (find-tag-default-as-regexp): Move symbol regexp formatting to
2909 `find-tag-default-as-symbol-regexp'.
2910
2911 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2912
2913 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2914 (Bug#14179)
2915
2916 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2917
2918 * calendar/todo-mode.el: New implementation of item insertion
2919 commands and key bindings.
2920 (todo-key-prompt): New face.
2921 (todo-insert-item): New command.
2922 (todo-insert-item--parameters): New defconst, replacing defvar
2923 todo-insertion-commands-args-genlist.
2924 (todo-insert-item--param-key-alist): New defconst, replacing
2925 defvar todo-insertion-commands-arg-key-list.
2926 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2927 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2928 (todo-insert-item--next-param): New functions.
2929 (todo-insert-item--args, todo-insert-item--argleft)
2930 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2931 New variables.
2932 (todo-key-bindings-t): Change binding of "i" from
2933 todo-insertion-map to todo-insert-item.
2934 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2935 (todo-insertion-command-name, todo-insertion-commands-names)
2936 (todo-define-insertion-command, todo-insertion-commands)
2937 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2938
2939 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2940
2941 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2942 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2943 eval-when-compile.
2944 (todo-move-category): Allow choosing a non-existing todo file to
2945 move the category to, and create that file.
2946 (todo-default-priority): New user option.
2947 (todo-set-item-priority): Use it.
2948 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2949 (desktop-restore-file-buffer): Declare.
2950 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2951 (todo-modes-set-2): Locally set desktop-save-buffer to
2952 todo-desktop-save-buffer.
2953 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2954 (auto-mode-alist): Add autoload cookie.
2955
2956 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2957
2958 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2959 helpers.el was a poor choice of name.
2960 (string-remove-prefix): New function.
2961 (string-remove-suffix): New function.
2962
2963 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2964
2965 Fix assignment for new window total sizes.
2966 * window.el (window--pixel-to-size): Remove function.
2967 (window--pixel-to-total-1, window--pixel-to-total):
2968 Fix calculation of new total sizes.
2969
2970 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2971
2972 * comint.el (comint-output-filter): Fix rear-nonsticky property
2973 placement (Bug#16010).
2974
2975 2013-12-20 Chong Yidong <cyd@gnu.org>
2976
2977 * faces.el (read-color): Minor fix for completion function.
2978
2979 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2982 New option. (Bug#16182)
2983 (ruby-smie--indent-to-stmt-p): Use it.
2984 (ruby-smie-rules): Revert the logic in the handling of `when'.
2985 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2986 (ruby-deep-arglist, ruby-deep-indent-paren)
2987 (ruby-deep-indent-paren-style): Update docstrings to note that the
2988 vars don't have any effect with SMIE.
2989
2990 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2991
2992 * calc/calc.el (calc-enter, calc-pop): Use the variable
2993 `calc-context-sensitive-enter'.
2994
2995 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2996
2997 * net/shr.el (shr-insert): Protect against infloops in degenerate
2998 tables.
2999
3000 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3001
3002 * progmodes/octave.el (octave): Add link to manual and octave
3003 homepage.
3004 (octave-mode-menu): Link to octave-mode manual.
3005
3006 2013-12-20 Leo Liu <sdl.web@gmail.com>
3007
3008 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3009 insertion using skeleton-end-newline. (Bug#16138)
3010
3011 2013-12-20 Juri Linkov <juri@jurta.org>
3012
3013 * replace.el (occur-engine): Use `add-face-text-property'
3014 to add the face property to matches and titles. (Bug#14645)
3015
3016 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3017 the palette of other hi-lock colors.
3018 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3019
3020 2013-12-19 Juri Linkov <juri@jurta.org>
3021
3022 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3023 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3024 (minibuffer-history-symbol): Move variable declaration closer to
3025 its usage.
3026
3027 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3028 (Bug#14785)
3029
3030 2013-12-19 Juri Linkov <juri@jurta.org>
3031
3032 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3033 New function.
3034 (log-edit-hook): Add it to :options. (Bug#16170)
3035
3036 2013-12-19 Juri Linkov <juri@jurta.org>
3037
3038 * simple.el (eval-expression-print-format): Don't check for
3039 command names and the last command. Always display additional
3040 formats of the integer result in the echo area, and insert them
3041 to the current buffer only with a zero prefix arg.
3042 Display character when char-displayable-p is non-nil.
3043 (eval-expression): With a zero prefix arg, set `print-length' and
3044 `print-level' to nil, and insert the integer values from
3045 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3046
3047 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3048 `eval-last-sexp-arg-internal'. Doc fix.
3049 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3050 `eval-last-sexp-print-value'. Doc fix.
3051 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3052 Set `print-length' and `print-level' to nil when arg is zero.
3053 (eval-last-sexp): Doc fix.
3054 (eval-defun-2): Print the integer values from
3055 `eval-expression-print-format' at the end.
3056
3057 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3058 values from `eval-expression-print-format' at the end.
3059
3060 * ielm.el (ielm-eval-input): Print the integer
3061 values from `eval-expression-print-format' at the end.
3062
3063 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3064
3065 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3066 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3067
3068 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3071 (hl-line-highlight, global-hl-line-highlight): Use it.
3072 (hl-line-overlay): Use defvar-local.
3073
3074 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3075
3076 * term/ns-win.el: Require dnd.
3077 (global-map): Remove drag items.
3078 (ns-insert-text, ns-set-foreground-at-mouse)
3079 (ns-set-background-at-mouse):
3080 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3081 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3082 New functions.
3083
3084 2013-12-19 Glenn Morris <rgm@gnu.org>
3085
3086 * emacs-lisp/ert.el (ert-select-tests):
3087 Fix string/symbol mixup. (Bug#16121)
3088
3089 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3090
3091 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3092 keywords to their parent.
3093
3094 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3097 first arg to be a string (fixed dead code), or an operator symbol.
3098 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3099 operator symbols.
3100 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3101 did nothing. Don't respond to `(:after ".")', it will be called
3102 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3103 change anything. Only return indentation for binary operators
3104 when they are hanging. De-dent opening paren when its parent is
3105 `.', otherwise it looks bad when the dot is not at bol or eol
3106 (bug#16182).
3107
3108 2013-12-19 Juri Linkov <juri@jurta.org>
3109
3110 * replace.el (query-replace-read-args): Split a non-negative arg
3111 and a negative arg into separate elements.
3112 (query-replace, query-replace-regexp, replace-string)
3113 (replace-regexp): Add arg `backward'. Doc fix.
3114 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3115 move point to the beginning of the match.
3116 (replace-search, replace-highlight): Use new arg `backward'
3117 to set the value of `isearch-forward'.
3118 (perform-replace): Add arg `backward' and use it to perform
3119 replacement backward. (Bug#14979)
3120
3121 * isearch.el (isearch-query-replace): Use a negative prefix arg
3122 to call `perform-replace' with a non-nil arg `backward'.
3123
3124 2013-12-18 Juri Linkov <juri@jurta.org>
3125
3126 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3127 to the default list. Move `log-edit-show-files' to the end.
3128 Add more available functions to options.
3129 (log-edit): Move default specific settings to
3130 `log-edit-insert-message-template'. Don't move point.
3131 (log-edit-insert-message-template): New function.
3132 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3133 (Bug#16170)
3134
3135 2013-12-18 Juri Linkov <juri@jurta.org>
3136
3137 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3138 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3139
3140 2013-12-18 Leo Liu <sdl.web@gmail.com>
3141
3142 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3143 (Bug#16186)
3144
3145 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3146
3147 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3148 formats for displaying file sizes when the -s switch is given.
3149 Instead, compute a separate format for displaying the size in
3150 blocks, which is displayed in addition to the "regular" size.
3151 When -h is given in addition to -s, produce size in blocks in
3152 human-readable form as well. (Bug#16179)
3153
3154 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3155
3156 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3157 Reference tables with ~\ref{...} instead of only \ref{...}.
3158
3159 2013-12-18 Chong Yidong <cyd@gnu.org>
3160
3161 * cus-edit.el (custom-magic-alist): Fix "themed" description
3162 (Bug#14348).
3163
3164 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3165 is non-nil, do not create a new entry in the symbol's theme-value
3166 or theme-face property; update theme-settings only (Bug#14664).
3167 (custom-available-themes): Doc fix.
3168
3169 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3170 (Bug#15674).
3171
3172 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3173
3174 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3175
3176 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3177 (Bug#13914).
3178
3179 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3180
3181 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3182
3183 2013-12-18 Glenn Morris <rgm@gnu.org>
3184
3185 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3186 * cus-start.el (load-prefer-newer): New option.
3187
3188 2013-12-18 Le Wang <l26wang@gmail.com>
3189
3190 * comint.el (comint-previous-matching-input-from-input):
3191 Retain point (Bug#13404).
3192
3193 2013-12-18 Chong Yidong <cyd@gnu.org>
3194
3195 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3196
3197 2013-12-18 Glenn Morris <rgm@gnu.org>
3198
3199 * mail/emacsbug.el (report-emacs-bug):
3200 Only mention enable-multibyte-characters if non-standard.
3201
3202 2013-12-17 Juri Linkov <juri@jurta.org>
3203
3204 * arc-mode.el (archive-extract-by-file): Check if directory exists
3205 before deletion to not show irrelevant errors if it doesn't exist.
3206
3207 2013-12-17 Juri Linkov <juri@jurta.org>
3208
3209 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3210 (Bug#14751)
3211
3212 * net/eww.el (browse-web): Add alias to `eww'.
3213 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3214 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3215
3216 * net/browse-url.el (browse-url-browser-function): Move `eww'
3217 closer to similar functions.
3218
3219 * startup.el (fancy-startup-screen, fancy-about-screen):
3220 Set browse-url-browser-function to eww-browse-url locally.
3221 (Bug#14751)
3222
3223 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * window.el (window--pixel-to-total): Remove unused `mini' var.
3226 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3227 (split-window): Remove unused `new' var.
3228 (window--display-buffer): Remove unused `frame' and `delta' vars.
3229 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3230 and display-width'.
3231
3232 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3233
3234 * dired.el (dired-mark-pop-up):
3235 * register.el (register-preview): Don't bind
3236 split-height-threshold here since it's now done in
3237 display-buffer-below-selected.
3238
3239 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3240
3241 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3242 xterm-rgb-convert-to-16bit.
3243 (rxvt-register-default-colors): Standardize with
3244 xterm-register-default-colors (Bug#14078).
3245
3246 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3247
3248 * simple.el (kill-region): Pass mark first, then point, so that
3249 kill-append works right (Bug#12819).
3250 (copy-region-as-kill, kill-ring-save): Likewise.
3251
3252 2013-12-17 Leo Liu <sdl.web@gmail.com>
3253
3254 * net/rcirc.el (rcirc-add-face):
3255 * eshell/em-prompt.el (eshell-emit-prompt):
3256 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3257 (Bug#16167)
3258
3259 2013-12-17 Chong Yidong <cyd@gnu.org>
3260
3261 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3262 Suggested by Xue Fuqiao.
3263
3264 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3265
3266 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3267
3268 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * net/shr.el (shr-insert-document): Remove unused var
3271 `shr-preliminary-table-render'.
3272 (shr-rescale-image): Remove unused arg `force'.
3273 (shr-put-image): Update calls accordingly.
3274 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3275
3276 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3277
3278 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3279 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3280 :close-all, to see which indentation method to use (Bug#16116).
3281 (smie-rules-function): Document the method :close-all.
3282
3283 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3284
3285 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3286
3287 * net/eww.el (eww-display-html): If we can't find the anchor we're
3288 looking for, then go to point-min.
3289
3290 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3291
3292 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3293 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3294 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3295 Expand dir too, in case it's relative.
3296
3297 2013-12-16 Juri Linkov <juri@jurta.org>
3298
3299 * desktop.el (desktop-auto-save-timeout): Change default to
3300 `auto-save-timeout'. Doc fix.
3301 (desktop-save): Skip the timestamp in desktop-saved-frameset
3302 when checking for auto-save changes.
3303 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3304 `desktop-auto-save' is called repeatedly by the idle timer.
3305 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3306 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3307 (Bug#15331)
3308
3309 2013-12-16 Juri Linkov <juri@jurta.org>
3310
3311 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3312 (Bug#16035)
3313 (isearch-pre-command-hook): Check `this-command' for symbolp.
3314
3315 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3318
3319 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3320
3321 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3322 (cfengine3--current-function): Bring in the current-function
3323 functionality from `cfengine3--current-word'.
3324 (cfengine3-completion-function): Bring in the
3325 bounds-of-current-word functionality from
3326 `cfengine3--current-word'.
3327
3328 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3329
3330 * window.el (display-buffer-below-selected):
3331 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3332
3333 2013-12-16 Leo Liu <sdl.web@gmail.com>
3334
3335 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3336 Remove NOMSG arg and all uses changed.
3337
3338 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3341 (cua--deactivate-rectangle): Don't deactivate the mark.
3342 (cua-set-rectangle-mark): Don't set mark-active since
3343 cua--activate-rectangle already does it for us.
3344 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3345 non-rectangular region.
3346
3347 * emulation/cua-base.el (cua-repeat-replace-region):
3348 Use with-current-buffer.
3349
3350 * net/gnutls.el: Use cl-lib.
3351 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3352
3353 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3354
3355 * emacs-lisp/package.el (package-built-in-p): Support both
3356 built-in and the package.el converted package descriptions.
3357 (package-show-package-list): Allow keywords.
3358 (package-keyword-button-action): Use it instead of
3359 `finder-list-matches'.
3360 (package-menu-filter-interactive): Interactive filtering (by
3361 keyword) function.
3362 (package-menu--generate): Support keywords and change keymappings
3363 and headers when they are given.
3364 (package--has-keyword-p): Helper function.
3365 (package-menu--refresh): Use it.
3366 (package--mapc): Helper function.
3367 (package-all-keywords): Use it.
3368 (package-menu-mode-map): Set up menu items and keybindings to
3369 provide a filtering UI.
3370
3371 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3372
3373 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3374 the behavior when a certificate fails validation. Defaults to
3375 old behavior: never abort, just warn.
3376 (gnutls-negotiate): Use it.
3377
3378 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3379
3380 * window.el (display-buffer-below-selected): Never split window
3381 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3382
3383 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3384
3385 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3386 (package-buffer-info): Use it (bug#15108).
3387
3388 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * icomplete.el (icomplete-completions): Make sure the prefix is already
3391 displayed elsewhere before hiding it (bug#16219).
3392
3393 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3394
3395 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3396 open-paren tokens when preceded by a open-paren, too.
3397 (ruby-smie-rules): Handle virtual indentation after open-paren
3398 tokens specially. If there is code between it and eol, return the
3399 column where is starts (Bug#16118).
3400
3401 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3402
3403 * progmodes/cfengine.el: Fix `add-hook' doc.
3404 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3405 (cfengine3--current-word): Fix parameters.
3406 (cfengine3-make-syntax-cache): Simplify further.
3407 (cfengine3-completion-function, cfengine3--current-function):
3408 Use `assq' for symbols.
3409 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3410
3411 2013-12-13 Glenn Morris <rgm@gnu.org>
3412
3413 * loadup.el (load-path): Warn if site-load or site-init changes it.
3414 No more need to reset it when bootstrapping.
3415
3416 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3417
3418 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3419 locations for cf-promises.
3420 (cfengine-mode-syntax-functions-regex): New caching variable.
3421 (cfengine3-fallback-syntax): Fallback syntax for cases where
3422 cf-promises doesn't run.
3423 (cfengine3--current-word): Reimplement using
3424 `cfengine-mode-syntax-functions-regex'.
3425 (cfengine3-completion-function, cfengine3--current-function):
3426 Use `cfengine3-make-syntax-cache' directly.
3427 (cfengine3-clear-syntax-cache): New function.
3428 (cfengine3-make-syntax-cache): Simplify and create
3429 `cfengine-mode-syntax-functions-regex' on demand.
3430 (cfengine3-format-function-docstring): Don't call
3431 `cfengine3-make-syntax-cache' explicitly.
3432
3433 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3434
3435 Fix windmove-find-other-window broken after pixelwise resizing
3436 (Bug#16017).
3437 * windmove.el (windmove-other-window-loc): Revert change from
3438 2013-12-04.
3439 (windmove-find-other-window): Call window-in-direction.
3440 * window.el (window-in-direction): New arguments SIGN, WRAP and
3441 MINI to emulate original windmove-find-other-window behavior.
3442
3443 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3444
3445 * simple.el (blink-matching--overlay): New variable.
3446 (blink-matching-open): Instead of moving point, highlight the
3447 matching paren with an overlay
3448 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3449
3450 * faces.el (paren-showing-faces, show-paren-match)
3451 (show-paren-mismatch): Move from paren.el.
3452
3453 2013-12-13 Leo Liu <sdl.web@gmail.com>
3454
3455 * indent.el (indent-region): Disable progress reporter in
3456 minibuffer. (Bug#16108)
3457
3458 * bindings.el (visual-order-cursor-movement): Fix version.
3459
3460 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3461
3462 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3463 Also match after beginning of line.
3464 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3465 files. Thanks to Russell Sim. (Bug#15378)
3466
3467 2013-12-13 Juri Linkov <juri@jurta.org>
3468
3469 * simple.el <Keypad support>: Remove key bindings duplicated
3470 with bindings.el. (Bug#14397)
3471
3472 2013-12-13 Juri Linkov <juri@jurta.org>
3473
3474 * comint.el (comint-mode-map): Replace `delete-char' with
3475 `delete-forward-char'. (Bug#16109)
3476
3477 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3478
3479 * progmodes/python.el (python-indent-calculate-indentation):
3480 Fix de-denters cornercase. (Bug#15731)
3481
3482 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3485 (advice--make): Pay attention to `depth'.
3486 (advice--make-1): Don't autoload commands eagerly.
3487 * emacs-lisp/elp.el (elp-instrument-function):
3488 * emacs-lisp/trace.el (trace-function-internal):
3489 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3490
3491 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3492
3493 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3494
3495 * term/w32-win.el (w32-handle-dropped-file):
3496 * startup.el (normal-top-level):
3497 * net/browse-url.el (browse-url-file-url):
3498 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3499 decode file names using 'utf-8' rather than
3500 file-name-coding-system.
3501
3502 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3503
3504 * progmodes/python.el (python-indent-context)
3505 (python-indent-calculate-indentation): Fix auto-identation
3506 behavior for comment blocks. (Bug#15916)
3507
3508 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3509
3510 * progmodes/python.el (python-indent-calculate-indentation):
3511 When determining indentation, don't treat "return", "pass", etc., as
3512 operators when they are just string constituents. (Bug#15812)
3513
3514 2013-12-12 Juri Linkov <juri@jurta.org>
3515
3516 * uniquify.el (uniquify-buffer-name-style): Change default to
3517 `post-forward-angle-brackets'.
3518
3519 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3520 `uniquify'. Change default to `post-forward-angle-brackets'.
3521
3522 2013-12-11 Glenn Morris <rgm@gnu.org>
3523
3524 * emacs-lisp/package.el (finder-list-matches):
3525 Autoload rather than falsely declaring.
3526
3527 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3528
3529 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3530 (eww-mode-map): Use them.
3531
3532 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3533
3534 * window.el (display-buffer-in-side-window): Fix doc-string
3535 (Bug#16115).
3536
3537 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3538
3539 * vc/vc-git.el: Silence byte-compiler warnings.
3540 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3541 (log-edit-set-header): Declare.
3542
3543 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3544
3545 * Makefile.in (custom-deps, finder-data): Run output file names
3546 through unmsys--file-name. (Bug#16099)
3547
3548 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3551 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3552
3553 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3554 instead of deleting the selection "by hand" (bug#16098).
3555 Rely on insert-for-yank to yank rectangles.
3556 (cua-highlight-region-shift-only): Mark obsolete.
3557 (cua-mode): Don't enable/disable transient-mark-mode,
3558 shift-select-mode (cua-mode works both with and without them), and
3559 pc-selection-mode (obsolete).
3560 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3561 (cua--deactivate-rectangle): Deactivate it.
3562
3563 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3564 (delete-selection-helper): Make sure yank starts at the top of the
3565 deleted region.
3566 (minibuffer-keyboard-quit): Use region-active-p.
3567
3568 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3569
3570 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3571 to `delete' (bug#16109).
3572
3573 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3574
3575 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3576 info manual and show keybindings and set `:group' keyword.
3577
3578 2013-12-11 Juri Linkov <juri@jurta.org>
3579
3580 * delsel.el (delete-active-region): Let-bind `this-command'
3581 to prevent `kill-region' from changing its original value.
3582 (delete-selection-helper): Handle `overwrite-mode' for the type
3583 `kill' exactly the same way as for the type `t'.
3584 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3585 Support more commands. (Bug#13312)
3586
3587 2013-12-11 Juri Linkov <juri@jurta.org>
3588
3589 * bindings.el: Map kp keys to non-kp keys systematically
3590 with basic modifiers control, meta and shift. (Bug#14397)
3591
3592 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3593
3594 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3595 "Close browser" menu items. Fix wrong function of "List
3596 bookmarks".
3597
3598 2013-12-11 Juri Linkov <juri@jurta.org>
3599
3600 * misearch.el (multi-isearch-buffers): Set the value of
3601 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3602 arg of isearch-forward to t.
3603 (multi-isearch-buffers-regexp): Set the value of
3604 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3605 arg of isearch-forward-regexp to t.
3606 (multi-isearch-files): Set the value of
3607 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3608 arg of isearch-forward to t.
3609 (multi-isearch-files-regexp): Set the value of
3610 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3611 arg of isearch-forward-regexp to t. (Bug#16035)
3612
3613 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3614 arg of isearch-forward to t.
3615 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3616 arg of isearch-forward-regexp to t.
3617 (dired-isearch-filter-filenames): Remove unnecessary check for
3618 `dired-isearch-filenames'.
3619
3620 * comint.el (comint-history-isearch-backward):
3621 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3622 (comint-history-isearch-backward-regexp):
3623 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3624
3625 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3626
3627 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3628 unmsys--file-name. (Bug#16099)
3629
3630 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3631
3632 * emacs-lisp/package.el (package-keyword-button-action):
3633 Remove finder.el require dependency.
3634
3635 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3636
3637 * emacs-lisp/package.el: Require finder.el.
3638 (describe-package-1): Add keyword buttons.
3639 (package-make-button): New convenience function.
3640 (package-keyword-button-action): Keyword button action using
3641 `finder-list-matches'.
3642
3643 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3644
3645 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3646 last commit.
3647
3648 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3649
3650 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3651 symlinked files.
3652
3653 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3654
3655 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3656 after the end of a percent literal.
3657
3658 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3659
3660 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3661 Handle caret-delimited strings (Bug#16079).
3662
3663 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3664
3665 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3666 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3667 `ruby-parse-partial' (Bug#16078).
3668
3669 2013-12-09 Leo Liu <sdl.web@gmail.com>
3670
3671 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3672
3673 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3674
3675 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3676 (js-switch-indent-offset): New option.
3677 (js--proper-indentation): Use it. And handle the case when
3678 "default" is actually a key in an object literal.
3679 (js--same-line): New function.
3680 (js--multi-line-declaration-indentation): Use it.
3681 (js--indent-in-array-comp, js--array-comp-indentation):
3682 New functions.
3683 (js--proper-indentation): Use them, to handle array comprehension
3684 continuations.
3685
3686 2013-12-08 Leo Liu <sdl.web@gmail.com>
3687
3688 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3689 (flymake-make-overlay): Remove arg MOUSE-FACE.
3690 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3691
3692 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3695 New function.
3696 (redisplay-highlight-region-function): Use it.
3697
3698 * emulation/cua-base.el (cua--explicit-region-start)
3699 (cua--last-region-shifted): Remove.
3700 (cua--deactivate): Use deactivate-mark.
3701 (cua--pre-command-handler-1): Don't handle shift-selection.
3702 (cua--post-command-handler-1): Don't change transient-mark-mode.
3703 (cua--select-keymaps): Use region-active-p rather than
3704 cua--explicit-region-start or cua--last-region-shifted.
3705 (cua-mode): Enable shift-select-mode.
3706
3707 2013-12-08 Leo Liu <sdl.web@gmail.com>
3708
3709 * progmodes/flymake.el (flymake-popup-current-error-menu):
3710 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3711 (flymake-posn-at-point-as-event, flymake-popup-menu)
3712 (flymake-make-emacs-menu): Remove. (Bug#16077)
3713
3714 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * rect.el (rectangle-mark-mode): Activate mark even if
3717 transient-mark-mode is off (bug#16066).
3718 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3719 is > mark and at bolp.
3720
3721 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3722 (region-extract-function): Use it.
3723 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3724 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3725 Delete functions.
3726 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3727 kill-ring-save, kill-region, delete-char, delete-forward-char.
3728 Ignore self-insert-iso.
3729
3730 * emulation/cua-gmrk.el (cua--init-global-mark):
3731 Ignore `self-insert-iso'.
3732
3733 * emulation/cua-base.el (cua--prefix-copy-handler)
3734 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3735 checking cua--rectangle.
3736 (cua-delete-region): Use region-extract-function.
3737 (cua-replace-region): Delete function.
3738 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3739 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3740 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3741 (cua--init-keymaps): Don't remap delete-selection commands.
3742 (cua-mode): Use delete-selection-mode instead of rolling our own
3743 (bug#16085).
3744
3745 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3746 Obey region-extract-function.
3747
3748 Make registers and delete-selection-mode work on rectangles.
3749 * register.el (describe-register-1): Don't modify the register's value.
3750 (copy-to-register): Obey region-extract-function.
3751 * delsel.el (delete-active-region): Obey region-extract-function.
3752
3753 2013-12-08 Leo Liu <sdl.web@gmail.com>
3754
3755 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3756 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3757 (flymake-compilation-prevents-syntax-check)
3758 (flymake-start-syntax-check-on-newline)
3759 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3760 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3761 (flymake-xml-program, flymake-master-file-dirs)
3762 (flymake-master-file-count-limit)
3763 (flymake-allowed-file-name-masks): Relocate.
3764 (flymake-makehash, flymake-float-time)
3765 (flymake-replace-regexp-in-string, flymake-split-string)
3766 (flymake-get-temp-dir): Remove.
3767 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3768 (flymake-current-row, flymake-selected-frame)
3769 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3770 related functions. (Bug#16077)
3771
3772 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3773
3774 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3775
3776 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3777
3778 * help-fns.el (describe-function-1): Use new advice-* functions
3779 rather than old ad-* functions. Fix function type description and
3780 source links for advised functions and subrs.
3781
3782 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3783
3784 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3785
3786 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3787
3788 * progmodes/compile.el (compilation-start):
3789 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3790
3791 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3792 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3793
3794 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3795
3796 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3797 Touch up the last change.
3798
3799 2013-12-06 Leo Liu <sdl.web@gmail.com>
3800
3801 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3802 (inferior-octave-startup): Always use "octave> " for prompt.
3803 (octave-goto-function-definition)
3804 (octave-sync-function-file-names)
3805 (octave-find-definition-default-filename): Remove redundant backquotes.
3806
3807 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3808
3809 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3810 syntax for `?'.
3811 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3812 where appropriate already.
3813 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3814 end of method names (Bug#15874).
3815
3816 2013-12-06 Juri Linkov <juri@jurta.org>
3817
3818 * isearch.el (isearch--saved-overriding-local-map):
3819 New internal variable.
3820 (isearch-mode): Set it to the initial value of
3821 `overriding-terminal-local-map'.
3822 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3823 with `isearch--saved-overriding-local-map'. (Bug#16035)
3824
3825 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3826
3827 * progmodes/octave.el (inferior-octave-completion-table):
3828 Turn back into function, use `completion-table-with-cache'
3829 (Bug#11906). Update all references.
3830
3831 * minibuffer.el (completion-table-with-cache): New function.
3832
3833 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3834
3835 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3836
3837 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3838
3839 * net/eww.el (eww-current-source): New variable to store page
3840 source.
3841 (eww-display-html, eww-mode, eww-save-history)
3842 (eww-restore-history): Use it.
3843 (eww-view-source): New command to view page source.
3844 Opportunistically uses `html-mode' to highlight the buffer.
3845 (eww-mode-map): Install it.
3846
3847 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3848
3849 * net/dbus.el (dbus-unregister-service)
3850 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3851 Fix docstring.
3852 (dbus-unregister-service): Skip :serial entries in
3853 `dbus-registered-objects-table'.
3854 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3855
3856 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3857
3858 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3859 around keywords with extra `split-string' argument.
3860
3861 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3862
3863 * windmove.el (windmove-other-window-loc): Handle navigation
3864 between windows (excluding the minibuffer window - Bug#16017).
3865
3866 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3867
3868 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3869 in D-Bus type syntax.
3870 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3871 preserve unibyte strings. (Bug#16048)
3872
3873 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3876 Call force-mode-line-update is the proper buffer (bug#16042).
3877
3878 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3879
3880 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3881 `log-edit-remember-comment', make argument optional. Adjust all
3882 callers.
3883 (log-edit-mode): Add `log-edit-remember-comment' to
3884 `kill-buffer-hook' locally.
3885 (log-edit-kill-buffer): Don't remember comment explicitly since
3886 the buffer is killed anyway.
3887
3888 2013-12-04 Juri Linkov <juri@jurta.org>
3889
3890 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3891 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3892
3893 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3894
3895 * notifications.el (notifications-close-notification): Call the
3896 D-Bus method with ID being a `:uint32'. (Bug#16030)
3897
3898 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3899
3900 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3901
3902 2013-12-03 Juri Linkov <juri@jurta.org>
3903
3904 * progmodes/compile.el (compilation-start): Rename window alist
3905 entry `no-display-ok' to `allow-no-window'.
3906
3907 * simple.el (shell-command): Add window alist entry
3908 `allow-no-window' to `display-buffer'.
3909 (async-shell-command): Doc fix.
3910
3911 * window.el (display-buffer-no-window): New action function.
3912 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3913
3914 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3915
3916 * vc/log-edit.el (log-edit-set-header): Extract from
3917 `log-edit-toggle-header'.
3918 (log-edit-extract-headers): Separate the summary, when extracted
3919 from header, from the rest of the message with an empty line.
3920
3921 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3922 line, if present, to the Summary header.
3923
3924 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3927 in current-buffer (bug#16029).
3928
3929 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3930
3931 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3932 (debugger-mode-map): Bind it.
3933 (debugger--backtrace-base): New function.
3934 (debugger-eval-expression): Use it.
3935 (debugger-frame-number): Skip local vars when present.
3936 (debugger--locals-visible-p, debugger--insert-locals)
3937 (debugger--show-locals, debugger--hide-locals): New functions.
3938
3939 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3940
3941 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3942 "LC_ALL".
3943 (tramp-get-remote-locale): New defun.
3944 (tramp-open-connection-setup-interactive-shell): Use it.
3945
3946 2013-12-02 Leo Liu <sdl.web@gmail.com>
3947
3948 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3949
3950 * progmodes/sh-script.el (sh-shell-process):
3951 * progmodes/octave.el (inferior-octave-process-live-p):
3952 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3953 (gdb-inferior-io-sentinel):
3954 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3955
3956 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3957
3958 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3959 `save-selected-window' to `log-edit-hide-buf'. This makes
3960 `log-edit-show-files' idempotent.
3961 (log-edit-show-files): Mark the new window as dedicated.
3962
3963 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * vc/log-edit.el (log-edit-mode-map): Add binding for
3966 `log-edit-kill-biffer'.
3967 (log-edit-hide-buf): Add a FIXME comment.
3968 (log-edit-add-new-comment): New function, extracted from
3969 `log-edit-done'.
3970 (log-edit-done, log-edit-add-to-changelog): Use it.
3971 (log-edit-kill-buffer): New command.
3972
3973 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3974
3975 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3976 instead of killing the buffer.
3977
3978 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3981
3982 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3983
3984 * net/eww.el (eww-form-checkbox-selected-symbol)
3985 (eww-form-checkbox-symbol): New customizable variable.
3986 (eww-form-checkbox, eww-toggle-checkbox):
3987 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3988
3989 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3990 (shr--get-media-pref, shr--extract-best-source): New function.
3991 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3992 no :src tag was specified.
3993
3994 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3995 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3996 Use \\` to match beginning of string instead of ^.
3997 (eww-browse-with-external-browser): Provide optional URL parameter.
3998 (eww-render): Set `eww-current-title' back to "".
3999
4000 * net/shr.el (shr-tag-video): Display content for video if no
4001 poster is available.
4002 (shr-tag-audio): Add support for <audio> tag.
4003
4004 * net/eww.el (eww-text-input-types): New const.
4005 (eww-process-text-input): Treat input types in
4006 `eww-text-input-types' as text.
4007
4008 * net/shr.el (shr-tag-table): Fix comment typo.
4009
4010 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4011
4012 * net/eww.el (eww-follow-link): New command to avoid reloading
4013 pages when we follow #target links (bug#15243).
4014 (eww-quit): Special mode buffers shouldn't query before exiting.
4015
4016 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4017
4018 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4019 forms.
4020
4021 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4022
4023 * net/eww.el (eww-restore-history): Update the window title after
4024 moving in the history.
4025 (eww-current-dom): New variable used to save the current DOM.
4026
4027 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4028
4029 * vc/log-edit.el (log-edit-mode-map): Add binding for
4030 `log-edit-beginning-of-line'.
4031 (log-edit-setup-add-author): New user option.
4032 (log-edit-beginning-of-line): New command.
4033 (log-edit): Move major mode call above the contents setup so that
4034 the local variable values are already applied.
4035 (log-edit): Only insert "Author: " when
4036 `log-edit-setup-add-author' is non-nil.
4037 (log-edit): When SETUP is non-nil, position point after ": "
4038 instead of point-min.
4039
4040 2013-12-01 Glenn Morris <rgm@gnu.org>
4041
4042 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4043
4044 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4045
4046 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4047 redisplay to make sure the initial frame gets a chance to become
4048 visible. (Bug#16014)
4049
4050 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4051
4052 Support resizing frames and windows pixelwise.
4053 * cus-start.el (frame-resize-pixelwise)
4054 (window-resize-pixelwise): New entries.
4055 * emacs-lisp/debug.el (debug): Use window-total-height instead
4056 of window-total-size.
4057 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4058 * help.el (describe-bindings-internal): Use help-buffer as
4059 argument for with-help-window.
4060 (temp-buffer-max-width): New option.
4061 (resize-temp-buffer-window, help-window-setup)
4062 (with-help-window): Rewrite.
4063 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4064 dragging dividers.
4065 * window.el (frame-char-size, window-min-pixel-height)
4066 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4067 (window-min-pixel-width, window-safe-min-pixel-size)
4068 (window-combination-p, window-safe-min-size)
4069 (window-resizable-p, window--size-to-pixel)
4070 (window--pixel-to-size, window--resize-apply-p): New functions.
4071 (window-safe-min-height): Fix doc-string.
4072 (window-size, window-min-size, window--min-size-1)
4073 (window-sizable, window-sizable-p, window--min-delta-1)
4074 (window-min-delta, window--max-delta-1, window-max-delta)
4075 (window--resizable, window--resizable-p, window-resizable)
4076 (window-full-height-p, window-full-width-p, window-at-side-p)
4077 (window--in-direction-2, window-in-direction)
4078 (window--resize-reset-1, window--resize-mini-window)
4079 (window-resize, window-resize-no-error)
4080 (window--resize-child-windows-normal)
4081 (window--resize-child-windows, window--resize-siblings)
4082 (window--resize-this-window, window--resize-root-window)
4083 (window--resize-root-window-vertically)
4084 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4085 (maximize-window, minimize-window, delete-window)
4086 (quit-restore-window, window-split-min-size, split-window)
4087 (balance-windows-2, balance-windows)
4088 (balance-windows-area-adjust, balance-windows-area)
4089 (window--state-get-1, window-state-get, window--state-put-1)
4090 (window--state-put-2, window-state-put)
4091 (display-buffer-record-window, window--display-buffer):
4092 Make functions handle pixelwise sizing of windows.
4093 (display-buffer--action-function-custom-type)
4094 (display-buffer-fallback-action):
4095 Add display-buffer-in-previous-window.
4096 (display-buffer-use-some-window): Resize window to height it had
4097 before.
4098 (fit-window-to-buffer-horizontally): New option.
4099 (fit-frame-to-buffer): Describe new values.
4100 (fit-frame-to-buffer-bottom-margin): Replace with
4101 fit-frame-to-buffer-margins.
4102 (window--sanitize-margin): New function.
4103 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4104 using window-text-pixel-size.
4105
4106 2013-11-30 Glenn Morris <rgm@gnu.org>
4107
4108 * emacs-lisp/bytecomp.el (byte-compile-form):
4109 Make the `interactive-only' warning like the `obsolete' one.
4110 * comint.el (comint-run):
4111 * files.el (insert-file-literally, insert-file):
4112 * replace.el (replace-string, replace-regexp):
4113 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4114 (goto-line, insert-buffer, next-line, previous-line):
4115 Tweak `interactive-only' spec.
4116
4117 Stop keeping (most) generated cedet grammar files in the repository.
4118 * Makefile.in (semantic): New.
4119 (compile-main): Depend on semantic.
4120
4121 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4124 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4125
4126 * uniquify.el (uniquify-buffer-name-style): Change default.
4127
4128 * loadup.el: Preload "uniquify".
4129
4130 * time.el (display-time-update): Update all mode lines (bug#15999).
4131
4132 * electric.el (electric-indent-mode): Enable by default.
4133 * loadup.el: Preload "electric".
4134
4135 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4136
4137 * emacs-lisp/helpers.el (string-empty-p): New function.
4138 (string-blank-p): New function.
4139
4140 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4141
4142 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4143 (Bug#14029).
4144
4145 2013-11-29 Andreas Politz <politza@fh-trier.de>
4146 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4147 allow non-lambda lists as functions.
4148 (imenu--in-alist): Don't recurse into non-subalists.
4149 (imenu): Don't pass function itself as an argument (Bug#14029).
4150
4151 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * progmodes/python.el (python-mode-map): Remove binding for ":".
4154 (python-indent-electric-colon): Remove command.
4155 (python-indent-post-self-insert-function): Integrate the previous code
4156 of python-indent-electric-colon. Make it conditional on
4157 electric-indent-mode.
4158 (python-mode): Add ?: to electric-indent-chars.
4159 Move python-indent-post-self-insert-function to the end of
4160 post-self-insert-hook.
4161
4162 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4163
4164 * doc-view.el (doc-view-goto-page): Update mode-line.
4165
4166 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4167
4168 2013-11-27 Glenn Morris <rgm@gnu.org>
4169
4170 * international/charprop.el, international/uni-bidi.el:
4171 * international/uni-category.el, international/uni-combining.el:
4172 * international/uni-comment.el, international/uni-decimal.el:
4173 * international/uni-decomposition.el, international/uni-digit.el:
4174 * international/uni-lowercase.el, international/uni-mirrored.el:
4175 * international/uni-name.el, international/uni-numeric.el:
4176 * international/uni-old-name.el, international/uni-titlecase.el:
4177 * international/uni-uppercase.el:
4178 Remove generated files from VCS repository.
4179
4180 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4181
4182 * filenotify.el (file-notify-add-watch): Don't special-case
4183 w32notify when computing the directory to watch.
4184
4185 2013-11-27 Glenn Morris <rgm@gnu.org>
4186
4187 Make bootstrap without generated uni-*.el files possible again.
4188 * loadup.el: Update command-line-args checking for unidata-gen.
4189 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4190 * composite.el, international/characters.el:
4191 Handle unicode tables being undefined.
4192
4193 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4194 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4195 (compile-main): Depend on leim rule.
4196 (leim): New rule.
4197 * loadup.el: Move leim-list.el to leim/ subdirectory.
4198 * startup.el (normal-top-level): No more leim directory.
4199 * international/ja-dic-cnv.el (skkdic-convert):
4200 Disable version-control and autoloads in output files.
4201 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4202 Disable version-control and autoloads in output files.
4203 * leim/quail: Move here from ../leim.
4204 * leim/quail/hangul.el (hangul-input-method-activate):
4205 Add autoload cookie.
4206 (generated-autoload-load-name): Set file-local value.
4207 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4208 (generated-autoload-load-name): Set file-local value.
4209
4210 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4211
4212 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4213 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4214 (eww-quit): Ask confirmation before quitting eww.
4215
4216 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4217
4218 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4219 reading output from Diff on MS-Windows and MS-DOS.
4220
4221 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4222
4223 * emacs-lisp/helpers.el (string-reverse): New function.
4224
4225 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4228 names on MS Windows, like "/[::1]:".
4229
4230 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4231 SWITCHES.
4232
4233 2013-11-26 Glenn Morris <rgm@gnu.org>
4234
4235 * progmodes/python.el (python-indent-guess-indent-offset):
4236 Avoid corner-case error. (Bug#15975)
4237
4238 Preload leim-list.el. (Bug#4789)
4239 * loadup.el: Load leim-list.el when found.
4240 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4241
4242 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4243
4244 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4245
4246 * emacs-lisp/helpers.el (string-join): New function.
4247
4248 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4249
4250 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4251 Mark as obsolete and replace it with a symbol property.
4252 (byte-compile-form): Use new 'interactive-only property.
4253 * comint.el, files.el, replace.el, simple.el:
4254 Apply new 'interactive-only properly.
4255
4256 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4257
4258 * window.el (display-buffer-at-bottom): Make sure that
4259 split-window-sensibly creates the new window on bottom
4260 (Bug#15961).
4261
4262 2013-11-23 David Kastrup <dak@gnu.org>
4263
4264 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4265 on the conflict markers when available.
4266 (smerge--get-marker): New function.
4267 (smerge-end-re, smerge-base-re): Add subgroup.
4268
4269 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * frame.el (handle-focus-in, handle-focus-out): Add missing
4272 interactive spec.
4273
4274 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4275
4276 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4277 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4278
4279 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4282 (gomoku--last-pos): New var.
4283 (gomoku--intangible-chars): New const.
4284 (gomoku--intangible): New function.
4285 (gomoku-mode): Use it. Derive from special-mode.
4286 (gomoku-move-up): Adjust line count.
4287 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4288 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4289 Simplify accordingly.
4290
4291 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4292 Remove blink-cursor code.
4293 (blink-cursor-timer-function, blink-cursor-suspend):
4294 Don't special-case GUIs.
4295 (blink-cursor-mode): Use focus-in/out-hook.
4296
4297 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4298
4299 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4300 work when annotation is invisible (Bug#13886).
4301
4302 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4303
4304 * json.el (json-alist-p): Only return non-nil if the alist has
4305 simple keys (Bug#13518).
4306
4307 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4308
4309 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4310 when control-statement is the first statement in a buffer (Bug#15956).
4311
4312 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4313
4314 * imenu.el (imenu-generic-skip-comments-and-strings):
4315 New option (Bug#15560).
4316 (imenu--generic-function): Use it.
4317
4318 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4319
4320 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4321 (Bug#13898)
4322
4323 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4324
4325 * emacs-lisp/helpers.el: Add some string helpers.
4326 (string-trim-left): Removes leading whitespace.
4327 (string-trim-right): Removes trailing whitespace.
4328 (string-trim): Removes leading and trailing whitespace.
4329
4330 * subr.el (string-suffix-p): New function.
4331
4332 2013-11-23 Glenn Morris <rgm@gnu.org>
4333
4334 * progmodes/python.el (python-shell-send-file):
4335 Add option to delete file when done. (Bug#15647)
4336 (python-shell-send-string, python-shell-send-region): Use it.
4337
4338 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4339
4340 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4341 to set buffer-read-only to t, never to nil. (Bug#15938)
4342
4343 * textmodes/tex-mode.el (latex-noindent-environments):
4344 Add safe-local-variable property. (Bug#15936)
4345
4346 2013-11-23 Glenn Morris <rgm@gnu.org>
4347
4348 * textmodes/enriched.el (enriched-mode): Doc fix.
4349 * emacs-lisp/authors.el (authors-renamed-files-alist):
4350 Add enriched.doc -> enriched.txt.
4351
4352 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4353
4354 2013-11-22 Leo Liu <sdl.web@gmail.com>
4355
4356 * progmodes/octave.el (inferior-octave-startup): Spit out error
4357 message.
4358
4359 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4360
4361 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4362 Improve docstring.
4363 Add :version.
4364 (ruby-encoding-magic-comment-style): Add :version.
4365
4366 2013-11-22 Leo Liu <sdl.web@gmail.com>
4367
4368 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4369 (Bug#15076)
4370 (octave-help-mode): Adapt to change to help-mode-finish to use
4371 derived-mode-p on 2013-09-17.
4372 (inferior-octave-prompt): Also match octave-gui.
4373 (octave-kill-process): Don't ask twice. (Bug#10564)
4374
4375 2013-11-22 Leo Liu <sdl.web@gmail.com>
4376
4377 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4378 (inferior-octave-startup, inferior-octave-check-process)
4379 (inferior-octave-track-window-width-change)
4380 (octave-completion-at-point, octave-eldoc-function): Use it.
4381 (octave-kill-process): Provide confirmation. (Bug#10564)
4382
4383 2013-11-21 Leo Liu <sdl.web@gmail.com>
4384
4385 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4386 Fix obsolete variable comment-use-global-state.
4387
4388 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4389
4390 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4391 Add `octave-source-file'.
4392 (octave-source-file): New function. (Bug#15935)
4393
4394 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4395
4396 * net/eww.el (eww-local-regex): New variable.
4397 (eww): Use it to detect localhost and similar.
4398
4399 2013-11-21 Leo Liu <sdl.web@gmail.com>
4400
4401 Add completion for command `ag'.
4402 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4403 (pcomplete/ag): New function.
4404 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4405
4406 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4409 (bug#14646).
4410 (make-obsolete): Remove interactive spec.
4411
4412 2013-11-21 Glenn Morris <rgm@gnu.org>
4413
4414 * startup.el (command-line-1): Use path-separator with -L.
4415
4416 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4417
4418 * emacs-lisp/package.el (describe-package-1): Add package archive
4419 to shown fields.
4420
4421 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4422
4423 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4424 Change default to "# encoding: %s" to differentiate it from the
4425 default Ruby encoding comment template.
4426
4427 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4428
4429 * ses.el (ses-mode): Doc fix. (Bug#14748)
4430
4431 2013-11-20 Leo Liu <sdl.web@gmail.com>
4432
4433 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4434
4435 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4436
4437 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4438 when rebase or bisect are in progress.
4439
4440 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4441
4442 * filenotify.el (file-notify-add-watch): Doc fix.
4443
4444 2013-11-19 Leo Liu <sdl.web@gmail.com>
4445
4446 * obsolete/rcompile.el: Mark obsolete.
4447
4448 * progmodes/compile.el (compilation-start)
4449 (compilation-goto-locus, compilation-find-file):
4450 Pass no-display-ok and handle nil value from display-buffer.
4451 (Bug#13594)
4452
4453 * window.el (display-buffer-alist, display-buffer): Document the
4454 new parameter no-display-ok. Return either a window or nil
4455 but never a non-window value.
4456
4457 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * electric.el (electric-indent-mode-map): Remove.
4460 (electric-indent-mode): Change the global-map instead (bug#15915).
4461
4462 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4463 Use add-function.
4464
4465 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * emacs-lisp/nadvice.el (remove-function): Align with
4468 add-function's behavior.
4469
4470 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4471 (gdb--string-regexp): New constant.
4472 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4473 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4474 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4475 submatch 1.
4476 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4477 Adjust use accordingly.
4478 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4479
4480 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4481
4482 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4483 interpolation curlies (Bug#15914).
4484
4485 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4486
4487 * calc/calc.el (calc-context-sensitive-enter): New variable.
4488 (calc-enter): Use `calc-context-sensitive-enter'.
4489
4490 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4491
4492 * progmodes/cfengine.el: Version bump.
4493 (cfengine-cf-promises): New defcustom to locate cf-promises.
4494 (cfengine3-vartypes): Add new "data" type.
4495 (cfengine3--current-word): New function to get current name-like
4496 word or its bounds.
4497 (cfengine3--current-function): New function to look up a CFEngine
4498 function's definition.
4499 (cfengine3-format-function-docstring): New function.
4500 (cfengine3-make-syntax-cache): New function.
4501 (cfengine3-documentation-function): New function: ElDoc glue.
4502 (cfengine3-completion-function): New function: completion glue.
4503 (cfengine3-mode): Set `compile-command',
4504 `eldoc-documentation-function', and add to
4505 `completion-at-point-functions'.
4506
4507 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4508
4509 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4510 `tramp-current-connection'.
4511
4512 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4513
4514 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4515 nil/self/true/false with "end of symbol".
4516
4517 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4518
4519 * subr.el (version-regexp-alist): Fix a typo.
4520
4521 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4522
4523 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4524 "en_US.utf8" and "LC_CTYPE" to "".
4525 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4526 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4527
4528 2013-11-15 Leo Liu <sdl.web@gmail.com>
4529
4530 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4531
4532 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * progmodes/gud.el (ctl-x-map):
4535 Remove C-x SPC binding. (Bug#12342)
4536 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4537
4538 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4539
4540 * subr.el (version-regexp-alist):
4541 Recognize hg, svn and darcs versions as snapshot versions.
4542
4543 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4544 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4545 (ruby--encoding-comment-required-p): Extract from
4546 `ruby-mode-set-encoding'.
4547 (ruby-mode-set-encoding): Add the ability to always insert an
4548 utf-8 encoding comment. Fix and simplify coding comment update
4549 logic.
4550
4551 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4552
4553 * net/tramp-gvfs.el (top): Run init code only when
4554 `tramp-gvfs-enabled' is not nil.
4555 (tramp-gvfs-enabled): Check also :system bus.
4556
4557 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4558
4559 Sync with upstream verilog-mode revision 78e66ba.
4560 * progmodes/verilog-mode.el (verilog-end-of-defun)
4561 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4562 (verilog-get-end-of-defun): Remove unused argument.
4563 (verilog-comment-depth): Remove unused local `e'.
4564 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4565 Don't pass arg to verilog-get-end-of-defun.
4566
4567 2013-11-14 Glenn Morris <rgm@gnu.org>
4568
4569 * obsolete/assoc.el (aget): Prefix dynamic variable.
4570
4571 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4572
4573 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * widget.el, hfy-cmap.el: Remove bogus package version number.
4576
4577 2013-11-13 Glenn Morris <rgm@gnu.org>
4578
4579 * replace.el (replace-eval-replacement):
4580 Try to give more helpful error message. (Bug#15836)
4581
4582 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4583 (archive-7z-update): Avoid custom type mismatches.
4584
4585 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4586
4587 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4588
4589 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4590 address can be empty.
4591
4592 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4593 Accept nil SWITCHES.
4594 (tramp-gvfs-handle-write-region): Implement APPEND.
4595
4596 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4597
4598 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4599 binary "|" operator and closing block args delimiter.
4600 Remove FIXME comment referring to Ruby 1.8-only syntax.
4601 (ruby-smie--implicit-semi-p): Not after "|" operator.
4602 (ruby-smie--closing-pipe-p): New function.
4603 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4604 (ruby-smie-rules): Indent after "|".
4605
4606 2013-11-12 Glenn Morris <rgm@gnu.org>
4607
4608 * ps-print.el (ps-face-attribute-list):
4609 Handle anonymous faces. (Bug#15827)
4610
4611 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4612
4613 * window.el (display-buffer-other-frame): Fix doc-string.
4614 (Bug#15868)
4615
4616 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4619
4620 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4621
4622 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4623 (tramp-sh-handle-file-local-copy): Don't write a message when
4624 saving temporary files.
4625
4626 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4627 both directories are remote.
4628 (tramp-smb-handle-directory-files): Do not return double entries.
4629 Do not expand full file names.
4630 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4631 (tramp-smb-handle-write-region): Implement APPEND.
4632 (tramp-smb-get-stat-capability): Fix a stupid bug.
4633
4634 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4637
4638 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4639
4640 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4641 throwing error over malformed let/let* (bug#15814).
4642
4643 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * iswitchb.el (iswitchb-mode): Mark obsolete.
4646
4647 2013-11-11 Glenn Morris <rgm@gnu.org>
4648
4649 * international/uni-bidi.el, international/uni-category.el:
4650 * international/uni-name.el, international/uni-numeric.el:
4651 Regenerate for Unicode 6.3.0.
4652
4653 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4654
4655 * net/tramp.el (tramp-methods):
4656 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4657 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4658
4659 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4660
4661 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4662 Force highlighting text after Summary keyword in doc face for rpm.
4663
4664 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4665
4666 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4667 available and the word has no wildcards, append one to the grep pattern.
4668 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4669 (ispell-complete-word): Call `ispell-lookup-words' with the value
4670 independent of `ispell-look-p'.
4671
4672 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4673
4674 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4675 Not after "||".
4676 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4677 their parent.
4678
4679 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4682 (ruby-font-lock-keywords): Use backquote.
4683
4684 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4685
4686 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4687 (ruby-smie--backward-token): Only consider full-string matches.
4688
4689 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4690
4691 * faces.el (describe-face): Add distant-foreground.
4692
4693 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4694
4695 * progmodes/ruby-mode.el: Improve encoding comment handling.
4696 (ruby-encoding-magic-comment-style): New option.
4697 (ruby-custom-encoding-magic-comment-template): New option.
4698 (ruby--insert-coding-comment, ruby--detect-encoding):
4699 New functions extracted from `ruby-mode-set-encoding'.
4700 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4701 to control the style of the auto-inserted encoding comment.
4702
4703 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4704
4705 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4706 Use `smie-backward-sexp' with token argument.
4707
4708 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4709
4710 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4711 Remove instrumentation code.
4712
4713 2013-11-08 Glenn Morris <rgm@gnu.org>
4714
4715 * progmodes/autoconf.el (autoconf-mode):
4716 Tweak comment-start-skip. (Bug#15822)
4717
4718 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4721 at bobp (bug#15826).
4722 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4723
4724 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4725
4726 * man.el (Man-start-calling): New macro, extracted from
4727 Man-getpage-in-background.
4728 (Man-getpage-in-background): Use it.
4729 (Man-update-manpage): New command.
4730 (Man-mode-map): Bind it.
4731
4732 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4733
4734 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4735 of "and", "or", "&&" and "||".
4736 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4737 argument. Prohibit opening curly brace because it could only be a
4738 block opener in that position.
4739 (ruby-smie--forward-token, ruby-smie--backward-token):
4740 Separate "|" from "&" or "*" going after it. That can happen in block
4741 arguments.
4742 (ruby-smie--indent-to-stmt): New function, seeks the end of
4743 previous statement or beginning of buffer.
4744 (ruby-smie-rules): Use it.
4745 (ruby-smie-rules): Check if there's a ":" before a curly block
4746 opener candidate; if there is, it's a hash.
4747
4748 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4749
4750 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4751 (cl--block-wrapper): Fix last accidental change.
4752
4753 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4754
4755 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4756 Instrument, in order to hunt failure on hydra.
4757
4758 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4759
4760 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4761 malformed bindings form (bug#15814).
4762
4763 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4764
4765 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4766 "." compared to " @ ". This incidentally fixes some indentation
4767 examples with "do".
4768 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4769 (ruby-smie-grammar): New tokens: "and" and "or".
4770 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4771 Exclude "and" and "or". Remove "do" in order to work around token
4772 priorities.
4773 (ruby-smie-rules): Add all infix tokens. Handle the case of
4774 beginning-of-buffer.
4775
4776 2013-11-06 Glenn Morris <rgm@gnu.org>
4777
4778 * Makefile.in (setwins_almost, setwins_for_subdirs):
4779 Avoid accidental matches.
4780
4781 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * menu-bar.el (popup-menu): Use key-binding.
4784
4785 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4786
4787 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4788 menus, support also the menus produced by minor modes.
4789 (Bug#15817)
4790
4791 2013-11-06 Leo Liu <sdl.web@gmail.com>
4792
4793 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4794 DISTANCE to bound the search. All uses changed. (Bug#15808)
4795
4796 2013-11-06 Glenn Morris <rgm@gnu.org>
4797
4798 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4799 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4800 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4801
4802 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4803
4804 * electric.el (electric-indent-just-newline): New command.
4805 (electric-indent-mode-map): New keymap.
4806 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4807 Re-add :group which weren't redundant.
4808
4809 * electric.el (electric-indent-local-mode): New minor mode.
4810 (electric-indent-functions-without-reindent): New var.
4811 (electric-indent-post-self-insert-function): Use it.
4812 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4813
4814 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4815
4816 * international/quail.el (quail-help): Be more explicit about the
4817 meaning of the labels shown on the keys. (Bug#15800)
4818
4819 * startup.el (normal-top-level): Load the subdirs.el files before
4820 setting the locale environment. (Bug#15805)
4821
4822 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4825 via arguments so as to get the right ones (bug#15418).
4826
4827 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4828
4829 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4830
4831 Fix problems found while writing a test suite.
4832
4833 * net/tramp-compat.el (tramp-compat-load): New defun.
4834 * net/tramp.el (tramp-handle-load): Use it.
4835
4836 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4837 "(numberp ok-if-already-exists)" correctly.
4838
4839 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4840
4841 * international/characters.el (glyphless-char-display-control):
4842 Add usage note.
4843
4844 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4845
4846 * progmodes/python.el (python-mode):
4847 * progmodes/scheme.el (scheme-mode):
4848 * progmodes/prolog.el (prolog-mode):
4849 * progmodes/ruby-mode.el (ruby-mode):
4850 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4851 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4852
4853 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * rect.el (rectangle--highlight-for-redisplay):
4856 * emacs-lisp/smie.el (smie--next-indent-change):
4857 Use buffer-chars-modified-tick.
4858
4859 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4860
4861 * electric.el (electric-indent-post-self-insert-function):
4862 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4863
4864 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4865
4866 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4867
4868 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4869
4870 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4871 (bug#15786).
4872
4873 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4876
4877 * progmodes/python.el: Fix up last change.
4878 (python-shell--save-temp-file): New function.
4879 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4880 `string' comes from the current buffer.
4881 (python-shell-send-string-no-output): Remove `msg' arg.
4882 (python--use-fake-loc): New var.
4883 (python-shell-buffer-substring): Obey it. Try to compensate for the
4884 extra coding line added by python-shell--save-temp-file.
4885 (python-shell-send-region): Use python-shell--save-temp-file and
4886 python-shell-send-file directly. Add `nomain' argument.
4887 (python-shell-send-buffer): Use python-shell-send-region.
4888 (python-electric-pair-string-delimiter): New function.
4889 (python-mode): Use it.
4890
4891 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4892
4893 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4894 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4895 environment and decoding all of the default-directory's to here
4896 from command-line.
4897 (command-line): Decode also argv[0].
4898
4899 * loadup.el: Error out if default-directory is a multibyte string
4900 when we are dumping.
4901
4902 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4903
4904 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4905
4906 * emacs-lisp/package.el (package-menu-mode)
4907 (package-menu--print-info, package-menu--archive-predicate):
4908 Add Archive column to package list.
4909
4910 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4911
4912 Fix problems found while writing a test suite.
4913
4914 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4915 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4916 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4917 to nil when running original file name handler. Otherwise,
4918 there are problems with constructs like "$$FOO".
4919
4920 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4921 for `localname'.
4922
4923 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4924
4925 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4926
4927 * subr.el (version<, version<=, version=):
4928 Update docstrings with information for snapshot versions.
4929
4930 * helpers.el: New library for misc helper functions.
4931 (hash-table-keys): New function returning a list of hash keys.
4932 (hash-table-values): New function returning a list of hash values.
4933
4934 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4935
4936 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4937 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4938
4939 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4940
4941 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4942 checking whether point is after a 1-letter word.
4943
4944 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4945
4946 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4947 Don't infloop when expanding region over `multiline' syntax-type that
4948 begins a line (bug#15778).
4949
4950 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4953 Make it into a proper minor mode.
4954 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4955 (rectangle-mark-mode-map): New keymap.
4956 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4957
4958 2013-11-04 Glenn Morris <rgm@gnu.org>
4959
4960 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4961
4962 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4965 (ruby-smie-rules): Use smie-rule-parent instead.
4966
4967 * emacs-lisp/smie.el (smie-rule-parent): Always call
4968 smie-indent-virtual rather than only for hanging tokens.
4969 (smie--next-indent-change): New helper command.
4970
4971 2013-11-03 Glenn Morris <rgm@gnu.org>
4972
4973 * Makefile.in (abs_srcdir): Remove.
4974 (emacs): Unset EMACSLOADPATH.
4975
4976 2013-11-02 Glenn Morris <rgm@gnu.org>
4977
4978 * Makefile.in (EMACS): Use a relative filename.
4979 (abs_top_builddir): Remove.
4980 (custom-deps, finder-data, autoloads): Use --chdir.
4981
4982 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4983
4984 Use relative filenames in TAGS files.
4985 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4986 (lisptagsfiles4, TAGS): Use relative file names.
4987 (TAGS-LISP): Remove.
4988 (maintainer-clean): No more TAGS-LISP file.
4989
4990 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4991 (lisptagsfiles4): Use absolute filenames again.
4992 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4993 Remove all *loaddefs files, not just the first. Remove esh-groups.
4994 (maintainer-clean): Delete TAGS, TAGS-LISP.
4995
4996 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4997
4998 * emacs-lisp/package.el (package-version-join):
4999 Recognize snapshot versions.
5000
5001 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5002
5003 * subr.el (version-regexp-alist): Add support for snapshot versions.
5004
5005 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5006
5007 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5008 New function, replacement for `smie-rule-parent' for when we want to
5009 skip over our direct parent if it's an assignment token..
5010 (ruby-smie-rules): Use it.
5011
5012 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5013
5014 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5015 unconditionally. Remove now unnecessary forward declarations.
5016 Remove XEmacs-specific setup.
5017 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5018 (ruby-font-lock-syntactic-keywords)
5019 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5020 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5021 (ruby-here-doc-end-syntax): Remove.
5022 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5023 defined as function.
5024
5025 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5026
5027 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5028
5029 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5030
5031 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5032 table and abbrev table, `define-derived-mode' does that for us
5033 anyway.
5034
5035 2013-11-01 Glenn Morris <rgm@gnu.org>
5036
5037 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5038 files is atomic for some time, so no parallel compilation issues).
5039
5040 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5041
5042 * faces.el (face-x-resources): Add :distant-foreground.
5043 (region): Use :distant-foreground for gtk and ns.
5044
5045 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5046
5047 Allow multiple bibliographies when BibLaTeX is used rather than
5048 BibTeX.
5049 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5050 (reftex-locate-bibliography-files): Us it.
5051
5052 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5053
5054 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5055 allow comments in pbm files.
5056
5057 * term/w32-win.el (dynamic-library-alist): Support newer versions
5058 of libjpeg starting with v7: look only for the DLL from the
5059 version against which Emacs was built.
5060 Support versions of libpng beyond 1.4.x.
5061 Support libtiff v4.x.
5062
5063 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5064
5065 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5066 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5067 Add property :safe.
5068 (ruby-deep-arglist): Add property :type.
5069
5070 2013-10-31 Glenn Morris <rgm@gnu.org>
5071
5072 * Makefile.in (custom-deps, finder-data): No need to setq the target
5073 variables, we are in the right directory and the defaults work fine.
5074
5075 2013-10-30 Glenn Morris <rgm@gnu.org>
5076
5077 * Makefile.in (autoloads): Do not use abs_lisp.
5078
5079 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5080 `newline' does not respect `standard-output', so use `princ'.
5081
5082 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5083
5084 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5085 * buff-menu.el (Buffer-menu--unmark): New function.
5086 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5087
5088 2013-10-30 Glenn Morris <rgm@gnu.org>
5089
5090 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5091
5092 * emacs-lisp/package.el (lm-homepage): Declare.
5093
5094 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5095 Fix doc typos.
5096
5097 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5098
5099 * Makefile.in (finder-data, autoloads, update-subdirs)
5100 (compile-main, compile-clean, compile-always, bootstrap-clean):
5101 Check return value of cd.
5102 (compile-calc): Remove.
5103
5104 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5105
5106 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5107
5108 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5109 (byte-compile-and-folded): New function.
5110 (=, <, >, <=, >=): Use it.
5111
5112 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5113 (path-separator, null-device, buffer-file-coding-system)
5114 (lpr-headers-switches): Check system-type before modifying them.
5115 (find-buffer-file-type-coding-system): Mark obsolete.
5116 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5117 find-file-not-found-set-buffer-file-coding-system.
5118 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5119 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5120 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5121 (w32-direct-print-region-helper, w32-direct-print-region-function)
5122 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5123 * startup.el (normal-top-level-add-subdirs-to-load-path):
5124 * ps-print.el (ps-print-region-function):
5125 * lpr.el (print-region-function): Use new name.
5126
5127 * subr.el (custom-declare-variable-early): Remove function.
5128 (custom-declare-variable-list): Remove var.
5129 (error, user-error): Remove `while' loop.
5130 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5131 (user-emacs-directory-warning, locate-user-emacs-file):
5132 Move to files.el.
5133 * simple.el (read-quoted-char-radix, read-quoted-char):
5134 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5135 Move from subr.el.
5136 * custom.el (custom-declare-variable-list): Don't process
5137 custom-declare-variable-list.
5138
5139 * progmodes/python.el (python-shell-get-buffer): New function.
5140 (python-shell-get-process): Use it.
5141 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5142 Python which encoding was used. Don't split-string since we only care
5143 about the first line. Return the temp-file, if applicable.
5144 (python-shell-send-region): Tell compile.el how to turn locations in
5145 the temp-file into locations in the source buffer.
5146
5147 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * subr.el (undefined): Add missing behavior from the C code for
5150 unbound keys.
5151
5152 * rect.el: Use lexical-binding. Add new rectangular region support.
5153 (rectangle-mark): New command.
5154 (rectangle--region): New var.
5155 (deactivate-mark-hook): Reset rectangle--region.
5156 (rectangle--extract-region, rectangle--insert-for-yank)
5157 (rectangle--highlight-for-redisplay)
5158 (rectangle--unhighlight-for-redisplay): New functions.
5159 (region-extract-function, redisplay-unhighlight-region-function)
5160 (redisplay-highlight-region-function): Use them to handle
5161 rectangular region.
5162 * simple.el (region-extract-function): New var.
5163 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5164 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5165 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5166 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5167 (redisplay-unhighlight-region-function)
5168 (redisplay-highlight-region-function): New vars.
5169 (redisplay--update-region-highlight): New function.
5170 (pre-redisplay-function): Use it.
5171 (exchange-point-and-mark): Don't deactivate the mark before
5172 reactivate-it anyway.
5173 * comint.el (comint-kill-region): Remove yank-handler argument.
5174 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5175 (delete-char): Remove property, since it's now part of their
5176 default behavior.
5177 (self-insert-iso): Remove property since this command doesn't exist.
5178
5179 * emacs-lisp/package.el (package--download-one-archive)
5180 (describe-package-1): Don't query the user about final newline.
5181
5182 2013-10-29 Daniel Colascione <dancol@dancol.org>
5183
5184 * net/tramp.el (tramp-methods): Document new functionality.
5185 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5186 tramp-hostname-checker if method provides one instead of scanning
5187 argument list for "%h" to decide hostname acceptability.
5188
5189 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5190
5191 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5192 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5193 Handle COPY-CONTENTS. (Bug#15737)
5194
5195 2013-10-28 Daiki Ueno <ueno@gnu.org>
5196
5197 * epa-file.el
5198 (epa-file-cache-passphrase-for-symmetric-encryption):
5199 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5200
5201 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5202
5203 * image.el (defimage, image-load-path): Doc fixes.
5204
5205 2013-10-27 Alan Mackenzie <acm@muc.de>
5206
5207 Indent statements in macros following "##" correctly.
5208 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5209 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5210
5211 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5212
5213 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5214
5215 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5216
5217 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5218 after `=' is probably a new expression.
5219
5220 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5221
5222 * man.el (man-imenu-title): New option.
5223 (Man-mode-map): Add menu. (Bug#15722)
5224 (Man-mode): Add imenu to menu.
5225
5226 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5227
5228 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5229 specific in what the first arg can be: a non-keyword word,
5230 string/regexp/percent literal opener, opening paren, or unary
5231 operator followed directly by word.
5232
5233 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5236 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5237 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5238 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5239 Remove vars, they do not apply any more.
5240 (prolog-mode-abbrev-table): Remove redundant declaration.
5241 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5242 (prolog-use-smie): Remove.
5243 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5244 supported by prolog-electric-if-then-else-flag.
5245 (prolog-mode-variables, prolog-menu): Use setq-local.
5246 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5247 Remove binding to `Backspace' since this key doesn't exist anyway.
5248 Remove bindings for electric self-inserting keys.
5249 (prog-mode): Assume it's defined.
5250 (prolog-post-self-insert): New function.
5251 (prolog-mode): Use it.
5252 (prolog-indent-line, prolog-indent-level)
5253 (prolog-find-indent-of-matching-paren)
5254 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5255 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5256 (prolog-goto-next-paren, prolog-in-string-or-comment)
5257 (prolog-tokenize, prolog-inside-mline-comment)
5258 (prolog-find-start-of-mline-comment): Remove functions.
5259 (prolog-find-unmatched-paren, prolog-clause-end)
5260 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5261 (prolog-electric--if-then-else): Rename from
5262 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5263 (prolog-tokenize-searchkey): Remove const.
5264 (prolog-clause-info): Use forward-sexp.
5265 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5266 (prolog-electric-if-then-else): Remove commands.
5267 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5268 for use in post-self-insert-hook.
5269 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5270 for use in post-self-insert-hook.
5271 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5272 for use in post-self-insert-hook.
5273 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5274 adapt it for use in post-self-insert-hook.
5275
5276 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5277
5278 * emacs-lisp/ert.el (ert-run-tests-interactively):
5279 Use `completing-read'. (Bug#9756)
5280
5281 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5282
5283 * simple.el (line-move): Call line-move-1 instead of
5284 line-move-visual when the current window hscroll is zero, but
5285 temporary-goal-column indicates we will need to hscroll as result
5286 of the movement. (Bug#15712)
5287
5288 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5289
5290 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5291 capitalization. Use :visible instead of :active.
5292 Fix `ruby-indent-exp' reference. Add menu items for the generic
5293 commands that are used with SMIE.
5294 (ruby-do-end-to-brace): Insert space after `{'.
5295
5296 2013-10-25 John Anthony <john@jo.hnanthony.com>
5297
5298 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5299
5300 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5301
5302 2013-10-25 Glenn Morris <rgm@gnu.org>
5303
5304 * vc/vc.el (vc-print-log): Don't use a working revision unless
5305 one was explicitly specified. (Bug#15322)
5306
5307 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * subr.el (add-to-list): Preserve return value in compiler-macro
5310 (bug#15692).
5311
5312 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5313
5314 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5315 result. Ask user to retry using '-all' flag. (Bug#15701)
5316
5317 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * emacs-lisp/smie.el: New smie-config system.
5320 (smie-config): New defcustom.
5321 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5322 (smie-config-guess, smie-config-save): New commands.
5323 (smie-config--mode-local, smie-config--buffer-local)
5324 (smie-config--trace, smie-config--modefuns): New vars.
5325 (smie-config--advice, smie-config--mode-hook)
5326 (smie-config--setter, smie-config-local, smie-config--get-trace)
5327 (smie-config--guess-value, smie-config--guess): New functions.
5328 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5329 text properties. Treat "string fence" syntax like string syntax.
5330
5331 * progmodes/sh-script.el (sh-use-smie): Change default.
5332 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5333 (sh-var-value): Simplify by CSE.
5334 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5335 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5336 is used.
5337 (sh-guess-basic-offset): Use cl-incf.
5338 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5339
5340 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5341
5342 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5343 (bug#15699).
5344
5345 2013-10-24 Glenn Morris <rgm@gnu.org>
5346
5347 * Makefile.in (abs_top_srcdir): Remove.
5348 (update-subdirs): Use relative path to update-subdirs.
5349
5350 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5351
5352 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5353 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5354 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5355 Call unmsys--file-name before expand-file-name, not after it.
5356
5357 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5358
5359 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5360 (ert-test-skipped): New error.
5361 (ert-skip, ert-stats-skipped): New defuns.
5362 (ert--skip-unless): New macro.
5363 (ert-test-skipped): New struct.
5364 (ert--run-test-debugger, ert-test-result-type-p)
5365 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5366 (ert--stats-set-test-and-result, ert-char-for-test-result)
5367 (ert-string-for-test-result, ert-run-tests-batch)
5368 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5369 Handle skipped tests. (Bug#9803)
5370
5371 2013-10-24 Glenn Morris <rgm@gnu.org>
5372
5373 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5374
5375 * Makefile.in (abs_top_srcdir): New, set by configure.
5376 (update-subdirs): Correct build-aux location.
5377
5378 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5379
5380 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5381 value, whether we could auto-deduce `backend', or not.
5382
5383 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5384 with parameters" example. Simplify the "is it block or is it
5385 hash" check, but also make it more thorough.
5386
5387 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5388
5389 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5390
5391 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5394 { if it is hanging.
5395
5396 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5397 :before ";".
5398
5399 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5400
5401 * progmodes/compile.el (compilation-directory-matcher)
5402 (compilation-page-delimiter):
5403 Support GNU Make-4.0 directory quoting. (Bug#15678)
5404
5405 2013-10-23 Leo Liu <sdl.web@gmail.com>
5406
5407 * ido.el (ido-tidy): Handle read-only text.
5408
5409 2013-10-23 Glenn Morris <rgm@gnu.org>
5410
5411 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5412 (emacs, compile, compile-always):
5413 Quote entities that might contain whitespace.
5414 (custom-deps, finder-data, autoloads): Use abs_lisp.
5415 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5416 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5417 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5418
5419 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5420
5421 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5422 Use `following-char'.
5423
5424 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5427 * progmodes/ruby-mode.el (ruby-smie-rules):
5428 Remove corresponding workaround. Fix indentation rule of ";" so it
5429 also applies when ";" is the parent.
5430
5431 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5432
5433 * frame.el (display-screens, display-pixel-height)
5434 (display-pixel-width, display-mm-width, display-backing-store)
5435 (display-save-under, display-planes, display-color-cells)
5436 (display-visual-class, display-monitor-attributes-list):
5437 Mention the optional ‘display’ argument in doc strings.
5438
5439 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5440
5441 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5442 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5443
5444 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5445
5446 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5447 TODO. Add "." after " @ ".
5448 (ruby-smie--at-dot-call): New function. Checks if point at method
5449 call with explicit target.
5450 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5451 to the method name tokens when it precedes them.
5452 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5453 (ruby-smie-rules): Add rule for indentation before and after "."
5454 token.
5455
5456 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * textmodes/remember.el (remember-diary-extract-entries):
5459 Avoid add-to-list.
5460
5461 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5462 an instruction.
5463
5464 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5465
5466 * progmodes/ruby-mode.el (ruby-smie-grammar):
5467 Add (almost) all infix operators.
5468 (ruby-smie--implicit-semi-p): Add new operator chars.
5469
5470 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5471 `smie-down-list'.
5472 (ruby-smie--args-separator-p): Check that there's no newline
5473 between method call and its arguments.
5474
5475 2013-10-20 Alan Mackenzie <acm@muc.de>
5476
5477 Allow comma separated lists after Java "implements".
5478
5479 * progmodes/cc-engine.el (c-backward-over-enum-header):
5480 Parse commas.
5481 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5482 from a "disallowed" list in enum fontification.
5483
5484 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5485
5486 * startup.el (default-frame-background-mode): Remove unused defvar.
5487
5488 * progmodes/verilog-mode.el (verilog-mode): Don't set
5489 comment-indent-function globally.
5490
5491 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5492
5493 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5494 Move Info menu item creation to ns-win.el.
5495
5496 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5497 in menu bar.
5498
5499 * menu-bar.el: Move GNUstep specific menus...
5500
5501 * term/ns-win.el (ns-initialize-window-system): ... to here.
5502
5503 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5504
5505 * simple.el (newline): Only run post-self-insert-hook when
5506 called interactively.
5507
5508 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5509
5510 * icomplete.el (icomplete-with-completion-tables): Add :version.
5511
5512 2013-10-19 Alan Mackenzie <acm@muc.de>
5513
5514 Fix fontification bugs with constructors and const.
5515
5516 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5517 CASE 2) Remove the check for the absence of a suffix construct
5518 after a function declaration with only types (no identifiers) in
5519 the parentheses. Also, accept a function declaration with just a
5520 type inside the parentheses, if this type can be positively
5521 recognised as such, or if a prefix keyword like "explicit" nails
5522 down the construct as a declaration.
5523
5524 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5525
5526 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5527 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5528 the problem whereby selecting a menu item that leads to a
5529 minibuffer prompt moves the cursor out of the minibuffer window,
5530 making it hard to type at the prompt. Suggested by Stefan Monnier
5531 <monnier@iro.umontreal.ca>.
5532
5533 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5534
5535 * menu-bar.el: Don't make Services menu.
5536
5537 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5538
5539 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5540 (ffap-alist): Use ffap-c++-mode for c++-mode.
5541 (ffap-c++-path): New variable.
5542 (ffap-c++-mode): New function.
5543
5544 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5545
5546 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5547
5548 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5549
5550 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5551 introduced on 2013-09-08, which results in an infinite loop
5552 requesting a password.
5553
5554 2013-10-18 Glenn Morris <rgm@gnu.org>
5555
5556 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5557
5558 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5559
5560 Sync with upstream verilog-mode revision 1a6ecec7.
5561 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5562 (verilog-mode-release-date): Remove.
5563 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5564 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5565 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5566 (verilog-auto-tieoff-ignore-regexp)
5567 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5568 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5569 (verilog-signals-with, verilog-dir-cache-preserving)
5570 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5571 Doc fixes.
5572 (verilog-case-fold): New option, to control case folding in
5573 regexp searches, bug597.
5574 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5575 (verilog-string-match-fold, verilog-in-paren-count)
5576 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5577 (verilog-at-close-struct-p): New functions.
5578 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5579 (verilog-forward-sexp, verilog-set-auto-endcomments)
5580 (verilog-leap-to-case-head): Handle "unique0" case.
5581 (verilog-in-constraint-re): New constant.
5582 (verilog-keywords, verilog-type-font-keywords):
5583 Add some SystemVerilog 1800-2012 keywords.
5584 (verilog-label-be): Remove unimplemented argument, bug669.
5585 (verilog-batch-execute-func): When batch expanding clear
5586 create-lockfiles to prevent spurious user locks when a file ends
5587 up not changing.
5588 (verilog-calculate-indent, verilog-calc-1)
5589 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5590 (verilog-do-indent): Fix indentation of nested constraints
5591 and structures.
5592 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5593 (verilog-auto-inst-param): Use verilog-string-match-fold.
5594 (verilog-read-inst-module-matcher):
5595 Fix AUTOINST on gate primitives with #1.
5596 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5597 Reads all user-defined typed variables.
5598 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5599 (verilog-signals-matching-regexp)
5600 (verilog-signals-not-matching-regexp, verilog-auto):
5601 Respect verilog-case-fold.
5602 (verilog-diff-report): Fix line count.
5603 (verilog-auto-assign-modport): Remove unused local `modi'.
5604 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5605 better handle multidimensional arrays.
5606 Fix packed array ports misadding bit index in AUTOINST, bug637.
5607 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5608 to not double-declare existing outputs and inputs, respectively.
5609 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5610 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5611 (verilog-sk-uvm-component): New skeleton.
5612 (verilog-submit-bug-report): Add verilog-case-fold,
5613 remove verilog-mode-release-date.
5614
5615 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5616
5617 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5618 as before.
5619
5620 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5621
5622 * textmodes/remember.el (remember): Set buffer-offer-save in
5623 remember buffers (bug#13566).
5624
5625 2013-10-18 Daniel Colascione <dancol@dancol.org>
5626
5627 When evaluating forms in ielm, direct standard output to ielm
5628 buffer. Add new ielm-return-for-effect command. Remove trailing
5629 whitespace throughout.
5630
5631 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5632 (ielm-return-for-effect): New command.
5633 (ielm-send-input): Accept optional `for-effect' parameter.
5634 (ielm-eval-input): Accept optional `for-effect' parameter.
5635 Bind `standard-output' to stream we create using
5636 `ielm-standard-output-impl'. Suppress printing result when
5637 `for-effect'.
5638 (ielm-standard-output-impl): New function.
5639 (inferior-emacs-lisp-mode): Explain new features in documentation.
5640
5641 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5642
5643 Code cleanup.
5644
5645 * net/tramp.el (tramp-debug-message): Do not check for connection
5646 buffer.
5647 (tramp-message): Use "vector" connection property.
5648
5649 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5650 (tramp-equal-remote, tramp-eshell-directory-change)
5651 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5652 (tramp-adb-handle-rename-file)
5653 * net/tramp-cmds.el (tramp-list-remote-buffers)
5654 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5655 * net/tramp-compat.el (tramp-compat-process-running-p)
5656 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5657 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5658 (tramp-gvfs-handle-rename-file)
5659 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5660 (tramp-set-file-uid-gid)
5661 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5662 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5663 of `file-remote-p'.
5664
5665 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5666 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5667 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5668 (tramp-gw-open-network-stream): Suppress unrelated traces.
5669
5670 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5671 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5672 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5673 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5674 connection property.
5675
5676 * net/tramp-cache.el (top): Suppress traces when reading
5677 persistency file.
5678
5679 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5680 Refactor common code. Improve debug message.
5681 (tramp-maybe-open-connection)
5682 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5683 connection buffer too early.
5684
5685 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5686 from `tramp-smb-actions-with-acl'.
5687 (tramp-smb-actions-set-acl): New defconst.
5688 (tramp-smb-handle-copy-directory)
5689 (tramp-smb-action-get-acl): New defun, renamed from
5690 `tramp-smb-action-with-acl'.
5691 (tramp-smb-action-set-acl): New defun.
5692 (tramp-smb-handle-set-file-acl): Rewrite.
5693
5694 2013-10-17 Glenn Morris <rgm@gnu.org>
5695
5696 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5697
5698 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * skeleton.el (skeleton-newline): Remove.
5701 (skeleton-internal-1): Use (insert "\n") instead.
5702
5703 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5704 let-bindings.
5705
5706 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5707 forward-sexp-function while we redo its job (bug#15613).
5708
5709 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5710
5711 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5712 represented by lists.
5713
5714 2013-10-16 Glenn Morris <rgm@gnu.org>
5715
5716 * tmm.el (tmm--history): New dynamic variable.
5717 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5718
5719 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5720
5721 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5722 (tramp-smb-errors): Add error messages.
5723 (tramp-smb-actions-with-acl): New defconst.
5724 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5725 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5726 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5727 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5728 (tramp-smb-get-stat-capability): Fix tests.
5729
5730 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5731
5732 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5733 (bug#15580).
5734
5735 2013-10-16 Glenn Morris <rgm@gnu.org>
5736
5737 * ansi-color.el (ansi-color-drop-regexp):
5738 Add 1J, 1K, 2K. (Bug#15617)
5739
5740 * files.el (hack-local-variables--warned-lexical): New.
5741 (hack-local-variables):
5742 Warn about misplaced lexical-binding. (Bug#15616)
5743
5744 * net/eww.el (eww-render): Always set eww-current-url,
5745 and update header line. (Bug#15622)
5746 (eww-display-html): ... Rather than just doing it here.
5747
5748 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5749
5750 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5751 menu navigations commands.
5752
5753 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5754
5755 * progmodes/subword.el (subword-capitalize): Be careful when
5756 the search for [[:alpha:]] fails (bug#15580).
5757
5758 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5759
5760 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5761 to commands that scroll the menu.
5762
5763 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5764
5765 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5766 Handle methods ending with `?' and `!'.
5767
5768 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5769
5770 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5771 `japanese-cp932' to `cp932' to fix the problem where saving a
5772 source file written in Shift_JIS twice would end up having
5773 `coding: japanese-cp932' which Ruby could not recognize.
5774 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5775 in `ruby-encoding-map'.
5776 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5777 doesn't need to be explicitly declared in magic comment.
5778 (ruby-encoding-map): Add type declaration for better customize UI.
5779
5780 2013-10-13 Glenn Morris <rgm@gnu.org>
5781
5782 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5783 Occur buffers are read-only. http://bugs.debian.org/720775
5784
5785 * emacs-lisp/authors.el (authors-fixed-entries):
5786 Comment out old alpha stuff.
5787
5788 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5789
5790 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5791 to `after-save-hook' instead of `before-save-hook'.
5792 (ruby-mode-set-encoding): Use the value of coding system used to
5793 write the file. Call `basic-save-buffer-1' after modifying the
5794 buffer.
5795
5796 2013-10-13 Alan Mackenzie <acm@muc.de>
5797
5798 Fix indentation/fontification of Java enum with
5799 "implements"/generic.
5800
5801 * progmodes/cc-engine.el (c-backward-over-enum-header):
5802 Extracted from the three other places and enhanced to handle generics.
5803 (c-inside-bracelist-p): Uses new function above.
5804 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5805 function above.
5806 (c-font-lock-enum-tail): Uses new function above.
5807
5808 2013-10-13 Kenichi Handa <handa@gnu.org>
5809
5810 * international/mule-cmds.el (select-safe-coding-system): Remove a
5811 superfluous condition in chekcing whether a coding system is safe
5812 or not.
5813
5814 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5815
5816 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5817
5818 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5819
5820 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5821
5822 2013-10-13 Glenn Morris <rgm@gnu.org>
5823
5824 * menu-bar.el (menu-bar-update-buffers):
5825 Unify Buffers menu prompt string. (Bug#15576)
5826
5827 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5828
5829 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5830 Add some entries.
5831 (authors-fixed-entries): Use accented form of name.
5832
5833 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5836 method calls (bug#15594).
5837 (ruby-smie--args-separator-p): New function.
5838 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5839 recognize paren-free method calls.
5840
5841 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5842 internals of universal-argument.
5843
5844 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5845
5846 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5847 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5848 dropped menu on second mouse click on the menu bar.
5849
5850 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5853 (explicit-shell-file-name): Declare.
5854 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5855 (sh-completion-at-point-function): New function.
5856 (sh-mode): Use it.
5857 (sh-smie--keyword-p): Remove unused argument.
5858 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5859 vars.
5860 (sh-set-shell): Always setup SMIE, even if we use the
5861 old indentation code.
5862
5863 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5864
5865 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5866 cases of ? and =.
5867 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5868 predicate would return nil are almost non-existent.
5869 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5870
5871 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5872 cache also after commands that modify the buffer but don't move
5873 point.
5874
5875 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * env.el (substitute-env-in-file-name): New function.
5878 (substitute-env-vars): Extend the meaning of the optional arg.
5879
5880 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5881
5882 * term/w32-win.el (dynamic-library-alist): Define separate lists
5883 of GIF DLLs for versions before and after 5.0.0 of giflib.
5884 (Bug#15531)
5885
5886 2013-10-10 João Távora <joaotavora@gmail.com>
5887
5888 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5889 not locked, use last revision and current source as
5890 defaults. (Bug#15569)
5891
5892 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5893
5894 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5895 menu-bar is hidden.
5896
5897 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5898
5899 * window.el (pop-to-buffer-same-window): Fix doc-string.
5900 (Bug#15492)
5901
5902 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5905
5906 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5907
5908 * calendar/icalendar.el (icalendar-import-file):
5909 Fix interactive spec. (Bug#15482)
5910
5911 2013-10-10 Glenn Morris <rgm@gnu.org>
5912
5913 * desktop.el (desktop-save): Default to saving in .emacs.d,
5914 since PWD is no longer in desktop-path by default. (Bug#15319)
5915
5916 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5917 now that text mode has a menu with the same entry.
5918 (menu-bar-text-mode-auto-fill): Remove now unused func.
5919 * textmodes/text-mode.el (text-mode-map):
5920 Use auto-fill help text from menu-bar.el.
5921
5922 2013-10-10 John Anthony <john@jo.hnanthony.com>
5923
5924 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5925
5926 2013-10-09 Juri Linkov <juri@jurta.org>
5927
5928 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5929 instead of this-command-keys. Add universal-argument-more and
5930 universal-argument-minus to the list of prefix commands. (Bug#15568)
5931
5932 2013-10-09 Glenn Morris <rgm@gnu.org>
5933
5934 * vc/vc-svn.el (vc-svn-create-repo):
5935 Expand paths in file://... url. (Bug#15446)
5936
5937 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5938 Add some entries.
5939 (authors): Remove unused local variables.
5940
5941 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * profiler.el: Create a more coherent calltree from partial backtraces.
5944 (profiler-format): Hide the tail with `invisible' so that C-s can still
5945 find the hidden elements.
5946 (profiler-calltree-depth): Don't recurse so enthusiastically.
5947 (profiler-function-equal): New hash-table-test.
5948 (profiler-calltree-build-unified): New function.
5949 (profiler-calltree-build): Use it.
5950 (profiler-report-make-name-part): Indent the calltree less.
5951 (profiler-report-mode): Add visibility specs for profiler-format.
5952 (profiler-report-expand-entry, profiler-report-toggle-entry):
5953 Expand the whole subtree when provided with a prefix arg.
5954
5955 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5956
5957 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5958 iuwu-mod token.
5959 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5960 hanging iuwu-mod token.
5961 (ruby-smie--forward-token): Do not include a dot after a token in
5962 that token.
5963 (ruby-smie--backward-token): Likewise.
5964
5965 2013-10-08 Juri Linkov <juri@jurta.org>
5966
5967 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5968 to isearch-other-control-char.
5969 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5970 and isearch-post-command-hook to post-command-hook.
5971 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5972 and isearch-post-command-hook from post-command-hook.
5973 (isearch-unread-key-sequence)
5974 (isearch-reread-key-sequence-naturally)
5975 (isearch-lookup-scroll-key, isearch-other-control-char)
5976 (isearch-other-meta-char): Remove functions.
5977 (isearch-pre-command-hook, isearch-post-command-hook):
5978 New functions based on isearch-other-meta-char rewritten
5979 relying on the new behavior of overriding-terminal-local-map
5980 that does not replace the local keymaps any more. (Bug#15200)
5981
5982 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5983
5984 Support menus on text-mode terminals.
5985 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5986 functionality.
5987
5988 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5989
5990 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5991 Move here from mouse.el.
5992 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5993 and arrow keys.
5994 (tty-menu-navigation-map): New map for TTY menu navigation.
5995
5996 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5997
5998 * frame.el (display-mouse-p): Report text-mode mouse as available
5999 on w32.
6000 (display-popup-menus-p): Report availability if mouse is
6001 available; don't condition on window-system.
6002
6003 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6004 (tty-menu-selected-face): New faces.
6005
6006 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6009 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6010 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6011 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6012 New constants.
6013 (lisp-mode-variables): New `elisp' argument.
6014 (emacs-lisp-mode): Use it.
6015 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6016 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6017
6018 * indent.el: Use lexical-binding.
6019 (indent-region): Add progress reporter.
6020 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6021 last step.
6022 (indent--next-tab-stop): New function to implement this behavior.
6023 (tab-to-tab-stop, move-to-tab-stop): Use it.
6024
6025 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6026
6027 * indent.el (indent-rigidly--current-indentation): New function.
6028 (indent-rigidly-map): New var.
6029 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6030
6031 2013-10-08 Bastien Guerry <bzg@gnu.org>
6032
6033 * register.el (insert-register): Fix 2013-10-07 change.
6034
6035 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6036
6037 * progmodes/perl-mode.el: Use lexical-binding.
6038 Remove redundant :group args.
6039 (perl-nochange): Change default to be closer to other major modes's
6040 standard behavior.
6041 (perl-indent-line): Don't consider text on current line as a
6042 valid beginning of function from which to indent.
6043
6044 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6045 with more than one argument (bug#15538).
6046
6047 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6048
6049 * vc/pcvs.el: Use lexical-binding.
6050 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6051 environment of `eval'.
6052 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6053 than a list of expressions. Adjust callers.
6054 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6055
6056 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6057
6058 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6059 case of the dot in a chained method call being on the following line.
6060
6061 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * electric.el (electric-indent-inhibit): New var.
6064 (electric-indent-post-self-insert-function): Use it.
6065 * progmodes/python.el (python-mode): Set it.
6066
6067 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6068 open braces.
6069
6070 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6071
6072 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6073 (css-mode): Use electric-indent-chars.
6074
6075 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6076 (font-lock-beg, font-lock-end): Move before first use.
6077 (nxml-mode): Use syntax-propertize-function.
6078 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6079 (nxml-extend-after-change-region): Remove.
6080 * nxml/xmltok.el: Use lexical-binding.
6081 (xmltok-save): Use `declare'.
6082 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6083 * nxml/nxml-util.el: Use lexical-binding.
6084 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6085 Use `declare'.
6086 * nxml/nxml-ns.el: Use lexical-binding.
6087 (nxml-ns-save): Use `declare'.
6088 (nxml-ns-prefixes-for): Avoid add-to-list.
6089 * nxml/rng-match.el: Use lexical-binding.
6090 (rng--ipattern): Use cl-defstruct.
6091 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6092 (rng-cons-group-after, rng-subst-group-after)
6093 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6094 Use closures instead of `(lambda...).
6095
6096 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6097
6098 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6099 of BEG and END.
6100
6101 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6102 Use `tramp-handle-insert-file-contents'.
6103 (tramp-gvfs-handle-insert-file-contents): Remove function.
6104
6105 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6106 Use `save-restriction' in order to keep markers.
6107
6108 * net/trampver.el: Update release number.
6109
6110 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * progmodes/compile.el (compilation-parse-errors):
6113 Use compilation--put-prop.
6114 (compilation--ensure-parse): Check compilation-multiline.
6115
6116 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6117
6118 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6119 lexical-binding.
6120
6121 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6122
6123 * progmodes/ruby-mode.el: Fix recently added tests.
6124 (ruby-smie-grammar): Add - and +.
6125 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6126 (ruby-smie--backward-id): New functions.
6127 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6128 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6129 any more.
6130
6131 2013-10-07 Leo Liu <sdl.web@gmail.com>
6132
6133 * register.el (register-preview-delay)
6134 (register-preview-functions): New variables.
6135 (register-read-with-preview, register-preview)
6136 (register-describe-oneline): New functions.
6137 (point-to-register, window-configuration-to-register)
6138 (frame-configuration-to-register, jump-to-register)
6139 (number-to-register, view-register, insert-register)
6140 (copy-to-register, append-to-register, prepend-to-register)
6141 (copy-rectangle-to-register): Use register-read-with-preview to
6142 read register. (Bug#15525)
6143
6144 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6145
6146 * net/network-stream.el (network-stream-open-starttls): Don't add
6147 --insecure if it's already present, because that gnutls-cli
6148 rejects getting that parameter twice.
6149
6150 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6151
6152 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6153 keyword, too.
6154
6155 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6156
6157 * newcomment.el (comment-use-global-state): Change default value
6158 to t, mark obsolete (Bug#15251).
6159 (comment-beginning): In addition to `comment-to-syntax', check the
6160 value of `comment-use-global-state'.
6161
6162 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6165 (ruby-comment-column): Follow the global default, by default.
6166 (ruby-smie-grammar): Add assignment syntax.
6167 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6168 open-paren, a comma, or a \.
6169 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6170 and line continuations.
6171 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6172 followed by implicit semi-colons. Add rule for string concatenation
6173 and for indentation at BOB.
6174 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6175
6176 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6177 calling next-sexp, since next-token may have skipped chars which
6178 next-sexp doesn't know should be skipped!
6179
6180 2013-10-05 Leo Liu <sdl.web@gmail.com>
6181
6182 * progmodes/octave.el (octave-send-region):
6183 Call compilation-forget-errors.
6184
6185 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6186
6187 * vc/vc-svn.el (vc-svn-find-admin-dir):
6188 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6189 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6190 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6191 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6192
6193 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6196
6197 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * subr.el (read-passwd): Hide chars even when called within a context
6200 where after-change-functions is disabled (bug#15501).
6201 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6202 until we removed ourself from overriding-terminal-local-map.
6203
6204 2013-10-04 Leo Liu <sdl.web@gmail.com>
6205
6206 * progmodes/octave.el (inferior-octave-mode):
6207 Call compilation-forget-errors.
6208
6209 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6210
6211 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6212
6213 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6214
6215 * net/secrets.el (secrets-create-collection): Add optional
6216 argument ALIAS. Use proper Label keyword. Append ALIAS as
6217 dbus-call-method argument. (Bug#15516)
6218
6219 2013-10-04 Leo Liu <sdl.web@gmail.com>
6220
6221 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6222 (inferior-octave-compilation-font-lock-keywords): New variables.
6223 (compilation-error-regexp-alist)
6224 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6225 (inferior-octave-mode): Use compilation-shell-minor-mode.
6226
6227 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6228
6229 * minibuffer.el (completion--replace): Be careful that `end' might be
6230 a marker.
6231
6232 2013-10-03 Daiki Ueno <ueno@gnu.org>
6233
6234 Add support for package signature checking.
6235 * emacs-lisp/package.el (url-http-file-exists-p)
6236 (epg-make-context, epg-context-set-home-directory)
6237 (epg-verify-string, epg-context-result-for)
6238 (epg-signature-status, epg-signature-to-string)
6239 (epg-check-configuration, epg-configuration)
6240 (epg-import-keys-from-file): Declare.
6241 (package-check-signature): New user option.
6242 (package-unsigned-archives): New user option.
6243 (package-desc): Add `signed' field.
6244 (package-load-descriptor): Set `signed' field if .signed file exists.
6245 (package--archive-file-exists-p): New function.
6246 (package--check-signature): New function.
6247 (package-install-from-archive): Check package signature.
6248 (package--download-one-archive): Check archive signature.
6249 (package-delete): Remove .signed file.
6250 (package-import-keyring): New command.
6251 (package-refresh-contents): Import default keyring.
6252 (package-desc-status): Add "unsigned" status.
6253 (describe-package-1, package-menu--print-info)
6254 (package-menu-mark-delete, package-menu--find-upgrades)
6255 (package-menu--status-predicate): Support "unsigned" status.
6256
6257 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6260 the new compilation scheme using the new byte-codes.
6261
6262 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6263 (byte-pophandler): New byte codes.
6264 (byte-goto-ops): Adjust accordingly.
6265 (byte-compile--use-old-handlers): New var.
6266 (byte-compile-catch): Use new byte codes depending on
6267 byte-compile--use-old-handlers.
6268 (byte-compile-condition-case--old): Rename from
6269 byte-compile-condition-case.
6270 (byte-compile-condition-case--new): New function.
6271 (byte-compile-condition-case): New function that dispatches depending
6272 on byte-compile--use-old-handlers.
6273 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6274 when we can.
6275
6276 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6277 Optimize under `condition-case' and `catch' if
6278 byte-compile--use-old-handlers is nil.
6279 (disassemble-offset): Handle new bytecodes.
6280
6281 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * subr.el (error): Use `declare'.
6284 (decode-char, encode-char): Use advertised-calling-convention instead
6285 of the docstring to discourage use of the `restriction' arg.
6286
6287 2013-10-03 Daiki Ueno <ueno@gnu.org>
6288
6289 * epg.el (epg-verify-file): Add a comment saying that it does not
6290 notify verification error as a return value nor a signal.
6291 (epg-verify-string): Ditto.
6292
6293 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6294
6295 * progmodes/compile.el (compilation-start): Try globbing the arg to
6296 `cd' (bug#15417).
6297
6298 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6299
6300 Sync with Tramp 2.2.8.
6301
6302 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6303 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6304 * net/trampver.el: Update release number.
6305
6306 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6307
6308 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6309 and default-process-coding-system for darwin only.
6310
6311 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6314
6315 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6316
6317 * vc/vc-git.el (vc-git-grep): Disable pager.
6318
6319 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6320
6321 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6322 Use :url instead of :homepage, as per
6323 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6324
6325 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6326 non-nil, use `syntax-ppss' (Bug#15251).
6327
6328 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6329
6330 * progmodes/octave.el (inferior-octave-startup-file):
6331 Prefer ~/.emacs.d/init_octave.m.
6332
6333 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6334
6335 * emacs-lisp/package.el (package-desc-from-define):
6336 Accept additional arguments as plist, convert them to an alist and store
6337 them in the `extras' slot.
6338 (package-generate-description-file): Convert extras alist back to
6339 plist and append to the `define-package' form arguments.
6340 (package--alist-to-plist): New function.
6341 (package--ac-desc): Add `extras' slot.
6342 (package--add-to-archive-contents): Check if the archive-contents
6343 vector is long enough, and if it is, pass its `extras' slot value
6344 to `package-desc-create'.
6345 (package-buffer-info): Call `lm-homepage', pass the returned value
6346 to `package-desc-from-define'.
6347 (describe-package-1): Render the homepage button (Bug#13291).
6348
6349 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6350 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6351
6352 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6353
6354 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6355 and default-process-coding-system to utf-8-unix (Bug#15402).
6356
6357 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6358
6359 * subr.el (looking-back): Do not recommend using looking-back.
6360
6361 2013-09-28 Alan Mackenzie <acm@muc.de>
6362
6363 Fix indentation/fontification of Java enum with "implements".
6364
6365 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6366 regexp which matches "implements", etc., in Java.
6367 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6368 specifier clauses coming after "enum".
6369 * progmodes/cc-fonts.el (c-font-lock-declarations)
6370 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6371 after "enum".
6372
6373 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6374
6375 * faces.el (region): Change ns_selection_color to
6376 ns_selection_fg_color, add ns_selection_bg_color.
6377
6378 2013-09-28 Leo Liu <sdl.web@gmail.com>
6379
6380 * progmodes/octave.el (inferior-octave-completion-table)
6381 (inferior-octave-completion-at-point): Minor tweaks.
6382
6383 * textmodes/ispell.el (ispell-lookup-words): Rename from
6384 lookup-words. (Bug#15460)
6385 (lookup-words): Obsolete.
6386 (ispell-complete-word, ispell-command-loop): All uses changed.
6387
6388 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6389
6390 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6391 (octave-mode-menu): Add octave-send-buffer.
6392 (octave-send-buffer): New function.
6393
6394 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6395
6396 * progmodes/octave.el (octave-mode-map): Add key binding for
6397 octave-lookfor.
6398 (octave-mode-menu): Add octave-lookfor.
6399 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6400 octave-lookfor.
6401 (octave-lookfor): New function.
6402
6403 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6406 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6407 its convention.
6408 (cl--loop-set-iterator-function): New function.
6409 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6410 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6411 Bind `it' with `let' instead of substituting it with `cl-subst'.
6412 (cl--unused-var-p): New function.
6413 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6414 Eliminate some unused variable warnings (bug#15326).
6415
6416 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6417
6418 * doc-view.el (doc-view-scale-reset): Rename from
6419 `doc-view-reset-zoom-level'.
6420 (doc-view-scale-adjust): New command.
6421 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6422 `doc-view-scale-adjust'.
6423
6424 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6425
6426 * doc-view.el (doc-view-reset-zoom-level): New command.
6427 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6428 zoom commands (bug#15466).
6429
6430 2013-09-26 Kenichi Handa <handa@gnu.org>
6431
6432 * international/quail.el (quail-help): Make it not a command.
6433
6434 2013-09-26 Leo Liu <sdl.web@gmail.com>
6435
6436 * minibuffer.el (completion-all-sorted-completions): Make args
6437 optional as they are.
6438
6439 2013-09-25 Daniel Colascione <dancol@dancol.org>
6440
6441 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6442 specs are and that they're not evaluated.
6443
6444 2013-09-24 Sam Steingold <sds@gnu.org>
6445
6446 * midnight.el (clean-buffer-list-kill-regexps)
6447 (clean-buffer-list-kill-buffer-names): Update for the new Man
6448 buffer naming which includes the object name.
6449
6450 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6453 (eshell-parse-command, eshell-parse-pipeline): Use it since
6454 eshell-separate-commands requires a dynamic scoped var.
6455 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6456
6457 2013-09-23 Leo Liu <sdl.web@gmail.com>
6458
6459 * autoinsert.el (auto-insert-alist): Make the value of
6460 lexical-binding match its file setting.
6461
6462 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6465
6466 * autoarg.el (autoarg-kp-digit-argument):
6467 * electric.el (Electric-command-loop):
6468 * kmacro.el (kmacro-step-edit-insert):
6469 Do not set universal-argument-num-events.
6470
6471 2013-09-22 Leo Liu <sdl.web@gmail.com>
6472
6473 * files.el (interpreter-mode-alist): Add octave.
6474
6475 2013-09-21 Alan Mackenzie <acm@muc.de>
6476
6477 C++: fontify identifier in declaration following "public:" correctly.
6478 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6479 to match "public", etc.
6480 (c-decl-prefix-re): Add ":" into the C++ value.
6481 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6482 bit. Add a check for a ":" preceded by "public", etc.
6483
6484 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6485
6486 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6487 recognized by GDB 7.5 and later.
6488
6489 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6490
6491 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6492
6493 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 * subr.el (internal--call-interactively): New const.
6496 (called-interactively-p): Use it (bug#3984).
6497
6498 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6499
6500 * vc/pcvs.el (cvs-mode-ignore):
6501 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6502 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6503
6504 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6505
6506 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6507 (eshell-ls-orig-insert-directory): Remove.
6508 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6509 (eshell-ls-use-in-dired): Use advice-add/remove.
6510 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6511 Add `orig-fun' arg for use in :around advice.
6512 Make it check (redundantly) eshell-ls-use-in-dired.
6513
6514 2013-09-19 Glenn Morris <rgm@gnu.org>
6515
6516 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6517
6518 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6519
6520 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6521
6522 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6523
6524 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6525 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6526 (tramp-get-remote-python): New defuns.
6527 (tramp-get-remote-uid-with-perl)
6528 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6529 contributed by yary <not.com@gmail.com> (tiny change).
6530 (tramp-get-remote-uid-with-python)
6531 (tramp-get-remote-gid-with-python): New defuns. Python code
6532 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6533 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6534
6535 2013-09-19 Glenn Morris <rgm@gnu.org>
6536
6537 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6538
6539 * eshell/em-unix.el (eshell-remove-entries):
6540 Rename argument to avoid name-clash with global `top-level'.
6541
6542 * eshell/esh-proc.el (eshell-kill-process-function):
6543 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6544 (eshell-reset-after-proc): Remove unused arg `proc'.
6545
6546 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6547 (directory-files-and-attributes): Mark unused arg.
6548
6549 * eshell/em-unix.el (eshell-remove-entries):
6550 Remove unused arg `path'. Update callers.
6551
6552 * eshell/em-hist.el (eshell-hist-parse-arguments):
6553 Remove unused arg `silent'. Update callers.
6554
6555 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6556 Fix (f)boundp mix-up.
6557
6558 * eshell/em-smart.el (eshell-smart-scroll-window)
6559 (eshell-disable-after-change):
6560 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6561
6562 2013-09-18 Alan Mackenzie <acm@muc.de>
6563
6564 Fix fontification of type when followed by "const".
6565 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6566 "known" types from fontification.
6567
6568 2013-09-18 Glenn Morris <rgm@gnu.org>
6569
6570 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6571 (chart-face-list): Drop Emacsen without display-color-p.
6572
6573 * net/eww.el (libxml-parse-html-region): Declare.
6574 (eww-display-html): Explicit error if no libxml2 support.
6575
6576 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6577
6578 * image.el (image-type-from-buffer, image-multi-frame-p):
6579 Remove --without-x warning/error.
6580
6581 * mouse.el (mouse-yank-primary):
6582 * term.el (term-mouse-paste):
6583 Reorder to silence --without-x compilation.
6584
6585 * mpc.el (doc-view-mode): Silence --without-x compilation.
6586
6587 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6588 Silence --without-x compilation.
6589
6590 * progmodes/gud.el (gud-find-file, gud-mode):
6591 Silence --without-x compilation.
6592 (tooltip-mode): Declare.
6593
6594 * wdired.el (dired-backup-overwrite): Remove declaration.
6595 (wdired-mode-map): Add doc string.
6596
6597 * custom.el (x-get-resource): Declare.
6598
6599 * eshell/em-glob.el (ange-cache):
6600 * eshell/em-unix.el (ange-cache): Declare.
6601
6602 * faces.el (x-display-list, x-open-connection, x-get-resource):
6603 Declare.
6604
6605 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6606 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6607 Declare.
6608
6609 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6610
6611 * net/gnutls.el (gnutls-log-level): Declare.
6612
6613 * net/shr.el (image-size, image-animate): Declare.
6614
6615 * simple.el (font-info): Declare.
6616
6617 * subr.el (x-popup-dialog): Declare.
6618
6619 * term/common-win.el (x-select-enable-primary)
6620 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6621 Declare.
6622
6623 * term/ns-win.el (x-handle-args): Declare.
6624
6625 * term/x-win.el (x-select-enable-clipboard): Declare.
6626
6627 * term/w32-win.el (create-default-fontset): Declare.
6628
6629 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6630 Declare.
6631
6632 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6633 (fit-frame-to-buffer): Explicit error if --without-x.
6634 (mouse-autoselect-window-select): Silence compiler.
6635
6636 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6637
6638 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6639 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6640 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6641 * eshell/esh-util.el (eshell-sublist):
6642 Remove unused local variables.
6643
6644 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6645
6646 * textmodes/two-column.el: Make 2C-split work for --without-x.
6647 (scroll-bar-columns): Autoload.
6648 (top-level): Require fringe when compiling.
6649
6650 2013-09-18 Leo Liu <sdl.web@gmail.com>
6651
6652 * subr.el (add-hook): Robustify to handle closure as well.
6653
6654 2013-09-17 Glenn Morris <rgm@gnu.org>
6655
6656 * simple.el (messages-buffer-mode-map): Unbind "g".
6657
6658 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 * help-mode.el (help-mode-finish): Use derived-mode-p.
6661 Remove obsolete highlighting.
6662
6663 * play/life.el (life-mode): Use define-derived-mode. Derive from
6664 special-mode.
6665 (life): Let-bind inhibit-read-only.
6666 (life-setup): Avoid `setq'. Use `life-mode'.
6667
6668 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6669 which should not be needed any more.
6670 (package-menu-refresh, package-menu-describe-package): Use user-error.
6671
6672 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6673 (eshell-post-rewrite-command-hook): Make obsolete.
6674 (eshell-parse-command): Simplify.
6675 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6676 (eshell--cmd): Declare.
6677 (eshell-parse-pipeline): Remove unused var `final-p'.
6678 Pass a dynvar to eshell-post-rewrite-command-hook.
6679 Implement the new eshell-post-rewrite-command-function.
6680 (eshell-invoke-directly): Remove unused arg `input'.
6681 * eshell/esh-io.el (eshell-io-initialize):
6682 Use eshell-post-rewrite-command-function (bug#15399).
6683 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6684 adjust to new calling convention.
6685 (eshell-create-handles): Rename args to avoid clashing with dynvar
6686 `standard-output'.
6687
6688 2013-09-17 Glenn Morris <rgm@gnu.org>
6689
6690 * simple.el (messages-buffer-mode): New major mode.
6691 (messages-buffer): New function.
6692 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6693 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6694 (ert-run-test): Use `messages-buffer' function.
6695 (ert--force-message-log-buffer-truncation): Ignore read-only.
6696 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6697 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6698
6699 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6702
6703 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6704
6705 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * icomplete.el (icomplete-in-buffer): New var.
6708 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6709 vars and replace them with functions.
6710 (icomplete-minibuffer-setup): Adjust accordingly.
6711 (icomplete--completion-table, icomplete--completion-predicate)
6712 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6713 New functions.
6714 (icomplete-forward-completions, icomplete-backward-completions)
6715 (icomplete-simple-completing-p, icomplete-exhibit)
6716 (icomplete-completions): Use them.
6717 (icomplete--in-region-buffer): New var.
6718 (icomplete--in-region-setup): New function.
6719 (icomplete-mode): Use it.
6720
6721 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6722 (bug#15379).
6723 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6724 return args and options.
6725 (eshell-eval-using-options): Use the new return value of
6726 eshell--do-opts to set the options's vars in their scope.
6727 (eshell--set-option): Rename from eshell-set-option.
6728 Add arg `opt-vals'.
6729 (eshell--process-option): Rename from eshell-process-option.
6730 Add arg `opt-vals'.
6731 (eshell--process-args): Use an `opt-vals' alist to store the options's
6732 values during their processing and return them additionally to the
6733 remaining args.
6734
6735 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6736
6737 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6738 continuation character an operator, as far as indentation is
6739 concerned (Bug#15369).
6740
6741 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6742
6743 * window.el (window--state-put-2): Don't process buffer state
6744 when buffer doesn't exist any more (Bug#15382).
6745
6746 2013-09-15 Glenn Morris <rgm@gnu.org>
6747
6748 * eshell/em-unix.el (eshell/rm):
6749 Make -f ignore missing files. (Bug#15373)
6750
6751 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6752 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6753 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6754
6755 2013-09-14 Glenn Morris <rgm@gnu.org>
6756
6757 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6758
6759 2013-09-13 Glenn Morris <rgm@gnu.org>
6760
6761 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6762 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6763
6764 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6765
6766 * frame.el (x-focus-frame): Mark as declared in frame.c.
6767
6768 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * ls-lisp.el: Use advice-add.
6771 (original-insert-directory): Remove.
6772 (ls-lisp--insert-directory): Rename from insert-directory; add
6773 `orig-fun' argument.
6774 (insert-directory): Advise.
6775
6776 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6777
6778 * term.el (term-emulate-terminal): Decode the command string
6779 before passing it to term-command-hook. (Bug#15337)
6780
6781 2013-09-13 Glenn Morris <rgm@gnu.org>
6782
6783 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6784
6785 * eshell/esh-ext.el (eshell-search-path): Declare.
6786
6787 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6788 Otherwise an error occurs if eshell-dirs module not loaded.
6789
6790 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6791
6792 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6793
6794 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6795 `tramp-check-proper-host'. Check for a valid method name.
6796
6797 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6798 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6799 * net/tramp-sh.el (tramp-maybe-open-connection):
6800 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6801
6802 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6803 also for hash values.
6804
6805 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * term/ns-win.el (parameters): Don't declare as dynamic.
6808 (before-make-frame-hook): Don't add ineffective function.
6809
6810 * eshell/*.el: Use lexical-binding (bug#15231).
6811
6812 2013-09-12 Kenichi Handa <handa@gnu.org>
6813
6814 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6815
6816 2013-09-12 Glenn Morris <rgm@gnu.org>
6817
6818 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6819 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6820
6821 * subr.el (do-after-load-evaluation): Also give compiler warnings
6822 when obsolete files are used (except by obsolete files).
6823
6824 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6825 in the status output, assume `filename' is the first. (Bug#15322)
6826
6827 * vc/vc.el (vc-deduce-fileset): Doc fix.
6828
6829 * calc/calc-help.el (Info-goto-node):
6830 * progmodes/cperl-mode.el (Info-find-node):
6831 * vc/ediff.el (Info-goto-node): Update declarations.
6832
6833 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6834
6835 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6836 (vc-bzr-pull): Require vc-dispatcher.
6837 * vc/vc-git.el (vc-compilation-mode): Declare.
6838 (vc-git-pull): Require vc-dispatcher.
6839
6840 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6841
6842 * progmodes/octave.el (help-button-action): Declare.
6843
6844 * shell.el (shell-directory-tracker): Output error as a message
6845 rather than just returning it as a string.
6846 (shell-process-pushd): Remove useless use of message.
6847
6848 * dframe.el (dframe-timer-fn):
6849 * files.el (dir-locals-read-from-file):
6850 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6851 (mpc-format):
6852 * reveal.el (reveal-post-command):
6853 * saveplace.el (load-save-place-alist-from-file):
6854 * shell.el (shell-resync-dirs):
6855 * w32-common-fns.el (x-get-selection-value):
6856 * emacs-lisp/copyright.el (copyright-find-copyright):
6857 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6858 * emulation/tpu-edt.el (tpu-copy-keyfile):
6859 * play/bubbles.el (bubbles--mark-neighbourhood):
6860 * progmodes/executable.el
6861 (executable-make-buffer-file-executable-if-script-p):
6862 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6863
6864 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 Cleanup Eshell to rely less on dynamic scoping.
6867 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6868 last-value, and ext-command here. Bind `args' closer to `body'.
6869 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6870 (eshell--args): Declare new dynamic var.
6871 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6872 last-value, and ext-command. Pass `args' to `body'.
6873 (eshell-process-args): Bind eshell--args.
6874 (eshell-set-option): Use eshell--args.
6875 * eshell/eshell.el (eshell): Use derived-mode-p.
6876 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6877 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6878 (eshell-glob-function): Declare.
6879 * eshell/esh-util.el: Require cl-lib.
6880 (eshell-read-hosts-file): Avoid add-to-list.
6881 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6882 `err'.
6883 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6884 Declare.
6885 (eshell/diff): Remove unused var `err'.
6886 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6887 `killflag'.
6888 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6889 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6890 first use.
6891 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6892 Move declaration before first use.
6893 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6894 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6895 rely on cl-return.
6896
6897 2013-09-12 Glenn Morris <rgm@gnu.org>
6898
6899 * term/ns-win.el (global-map): Remove binding for ispell-next,
6900 deleted 1999-05-29. (Bug#15357)
6901
6902 2013-09-11 Glenn Morris <rgm@gnu.org>
6903
6904 * echistory.el (electric-command-history): Remove call to deleted func.
6905
6906 * play/landmark.el (landmark-mode): Fix typos.
6907
6908 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6909 Check cvs-sort-ignore-file is bound.
6910
6911 * savehist.el: No need for cl when compiling on Emacs.
6912
6913 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6916 (bug#15338).
6917 (eshell-self-insert-command, eshell-send-invisible):
6918 Remove unused argument.
6919 (eshell-handle-control-codes): Remove unused var `orig'.
6920 Avoid delete-backward-char.
6921
6922 * files.el (set-auto-mode): Simplify a bit further.
6923
6924 2013-09-11 Glenn Morris <rgm@gnu.org>
6925
6926 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6927 (set-auto-mode): Don't regexp-quote elements.
6928 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6929 * progmodes/cc-mode.el (interpreter-mode-alist):
6930 * progmodes/ruby-mode.el (interpreter-mode-alist):
6931 Revert previous change.
6932
6933 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6934
6935 * play/snake.el (snake-mode):
6936 * play/mpuz.el (mpuz-mode):
6937 * play/landmark.el (lm-mode):
6938 * play/blackbox.el (blackbox-mode):
6939 * play/5x5.el (5x5-mode):
6940 * obsolete/options.el (Edit-options-mode):
6941 * net/quickurl.el (quickurl-list-mode):
6942 * net/newst-treeview.el (newsticker-treeview-mode):
6943 * mail/rmailsum.el (rmail-summary-mode):
6944 * mail/mspools.el (mspools-mode):
6945 * locate.el (locate-mode):
6946 * ibuffer.el (ibuffer-mode):
6947 * emulation/ws-mode.el (wordstar-mode):
6948 * emacs-lisp/debug.el (debugger-mode):
6949 * array.el (array-mode):
6950 * net/eudc.el (eudc-mode): Use define-derived-mode.
6951 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6952 Move initialization into declaration.
6953 (mairix-searches-mode): Use define-derived-mode.
6954 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6955 (eudc-edit-hotlist): Use dolist.
6956 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6957 (Man-mode): Use define-derived-mode.
6958 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6959 (Info-edit-mode): Use define-derived-mode.
6960 (Info-cease-edit): Use Info-mode.
6961 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6962 into declaration.
6963 (eshell-mode): Use define-derived-mode.
6964 * chistory.el (command-history-mode-map): Rename from
6965 command-history-map.
6966 (command-history-mode): Use define-derived-mode.
6967 (Command-history-setup): Remove function.
6968 * calc/calc.el (calc-trail-mode-map): New var.
6969 (calc-trail-mode): Use define-derived-mode.
6970 (calc-trail-buffer): Set calc-main-buffer manually.
6971 * bookmark.el (bookmark-insert-annotation): New function.
6972 (bookmark-edit-annotation): Use it.
6973 (bookmark-edit-annotation-mode): Make it a proper major mode.
6974 (bookmark-send-edited-annotation): Use derived-mode-p.
6975 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6976 closer to its ideal place. Use \' to match EOS.
6977
6978 * profiler.el (profiler-calltree-find): Use function-equal.
6979
6980 2013-09-10 Glenn Morris <rgm@gnu.org>
6981
6982 * files.el (interpreter-mode-alist): Convert to regexps.
6983 (set-auto-mode): Adapt for this. (Bug#15306)
6984 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6985 Comment out unused variable.
6986 * progmodes/cc-mode.el (interpreter-mode-alist):
6987 * progmodes/python.el (interpreter-mode-alist):
6988 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6989 * progmodes/sh-script.el (sh-set-shell):
6990 No longer use interpreter-mode-alist to get list of shells.
6991
6992 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6993
6994 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * simple.el: Use set-temporary-overlay-map for universal-argument.
6997 (universal-argument-map): Don't use default-bindings (bug#15317).
6998 Bind switch-frame explicitly. Replace universal-argument-minus with
6999 a conditional binding.
7000 (universal-argument-num-events, saved-overriding-map): Remove.
7001 (restore-overriding-map): Remove.
7002 (universal-argument--mode): Rename from save&set-overriding-map,
7003 and rewrite.
7004 (universal-argument, universal-argument-more, negative-argument)
7005 (digit-argument): Adjust accordingly.
7006 (universal-argument-minus): Remove.
7007 (universal-argument-other-key): Remove.
7008
7009 * subr.el (with-demoted-errors): Add `format' argument.
7010
7011 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7012
7013 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7014 `tramp-cleanup-connection'.
7015
7016 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7017 parameters KEEP-DEBUG and KEEP-PASSWORD.
7018
7019 * net/tramp.el (tramp-file-name-handler):
7020 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7021 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7022 (tramp-maybe-open-connection):
7023 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7024 Use `tramp-cleanup-connection'.
7025
7026 * net/tramp-sh.el (tramp-maybe-open-connection):
7027 Catch 'uname-changed inside the progress reporter.
7028
7029 2013-09-10 Glenn Morris <rgm@gnu.org>
7030
7031 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7032
7033 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7034 returns "alternate access method" in mode (eg "-rw-r--r--.").
7035
7036 2013-09-08 Glenn Morris <rgm@gnu.org>
7037
7038 * saveplace.el (load-save-place-alist-from-file):
7039 Demote errors. (Bug#15305)
7040
7041 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7042
7043 Improve compatibility with older Emacsen, and XEmacs.
7044
7045 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7046 only if it is bound. It isn't for XEmacs.
7047 (with-tramp-progress-reporter): Do not let-bind `result'.
7048 This yields to scoping errors in XEmacs.
7049 (tramp-handle-make-auto-save-file-name): New function, moved from
7050 tramp-sh.el.
7051
7052 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7053 for `make-auto-save-file-name'.
7054 (tramp-adb--gnu-switches-to-ash):
7055 Use `tramp-compat-replace-regexp-in-string'.
7056
7057 * net/tramp-cache.el (tramp-cache-print): Call
7058 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7059
7060 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7061 bound. It isn't for XEmacs.
7062
7063 * net/tramp-compat.el (tramp-compat-copy-file):
7064 Catch `wrong-number-of-arguments' error.
7065 (tramp-compat-replace-regexp-in-string): New defun.
7066
7067 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7068 for `make-auto-save-file-name'.
7069 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7070 `copy-file'.
7071 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7072 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7073 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7074
7075 * net/tramp-gw.el (tramp-gw-open-network-stream):
7076 Use `tramp-compat-replace-regexp-in-string'.
7077
7078 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7079 Call `tramp-handle-make-auto-save-file-name'.
7080 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7081 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7082 (tramp-sh-file-inotifywait-process-filter):
7083 Use `tramp-compat-replace-regexp-in-string'.
7084 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7085
7086 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7087 for `make-auto-save-file-name'.
7088 (tramp-smb-handle-copy-directory):
7089 Call `tramp-compat-replace-regexp-in-string'.
7090 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7091 (tramp-smb-handle-copy-file): Improve error message.
7092 (tramp-smb-handle-rename-file): Rename directly only in case
7093 `newname' does not exist yet. This is a restriction of smbclient.
7094 (tramp-smb-maybe-open-connection): Rerun the function only when
7095 `auth-sources' is non-nil.
7096
7097 2013-09-08 Kenichi Handa <handa@gnu.org>
7098
7099 * international/characters.el: Set category "^" (Combining) for
7100 more characters.
7101
7102 2013-09-07 Alan Mackenzie <acm@muc.de>
7103
7104 Correctly fontify Java class constructors.
7105 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7106 in Java Mode.
7107 (c-recognize-typeless-decls): Set the Java value to t.
7108 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7109 While handling a "(", add a check for, effectively, Java, and handle a
7110 "typeless" declaration there.
7111
7112 2013-09-07 Roland Winkler <winkler@gnu.org>
7113
7114 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7115 field subtitle for entry type book.
7116
7117 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * minibuffer.el: Make minibuffer-complete call completion-in-region
7120 rather than other way around.
7121 (completion--some, completion-pcm--find-all-completions):
7122 Don't delay signals when debugging.
7123 (minibuffer-completion-contents): Beware fields within the
7124 minibuffer contents.
7125 (completion-all-sorted-completions): Use defvar-local.
7126 (completion--do-completion, completion--cache-all-sorted-completions)
7127 (completion-all-sorted-completions, minibuffer-force-complete):
7128 Add args `beg' and `end'.
7129 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7130 (minibuffer-complete): Use completion-in-region.
7131 (completion-complete-and-exit): New fun, extracted from
7132 minibuffer-complete-and-exit.
7133 (minibuffer-complete-and-exit): Use it.
7134 (completion--complete-and-exit): Rename from
7135 minibuffer--complete-and-exit.
7136 (completion-in-region--single-word): New function, extracted from
7137 minibuffer-complete-word.
7138 (minibuffer-complete-word): Use it.
7139 (display-completion-list): Make `common-substring' argument obsolete.
7140 (completion--in-region): Call completion--in-region-1 instead of
7141 minibuffer-complete.
7142 (completion-help-at-point): Pass boundaries to
7143 minibuffer-completion-help as args rather than via an overlay.
7144 (completion-pcm--string->pattern): Use `any-delim'.
7145 (completion-pcm--optimize-pattern): New function.
7146 (completion-pcm--pattern->regex): Handle `any-delim'.
7147 * icomplete.el (icomplete-forward-completions)
7148 (icomplete-backward-completions, icomplete-completions):
7149 Adjust calls to completion-all-sorted-completions and
7150 completion--cache-all-sorted-completions.
7151 (icomplete-with-completion-tables): Default to t.
7152 * emacs-lisp/crm.el (crm--current-element): Rename from
7153 crm--select-current-element. Don't put an overlay but return the
7154 boundaries instead.
7155 (crm--completion-command): Take two new args to bind to the boundaries.
7156 (crm-completion-help): Adjust accordingly.
7157 (crm-complete): Use completion-in-region.
7158 (crm-complete-word): Use completion-in-region--single-word.
7159 (crm-complete-and-exit): Use completion-complete-and-exit.
7160
7161 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7164 than dynamically.
7165
7166 2013-09-06 Juri Linkov <juri@jurta.org>
7167
7168 * info.el (Info-display-images-node): When image file doesn't exist
7169 display text version of the image if it's provided in the Info file.
7170 Otherwise, display the location of missing image from SRC attribute.
7171 Add help-echo text property from ALT attribute. (Bug#15279)
7172
7173 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7176 (edit-abbrevs-mode): Use define-derived-mode.
7177
7178 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7179 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7180 that it's defined.
7181 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7182 Use define-derived-mode.
7183
7184 * epg.el (epg-start-encrypt): Minor CSE simplification.
7185
7186 2013-09-06 William Xu <william.xwl@gmail.com>
7187
7188 * arc-mode.el: Add support for 7za (bug#15264).
7189 (archive-7z-program): New var.
7190 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7191 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7192 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7193
7194 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7195
7196 Remove URL syntax.
7197
7198 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7199 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7200 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7201 (tramp-postfix-host-format, tramp-file-name-regexp)
7202 (tramp-completion-file-name-regexp)
7203 (tramp-completion-dissect-file-name)
7204 (tramp-handle-substitute-in-file-name): Remove 'url case.
7205 (tramp-file-name-regexp-url)
7206 (tramp-completion-file-name-regexp-url): Remove constants.
7207
7208 2013-09-06 Glenn Morris <rgm@gnu.org>
7209
7210 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7211
7212 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7213
7214 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7215 keywords" below "here-doc beginnings" (Bug#15270).
7216
7217 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * subr.el (pop): Use `car-safe'.
7220 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7221 to detect unused `pop' return value.
7222
7223 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7224 var `block-regexp'.
7225 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7226 (python-fill-string): Remove unused var `marker'.
7227 (python-skeleton-add-menu-items): Remove unused var `items'.
7228
7229 * international/mule-cmds.el: Require CL.
7230 (find-coding-systems-for-charsets): Avoid add-to-list.
7231 (sanitize-coding-system-list): New function, extracted from
7232 select-safe-coding-system-interactively.
7233 (select-safe-coding-system-interactively): Use it.
7234 (read-input-method-name): Accept symbols for `default'.
7235
7236 * emacs-lisp/advice.el (defadvice): Add indent rule.
7237
7238 2013-09-05 Daniel Hackney <dan@haxney.org>
7239
7240 * dired-x.el:
7241 * net/ange-ftp.el:
7242 * net/browse-url.el:
7243 * net/dbus.el:
7244 * net/eudc.el:
7245 * net/eudcb-ldap.el:
7246 * net/eww.el:
7247 * net/imap.el:
7248 * printing.el:
7249 * vc/ediff-diff.el:
7250 * vc/ediff-init.el:
7251 * vc/ediff-merg.el:
7252 * vc/ediff-mult.el:
7253 * vc/ediff-util.el:
7254 * vc/ediff-wind.el:
7255 * vc/ediff.el:
7256 * vc/emerge.el:
7257 * vc/pcvs.el:
7258 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7259 byte compiler. Remove some unused let-bound variables.
7260
7261 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7264 a "ref-cell", since it gets better optimized (bug#14883).
7265
7266 2013-09-05 Glenn Morris <rgm@gnu.org>
7267
7268 * progmodes/cc-awk.el (c-forward-sws): Declare.
7269
7270 2013-09-04 Glenn Morris <rgm@gnu.org>
7271
7272 * generic-x.el [rul-generic-mode]: Require cc-mode.
7273 (c++-mode-syntax-table): Declare.
7274 (rul-generic-mode-syntax-table): Init in the defvar.
7275
7276 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7279 (vc-do-command, vc-set-async-update):
7280 * vc/vc-mtn.el (vc-mtn-dir-status):
7281 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7282 (vc-hg-pull, vc-hg-merge-branch):
7283 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7284 (vc-git-merge-branch):
7285 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7286 (vc-cvs-dir-status-files):
7287 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7288 (vc-bzr-dir-status-files):
7289 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7290 * vc/vc-annotate.el: Use lexical-binding.
7291 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7292 (vc-sentinel-movepoint): Declare.
7293 (vc-annotate): Don't use `goto-line'.
7294 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7295 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7296 (vc-sentinel-movepoint): Declare.
7297 * vc/vc-svn.el: Use lexical-binding.
7298 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7299 * vc/vc-sccs.el:
7300 * vc/vc-rcs.el: Use lexical-binding.
7301
7302 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7303 `deleted'. Don't drop errors silently.
7304
7305 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7306
7307 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7308
7309 * vc/vc.el (vc-ignore): Rewrite.
7310 (vc-default-ignore): New function.
7311 (vc-default-ignore-completion-table): Use find-ignore-file.
7312
7313 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7314 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7315 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7316 Remove. Most code moved to vc.el.
7317
7318 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7321 * net/tramp-smb.el (tramp-smb-get-file-entries):
7322 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7323 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7324
7325 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7326 Update call to it.
7327 (eww-change-select): Remove unused var `properties'.
7328 (eww-make-unique-file-name): Remove unused var `base'.
7329
7330 * finder.el (finder-compile-keywords): Don't mess with windows.
7331
7332 * calculator.el (calculator-funcall): Fix typo in last change.
7333
7334 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7335
7336 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7337 <pkg>-autoloads.el file stop us.
7338
7339 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7340 warnings, and factor out common code.
7341
7342 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7343
7344 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7345 two-character operators and whether the character preceding them
7346 changes their meaning (Bug#15208).
7347
7348 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7349
7350 Format code sent to Python shell for robustness.
7351 * progmodes/python.el (python-shell-buffer-substring):
7352 New function.
7353 (python-shell-send-region, python-shell-send-buffer): Use it.
7354
7355 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7356
7357 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7358 * net/tramp.el (tramp-user-error): ... here.
7359 (tramp-find-method, tramp-check-proper-host)
7360 (tramp-dissect-file-name, tramp-debug-message)
7361 (tramp-handle-shell-command):
7362 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7363 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7364
7365 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7366
7367 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7368
7369 * avoid.el (mouse-avoidance-point-position)
7370 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7371 returns nil.
7372
7373 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7374
7375 * progmodes/python.el (python-shell-completion-get-completions):
7376 Drop use of deleted `comint-last-prompt-overlay'.
7377 (python-nav-if-name-main): New command.
7378
7379 2013-09-01 Glenn Morris <rgm@gnu.org>
7380
7381 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7382 Avoid leading space in $wins. Otherwise the sed command used by
7383 eg compile-main ends up containing "/*.el". (Bug#15170)
7384
7385 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7386
7387 2013-08-30 Glenn Morris <rgm@gnu.org>
7388
7389 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7390 Fix is-this-a-directory logic. (Bug#15220)
7391
7392 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * textmodes/css-mode.el: Use SMIE.
7395 (css-smie-grammar): New var.
7396 (css-smie--forward-token, css-smie--backward-token)
7397 (css-smie-rules): New functions.
7398 (css-mode): Use them.
7399 (css-navigation-syntax-table): Remove var.
7400 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7401 (css-indent-calculate, css-indent-line): Remove functions.
7402
7403 Misc changes to reduce use of `(lambda...); and other cleanups.
7404 * cus-edit.el: Use lexical-binding.
7405 (customize-push-and-save, customize-apropos)
7406 (custom-buffer-create-internal): Use closures.
7407 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7408 * progmodes/ada-xref.el: Use setq.
7409 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7410 * dframe.el: Use lexical-binding.
7411 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7412 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7413 * descr-text.el: Use lexical-binding.
7414 (describe-text-widget, describe-text-sexp, describe-property-list):
7415 Use closures.
7416 * comint.el (comint-history-isearch-push-state): Use a closure.
7417 * calculator.el: Use lexical-binding.
7418 (calculator-number-to-string): Make it work with lexical-binding.
7419 (calculator-funcall): Same and use cl-letf.
7420
7421 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7422 (lisp--company-doc-string, lisp--company-location): New functions.
7423 (lisp-completion-at-point): Use them to improve Company support.
7424
7425 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7426 params of lambda expressions.
7427 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7428 (ruby-smie--opening-pipe-p): New function.
7429 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7430 symbols and matched |...| for formal params.
7431 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7432 from being treated as hanging. Handle "rescue".
7433
7434 2013-08-29 Glenn Morris <rgm@gnu.org>
7435
7436 * progmodes/cc-engine.el (c-pull-open-brace):
7437 Move definition before use.
7438
7439 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7442 are immutable. Don't use `unsafe' any more.
7443 (cl--defsubst-expand): Don't substitute at the same time as keeping
7444 a residual unused let-binding. Don't use `unsafe' any more.
7445
7446 2013-08-29 Glenn Morris <rgm@gnu.org>
7447
7448 * calendar/cal-china.el (calendar-chinese-year-cache):
7449 Recenter on 2015.
7450
7451 * nxml/nxml-util.el (nxml-debug-clear-inside):
7452 Use cl-loop rather than loop.
7453
7454 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7455
7456 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7457
7458 2013-08-28 Glenn Morris <rgm@gnu.org>
7459
7460 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7461
7462 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7463
7464 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7465
7466 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * simple.el (repeat-complex-command--called-interactively-skip):
7469 New function.
7470 (repeat-complex-command): Use it (bug#14136).
7471
7472 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7473 (c-define-abbrev-table): Add `doc' argument.
7474 (c-mode-abbrev-table, c++-mode-abbrev-table)
7475 (objc-mode-abbrev-table, java-mode-abbrev-table)
7476 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7477 (awk-mode-abbrev-table): Use it.
7478 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7479 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7480 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7481 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7482 Move initialization into the declaration; and remove any
7483 autoload cookie.
7484
7485 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7486 and dynamic let binding.
7487
7488 * vc/smerge-mode.el: Remove redundant :group args.
7489
7490 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7491 to load-path.
7492
7493 2013-08-28 Juri Linkov <juri@jurta.org>
7494
7495 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7496 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7497 (isearch-other-meta-char): Handle an undefined shifted printing
7498 character by downshifting it. (Bug#15200)
7499
7500 2013-08-28 Juri Linkov <juri@jurta.org>
7501
7502 * isearch.el (isearch-search): Change regexp error message for
7503 non-regexp searches. (Bug#15166)
7504
7505 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7506
7507 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7508 for portability to hosts where /bin/sh has problems.
7509
7510 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7513
7514 2013-08-27 Juri Linkov <juri@jurta.org>
7515
7516 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7517 in the keyboard macro. (Bug#15126)
7518
7519 2013-08-27 Juri Linkov <juri@jurta.org>
7520
7521 * isearch.el (isearch-quote-char): Comment out converting unibyte
7522 to multibyte, thus syncing with its `quoted-insert' counterpart.
7523 (Bug#15166)
7524
7525 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7526
7527 * window.el (display-buffer-use-some-window): Add missing
7528 argument in call of get-largest-window (Bug#15185).
7529 Reported by Stephen Leake.
7530
7531 2013-08-27 Glenn Morris <rgm@gnu.org>
7532
7533 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7534
7535 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7538 from a matcher-function unless there's no more matches (bug#15161).
7539
7540 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * minibuffer.el: Revert change from 2013-08-20.
7543
7544 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7545 with text property `tramp-default', if appropriate.
7546 (tramp-check-proper-host): New defun.
7547 (tramp-dissect-file-name): Do not check hostname. Revert change
7548 of 2013-03-18.
7549 (tramp-backtrace): Make VEC-OR-PROC optional.
7550
7551 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7552 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7553 * net/tramp-sh.el (tramp-maybe-open-connection):
7554 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7555 Apply `tramp-check-proper-host'.
7556
7557 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7558
7559 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7560 lambda expression in order to have `describe-variable' display it.
7561
7562 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7563
7564 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7565 BUF can be optional. (Bug#15186)
7566
7567 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7568
7569 * progmodes/flymake.el (flymake-get-real-file-name-function):
7570 Fix broken customization. (Bug#15184)
7571
7572 2013-08-25 Alan Mackenzie <acm@muc.de>
7573
7574 Improve indentation of bracelists defined by macros (without "=").
7575
7576 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7577 expansion begins with "{", regard it as bracelist when it doesn't
7578 contain a ";".
7579
7580 Parse C++ inher-intro when there's a template split over 2 lines.
7581
7582 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7583 rigorously the search for "class" etc. followed by ":".
7584
7585 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7586 random languages a regexp which never matches rather than nil.
7587
7588 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7589
7590 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7591 (c-awk-regexp-one-line-possibly-open-char-list-re)
7592 (c-awk-one-line-possibly-open-regexp-re)
7593 (c-awk-one-line-non-syn-ws*-re): Remove.
7594 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7595 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7596 (c-awk-space*-unclosed-regexp-/-re): New constants.
7597 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7598 aren't regexp delimiters.
7599
7600 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7601 handling for a rare situation in AWK Mode involving unterminated
7602 strings/regexps.
7603
7604 2013-08-23 Glenn Morris <rgm@gnu.org>
7605
7606 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7607
7608 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7609
7610 * files.el (create-file-buffer): If the result would begin with
7611 spaces, prepend a "|" instead of removing them. (Bug#15162)
7612
7613 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7616 text-properties (bug#15155).
7617
7618 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7619 exist any more.
7620 (calc-keypad-redraw): Remove unused var `pad'.
7621 (calc-keypad-press): Remove unused var `menu'.
7622
7623 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7624
7625 * window.el (display-buffer-pop-up-frame):
7626 Call pop-up-frame-function with BUFFER current so `make-frame' will
7627 use it as the new frame's buffer (Bug#15133).
7628
7629 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7630
7631 * calendar/timeclock.el: Minor cleanups.
7632 (timeclock-ask-before-exiting, timeclock-use-display-time):
7633 Use `symbol'.
7634 (timeclock-modeline-display): Define as alias before the
7635 actual definition.
7636 (timeclock-mode-line-display): Use define-minor-mode.
7637 (timeclock-day-list-template): Make it a function, add an argument.
7638 (timeclock-day-list-required, timeclock-day-list-length)
7639 (timeclock-day-list-debt, timeclock-day-list-span)
7640 (timeclock-day-list-break): Adjust calls accordingly.
7641
7642 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7645 Use read--expression so that completion works again.
7646
7647 2013-08-21 Sam Steingold <sds@gnu.org>
7648
7649 Add rudimentary inferior shell interaction
7650 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7651 (sh-set-shell): Reset it.
7652 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7653 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7654
7655 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * align.el: Use lexical-binding.
7658 (align-region): Simplify accordingly.
7659
7660 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7661
7662 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7663
7664 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7665 `non-essential' up.
7666
7667 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7668
7669 * net/tramp.el:
7670 * net/tramp-adb.el:
7671 * net/tramp-cmds.el:
7672 * net/tramp-ftp.el:
7673 * net/tramp-gvfs.el:
7674 * net/tramp-gw.el:
7675 * net/tramp-sh.el: Don't wrap external variable declarations by
7676 `eval-when-compile'.
7677
7678 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7679
7680 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7681 now that Emacs supports ImageMagick animations.
7682
7683 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7684
7685 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7686 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7687
7688 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7689
7690 * window.el (mouse-autoselect-window-select): Do autoselect when
7691 mouse pointer is on margin.
7692
7693 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7694
7695 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7696
7697 2013-08-16 Glenn Morris <rgm@gnu.org>
7698
7699 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7700 Handle "Remote Directory" response of some clients. (Bug#15058)
7701
7702 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7703 Tweak warning. (Bug#14926)
7704
7705 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7706 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7707
7708 * image-mode.el (image-mode-map): Add menu items to reverse,
7709 increase, decrease, reset animation speed.
7710 (image--set-speed, image-increase-speed, image-decrease-speed)
7711 (image-reverse-speed, image-reset-speed): New functions.
7712 (image-mode-map): Add bindings for speed commands.
7713
7714 * image.el (image-animate-get-speed, image-animate-set-speed):
7715 New functions.
7716 (image-animate-timeout): Respect image :speed property.
7717
7718 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7721 previous line (bug#15101).
7722 (debugger-eval-expression, debugger-record-expression):
7723 Use read--expression (bug#15102).
7724
7725 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7726
7727 Remove byte compiler warnings, visible when compiling with
7728 `byte-compile-force-lexical-warnings' set to t.
7729
7730 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7731 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7732 (tramp-handle-unhandled-file-name-directory)
7733 (tramp-handle-file-notify-add-watch, tramp-action-login)
7734 (tramp-action-succeed, tramp-action-permission-denied)
7735 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7736 arguments with "_".
7737
7738 * net/tramp-adb.el (tramp-adb-parse-device-names)
7739 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7740 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7741 (tramp-adb-handle-file-truename): Remove unused arguments.
7742
7743 * net/tramp-cache.el (tramp-flush-directory-property)
7744 (tramp-flush-connection-property, tramp-list-connections)
7745 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7746
7747 * net/tramp-compat.el (tramp-compat-make-temp-file):
7748 Rename FILENAME to F.
7749
7750 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7751 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7752 (tramp-zeroconf-parse-workstation-device-names)
7753 (tramp-zeroconf-parse-webdav-device-names)
7754 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7755
7756 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7757 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7758
7759 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7760 arguments.
7761 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7762 (tramp-sh-handle-insert-file-contents-literally)
7763 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7764 with "_".
7765 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7766 Remove unused variables.
7767
7768 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7769 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7770 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7771
7772 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7773 Make them a defconst.
7774 (tramp-uuencode-region): Remove unused variable.
7775
7776 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7777
7778 * frameset.el (frameset--prop-setter): New function.
7779 (frameset-prop): Add gv-setter declaration.
7780 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7781 parameter was already set in FILTERED. Doc fix.
7782 (frameset--record-minibuffer-relationships): Allow saving a
7783 minibufferless frame without its corresponding minibuffer frame.
7784 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7785 frame, if the frame id matches.
7786 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7787 frames before orphaned ones.
7788 (frameset-restore): Warn about orphaned windows, instead of error out.
7789
7790 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7791
7792 * window.el (window-make-atom): Don't overwrite parameter
7793 already present.
7794 (display-buffer-in-atom-window): Handle special case where we
7795 split an already atomic window.
7796 (window--major-non-side-window, display-buffer-in-side-window)
7797 (window--side-check): Ignore minibuffer window when walking
7798 window tree.
7799 (window-deletable-p): Return 'frame only if no other frame uses
7800 our minibuffer window.
7801 (record-window-buffer): Run buffer-list-update-hook.
7802 (split-window): Make sure window--check-frame won't destroy an
7803 existing atomic window in case the new window gets nested
7804 inside.
7805 (display-buffer-at-bottom): Ignore minibuffer window when
7806 walking window tree. Don't split a side window.
7807 (pop-to-buffer): Don't set-buffer here, the select-window call
7808 should do that.
7809 (mouse-autoselect-window-select): Autoselect only if we are in the
7810 text portion of the window.
7811
7812 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7813
7814 * net/shr.el (shr-parse-image-data): New function to grab both the
7815 data itself and the Content-Type.
7816 (shr-put-image): Use it.
7817
7818 * net/eww.el (eww-display-image): Ditto.
7819
7820 * image.el (image-content-type-suffixes): New variable.
7821
7822 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7823
7824 * progmodes/python.el (python-imenu--build-tree)
7825 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7826
7827 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7828
7829 * simple.el (backward-word): Mention the optional argument.
7830
7831 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * frameset.el (frameset--make): Rename constructor from make-frameset.
7834 (frameset-p, frameset-valid-p): Don't autoload.
7835 (frameset-valid-p): Use normal accessors.
7836
7837 2013-08-13 Glenn Morris <rgm@gnu.org>
7838
7839 * progmodes/compile.el (compile-command): Tweak example in doc.
7840 * obsolete/scribe.el (scribe-mode):
7841 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7842
7843 * mail/feedmail.el (feedmail-confirm-outgoing)
7844 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7845
7846 * cus-start.el (truncate-partial-width-windows): Fix type.
7847
7848 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7849
7850 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7851
7852 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * emacs-lisp/timer.el (timer--time-setter): New function.
7855 (timer--time): Use it as gv-setter.
7856
7857 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7858 setter is not a symbol.
7859
7860 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7861
7862 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7863 if sending fails. This makes debugging easier.
7864
7865 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7866
7867 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7868 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7869 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7870
7871 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7872
7873 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7874
7875 2013-08-12 Glenn Morris <rgm@gnu.org>
7876
7877 * format.el (format-annotate-function):
7878 Handle read-only text properties in the source. (Bug#14887)
7879
7880 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7881
7882 * net/eww.el (eww-display-html): Ignore coding system errors.
7883 One web site uses "utf-8lias" as the coding system.
7884
7885 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7886
7887 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7888
7889 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7890
7891 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7892 (tutorial--detailed-help): Remove unused local variables.
7893 (tutorial--save-tutorial-to): Use ignore-errors.
7894 (help-with-tutorial): Use looking-at-p.
7895
7896 * view.el (view-buffer-other-window, view-buffer-other-frame):
7897 Mark unused arguments.
7898
7899 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7900 (woman-select-symbol-fonts, woman, woman-find-file)
7901 (woman-insert-file-contents, woman-non-underline-faces):
7902 Use string-match-p.
7903 (woman1-unquote): Move declaration.
7904
7905 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7906 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7907 argument. Remove unused local variable.
7908 (xml-parse-elem-type): Use string-match-p.
7909 (xml-substitute-numeric-entities): Use ignore-errors.
7910
7911 * calculator.el (calculator): Mark unused argument.
7912 (calculator-paste, calculator-quit, calculator-integer-p):
7913 Use ignore-errors.
7914 (calculator-string-to-number, calculator-decimal, calculator-exp)
7915 (calculator-op-or-exp): Use string-match-p.
7916
7917 * dired.el (dired-buffer-more-recently-used-p): Declare.
7918 (dired-insert-set-properties, dired-insert-old-subdirs):
7919 Use ignore-errors.
7920
7921 * dired-aux.el (dired-compress): Use ignore-errors.
7922 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7923 (dired-do-async-shell-command, dired-do-shell-command)
7924 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7925 (dired-insert-subdir-validate): Use string-match-p.
7926 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7927 (dired-add-entry): Use string-match-p, looking-at-p.
7928 (dired-insert-subdir-newpos): Remove unused local variable.
7929
7930 * filenotify.el (file-notify-callback): Remove unused local variable.
7931
7932 * filesets.el (filesets-error): Mark unused argument.
7933 (filesets-which-command-p, filesets-filter-dir-names)
7934 (filesets-directory-files, filesets-get-external-viewer)
7935 (filesets-ingroup-get-data): Use string-match-p.
7936
7937 * find-file.el (ff-other-file-name, ff-other-file-name)
7938 (ff-find-the-other-file, ff-cc-hh-converter):
7939 Remove unused local variables.
7940 (ff-get-file-name): Use string-match-p.
7941 (ff-all-dirs-under): Use ignore-errors.
7942
7943 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7944 (follow-select-if-visible): Remove unused local variable.
7945
7946 * forms.el (read-file-filter): Move declaration.
7947 (forms--make-format, forms--make-parser, forms-insert-record):
7948 Quote function with #'.
7949 (forms--update): Use string-match-p. Quote function with #'.
7950
7951 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7952 (help-make-xrefs): Use looking-at-p.
7953 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7954
7955 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7956 (ibuffer-confirm-operation-on): Use string-match-p.
7957
7958 * msb.el (msb-item-handler, msb-dired-item-handler):
7959 Mark unused arguments.
7960
7961 * ses.el (ses-decode-cell-symbol)
7962 (ses-kill-override): Remove unused local variable.
7963 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7964 (ses-load): Use ignore-errors, looking-at-p.
7965 (ses-jump-safe): Use ignore-errors.
7966 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7967
7968 * tabify.el (untabify, tabify): Mark unused arguments.
7969
7970 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7971 Mark unused argument.
7972 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7973 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7974
7975 * emacs-lisp/timer.el (timer--time): Define setter with
7976 gv-define-setter to avoid deprecation warning.
7977
7978 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7979 (*record-cmpl-statistics-p*): Remove (was commented out).
7980 (cmpl-statistics-block): Remove (body was commented out).
7981 All callers changed.
7982 (add-completions-from-buffer, load-completions-from-file):
7983 Remove unused variables.
7984
7985 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7986
7987 * filecache.el (file-cache-delete-file-list):
7988 Print message only when told so.
7989 (file-cache-files-matching): Use #' in mapconcat argument.
7990
7991 * ffap.el (ffap-url-at-point): Fix reference to variable
7992 thing-at-point-default-mail-uri-scheme.
7993
7994 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * subr.el (define-error): New function.
7997 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7998 error-file-not-found and define with define-error.
7999 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8000 and define with define-error.
8001 * userlock.el (file-locked, file-supersession):
8002 * simple.el (mark-inactive):
8003 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8004 * progmodes/ada-mode.el (ada-mode-errors):
8005 * play/life.el (life-extinct):
8006 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8007 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8008 * nxml/rng-util.el (rng-error):
8009 * nxml/rng-uri.el (rng-uri-error):
8010 * nxml/rng-match.el (rng-compile-error):
8011 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8012 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8013 * nxml/nxml-rap.el (nxml-scan-error):
8014 * nxml/nxml-outln.el (nxml-outline-error):
8015 * net/soap-client.el (soap-error):
8016 * net/gnutls.el (gnutls-error):
8017 * net/ange-ftp.el (ftp-error):
8018 * mpc.el (mpc-proc-error):
8019 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8020 (json-number-format, json-string-escape, json-string-format)
8021 (json-key-format, json-object-format):
8022 * jka-compr.el (compression-error):
8023 * international/quail.el (quail-error):
8024 * international/kkc.el (kkc-error):
8025 * emacs-lisp/ert.el (ert-test-failed):
8026 * calc/calc.el (calc-error, inexact-result, math-overflow)
8027 (math-underflow):
8028 * bookmark.el (bookmark-error-no-filename):
8029 * epg.el (epg-error): Define with define-error.
8030
8031 * time.el (display-time-event-handler)
8032 (display-time-next-load-average): Don't call sit-for since it seems
8033 unnecessary (bug#15045).
8034
8035 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8036 Use #' instead of ' to quote functions.
8037 (checkdoc-output-mode): Use setq-local.
8038 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8039 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8040 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8041 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8042 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8043 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8044 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8045 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8046
8047 * ido.el (ido-completion-help): Fix up compiler warning.
8048
8049 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8050
8051 * frameset.el (frameset-p): Add autoload cookie.
8052 (frameset--jump-to-register): New function, based on code moved from
8053 register.el.
8054 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8055
8056 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8057 (frameset-restore, frameset-save, frameset-session-filter-alist):
8058 Remove declarations.
8059 (register-alist): Doc fix.
8060 (frameset-to-register): Move to frameset.el.
8061 (jump-to-register, describe-register-1): Remove frameset-specific code.
8062
8063 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8064
8065 * allout-widgets.el (allout-widgets-pre-command-business)
8066 (allout-widgets-post-command-business)
8067 (allout-widgets-after-change-handler)
8068 (allout-decorate-item-and-context, allout-set-boundary-marker)
8069 (allout-body-modification-handler)
8070 (allout-graphics-modification-handler): Mark ignored arguments.
8071 (allout-widgets-post-command-business)
8072 (allout-widgets-exposure-change-processor)
8073 (allout-widgets-exposure-undo-processor)
8074 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8075 (allout-parse-item-at-point, allout-decorate-item-guides)
8076 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8077 * allout.el (epa-passphrase-callback-function): Declare.
8078 (allout-overlay-insert-in-front-handler)
8079 (allout-overlay-interior-modification-handler)
8080 (allout-isearch-end-handler, allout-chart-siblings)
8081 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8082 (allout-yank-processing, allout-process-exposed)
8083 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8084 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8085 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8086 (lisp-indent-defform): Mark ignored arguments.
8087 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8088 (calculate-lisp-indent): Remove unused variables.
8089 * international/characters.el (indian-2-column, arabic-2-column)
8090 (tibetan): Mark ignored arguments.
8091 (use-cjk-char-width-table): Mark ignored arguments.
8092 Remove unused variables.
8093 * international/fontset.el (build-default-fontset-data)
8094 (x-compose-font-name, create-fontset-from-fontset-spec):
8095 Mark ignored arguments.
8096 (fontset-plain-name): Remove unused variables.
8097 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8098 (keyboard-coding-system): Mark ignored arguments.
8099 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8100 * help.el (resize-temp-buffer-window):
8101 * window.el (display-buffer-in-major-side-window)
8102 (display-buffer-in-side-window, display-buffer-in-previous-window):
8103 Remove unused variables.
8104 * isearch.el (isearch-forward-symbol):
8105 * version.el (emacs-bzr-version-bzr):
8106 * international/mule-cmds.el (current-language-environment):
8107 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8108 (x-handle-display):
8109 * term/pc-win.el (x-list-fonts, x-display-planes)
8110 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8111 (x-server-version, x-display-screens, x-display-mm-height)
8112 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8113 (x-selection-owner-p, x-own-selection-internal)
8114 (x-disown-selection-internal, x-get-selection-internal)
8115 (msdos-initialize-window-system):
8116 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8117 * term/x-win.el (x-handle-no-bitmap-icon):
8118 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8119 (vc-default-find-file-hook, vc-default-extra-menu):
8120 Mark ignored arguments.
8121
8122 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8125 break-condition in the context of the debugged code (bug#12685).
8126
8127 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8128
8129 * comint.el:
8130 Do not use an overlay to highlight the last prompt. (Bug#14744)
8131 (comint-mode): Make comint-last-prompt buffer local.
8132 (comint-last-prompt): New variable.
8133 (comint-last-prompt-overlay): Remove. Superseded by
8134 comint-last-prompt.
8135 (comint-snapshot-last-prompt, comint-output-filter):
8136 Use comint-last-prompt.
8137
8138 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8139
8140 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8141 (frameset-save): Check validity of the resulting frameset.
8142
8143 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8144
8145 * ido.el (ido-record-command): Add doc string.
8146
8147 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8148
8149 * frameset.el (frameset): Do not disable creation of the default
8150 frameset-p predicate. Doc fix.
8151 (frameset-valid-p): New function, copied from the old predicate-p.
8152 Add additional checks.
8153 (frameset-restore): Check with frameset-valid-p.
8154 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8155 (frameset-name, frameset-description, frameset-properties)
8156 (frameset-states): Add docstring.
8157 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8158 (frameset-filter-alist): Doc fixes.
8159
8160 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8163
8164 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8167 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8168 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8169 (byte-compile-normal-call): Remove obsolescence check.
8170
8171 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8172
8173 * frameset.el (frameset-restore): Doc fix.
8174
8175 * register.el (frameset-frame-id, frameset-frame-with-id)
8176 (frameset-p, frameset-restore, frameset-save): Declare.
8177 (register-alist): Document framesets.
8178 (frameset-session-filter-alist): Declare.
8179 (frameset-to-register): New function.
8180 (jump-to-register): Implement jumping to framesets. Doc fix.
8181 (describe-register-1): Describe framesets.
8182
8183 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8184
8185 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8186
8187 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8188 Use lexical-binding.
8189
8190 * frameset.el (frameset): Use type vector, not list (incompatible
8191 change). Do not declare a new constructor, use the default one.
8192 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8193 `name' and `description', respectively, and add read-only slot
8194 `timestamp'. Doc fixes.
8195 (frameset-copy, frameset-persistent-filter-alist)
8196 (frameset-filter-alist, frameset-switch-to-gui-p)
8197 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8198 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8199 (frameset-filter-iconified, frameset-keep-original-display-p):
8200 Doc fixes.
8201 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8202 Rename from frameset-filter-(save|restore)-param. All callers changed.
8203 Doc fix.
8204 (frameset-p): Adapt to change to vector and be more thorough.
8205 Change arg name to OBJECT. Doc fix.
8206 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8207 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8208 All callers changed.
8209 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8210 All callers changed.
8211 (frameset--record-minibuffer-relationships): Rename from
8212 frameset--process-minibuffer-frames. All callers changed.
8213 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8214 Use new default constructor (again). Doc fix.
8215 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8216 All callers changed.
8217 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8218 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8219 Doc fix.
8220 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8221 PARAMETERS and WINDOW-STATE, respectively.
8222 (frameset-restore): Add new keyword argument PREDICATE.
8223 Reset frameset--target-display to nil. Doc fix.
8224
8225 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8228 (bat-mode): Use it.
8229 (bat-mode-syntax-table): Mark \n as end-of-comment.
8230 (bat-font-lock-keywords): Remove comment rule.
8231
8232 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8233 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8234
8235 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8236 (byte-compile-callargs-warn): Use `push'.
8237 (byte-compile-arglist-warn): Ignore higher-order "calls".
8238 (byte-compile-file-form-autoload): Use `pcase'.
8239 (byte-compile-function-form): If quoting a symbol, check that it exists.
8240
8241 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8242
8243 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8244 and add a few popular commands found in batch files.
8245 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8246 (dos-mode): Doc fixes.
8247
8248 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8251 (dos-mode): Use setq-local. Add space after "rem".
8252 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8253 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8254
8255 2013-08-07 Arni Magnusson <arnima@hafro.is>
8256
8257 * progmodes/dos.el: New file.
8258 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8259 dos-mode.
8260
8261 2013-08-06 Glenn Morris <rgm@gnu.org>
8262
8263 * calendar/calendar.el: Add new faces, and day-header-array.
8264 (calendar-weekday-header, calendar-weekend-header)
8265 (calendar-month-header): New faces.
8266 (calendar-day-header-construct): New function.
8267 (calendar-day-header-width): Also :set calendar-day-header-array.
8268 (calendar-american-month-header, calendar-european-month-header)
8269 (calendar-iso-month-header): Use calendar- faces.
8270 (calendar-generate-month):
8271 Use calendar-day-header-array for day headers; apply faces to them.
8272 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8273 (calendar-abbrev-construct): Add optional maxlen argument.
8274 (calendar-day-name-array): Doc fix.
8275 (calendar-day-name-array, calendar-abbrev-length)
8276 (calendar-day-abbrev-array):
8277 Also :set calendar-day-header-array, and maybe redraw.
8278 (calendar-day-header-array): New option. (Bug#15007)
8279 (calendar-font-lock-keywords): Set to nil and make obsolete.
8280 (calendar-day-name): Add option to use header array.
8281
8282 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8283
8284 * net/shr.el (shr-render-td): Remove debugging.
8285 (shr-render-td): Make width computation consistent by defaulting
8286 all zero-width columns to 10 characters. This may not be optimal,
8287 but it's at least consistent.
8288 (shr-make-table-1): Redo last change to fix the real problem in
8289 colspan handling.
8290
8291 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8292
8293 * files.el (cache-long-line-scans):
8294 Make obsolete alias to `cache-long-scans'.
8295
8296 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * frameset.el (frameset, frameset-filter-alist)
8299 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8300 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8301 (frameset-compute-pos): Rename from frameset--compute-pos,
8302 and add docstring.
8303 (frameset-move-onscreen): Use frameset-compute-pos.
8304 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8305
8306 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8307 Fix typos in docstrings.
8308
8309 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8310
8311 * frame.el (get-other-frame): Tiny cleanup.
8312
8313 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8314
8315 * vc/vc.el (vc-default-ignore-completion-table):
8316 Silence byte-compiler warning.
8317
8318 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8319 slot, which can indeed be nil.
8320 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8321 Move entry for `left' from persistent to live filter alist.
8322 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8323 Doc fixes.
8324 (frameset-filter-params): When restoring a frame, copy items added to
8325 `filtered', to avoid unwittingly modifying the original parameters.
8326 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8327 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8328
8329 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8330 to use looking-at-p instead of looking-at. (Bug#15028)
8331
8332 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8333
8334 Revert introduction of isearch-filter-predicates (bug#14714).
8335 Rely on add-function instead.
8336 * isearch.el (isearch-filter-predicates): Rename it back to
8337 isearch-filter-predicate.
8338 (isearch-message-prefix): Use advice-function-mapc and advice
8339 properties to get the isearch-message-prefix.
8340 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8341 instead of run-hook-with-args-until-failure.
8342 (isearch-filter-visible): Not obsolete any more.
8343 * loadup.el: Preload nadvice.
8344 * replace.el (perform-replace): Revert to funcall
8345 instead of run-hook-with-args-until-failure.
8346 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8347 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8348 dired-isearch-filenames-toggle; make it into a proper minor mode.
8349 Use add/remove-function.
8350 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8351 Call the minor-mode rather than add/remove-hook.
8352 (dired-isearch-filter-filenames):
8353 Remove isearch-message-prefix property.
8354 * info.el (Info--search-loop): New function, extracted from Info-search.
8355 Funcall isearch-filter-predicate instead of
8356 run-hook-with-args-until-failure isearch-filter-predicates.
8357 (Info-search): Use it.
8358 (Info-mode): Use isearch-filter-predicate instead of
8359 isearch-filter-predicates.
8360
8361 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8362
8363 Do not call to `selected-window' where it is assumed by default.
8364 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8365 `window-hscroll', `window-width', `window-height', `window-buffer',
8366 `window-frame', `window-start', `window-point', `next-window'
8367 and `window-display-table'.
8368 * abbrev.el (abbrev--default-expand):
8369 * bs.el (bs--show-with-configuration):
8370 * buff-menu.el (Buffer-menu-mouse-select):
8371 * calc/calc.el (calc):
8372 * calendar/calendar.el (calendar-generate-window):
8373 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8374 (diary-make-entry):
8375 * comint.el (send-invisible, comint-dynamic-complete-filename)
8376 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8377 * completion.el (complete):
8378 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8379 * disp-table.el (describe-current-display-table):
8380 * doc-view.el (doc-view-insert-image):
8381 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8382 * ehelp.el (with-electric-help):
8383 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8384 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8385 * emacs-lisp/helper.el (Helper-help-scroller):
8386 * emulation/cua-base.el (cua--post-command-handler-1):
8387 * eshell/esh-mode.el (eshell-output-filter):
8388 * ffap.el (ffap-gnus-wrapper):
8389 * help-macro.el (make-help-screen):
8390 * hilit-chg.el (highlight-compare-buffers):
8391 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8392 * hl-line.el (global-hl-line-highlight):
8393 * icomplete.el (icomplete-simple-completing-p):
8394 * isearch.el (isearch-done):
8395 * jit-lock.el (jit-lock-stealth-fontify):
8396 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8397 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8398 * mpc.el (mpc-tagbrowser, mpc):
8399 * net/rcirc.el (rcirc-any-buffer):
8400 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8401 * play/landmark.el (landmark-max-width, landmark-max-height):
8402 * play/zone.el (zone):
8403 * progmodes/compile.el (compilation-goto-locus):
8404 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8405 * progmodes/etags.el (find-tag-other-window):
8406 * progmodes/fortran.el (fortran-column-ruler):
8407 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8408 * progmodes/verilog-mode.el (verilog-point-text):
8409 * reposition.el (reposition-window):
8410 * rot13.el (toggle-rot13-mode):
8411 * server.el (server-switch-buffer):
8412 * shell.el (shell-dynamic-complete-command)
8413 (shell-dynamic-complete-environment-variable):
8414 * simple.el (insert-buffer, set-selective-display)
8415 (delete-completion-window):
8416 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8417 (speedbar-recenter):
8418 * startup.el (fancy-splash-head):
8419 * textmodes/ispell.el (ispell-command-loop):
8420 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8421 * tutorial.el (help-with-tutorial):
8422 * vc/add-log.el (add-change-log-entry):
8423 * vc/compare-w.el (compare-windows):
8424 * vc/ediff-help.el (ediff-indent-help-message):
8425 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8426 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8427 (ediff-setup-control-frame):
8428 * vc/emerge.el (emerge-position-region):
8429 * vc/pcvs-util.el (cvs-bury-buffer):
8430 * window.el (walk-windows, mouse-autoselect-window-select):
8431 * winner.el (winner-set-conf, winner-undo): Related users changed.
8432
8433 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8434
8435 * frameset.el (frameset--set-id): Doc fix.
8436 (frameset-frame-id, frameset-frame-id-equal-p)
8437 (frameset-locate-frame-id): New functions.
8438 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8439 (frameset-restore): Use them.
8440
8441 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8442
8443 Do not call to `selected-frame' where it is assumed by default.
8444 Affected functions are `raise-frame', `redraw-frame',
8445 `frame-first-window', `frame-terminal' and `delete-frame'.
8446 * calendar/appt.el (appt-disp-window):
8447 * epg.el (epg-wait-for-completion):
8448 * follow.el (follow-delete-other-windows-and-split)
8449 (follow-avoid-tail-recenter):
8450 * international/mule.el (set-terminal-coding-system):
8451 * mail/rmail.el (rmail-mail-return):
8452 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8453 * progmodes/f90.el (f90-add-imenu-menu):
8454 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8455 * server.el (server-switch-buffer):
8456 * simple.el (delete-completion-window):
8457 * talk.el (talk):
8458 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8459 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8460 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8461 * vc/ediff.el (ediff-documentation): Related users changed.
8462 * frame.el (selected-terminal): Remove the leftover.
8463
8464 2013-08-05 Glenn Morris <rgm@gnu.org>
8465
8466 * calendar/calendar.el (calendar-generate-month):
8467 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8468 (calendar-generate-month, calendar-font-lock-keywords):
8469 Fix for calendar-day-header-width > length of any day name.
8470
8471 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8472
8473 * desktop.el (desktop-clear): Use new name of sort predicate.
8474
8475 * frameset.el (frameset): Add docstring. Move :version property to its
8476 own `version' slot.
8477 (frameset-copy): Rename from copy-frameset.
8478 (frameset-p): Check more thoroughly.
8479 (frameset-prop): Do not check for :version, which is no longer a prop.
8480 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8481 Use new :never value instead of t.
8482 (frameset-filter-alist): Expand and clarify docstring.
8483 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8484 (frameset-filter-minibuffer, frameset-filter-save-param)
8485 (frameset-filter-restore-param, frameset-filter-iconified):
8486 Add pointer to docstring of frameset-filter-alist.
8487 (frameset-filter-params): Rename filter values to be more meaningful:
8488 :never instead of t, and reverse the meanings of :save and :restore.
8489 (frameset--process-minibuffer-frames): Clarify error message.
8490 (frameset-save): Avoid unnecessary and confusing call to framep.
8491 Use new BOA constructor for framesets.
8492 (frameset--reuse-list): Doc fix.
8493 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8494 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8495 (frameset-minibufferless-first-p): Doc fix.
8496 Rename from frameset-sort-frames-for-deletion.
8497 (frameset-restore): Doc fixes. Use new function names.
8498 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8499
8500 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8501
8502 * desktop.el (desktop-restore-forces-onscreen)
8503 (desktop-restore-reuses-frames): Document :keyword constant values.
8504 (desktop-filter-parameters-alist): Remove, now identical to
8505 frameset-filter-alist.
8506 (desktop--filter-tty*): Remove, moved to frameset.el.
8507 (desktop-save-frameset, desktop-restore-frameset):
8508 Do not pass :filters argument.
8509
8510 * frameset.el (frameset-live-filter-alist)
8511 (frameset-persistent-filter-alist): New variables.
8512 (frameset-filter-alist): Use them. Add autoload cookie.
8513 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8514 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8515 `frameset--id' (it's supposed to be internal to frameset.el).
8516 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8517 (frameset--initial-params): New function.
8518 (frameset--get-frame): Use it. Doc fix.
8519 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8520 Accept :all, not 'all.
8521 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8522 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8523 with fbound symbols. Fix frame id matching, and remove matching ids if
8524 the frame being restored is deleted. Obey :delete.
8525
8526 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * subr.el (macrop): New function.
8529 (text-clone--maintaining): New var.
8530 (text-clone--maintain): Rename from text-clone-maintain. Use it
8531 instead of inhibit-modification-hooks.
8532
8533 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8534 a proxy, so as handle autoloads and redefinitions of the target.
8535 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8536
8537 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8538 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8539 (pcase--mutually-exclusive-p): New function.
8540 (pcase--split-consp): Use it.
8541 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8542 mutually exclusive with the current predicate.
8543
8544 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8545 (edebug-macrop): Remove. Use `macrop' instead.
8546 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8547 (ad-macro-p):
8548 * eshell/esh-cmd.el (eshell-macrop):
8549 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8550
8551 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8554 (advice-mapc): New function, using it.
8555 (advice-function-member-p): New function.
8556 (advice--normalize): Store the cdr in advice--saved-rewrite since
8557 that's the part that will be changed.
8558 (advice--symbol-function): New function.
8559 (advice-remove): Handle removal before the function is defined.
8560 Adjust to new advice--saved-rewrite.
8561 (advice-member-p): Use advice-function-member-p and
8562 advice--symbol-function.
8563
8564 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8565
8566 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8567 (frameset-filter-minibuffer): Doc fix.
8568 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8569 (frameset--set-id, frameset--process-minibuffer-frames)
8570 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8571 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8572
8573 * desktop.el (desktop-clear): Only delete frames when called
8574 interactively and desktop-restore-frames is non-nil. Doc fix.
8575 (desktop-read): Set desktop-saved-frameset to nil.
8576
8577 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8578
8579 * vc/vc.el (vc-ignore): Rewrite.
8580 (vc-default-ignore-completion-table, vc--read-lines)
8581 (vc--add-line, vc--remove-regexp): New functions.
8582
8583 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8584 (vc-svn-ignore-completion-table): New function.
8585
8586 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8587 (vc-hg-ignore-completion-table)
8588 (vc-hg-find-ignore-file): New functions.
8589
8590 * vc/vc-git.el (vc-git-ignore): Rewrite.
8591 (vc-git-ignore-completion-table)
8592 (vc-git-find-ignore-file): New functions.
8593
8594 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8595
8596 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8597 (vc-bzr-ignore-completion-table)
8598 (vc-bzr-find-ignore-file): New functions.
8599
8600 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8601
8602 * frameset.el (frameset-prop): New function and setter.
8603 (frameset-save): Do not modify frame list passed by the caller.
8604
8605 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8608
8609 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8612 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8613
8614 * custom.el (custom-initialize-default, custom-initialize-set)
8615 (custom-initialize-reset, custom-initialize-changed): Affect the
8616 toplevel-default-value (bug#6275, bug#14586).
8617 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8618 for bug#6275.
8619
8620 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8621
8622 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8623 Add cl-def* expressions.
8624
8625 * frameset.el (frameset-filter-params): Fix order of arguments.
8626
8627 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8628
8629 Move code related to saving frames to frameset.el.
8630 * desktop.el: Require frameset.
8631 (desktop-restore-frames): Doc fix.
8632 (desktop-restore-reuses-frames): Rename from
8633 desktop-restoring-reuses-frames.
8634 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8635 (desktop-clear): Clear frames too.
8636 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8637 (desktop--filter-tty*, desktop-save, desktop-read):
8638 Use frameset functions.
8639 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8640 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8641 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8642 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8643 (desktop--process-minibuffer-frames, desktop-save-frames)
8644 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8645 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8646 (desktop--sort-states, desktop-restoring-frames-p)
8647 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8648 (desktop-restoring-frameset-p, desktop-restore-frameset)
8649 (desktop--check-dont-save, desktop-save-frameset): New functions.
8650 (desktop--app-id): New constant.
8651 (desktop-first-buffer, desktop-buffer-ok-count)
8652 (desktop-buffer-fail-count): Move before first use.
8653 * frameset.el: New file.
8654
8655 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * files.el: Use lexical-binding.
8658 (dir-locals-read-from-file): Remove unused `err' variable.
8659 (hack-dir-local-variables--warned-coding): New var.
8660 (hack-dir-local-variables): Use it to avoid repeated warnings.
8661 (make-backup-file-name--default-function): New function.
8662 (make-backup-file-name-function): Use it as default.
8663 (buffer-stale--default-function): New function.
8664 (buffer-stale-function): Use it as default.
8665 (revert-buffer-insert-file-contents--default-function): New function.
8666 (revert-buffer-insert-file-contents-function): Use it as default.
8667 (insert-directory): Avoid add-to-list.
8668
8669 * autorevert.el (auto-revert-handler): Simplify.
8670 Use buffer-stale--default-function.
8671
8672 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8673
8674 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8675
8676 * whitespace.el (whitespace-ensure-local-variables): New function.
8677 (whitespace-cleanup-region): Call it.
8678 (whitespace-turn-on): Call it.
8679
8680 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8681
8682 Complete file name handlers.
8683
8684 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8685 (tramp-handle-verify-visited-file-modtime)
8686 (tramp-handle-file-notify-rm-watch): New functions.
8687 (tramp-call-process): Do not bind `default-directory'.
8688
8689 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8690 Order alphabetically.
8691 <access-file, add-name-to-file, dired-call-process>:
8692 <dired-compress-file, file-acl, file-notify-rm-watch>:
8693 <file-ownership-preserved-p, file-selinux-context>:
8694 <make-directory-internal, make-symbolic-link, set-file-acl>:
8695 <set-file-selinux-context, set-visited-file-modtime>:
8696 <verify-visited-file-modtime>: Add handler.
8697 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8698
8699 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8700 <file-notify-add-watch, file-notify-rm-watch>:
8701 <set-file-times, set-visited-file-modtime>:
8702 <verify-visited-file-modtime>: Add handler.
8703 (with-tramp-gvfs-error-message)
8704 (tramp-gvfs-handle-set-visited-file-modtime)
8705 (tramp-gvfs-fuse-file-name): Remove.
8706 (tramp-gvfs-handle-file-notify-add-watch)
8707 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8708 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8709
8710 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8711 Order alphabetically.
8712 <file-notify-rm-watch>: Use default Tramp handler.
8713 <executable-find>: Remove private handler.
8714 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8715 `default-directory'.
8716 (tramp-sh-handle-executable-find)
8717 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8718 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8719 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8720 Do not use `format' in `tramp-message'.
8721
8722 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8723 <file-notify-rm-watch, set-visited-file-modtime>:
8724 <verify-visited-file-modtime>: Add handler.
8725 (tramp-smb-call-winexe): Do not bind `default-directory'.
8726
8727 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8728
8729 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8730
8731 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8732
8733 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8734 use it.
8735 (log-view-diff-changeset): Same.
8736 (log-view-diff-common): Call backend command `previous-revision'
8737 to find out the previous revision, in both cases. Swap the
8738 variables `to' and `fr', so that `fr' usually refers to the
8739 earlier revision (Bug#14989).
8740
8741 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8742
8743 * ibuf-ext.el (ibuffer-filter-by-filename):
8744 Make it work with dired buffers too.
8745
8746 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8747
8748 * emacs-lisp/re-builder.el (reb-color-display-p):
8749 * files.el (save-buffers-kill-terminal):
8750 * net/browse-url.el (browse-url):
8751 * server.el (server-save-buffers-kill-terminal):
8752 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8753 Prefer nil to selected-frame for the first arg of frame-parameter.
8754
8755 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8756
8757 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8758
8759 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8760
8761 * minibuffer.el (completion--twq-all): Try and preserve each
8762 completion's case choice (bug#14907).
8763
8764 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8765
8766 * net/network-stream.el (open-network-stream): Mention the new
8767 :nogreeting parameter.
8768 (network-stream-open-starttls): Use the :nogreeting parameter
8769 (bug#14938).
8770
8771 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8772
8773 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8774 more natural than popping.
8775
8776 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8777 (shr-urlify): Highlight under mouse.
8778
8779 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8780
8781 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8782
8783 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8784
8785 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8786 buffer for output.
8787
8788 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8789 point-min==1. Fix search string. Fix parentheses missing.
8790
8791 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8792 assume point-min==1. Fix search string. Fix parentheses missing.
8793
8794 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8795
8796 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8797 buffer for output.
8798
8799 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8800
8801 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8802 initial frame is minibuffer-less. (Bug#14841)
8803
8804 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8805
8806 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8807 option.
8808
8809 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8810 (tramp-maybe-open-connection): Use it.
8811
8812 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8813
8814 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8815 minimal set of parameters passed when creating a frame, because
8816 the minibuffer status of a frame cannot be changed later.
8817
8818 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8819
8820 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8821 replace-regexp-in-string and inadvertent omissions in previous change.
8822 (todo-filter-items): Ensure only file names are comma-separated in
8823 name of filtered items buffer.
8824
8825 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8826
8827 * desktop.el: Optionally force offscreen frames back onscreen.
8828 (desktop-restoring-reuses-frames): New option.
8829 (desktop--compute-pos, desktop--move-onscreen): New functions.
8830 (desktop--make-frame): Use desktop--move-onscreen.
8831
8832 2013-07-27 Alan Mackenzie <acm@muc.de>
8833
8834 Fontify a Java generic method as a function.
8835 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8836 value to t.
8837
8838 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8839
8840 * calendar/todo-mode.el: Add command to rename todo files.
8841 (todo-rename-file): New command.
8842 (todo-key-bindings-t): Add key binding for it. Change the
8843 bindings of todo-filter-regexp-items(-multifile) to use `x'
8844 instead of `r', since the latter is better suited to the new
8845 renaming command.
8846
8847 2013-07-27 Alan Mackenzie <acm@muc.de>
8848
8849 Make Java try-with-resources statement parse properly.
8850 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8851 (c-block-stmt-1-2-key): New language constants/variables.
8852 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8853 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8854 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8855 with c-block-stmt-1-2-key.
8856
8857 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8858
8859 * desktop.el (desktop--make-frame): Apply most frame parameters after
8860 creating the frame to force (partially or totally) offscreen frames to
8861 be restored as such.
8862
8863 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8864
8865 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8866 (Bug#14948)
8867
8868 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8871 `base' arg of backtrace-frame.
8872
8873 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8874
8875 * simple.el (list-processes): Doc fix.
8876
8877 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8878
8879 * desktop.el (desktop--select-frame):
8880 Try harder to reuse existing frames.
8881
8882 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8885 (edebug-eval): Use backtrace-eval.
8886 (edebug--display, edebug--recursive-edit): Don't let-bind the
8887 edebug-outer-* vars that keep track of variables we locally let-bind.
8888 (edebug-outside-excursion): Don't restore outside values of locally
8889 let-bound vars.
8890 (edebug--display): Use user-error.
8891 (cl-lexical-debug, cl-debug-env): Remove.
8892
8893 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8894
8895 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8896 are restored to be sure that they are visible before deleting any
8897 remaining ones.
8898
8899 2013-07-26 Matthias Meulien <orontee@gmail.com>
8900
8901 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8902 vc-print-root-log. (Bug#14948)
8903
8904 2013-07-26 Richard Stallman <rms@gnu.org>
8905
8906 Add aliases for encrypting mail.
8907 * epa.el (epa-mail-aliases): New option.
8908 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8909 Bind inhibit-read-only so read-only text doesn't ruin everything.
8910 (epa-mail-default-recipients): New subroutine broken out.
8911 Handle epa-mail-aliases.
8912
8913 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 Add support for lexical variables to the debugger's `e' command.
8916 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8917 vars, except for debugger-outer-match-data.
8918 (debugger-frame-number): Move check for "on a function call" from
8919 callers into it. Add `skip-base' argument.
8920 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8921 (debugger-env-macro): Only reset the state stored in non-variables,
8922 i.e. current-buffer and match-data.
8923 (debugger-eval-expression): Rewrite using backtrace-eval.
8924 * subr.el (internal--called-interactively-p--get-frame): Remove.
8925 (called-interactively-p):
8926 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8927 `base' arg of backtrace-frame instead.
8928
8929 2013-07-26 Glenn Morris <rgm@gnu.org>
8930
8931 * align.el (align-regexp): Doc fix. (Bug#14857)
8932 (align-region): Explicit error if subexpression missing/does not match.
8933
8934 * simple.el (global-visual-line-mode):
8935 Do not duplicate the mode lighter. (Bug#14858)
8936
8937 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8938
8939 * window.el (display-buffer): In display-buffer bind
8940 split-window-keep-point to t, bug#14829.
8941
8942 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8943
8944 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8945 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8946 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8947 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8948 Change accordingly.
8949 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8950 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8951
8952 2013-07-25 Glenn Morris <rgm@gnu.org>
8953
8954 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8955
8956 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8957
8958 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8959 parameter to modify-frame-parameters if the value has not changed;
8960 this is a workaround for bug#14949.
8961 (desktop--make-frame): On cl-delete-if call, check parameter name,
8962 not full parameter.
8963
8964 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8965
8966 * vc/vc.el (vc-ignore): New function.
8967
8968 * vc/vc-svn.el (vc-svn-ignore): New function.
8969
8970 * vc/vc-hg.el (vc-hg-ignore): New function.
8971
8972 * vc/vc-git.el (vc-git-ignore): New function.
8973
8974 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8975 (vc-dir-ignore): New function.
8976
8977 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8978 (cvs-append-to-ignore): Move here from pcvs.el.
8979
8980 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8981
8982 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8983
8984 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8985
8986 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8987 (desktop-restore-frames): Warn when deleting an existing frame failed.
8988
8989 2013-07-24 Glenn Morris <rgm@gnu.org>
8990
8991 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8992
8993 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8994
8995 * filenotify.el (file-notify-supported-p):
8996 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8997 Remove functions.
8998
8999 * autorevert.el (auto-revert-use-notify)
9000 (auto-revert-notify-add-watch):
9001 * net/tramp.el (tramp-file-name-for-operation):
9002 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9003 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9004 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9005 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9006 Remove `file-notify-supported-p' entry.
9007
9008 2013-07-24 Glenn Morris <rgm@gnu.org>
9009
9010 * printing.el: Replace all uses of deleted ps-windows-system,
9011 ps-lp-system, ps-flatten-list with lpr- versions.
9012
9013 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9016 checked with memq (bug#14935).
9017
9018 * files.el (revert-buffer-function): Use a non-nil default.
9019 (revert-buffer-preserve-modes): Declare var to
9020 provide access to the `preserve-modes' argument.
9021 (revert-buffer): Let-bind it.
9022 (revert-buffer--default): New function, extracted from revert-buffer.
9023
9024 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * lpr.el: Signal print errors more prominently.
9027 (print-region-function): Don't default to nil.
9028 (lpr-print-region): New function, extracted from print-region-1.
9029 Check lpr's return value and signal an error in case of problem.
9030 (print-region-1): Use it.
9031 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9032 versions instead.
9033 (ps-printer-name): Default to nil.
9034 (ps-printer-name-option): Default to lpr-printer-switch.
9035 (ps-print-region-function): Don't default to nil.
9036 (ps-postscript-code-directory): Simplify default.
9037 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9038 (ps-string-list, ps-eval-switch, ps-flatten-list)
9039 (ps-flatten-list-1): Remove.
9040 (ps-multibyte-buffer): Avoid setq.
9041 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9042 (print-region-function, ps-print-region-function): Don't set them here.
9043
9044 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9045
9046 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9047 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9048 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9049 (ido-decorations): Doc fix.
9050
9051 * ansi-color.el: Fix old URL.
9052
9053 2013-07-23 Michael R. Mauger <michael@mauger.com>
9054
9055 * progmodes/sql.el: Version 3.3
9056 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9057 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9058 (sql-interactive-remove-continuation-prompt): Rewrite, use
9059 functions above. Fix continuation prompt and complete output line
9060 handling.
9061 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9062 redirected output buffer.
9063 (sql-mode): Restore deleted code (Bug#13591).
9064
9065 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9066
9067 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9068
9069 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9070
9071 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9072
9073 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9074 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9075 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9076
9077 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9078
9079 * desktop.el (desktop-clear): Simplify; remove useless checks
9080 against invalid buffer names.
9081 (desktop-list*): Use cl-list*.
9082 (desktop-buffer-info, desktop-create-buffer): Simplify.
9083
9084 2013-07-23 Leo Liu <sdl.web@gmail.com>
9085
9086 * bookmark.el (bookmark-make-record): Restore NAME as a default
9087 value. (Bug#14933)
9088
9089 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9092 extracted from autoload--insert-text.
9093 (autoload--insert-text): Remove.
9094 (autoload--print-cookie-text): New function, extracted from
9095 autoload--insert-cookie-text.
9096 (autoload--insert-cookie-text): Remove.
9097 (autoload-generate-file-autoloads): Adjust calls accordingly.
9098
9099 * winner.el (winner-hook-installed-p): Remove.
9100 (winner-mode): Simplify accordingly.
9101
9102 * subr.el (add-to-list): Fix compiler-macro when `append' is
9103 not constant. Don't use `cl-member' for the base case.
9104
9105 * progmodes/subword.el: Fix boundary case (bug#13758).
9106 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9107 own group.
9108 (subword-backward-regexp): Make it a constant.
9109 (subword-forward-internal): Don't treat a trailing capital as the
9110 beginning of a word.
9111
9112 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9113
9114 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9115 global value of tabulated-list-revert-hook (bug#14930).
9116
9117 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9118
9119 * desktop.el: Require 'cl-lib.
9120 (desktop-before-saving-frames-functions): New hook.
9121 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9122 for frames being saved. Rename from desktop--save-minibuffer-frames.
9123 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9124 Do not save frames with non-nil `desktop-dont-save' parameter.
9125 Filter out deleted frames.
9126 (desktop--find-frame): Use cl-find-if.
9127 (desktop--select-frame): Use cl-(first|second|third) to access values
9128 of desktop-mini.
9129 (desktop--make-frame): Use cl-delete-if.
9130 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9131 (desktop-restore-frames): Use cl-(first|second|third) to access values
9132 of desktop-mini. Look for visible frame at the end, not while
9133 restoring frames.
9134
9135 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9136 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9137 Use string-match-p, looking-at-p (bug#14927).
9138
9139 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9140
9141 * desktop.el (desktop-saved-frame-states):
9142 Rename from desktop--saved-states; all users changed.
9143 (desktop-save-frames): Rename from desktop--save-frames.
9144 Do not save state to desktop file.
9145 (desktop-save): Save desktop-saved-frame-states to desktop file
9146 and reset to nil.
9147 (desktop-restoring-frames-p): New function.
9148 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9149 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9150 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9151
9152 * desktop.el: Correctly restore iconified frames.
9153 (desktop--filter-iconified-position): New function.
9154 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9155
9156 2013-07-20 Glenn Morris <rgm@gnu.org>
9157
9158 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9159 Let `message' do the formatting.
9160 (def-gdb-preempt-display-buffer): Add explicit format.
9161
9162 * image-dired.el (image-dired-track-original-file):
9163 Use with-current-buffer.
9164 (image-dired-track-thumbnail): Use with-current-buffer.
9165 Avoid changing point of wrong window.
9166
9167 * image-dired.el (image-dired-track-original-file):
9168 Avoid changing point of wrong window. (Bug#14909)
9169
9170 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9171
9172 * progmodes/gdb-mi.el (gdb-done-or-error):
9173 Guard against "%" in gdb output. (Bug#14127)
9174
9175 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9176
9177 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9178 (Bug#14826)
9179
9180 * international/mule.el (coding-system-iso-2022-flags): Fix last
9181 change.
9182
9183 2013-07-20 Kenichi Handa <handa@gnu.org>
9184
9185 * international/mule.el (coding-system-iso-2022-flags):
9186 Add `8-bit-level-4'. (Bug#8522)
9187
9188 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9189
9190 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9191 (bug#14815).
9192
9193 * net/eww.el (eww-process-text-input): Allow inputting when the
9194 point is at the start of the line, as the properties aren't
9195 front-sticky.
9196
9197 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9198 degenerate widths.
9199
9200 2013-07-19 Richard Stallman <rms@gnu.org>
9201
9202 * epa.el (epa-popup-info-window): Doc fix.
9203
9204 * subr.el (split-string): New arg TRIM.
9205
9206 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9207
9208 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9209 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9210
9211 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9212
9213 * filenotify.el (file-notify--library): Rename from
9214 `file-notify-support'. Do not autoload. Adapt all uses.
9215 (file-notify-supported-p): New defun.
9216
9217 * autorevert.el (auto-revert-use-notify):
9218 Use `file-notify-supported-p' instead of `file-notify-support'.
9219 Adapt docstring.
9220 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9221
9222 * net/tramp.el (tramp-file-name-for-operation):
9223 Add `file-notify-supported-p'.
9224
9225 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9226 New defun.
9227 (tramp-sh-file-name-handler-alist): Add it as handler for
9228 `file-notify-supported-p '.
9229
9230 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9231 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9232 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9233 Add `ignore' as handler for `file-notify-*' functions.
9234
9235 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9236
9237 * simple.el (line-move-partial, line-move): Don't start vscroll or
9238 scroll-up if the current line is not taller than the window.
9239 (Bug#14881)
9240
9241 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9242
9243 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9244 highlight question marks in the method names as strings.
9245 (ruby-block-beg-keywords): Inline.
9246 (ruby-font-lock-keyword-beg-re): Extract from
9247 `ruby-font-lock-keywords'.
9248
9249 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9250
9251 * frame.el (blink-cursor-blinks): New defcustom.
9252 (blink-cursor-blinks-done): New defvar.
9253 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9254 (blink-cursor-timer-function): Check if number of blinks has been
9255 done on X and NS.
9256 (blink-cursor-suspend, blink-cursor-check): New defuns.
9257
9258 2013-07-15 Glenn Morris <rgm@gnu.org>
9259
9260 * edmacro.el (edmacro-format-keys): Fix previous change.
9261
9262 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9263
9264 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9265 The hack didn't work outside English locales anyway.
9266
9267 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9268
9269 * simple.el (define-alternatives): Rename from alternatives-define,
9270 per RMS' suggestion.
9271
9272 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9273
9274 * desktop.el (desktop-restore-frames): Change default to t.
9275 (desktop-restore-in-current-display): Now offer more options.
9276 (desktop-restoring-reuses-frames): New customization option.
9277 (desktop--saved-states): Doc fix.
9278 (desktop-filter-parameters-alist): New variable, renamed and expanded
9279 from desktop--excluded-frame-parameters.
9280 (desktop--target-display): New variable.
9281 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9282 (desktop--filter-tty*, desktop--filter-*-color)
9283 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9284 (desktop--filter-save-desktop-parm)
9285 (desktop-restore-in-original-display-p): New functions.
9286 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9287 (desktop--save-minibuffer-frames): New function, inspired by a similar
9288 function from Martin Rudalics.
9289 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9290 (desktop--restore-in-this-display-p): Remove.
9291 (desktop--find-frame): Rename from desktop--find-frame-in-display
9292 and add predicate argument.
9293 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9294 (desktop--reuse-list): New variable.
9295 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9296 New functions.
9297 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9298
9299 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9300
9301 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9302
9303 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9304
9305 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9306 Highlight conversion methods on Kernel.
9307
9308 2013-07-13 Alan Mackenzie <acm@muc.de>
9309
9310 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9311 and comment it out. This out-commenting enables certain C++
9312 declarations to be parsed correctly.
9313
9314 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9315
9316 * international/mule.el (define-coding-system): Doc fix.
9317
9318 * simple.el (default-font-height): Don't call font-info if the
9319 frame's default font didn't change since the frame was created.
9320 (Bug#14838)
9321
9322 2013-07-13 Leo Liu <sdl.web@gmail.com>
9323
9324 * ido.el (ido-read-file-name): Guard against non-symbol value.
9325
9326 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9327
9328 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9329 in nested defuns.
9330
9331 2013-07-13 Leo Liu <sdl.web@gmail.com>
9332
9333 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9334 ido-set-matches call. (Bug#6852)
9335
9336 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9337
9338 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9339 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9340 Ruby 2.0.
9341 (ruby-font-lock-keywords): Distinguish calls to functions with
9342 module-like names from module references. Highlight character
9343 literals.
9344
9345 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9346
9347 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9348 (gdb-send): Handle continued commands. (Bug#14847)
9349
9350 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9351
9352 * desktop.el (desktop--v2s): Remove unused local variable.
9353 (desktop-save-buffer): Make defvar-local; adjust docstring.
9354 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9355 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9356
9357 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9358
9359 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9360
9361 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9362
9363 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9364 (Bug#14842)
9365
9366 2013-07-12 Glenn Morris <rgm@gnu.org>
9367
9368 * doc-view.el: Require cl-lib at runtime too.
9369 (doc-view-remove-if): Remove.
9370 (doc-view-search-next-match, doc-view-search-previous-match):
9371 Use cl-remove-if.
9372
9373 * edmacro.el: Require cl-lib at runtime too.
9374 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9375 (edmacro-mismatch, edmacro-subseq): Remove.
9376
9377 * shadowfile.el: Require cl-lib.
9378 (shadow-remove-if): Remove.
9379 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9380 Use cl-remove-if.
9381
9382 * wid-edit.el: Require cl-lib.
9383 (widget-choose): Use cl-remove-if.
9384 (widget-remove-if): Remove.
9385
9386 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9387 (ebrowse-delete-if-not): Remove.
9388 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9389 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9390 Use cl-delete-if-not.
9391
9392 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9393
9394 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9395 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9396
9397 2013-07-12 Leo Liu <sdl.web@gmail.com>
9398
9399 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9400
9401 2013-07-11 Glenn Morris <rgm@gnu.org>
9402
9403 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9404 (edebug-gensym-index, edebug-gensym):
9405 Remove reimplementation of cl-gensym.
9406 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9407
9408 * thumbs.el: Require cl-lib at run-time too.
9409 (thumbs-gensym-counter, thumbs-gensym):
9410 Remove reimplementation of cl-gensym.
9411 (thumbs-temp-file): Use cl-gensym.
9412
9413 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9414 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9415 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9416 (ert--union, ert--gensym-counter, ert--gensym-counter)
9417 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9418 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9419 (ert-make-test-unbound, ert--expand-should-1)
9420 (ert--expand-should, ert--should-error-handle-error)
9421 (should-error, ert--explain-equal-rec)
9422 (ert--plist-difference-explanation, ert-select-tests)
9423 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9424 Use cl-lib functions rather than reimplementations.
9425
9426 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9427
9428 * net/tramp.el (tramp-methods): Extend docstring.
9429 (tramp-connection-timeout): New defcustom.
9430 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9431 (with-tramp-progress-reporter): Simplify.
9432 (tramp-process-actions): Improve messages.
9433
9434 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9435 * net/tramp-sh.el (tramp-maybe-open-connection):
9436 Use `tramp-connection-timeout'.
9437 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9438 (Bug#14808)
9439
9440 2013-07-11 Leo Liu <sdl.web@gmail.com>
9441
9442 * ido.el (ido-read-file-name): Conform to the requirements of
9443 read-file-name. (Bug#11861)
9444 (ido-read-directory-name): Conform to the requirements of
9445 read-directory-name.
9446
9447 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9448
9449 * subr.el (delay-warning): New function.
9450
9451 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9452
9453 * simple.el (default-line-height): New function.
9454 (line-move-partial, line-move): Use it instead of computing the
9455 line height inline.
9456 (line-move-partial): Always compute ROWH. If the last line is
9457 partially-visible, but its text is completely visible, allow
9458 cursor to enter such a partially-visible line.
9459
9460 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9461
9462 Improve error messages. (Bug#14808)
9463
9464 * net/tramp.el (tramp-current-connection): New defvar, moved from
9465 tramp-sh.el.
9466 (tramp-message-show-progress-reporter-message): Remove, not
9467 needed anymore.
9468 (tramp-error-with-buffer): Show message in minibuffer.
9469 Discard input before waiting. Reset connection timestamp.
9470 (with-tramp-progress-reporter): Improve messages.
9471 (tramp-process-actions): Use progress reporter. Delete process in
9472 case of error. Improve messages.
9473
9474 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9475 Call `tramp-error-with-buffer' with vector and buffer.
9476 (tramp-current-connection): Remove.
9477 (tramp-maybe-open-connection): The car of
9478 `tramp-current-connection' are the first 3 slots of the vector.
9479
9480 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9481
9482 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9483 inside continued strings.
9484
9485 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9486
9487 Timestamp fixes for undo (Bug#14824).
9488 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9489
9490 2013-07-10 Leo Liu <sdl.web@gmail.com>
9491
9492 * files.el (require-final-newline): Allow safe local value.
9493 (Bug#14834)
9494
9495 2013-07-09 Leo Liu <sdl.web@gmail.com>
9496
9497 * ido.el (ido-read-directory-name): Handle fallback.
9498 (ido-read-file-name): Update DIR to ido-current-directory.
9499 (Bug#1516)
9500 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9501
9502 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9503
9504 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9505 "autoload". Remove "warn lower camel case" section, previously
9506 commented out. Highlight negation char. Do not highlight the
9507 target in singleton method definitions.
9508
9509 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * faces.el (tty-setup-hook): Declare the hook.
9512
9513 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9514 and detect when a guard/pred depends on local vars (bug#14773).
9515 (pcase--u1): Adjust caller.
9516
9517 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9518
9519 * simple.el (line-move-partial, line-move): Account for
9520 line-spacing.
9521 (line-move-partial): Avoid setting vscroll when the last
9522 partially-visible line in window is of default height.
9523
9524 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9525
9526 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9527 been used a while.
9528
9529 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9530
9531 * subr.el (read-quoted-char): Remove unused local variable `char'.
9532
9533 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9534
9535 * ediff.el (ediff-version): Version update.
9536 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9537 (ediff-merge-with-ancestor-command, ediff-directories-command)
9538 (ediff-directories3-command, ediff-merge-directories-command)
9539 (ediff-merge-directories-with-ancestor-command): New functions.
9540 All are command-line interfaces to ediff: to facilitate calling
9541 Emacs with the appropriate ediff functions invoked.
9542
9543 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9544 (viper-save-kill-buffer): Check if buffer is modified.
9545
9546 * viper.el (viper-version): Version update.
9547 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9548
9549 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9552 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9553 (viper-intercept-ESC-key): Simplify.
9554 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9555 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9556 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9557 (viper-setup-ESC-to-escape): New functions.
9558 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9559 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9560
9561 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9562
9563 * simple.el (default-font-height, window-screen-lines):
9564 New functions.
9565 (line-move, line-move-partial): Use them instead of
9566 frame-char-height and window-text-height. This makes scrolling
9567 text smoother when the buffer's default face uses a font that is
9568 different from the frame's default font.
9569
9570 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9571
9572 * files.el (write-file): Do not display confirm dialog for NS,
9573 it does its own dialog, which can't be canceled (Bug#14578).
9574
9575 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9576
9577 * simple.el (line-move-partial): Adjust the row returned by
9578 posn-at-point for the current window-vscroll. (Bug#14567)
9579
9580 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9581
9582 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9583 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9584 spaces.
9585
9586 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9587
9588 * window.el (window-state-put-stale-windows): New variable.
9589 (window--state-put-2): Save list of windows without matching buffer.
9590 (window-state-put): Remove "bufferless" windows if possible.
9591
9592 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9593
9594 * simple.el (alternatives-define): Remove leftover :group keyword.
9595 Tweak docstring.
9596
9597 2013-07-06 Leo Liu <sdl.web@gmail.com>
9598
9599 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9600 (ido-enable-virtual-buffers): New variable.
9601 (ido-buffer-internal, ido-toggle-virtual-buffers)
9602 (ido-make-buffer-list): Use it.
9603 (ido-exhibit): Support turning on and off virtual buffers
9604 automatically.
9605
9606 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9607
9608 * simple.el (alternatives-define): New macro.
9609
9610 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * subr.el (read-quoted-char): Use read-key.
9613 (sit-for): Let read-event decode tty input (bug#14782).
9614
9615 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9616
9617 * calendar/todo-mode.el: Add handling of file deletion, both by
9618 mode command and externally. Fix various related bugs.
9619 Clarify Commentary and improve some documentation strings and code.
9620 (todo-delete-file): New command.
9621 (todo-check-file): New function.
9622 (todo-show): Handle external deletion of the file we're trying to
9623 show (bug#14688). Replace called-interactively-p by an optional
9624 prefix argument to avoid problematic interaction with catch form
9625 when byte compiled (bug#14702).
9626 (todo-quit): Handle external deletion of the archive's todo file.
9627 Make sure the buffer that was visiting the archive file is still
9628 live before trying to bury it.
9629 (todo-category-completions): Handle external deletion of any
9630 category completion files.
9631 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9632 of todo files, in case of external deletion.
9633 (todo-add-file): Replace unnecessary setq by let-binding.
9634 (todo-find-archive): Check whether there are any archives.
9635 Replace unnecessary setq by let-binding.
9636 (todo-archive-done-item): Use find-file-noselect to get the
9637 archive buffer whether or not the archive already exists.
9638 Remove superfluous code. Use file size instead of buffer-file-name to
9639 check if the archive is new; if it is, update list of archives.
9640 (todo-default-todo-file): Allow nil to be a valid value for when
9641 there are no todo files.
9642 (todo-reevaluate-default-file-defcustom): Use corrected definition
9643 of todo-default-todo-file.
9644 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9645 (todo-delete-category, todo-show-categories-table)
9646 (todo-category-number): Clarify comment.
9647 (todo-filter-items): Clarify documentation string.
9648 (todo-show-current-file, todo-display-as-todo-file)
9649 (todo-reset-and-enable-done-separator): Tweak documentation string.
9650 (todo-done-separator): Make separator length window-width, since
9651 bug#2749 is now fixed.
9652
9653 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9654
9655 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9656 Support both "gvfs-monitor-dir" and "inotifywait".
9657 (tramp-sh-file-inotifywait-process-filter): Rename from
9658 `tramp-sh-file-notify-process-filter'.
9659 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9660 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9661
9662 2013-07-05 Leo Liu <sdl.web@gmail.com>
9663
9664 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9665
9666 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9667
9668 * frame.el (display-pixel-height, display-pixel-width)
9669 (display-mm-height, display-mm-width): Mention behavior on
9670 multi-monitor setups in docstrings.
9671 (w32-display-monitor-attributes-list): Declare function.
9672 (display-monitor-attributes-list): Use it.
9673
9674 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9675
9676 * filenotify.el: New package.
9677
9678 * autorevert.el (top): Require filenotify.el.
9679 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9680 instead.
9681 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9682 (auto-revert-notify-handler): Use `file-notify-*' functions.
9683
9684 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9685
9686 * net/tramp.el (tramp-file-name-for-operation):
9687 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9688
9689 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9690 for `file-notify-add-watch' and `file-notify-rm-watch'.
9691 (tramp-process-sentinel): Improve trace.
9692 (tramp-sh-handle-file-notify-add-watch)
9693 (tramp-sh-file-notify-process-filter)
9694 (tramp-sh-handle-file-notify-rm-watch)
9695 (tramp-get-remote-inotifywait): New defuns.
9696
9697 2013-07-03 Juri Linkov <juri@jurta.org>
9698
9699 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9700 call of `occur-read-primary-args' to interactive spec.
9701
9702 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9703 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9704
9705 2013-07-03 Matthias Meulien <orontee@gmail.com>
9706
9707 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9708 `Buffer-menu-multi-occur'. Add it to the menu.
9709 (Buffer-menu-mode): Document it in docstring.
9710 (Buffer-menu-multi-occur): New command. (Bug#14673)
9711
9712 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9713
9714 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9715 keywords and built-ins.
9716
9717 2013-07-03 Glenn Morris <rgm@gnu.org>
9718
9719 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9720
9721 Make info-xref checks case-sensitive by default
9722 * info.el (Info-find-node, Info-find-in-tag-table)
9723 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9724 Add option for exact case matching of nodes.
9725 * info-xref.el (info-xref): New custom group.
9726 (info-xref-case-fold): New option.
9727 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9728
9729 2013-07-03 Leo Liu <sdl.web@gmail.com>
9730
9731 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9732
9733 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9734
9735 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9736 middle of block statement initially, lower the depth. Remove
9737 FIXME comment, not longer valid. Remove middle of block statement
9738 detection, no need to do that anymore since we've been using
9739 `ruby-parse-region' here.
9740
9741 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9742
9743 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9744
9745 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9746
9747 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9748
9749 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9750
9751 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9752 (desktop-restore-in-current-display): New customization option.
9753 (desktop--excluded-frame-parameters): Add `font'.
9754 (desktop--save-frames): Rename from desktop--save-windows.
9755 (desktop--restore-in-this-display-p): New function.
9756 (desktop--make-full-frame): Remove unwanted width/height from
9757 full(width|height) frames.
9758 (desktop--restore-frames): Rename from desktop--restore-windows.
9759 Obey desktop-restore-current-display. Do not delete old frames or
9760 select a new frame unless we were able to restore at least one frame.
9761
9762 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9763
9764 * files.el (find-file-noselect): Simplify conditional expression.
9765
9766 * textmodes/remember.el (remember-append-to-file):
9767 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9768
9769 Add `remember-notes' function to store random notes across Emacs
9770 restarts.
9771 * textmodes/remember.el (remember-data-file): Add :set callback to
9772 affect notes buffer (if any).
9773 (remember-notes): New command.
9774 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9775 New defcustoms for the `remember-notes' function.
9776 (remember-notes-save-and-bury-buffer): New command.
9777 (remember-notes-mode-map): New variable.
9778 (remember-mode): New minor mode.
9779 (remember-notes--kill-buffer-query): New function.
9780 * startup.el (initial-buffer-choice): Add notes to custom type.
9781
9782 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9783
9784 * bindings.el (right-char, left-char): Don't call sit-for, this is
9785 no longer needed. Use arithmetic comparison only for numerical
9786 arguments.
9787
9788 * international/mule-cmds.el (select-safe-coding-system):
9789 Handle the case of FROM being a string correctly. (Bug#14755)
9790
9791 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9792
9793 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9794 progression on degenerate tables.
9795 (shr-rescale-image): ImageMagick animated images currently don't work.
9796
9797 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9798
9799 Some fixes and improvements for desktop frame restoration.
9800 It is still experimental and disabled by default.
9801 * desktop.el (desktop--save-windows): Put the selected frame at
9802 the head of the list.
9803 (desktop--make-full-frame): New function.
9804 (desktop--restore-windows): Try to re-select the frame that was
9805 selected upon saving. Do not abort if some frames fail to restore,
9806 just show an error message and continue. Set up maximized frames
9807 so they have default non-maximized dimensions.
9808
9809 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9810
9811 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9812 Don't start heredoc inside a string or comment.
9813
9814 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9815
9816 * bindings.el (visual-order-cursor-movement): New defcustom.
9817 (right-char, left-char): Provide visual-order cursor motion by
9818 calling move-point-visually. Update the doc strings.
9819
9820 2013-06-28 Kenichi Handa <handa@gnu.org>
9821
9822 * international/mule.el (define-coding-system): New coding system
9823 properties :inhibit-null-byte-detection,
9824 :inhibit-iso-escape-detection, and :prefer-utf-8.
9825 (set-buffer-file-coding-system): If :charset-list property of
9826 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9827 appropriate for setting.
9828
9829 * international/mule-cmds.el (select-safe-coding-system):
9830 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9831 multibyte characters, return utf-8 (or one of its siblings).
9832
9833 * international/mule-conf.el (prefer-utf-8): New coding system.
9834 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9835 files.
9836
9837 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9838
9839 * net/shr.el (shr-render-region): New function.
9840
9841 * net/eww.el: Autoload `eww-browse-url'.
9842
9843 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9844
9845 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9846 Adapt to `package-desc-version' being a list.
9847 Use `package--ac-desc-version' to retrieve version from a package
9848 archive element.
9849
9850 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9851
9852 New experimental feature to save&restore window and frame setup.
9853 * desktop.el (desktop-save-windows): New defcustom.
9854 (desktop--saved-states): New var.
9855 (desktop--excluded-frame-parameters): New defconst.
9856 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9857 (desktop--restore-windows, desktop--save-windows): New functions.
9858 (desktop-save): Call `desktop--save-windows'.
9859 (desktop-read): Call `desktop--restore-windows'.
9860
9861 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9862
9863 * net/shr.el (add-face-text-property): Remove compat definition.
9864
9865 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9866
9867 * info.el (Info-try-follow-nearest-node): Move search for footnote
9868 above search for node name to prevent missing a footnote (bug#14717).
9869
9870 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9871
9872 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9873
9874 2013-06-27 Leo Liu <sdl.web@gmail.com>
9875
9876 * net/eww.el (eww-read-bookmarks): Check file size.
9877
9878 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9881 advice--pending if newdef is nil or an autoload (bug#13820).
9882 (advice-mapc): New function.
9883
9884 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9885
9886 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9887 probably.
9888 (eww-mode-map): Add a menu bar.
9889 (eww-add-bookmark): New command.
9890 (eww-bookmark-mode): New mode and commands.
9891 (eww-add-bookmark): Remove newlines from the title.
9892 (eww-bookmark-browse): Don't bug out if it's the only window.
9893
9894 2013-06-26 Glenn Morris <rgm@gnu.org>
9895
9896 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9897 (hfy-size): Handle ttys. (Bug#14668)
9898
9899 * info-xref.el: Update for Texinfo 5 change in *note format.
9900 (info-xref-node-re, info-xref-note-re): New constants.
9901 (info-xref-check-buffer): Use info-xref-note-re.
9902
9903 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9906
9907 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9908 nil terminate the loop (bug#14718).
9909
9910 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9911
9912 * net/eww.el: Rework history traversal. When going forward/back,
9913 put these actions into the history, too, so that they can be
9914 replayed.
9915 (eww-render): Move the history reset to the correct buffer.
9916
9917 2013-06-25 Juri Linkov <juri@jurta.org>
9918
9919 * files-x.el (modify-dir-local-variable): Change the header comment
9920 in the file with directory local variables. (Bug#14692)
9921
9922 * files-x.el (read-file-local-variable-value): Add `default'.
9923 (Bug#14710)
9924
9925 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9926
9927 * net/eww.el (eww-make-unique-file-name): Create a unique file
9928 name before saving to entering `y' accidentally asynchronously.
9929
9930 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9931
9932 * net/eww.el (eww-download): New command and keystroke.
9933
9934 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9935
9936 * net/eww.el (eww-copy-page-url): Change name of command.
9937
9938 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9939 be more consistent with Info and dired.
9940
9941 * net/eww.el (eww-mode-map): Ditto.
9942
9943 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9946 packages from archives.
9947 (package-archive-contents): Change format; include obsolete packages.
9948 (package-desc): Use `dir' to mark builtin packages.
9949 (package--from-builtin): Set the `dir' field to `builtin'.
9950 (generated-autoload-file, version-control): Declare.
9951 (package-compute-transaction): Change first arg and return value to be
9952 lists of package-descs. Adjust to new package-archive-contents format.
9953 (package--add-to-archive-contents): Adjust to new
9954 package-archive-contents format.
9955 (package-download-transaction): Arg is now a list of package-descs.
9956 (package-install): If `pkg' is a package name, pass it as
9957 a requirement, so it is subject to the usual (e.g. disabled) checks.
9958 (describe-package): Accept package-desc as well.
9959 (describe-package-1): Describe a specific package-desc. Add links to
9960 other package-descs for the same package name.
9961 (package-menu-describe-package): Pass the actual package-desc.
9962 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9963 works correctly.
9964 (package-desc-status): New function.
9965 (package-menu--refresh): New function, extracted
9966 from package-menu--generate.
9967 (package-menu--generate): Use it.
9968 (package-delete): Update package-alist.
9969 (package-menu-execute): Don't call package-initialize.
9970
9971 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9972 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9973 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9974 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9975 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9976 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9977
9978 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9979
9980 * window.el (window--state-get-1): Workaround for bug#14527.
9981 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9982
9983 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9984
9985 * net/eww.el (eww-back-url): Implement the history by stashing all
9986 the data into a list.
9987 (eww-forward-url): Allow going forward in the history, too.
9988
9989 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9990
9991 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9992 for values and use read--expression for expressions (bug#14710).
9993 (read-file-local-variable): Avoid setq.
9994 (read-file-local-variable-mode): Use minor-mode-list.
9995
9996 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9997
9998 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9999 for DOI URLs.
10000
10001 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10002
10003 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10004 Update imenu-support when dialect changes.
10005
10006 2013-06-25 Leo Liu <sdl.web@gmail.com>
10007
10008 * ido.el (ido-read-internal): Allow forward slash on windows.
10009
10010 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10011
10012 * net/eww.el (eww): Start of strings is \\`, not ^.
10013
10014 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10015
10016 * net/shr.el (shr-browse-url): Fix interactive spec.
10017
10018 * net/eww.el (eww): Add a trailing slash to domain names.
10019
10020 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10021
10022 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10023
10024 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10025
10026 * net/shr.el (shr-browse-url): Use an external browser if given a
10027 prefix.
10028
10029 * net/eww.el (eww-external-browser): Move to shr.
10030
10031 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10032
10033 * net/eww.el (eww): Work more correctly for file: URLs.
10034 (eww-detect-charset): Allow quoted charsets.
10035 (eww-yank-page-url): New command and keystroke.
10036
10037 2013-06-24 Daiki Ueno <ueno@gnu.org>
10038
10039 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10040 file name of gpg executable.
10041 (epg-context-program): New function.
10042 (epg-context-home-directory): New function.
10043 (epg-context-set-program): New function.
10044 (epg-context-set-home-directory): New function.
10045 (epg--start): Use `epg-context-program' instead of
10046 'epg-gpg-program'.
10047 (epg--list-keys-1): Likewise.
10048
10049 2013-06-24 Leo Liu <sdl.web@gmail.com>
10050
10051 * ido.el (ido-read-internal): Fix bug#14620.
10052
10053 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10054
10055 * faces.el (face-documentation): Simplify.
10056 (read-face-attribute, tty-find-type, x-resolve-font-name):
10057 Use `string-match-p'.
10058 (list-faces-display): Use `string-match-p'. Simplify.
10059 (face-spec-recalc): Check face to avoid face alias loops.
10060 (read-color): Use `string-match-p' and non-capturing parenthesis.
10061
10062 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10063
10064 * net/shr.el (shr-rescale-image): Use the new
10065 :max-width/:max-height functionality.
10066
10067 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10068
10069 * net/eww.el (eww-search-prefix): New variable.
10070 (eww): Use it.
10071 (eww-external-browser): New variable.
10072 (eww-mode-map): New keystroke.
10073 (eww-browse-with-external-browser): New command.
10074
10075 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10076
10077 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10078
10079 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10080 Don't skip aligning the next header field when padding is 0;
10081 otherwise, field width is not respected unless the title is as
10082 wide as the field.
10083
10084 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * emacs-lisp/package.el (package-el-version): Remove.
10087 (package-process-define-package): Fix inf-loop.
10088 (package-install): Allow symbols as arguments again.
10089
10090 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10091
10092 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10093 add some more keyword-like methods.
10094 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10095
10096 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10097
10098 * bs.el (bs-buffer-show-mark): Make defvar-local.
10099 (bs-mode): Use setq-local.
10100
10101 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10102 (emacs-lock--try-unlocking): Make defvar-local.
10103
10104 2013-06-22 Glenn Morris <rgm@gnu.org>
10105
10106 * play/cookie1.el (cookie-apropos): Minor simplification.
10107
10108 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10109
10110 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10111
10112 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10113 `regexp-opt', it breaks the build during dumping.
10114
10115 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10116
10117 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10118 Highlight keyword-like methods on Kernel and Module with
10119 font-lock-builtin-face.
10120 (auto-mode-alist): Consolidate different entries into one regexp
10121 and add more *file-s.
10122
10123 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10124
10125 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10126
10127 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10128 (diary-entry): Use it in the action of this button type instead of
10129 diary-goto-entry.
10130
10131 * calendar/todo-mode.el: New version.
10132 (todo-add-category): Append new category to end of file and give
10133 it the highest number, instead of putting it at the beginning and
10134 giving it 0. Incorporate noninteractive functionality.
10135 (todo-forward-category): Adapt to 1-based category numbering.
10136 Allow skipping over archived categories.
10137 (todo-backward-category): Derive from todo-forward-category.
10138 (todo-backward-item, todo-forward-item): Make noninteractive and
10139 delegate interactive part to new commands. Make sensitive to done items.
10140 (todo-categories): Make value an alist of category names and
10141 vectors of item counts.
10142 (todo-category-beg): Make a defconst.
10143 (todo-category-number): Use 1 instead of 0 as initial value.
10144 (todo-category-select): Make sensitive to overlays, optional item
10145 highlighting and done items.
10146 (todo-delete-item): Make sensitive to overlays and marked and done items.
10147 (todo-edit-item): Make sensitive to overlays and editing of
10148 date/time header optional. Add format checks.
10149 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10150 no-op if point is not on an item. Advertise using todo-edit-quit.
10151 (todo-edit-mode): Make sensitive to new format, font-locking, and
10152 multiple todo files.
10153 (todo-insert-item, todo-insert-item-here): Derive from
10154 todo-basic-insert-item and extend functionality.
10155 (todo-item-end, todo-item-start): Make sensitive to done items.
10156 (todo-item-string): Don't return text properties. Restore point.
10157 (todo-jump-to-category): Make sensitive to multiple todo files and
10158 todo archives. Use extended category completion.
10159 (todo-lower-item, todo-raise-item): Rename to *-priority and
10160 derive from todo-set-item-priority.
10161 (todo-mode): Derive from special-mode. Make sensitive to new
10162 format, font-locking and multiple todo files. Make read-only.
10163 (todo-mode-map): Don't suppress digit keys, so they can supply
10164 prefix arguments. Add many new key bindings.
10165 (todo-prefix): Insert as an overlay instead of file text.
10166 Change semantics from diary date expression to purely visual mark.
10167 (todo-print): Rename to todo-print-buffer. Make buffer display
10168 features printable. Remove option to restrict number of items
10169 printed. Add option to print to file.
10170 (todo-print-function): Rename to todo-print-buffer-function.
10171 (todo-quit): Extend to handle exiting new todo modes.
10172 (todo-remove-item): Make sensitive to overlays.
10173 (todo-save): Extend to buffers of filtered items.
10174 (todo-show): Make sensitive to done items, multiple todo files and
10175 new todo modes. Offer to convert legacy todo file before creating
10176 first new todo file.
10177 (todo-show-priorities): Rename to todo-top-priorities.
10178 Change semantics of value 0.
10179 (todo-top-priorities): Rename to todo-filter-top-priorities,
10180 derive from todo-filter-items and extend functionality.
10181 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10182 and extend functionality to other types of filtered items.
10183 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10184 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10185 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10186 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10187 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10188 (todo-edit-mode-hook, todo-entry-prefix-function)
10189 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10190 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10191 (todo-initials, todo-insert-threshold, todo-item-string-start)
10192 (todo-line-string, todo-menu, todo-mode-hook)
10193 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10194 (todo-print-priorities, todo-remove-separator)
10195 (todo-save-top-priorities-too, todo-string-count-lines)
10196 (todo-string-multiline-p, todo-time-string-format)
10197 (todo-tmp-buffer-name): Remove.
10198 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10199 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10200 (todo-edit-category-diary-inclusion)
10201 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10202 (todo-edit-file, todo-edit-item-date-day)
10203 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10204 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10205 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10206 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10207 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10208 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10209 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10210 (todo-filter-top-priorities-multifile, todo-find-archive)
10211 (todo-find-filtered-items-file, todo-go-to-source-item)
10212 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10213 (todo-jump-to-archive-category, todo-lower-category)
10214 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10215 (todo-move-category, todo-move-item, todo-next-button)
10216 (todo-next-item, todo-padded-string, todo-powerset)
10217 (todo-previous-button, todo-previous-item)
10218 (todo-print-buffer-to-file, todo-raise-category)
10219 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10220 (todo-set-category-number, todo-set-item-priority)
10221 (todo-set-top-priorities-in-category)
10222 (todo-set-top-priorities-in-file, todo-show-categories-table)
10223 (todo-sort-categories-alphabetically-or-numerically)
10224 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10225 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10226 (todo-toggle-item-header, todo-toggle-item-highlighting)
10227 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10228 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10229 (todo-unarchive-items, todo-unmark-category): New commands.
10230 (todo-absolute-file-name, todo-add-to-buffer-list)
10231 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10232 (todo-basic-insert-item, todo-category-completions)
10233 (todo-category-number, todo-category-string-matcher-1)
10234 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10235 (todo-check-format, todo-clear-matches)
10236 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10237 (todo-current-category, todo-date-string-matcher)
10238 (todo-define-insertion-command, todo-diary-expired-matcher)
10239 (todo-diary-goto-entry, todo-diary-item-p)
10240 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10241 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10242 (todo-done-item-section-p, todo-done-separator)
10243 (todo-done-string-matcher, todo-files, todo-filter-items)
10244 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10245 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10246 (todo-insert-category-line, todo-insert-item-from-calendar)
10247 (todo-insert-sort-button, todo-insert-with-overlays)
10248 (todo-insertion-command-name, todo-insertion-key-bindings)
10249 (todo-label-to-key, todo-longest-category-name-length)
10250 (todo-make-categories-list, todo-mode-external-set)
10251 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10252 (todo-modes-set-3, todo-multiple-filter-files)
10253 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10254 (todo-read-category, todo-read-date, todo-read-dayname)
10255 (todo-read-file-name, todo-read-time)
10256 (todo-reevaluate-category-completions-files-defcustom)
10257 (todo-reevaluate-default-file-defcustom)
10258 (todo-reevaluate-filelist-defcustoms)
10259 (todo-reevaluate-filter-files-defcustom)
10260 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10261 (todo-reset-done-separator, todo-reset-done-separator-string)
10262 (todo-reset-done-string, todo-reset-global-current-todo-file)
10263 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10264 (todo-reset-prefix, todo-set-categories)
10265 (todo-set-date-from-calendar, todo-set-show-current-file)
10266 (todo-set-top-priorities, todo-short-file-name)
10267 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10268 (todo-total-item-counts, todo-update-buffer-list)
10269 (todo-update-categories-display, todo-update-categories-sexp)
10270 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10271 New functions.
10272 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10273 New major modes.
10274 (todo-categories, todo-display, todo-edit, todo-faces)
10275 (todo-filtered): New defgroups.
10276 (todo-archived-only, todo-button, todo-category-string, todo-date)
10277 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10278 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10279 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10280 (todo-add-item-if-new-category, todo-always-add-time-string)
10281 (todo-categories-align, todo-categories-archived-label)
10282 (todo-categories-category-label, todo-categories-diary-label)
10283 (todo-categories-done-label, todo-categories-number-separator)
10284 (todo-categories-todo-label, todo-categories-totals-label)
10285 (todo-category-completions-files, todo-completion-ignore-case)
10286 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10287 (todo-done-separator-string, todo-done-string)
10288 (todo-files-function, todo-filter-done-items, todo-filter-files)
10289 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10290 (todo-initial-category, todo-initial-file, todo-item-mark)
10291 (todo-legacy-date-time-regexp, todo-mode-line-function)
10292 (todo-nondiary-marker, todo-number-prefix)
10293 (todo-print-buffer-function, todo-show-current-file)
10294 (todo-show-done-only, todo-show-first, todo-show-with-done)
10295 (todo-skip-archived-categories, todo-top-priorities-overrides)
10296 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10297 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10298 New defcustoms.
10299 (todo-category-done, todo-date-pattern, todo-date-string-start)
10300 (todo-diary-items-buffer, todo-done-string-start)
10301 (todo-filtered-items-buffer, todo-item-start)
10302 (todo-month-abbrev-array, todo-month-name-array)
10303 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10304 (todo-top-priorities-buffer): New defconsts.
10305 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10306 (todo-categories-with-marks, todo-category-string-face)
10307 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10308 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10309 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10310 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10311 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10312 (todo-font-lock-keywords, todo-global-current-todo-file)
10313 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10314 (todo-insertion-commands-args)
10315 (todo-insertion-commands-args-genlist)
10316 (todo-insertion-commands-names, todo-insertion-map)
10317 (todo-key-bindings-t, todo-key-bindings-t+a)
10318 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10319 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10320 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10321 (todo-visited): New variables.
10322
10323 2013-06-21 Glenn Morris <rgm@gnu.org>
10324
10325 * play/cookie1.el (cookie-apropos): Add optional display argument.
10326 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10327 (psychoanalyze-pinhead): Use cookie-doctor.
10328
10329 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10330
10331 * emacs-lisp/package.el (tar-get-file-descriptor)
10332 (tar--extract): Declare.
10333
10334 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10335
10336 Extend flymake's warning predicate to be a function (bug#14217).
10337 * progmodes/flymake.el (flymake-warning-predicate): New.
10338 (flymake-parse-line): Use it.
10339 (flymake-warning-re): Make obsolete alias to
10340 `flymake-warning-predicate'.
10341
10342 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10345 (package-obsolete-list): Remove.
10346 (package-activate): Remove min-version argument. Add `force' argument.
10347 Adjust to new package-alist format.
10348 (package-mark-obsolete): Remove.
10349 (package-unpack): Force reload of the package's autoloads.
10350 (package-installed-p): Check builtins if the installed package is not
10351 recent enough.
10352 (package-initialize): Don't reset package-obsolete-list.
10353 Don't specify which package version to activate.
10354 (package-process-define-package, describe-package-1)
10355 (package-menu--generate): Adjust to new package-alist format.
10356
10357 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10358
10359 * allout-widgets.el (allout-widgets-mode-off)
10360 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10361 (allout-widgets-post-command-business)
10362 (allout-widgets-after-copy-or-kill-function)
10363 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10364 (allout-decorate-item-and-context)
10365 (allout-graphics-modification-handler): Fix typos in docstrings.
10366 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10367
10368 * cmuscheme.el (scheme-start-file): Doc fix.
10369 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10370 (scheme-input-filter): Use `string-match-p'.
10371
10372 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10373
10374 * dired-x.el: Use Dired consistently in docstrings.
10375
10376 * dired.el: Use Dired consistently in docstrings.
10377 (dired-readin, dired-mode): Use `setq-local'.
10378 (dired-switches-alist): Make defvar-local.
10379 (dired-buffers-for-dir): Use `zerop'.
10380 (dired-safe-switches-p, dired-switches-escape-p)
10381 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10382 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10383 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10384 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10385 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10386 (dired-toggle-marks, dired-mark-files-containing-regexp)
10387 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10388 (dired-flag-auto-save-files, dired-flag-backup-files):
10389 Use `looking-at-p'.
10390 (dired-mark-files-regexp, dired-build-subdir-alist):
10391 Use `string-match-p', `looking-at-p'.
10392
10393 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10394 (direct-print-region-helper): Use `string-match-p'.
10395
10396 2013-06-21 Leo Liu <sdl.web@gmail.com>
10397
10398 * comint.el (comint-redirect-results-list-from-process):
10399 Fix infinite loop.
10400
10401 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10402
10403 * net/eww.el (eww-update-header-line-format): Quote % characters.
10404
10405 2013-06-21 Glenn Morris <rgm@gnu.org>
10406
10407 * play/cookie1.el (cookie): New custom group.
10408 (cookie-file): New option.
10409 (cookie-check-file): New function.
10410 (cookie): Make it interactive. Make start and end messages optional.
10411 Interactively, display the result. Default to cookie-file.
10412 (cookie-insert): Default to cookie-file.
10413 (cookie-snarf): Make start and end messages optional.
10414 Default to cookie-file. Use with-temp-buffer.
10415 (cookie-read): Rename from read-cookie.
10416 Make start and end messages optional. Default to cookie-file.
10417 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10418 Do not autoload it.
10419 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10420 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10421
10422 2013-06-21 Leo Liu <sdl.web@gmail.com>
10423
10424 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10425
10426 2013-06-21 Glenn Morris <rgm@gnu.org>
10427
10428 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10429
10430 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10431 Daniel Hackney <dan@haxney.org>
10432
10433 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10434 Consolidate the single-file vs tarball code.
10435 (package-desc-suffix): New function.
10436 (package-desc-full-name): Don't bother inlining it.
10437 (package-load-descriptor): Return the new package-desc.
10438 (package-mark-obsolete): Remove unused arg `package'.
10439 (package-unpack): Make it work for single files as well.
10440 Make it update package-alist.
10441 (package--make-autoloads-and-stuff): Rename from
10442 package--make-autoloads-and-compile. Don't compile any more.
10443 (package--compile): New function.
10444 (package-generate-description-file): New function, extracted from
10445 package-unpack-single.
10446 (package-unpack-single): Remove.
10447 (package--with-work-buffer): Add indentation and debugging info.
10448 (package-download-single): Remove.
10449 (package-install-from-archive): Rename from package-download-tar, make
10450 it take a pkg-desc, and make it work for single files as well.
10451 (package-download-transaction): Simplify.
10452 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10453 external tar program.
10454 (package-install-from-buffer): Remove `pkg-desc' argument.
10455 Use package-tar-file-info for tar-mode buffers.
10456 (package-install-file): Simplify accordingly.
10457 (package-archive-base): Change to take a pkg-desc.
10458 * tar-mode.el (tar--check-descriptor): New function, extracted from
10459 tar-get-descriptor.
10460 (tar-get-descriptor): Use it.
10461 (tar-get-file-descriptor): New function.
10462 (tar--extract): New function, extracted from tar-extract.
10463 (tar--extract): Use it.
10464 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10465 case the summary uses non-ascii. Adjust to new calling convention of
10466 package-tar-file-info.
10467
10468 2013-06-21 Leo Liu <sdl.web@gmail.com>
10469
10470 * comint.el (comint-redirect-results-list-from-process):
10471 Fix random delay. (Bug#14681)
10472
10473 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10474
10475 * profiler.el (profiler-format-number): Use log, not log10.
10476
10477 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10478
10479 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10480
10481 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10484 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10485 yet available.
10486 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10487 (AUTOGENEL): ... here.
10488 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10489 (cl--defsubst-expand): Use it.
10490
10491 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10492
10493 * subr.el (log10): Move here from C code, and declare as obsolete.
10494 All uses of (log10 X) replaced with (log X 10).
10495
10496 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10497
10498 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10499 Declare with `defvar-local'.
10500 (tabulated-list-use-header-line, tabulated-list-entries)
10501 (tabulated-list-padding, tabulated-list-printer)
10502 (tabulated-list-sort-key): Declare with `defvar-local'.
10503 (tabulated-list-init-header, tabulated-list-print-fake-header):
10504 Use `setq-local'.
10505
10506 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10507
10508 * arc-mode.el (archive-mode): Add `archive-write-file' to
10509 `write-contents-functions' also for remote files. (Bug#14652)
10510
10511 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10512
10513 * cus-edit.el (custom-commands): Fix typos.
10514 (custom-display): Fix tooltip text.
10515 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10516 Fix typos in docstrings.
10517 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10518 (custom-unlispify-menu-entry, custom-magic-value-create)
10519 (custom-add-see-also, custom-group-value-create): Use ?\s.
10520 (custom-guess-type, customize-apropos, editable-field)
10521 (custom-face-value-create): Use `string-match-p'.
10522 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10523
10524 * custom.el (custom-load-symbol): Use `string-match-p'.
10525
10526 * ansi-color.el: Convert to lexical binding.
10527 (ansi-colors): Fix URL.
10528 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10529 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10530 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10531
10532 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10533
10534 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10535
10536 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10537
10538 2013-06-19 Tom Tromey <tromey@redhat.com>
10539
10540 * net/eww.el (eww-top-url): Remove.
10541 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10542 (eww-render): Set new variables. Don't set eww-top-url.
10543 (eww-handle-link): Handle "prev", "home", and "contents".
10544 Downcase the rel text.
10545 (eww-top-url): Choose best top URL.
10546
10547 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10548
10549 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10550 relying in widget.el. Using widget.el leads to too many
10551 user interface inconsistencies.
10552 (eww-self-insert): Implement entering commands in text fields.
10553 (eww-process-text-input): New function to make text input field editing
10554 work.
10555 (eww-submit): Rewrite to use the new-style form methods.
10556 (eww-select-display): Display the correct selected item.
10557 (eww-change-select): Implement changing the select value.
10558 (eww-toggle-checkbox): Implement radio/checkboxes.
10559 (eww-update-field): Fix compilation error.
10560 (eww-tag-textarea): Implement <textarea>.
10561
10562 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10563 we don't shadow mode-specific bindings.
10564
10565 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10566 nothing to push.
10567
10568 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10569
10570 2013-06-19 Glenn Morris <rgm@gnu.org>
10571
10572 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10573
10574 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10575
10576 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10577 not needed.
10578
10579 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10580
10581 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10582
10583 * net/browse-url.el (browse-url-browser-function):
10584 `eww-browse-url' has the right calling signature, `eww' does not.
10585
10586 2013-06-19 Glenn Morris <rgm@gnu.org>
10587
10588 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10589 Only eval autoloaded macros.
10590 (byte-compile-autoload): Only give the macro warning for macros.
10591
10592 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10593 (ps-underlined-faces): Declare.
10594
10595 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10596 (speedbar-add-supported-extension): Declare.
10597
10598 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10599 Don't include a date stamp in the header of the generated file;
10600 it leads to needless differences between output files.
10601
10602 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10603
10604 * net/secrets.el (secrets-struct-secret-content-type):
10605 Replace check of introspection data by a test call of "CreateItem".
10606 Some servers do not offer introspection.
10607
10608 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * electric.el (electric-pair-mode): Improve interaction with
10611 electric-layout-mode.
10612 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10613 (electric-pair-syntax): Use text-mode-syntax-table in comments
10614 and strings.
10615 (electric-pair--insert): New function.
10616 (electric-pair-post-self-insert-function): Use it and
10617 electric--after-char-pos.
10618
10619 2013-06-19 Leo Liu <sdl.web@gmail.com>
10620
10621 * progmodes/octave.el (octave-help): Fix regexp.
10622
10623 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10624
10625 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10626 (shr-table-horizontal-line): Allow nil as a value, and change the
10627 default.
10628 (shr-insert-table-ruler): Respect the nil value.
10629
10630 2013-06-18 Tom Tromey <tromey@barimba>
10631
10632 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10633 New defvars.
10634 (eww-open-file): New defun.
10635 (eww-render): Initialize new variables.
10636 (eww-display-html): Handle "link" and "a".
10637 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10638 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10639 (eww-back-url): Rename from eww-previous-url.
10640 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10641 New defuns.
10642
10643 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10644
10645 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10646 Distinguish ternary operator tokens from slash symbol and slash
10647 char literal.
10648
10649 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10650
10651 Convert symbol prettification into minor mode and global minor mode.
10652
10653 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10654 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10655 (prettify-symbols--keywords): Rename from
10656 `prog-prettify-symbols-alist' and make a local defvar.
10657 (prettify-symbols--compose-symbol): Rename from
10658 `prog--prettify-font-lock-compose-symbol'.
10659 (prettify-symbols--make-keywords): Rename from
10660 `prog-prettify-font-lock-symbols-keywords' and simplify.
10661 (prog-prettify-install): Remove.
10662 (prettify-symbols-mode): New minor mode, based on
10663 `prog-prettify-install'.
10664 (turn-on-prettify-symbols-mode): New function.
10665 (global-prettify-symbols-mode): New globalized minor mode.
10666
10667 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10668 * progmodes/cfengine.el (cfengine3-mode):
10669 * progmodes/perl-mode.el (perl-mode): Don't call
10670 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10671
10672 2013-06-18 Juri Linkov <juri@jurta.org>
10673
10674 * files-x.el (modify-file-local-variable-message): New function.
10675 (modify-file-local-variable)
10676 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10677 and call `modify-file-local-variable-message' when it's non-nil.
10678 (add-file-local-variable, delete-file-local-variable)
10679 (add-file-local-variable-prop-line)
10680 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10681 and use it. (Bug#9820)
10682
10683 2013-06-18 Juri Linkov <juri@jurta.org>
10684
10685 * emulation/vi.el (vi-shell-op):
10686 * emulation/vip.el (vip-execute-com, ex-command):
10687 * emulation/viper-cmd.el (viper-exec-bang):
10688 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10689 the call of `shell-command-on-region'. (Bug#14637)
10690
10691 * simple.el (shell-command-on-region): Doc fix.
10692
10693 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10696 (bug#14633).
10697
10698 2013-06-18 Glenn Morris <rgm@gnu.org>
10699
10700 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10701
10702 * newcomment.el (comment-search-forward, comment-search-backward):
10703 Doc fix. (Bug#14376)
10704
10705 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10706
10707 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10708 (buffer-face-mode-invoke): Doc fix.
10709
10710 2013-06-18 Matthias Meulien <orontee@gmail.com>
10711
10712 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10713 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10714
10715 2013-06-18 Glenn Morris <rgm@gnu.org>
10716
10717 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10718 Replace obsolete function generic-make-keywords with its expansion.
10719
10720 * progmodes/python.el (ffap-alist): Declare.
10721
10722 * textmodes/reftex.el (bibtex-mode-map): Declare.
10723
10724 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10725
10726 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10727 (package-unpack, package-unpack-single): Return the pkg-dir.
10728 (package-download-transaction): Use it to update package-alist.
10729
10730 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10731
10732 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10733 possible choice.
10734
10735 2013-06-17 Juri Linkov <juri@jurta.org>
10736
10737 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10738
10739 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10740
10741 * emacs-lisp/package.el (package-load-descriptor):
10742 Remove `with-syntax-table' call, `read' doesn't need it.
10743 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10744
10745 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10746
10747 * startup.el (command-line): Expand package name returned by
10748 `package--description-file' (bug#14639).
10749
10750 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10751
10752 * emacs-lisp/package.el (package-load-descriptor): Do not call
10753 `emacs-lisp-mode', just use its syntax table.
10754
10755 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10756
10757 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10758 `font-lock-extra-managed-props' if any prettifying keyword is added.
10759 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10760 (prog-mode): Use `setq-local'.
10761
10762 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * international/characters.el (standard-case-table): Set syntax of ?»
10765 and ?« to punctuation.
10766
10767 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10768
10769 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10770 Save relevant match data before calling `syntax-ppss' (bug#14595).
10771
10772 2013-06-15 Juri Linkov <juri@jurta.org>
10773
10774 * files-x.el (modify-file-local-variable-prop-line): Add local
10775 variables to the end of the existing comment on the first line.
10776 Use `file-auto-mode-skip' to skip interpreter magic line,
10777 and also skip XML declaration.
10778
10779 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * startup.el (package--builtin-versions): New var.
10782 (package-subdirectory-regexp): Remove.
10783 (package--description-file): Hard code its value instead.
10784
10785 * emacs-lisp/package.el: Don't activate packages older than builtin.
10786 (package-obsolete-list): Rename from package-obsolete-alist, and make
10787 it into a simple list of package-desc.
10788 (package-strip-version): Remove.
10789 (package-built-in-p): Use package--builtin-versions.
10790 (package-mark-obsolete): Simplify.
10791 (package-process-define-package): Mark it obsolete if older than the
10792 builtin version.
10793 (package-handle-response): Use line-end-position.
10794 (package-read-archive-contents, package--download-one-archive):
10795 Simplify.
10796 (package--add-to-archive-contents): Skip if older than the builtin or
10797 installed version.
10798 (package-menu-describe-package): Fix last change.
10799 (package-list-unversioned): New var.
10800 (package-menu--generate): Use it.
10801
10802 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10803 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10804 (autoload-builtin-package-versions): New variable.
10805 (autoload-generate-file-autoloads): Use them.
10806 Remove the list of autoloaded functions/macros from the
10807 (autoload...) comments.
10808
10809 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10810
10811 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10812
10813 * simple.el (line-move-partial): Don't jump to the next screen
10814 line as soon as it becomes visible. Instead, continue enlarging
10815 the vscroll until the portion of a tall screen line that's left on
10816 display is about the height of the frame's default font.
10817 (Bug#14567)
10818
10819 2013-06-15 Glenn Morris <rgm@gnu.org>
10820
10821 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10822 compilation-error-regexp-alist void, or local while let-bound.
10823
10824 * progmodes/make-mode.el (makefile-mode-syntax-table):
10825 Treat "=" as punctuation. (Bug#14614)
10826
10827 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10828
10829 * help-fns.el (describe-variable):
10830 Add extra line for permanent-local variables.
10831
10832 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10833
10834 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10835 Add export, import, library. (Bug#9164)
10836 (library): Set indent function.
10837
10838 2013-06-14 Glenn Morris <rgm@gnu.org>
10839
10840 * term/xterm.el (xterm--query):
10841 Stop after first matching handler. (Bug#14615)
10842
10843 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10844
10845 Add support for dired in saveplace.
10846 * dired.el (dired-initial-position-hook): New variable.
10847 (dired-initial-position): Call hook to place cursor position.
10848 * saveplace.el (save-place-to-alist): Add dired position.
10849 (save-place-dired-hook): New function.
10850
10851 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10854 through a symbol rather than letrec.
10855
10856 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10857 (package-desc): Add `dir' field.
10858 (package-desc-full-name): New function.
10859 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10860 (package-maybe-load-descriptor): Remove.
10861 (package-load-all-descriptors): Just call package-load-descriptor.
10862 (package--disabled-p): New function.
10863 (package-desc-vers, package-desc-doc): Remove aliases.
10864 (package--dir): Remove function.
10865 (package-activate): Check if a package is disabled.
10866 (package-process-define-package): New function, extracted from
10867 define-package.
10868 (define-package): Turn into a place holder.
10869 (package-unpack-single, package-tar-file-info):
10870 Use package--description-file.
10871 (package-compute-transaction): Use package--disabled-p.
10872 (package-download-transaction): Don't call
10873 package-maybe-load-descriptor since they're all loaded anyway.
10874 (package-install): Change argument to be a pkg-desc.
10875 (package-delete): Use a single pkg-desc argument.
10876 (describe-package-1): Use package-desc-dir instead of package--dir.
10877 Use package-desc property instead of package-symbol.
10878 (package-install-button-action): Adjust accordingly.
10879 (package--push): Rewrite.
10880 (package-menu--print-info): Adjust accordingly. Change the ID format
10881 to be a pkg-desc.
10882 (package-menu-describe-package, package-menu-get-status)
10883 (package-menu--find-upgrades, package-menu-mark-upgrades)
10884 (package-menu-execute, package-menu--name-predicate):
10885 Adjust accordingly.
10886 * startup.el (package--description-file): New function.
10887 (command-line): Use it.
10888 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10889 Use package-desc-version.
10890
10891 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10892 (byte-compile-preprocess): Use it.
10893 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10894 can't quite recognize.
10895 (byte-compile-add-to-list): Remove.
10896 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10897 (cconv-closure-convert): Add assertion.
10898
10899 * emacs-lisp/map-ynp.el: Use lexical-binding.
10900 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10901 Factor out some repeated code.
10902
10903 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10904
10905 * subr.el (with-eval-after-load): New macro.
10906 (eval-after-load): Allow form to be a function.
10907 take advantage of lexical-binding.
10908 (do-after-load-evaluation): Use dolist and adjust to new format.
10909 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10910
10911 2013-06-13 Juri Linkov <juri@jurta.org>
10912
10913 * replace.el (perform-replace): Display "symbol " and other search
10914 modes from `isearch-message-prefix' in the *Help* buffer.
10915
10916 * isearch.el (isearch-query-replace): Add " symbol" and other
10917 possible search modes from `isearch-message-prefix' to the prompt.
10918 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10919 when reading a regexp to collect.
10920
10921 2013-06-13 Juri Linkov <juri@jurta.org>
10922
10923 * isearch.el (word-search-regexp): Match whitespace if the search
10924 string begins or ends in whitespace. The LAX arg is applied to
10925 both ends of the search string. Use `regexp-quote' and explicit
10926 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10927 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10928 boundaries are replaced with symbol boundaries, and characters
10929 between symbols match non-word non-symbol syntax. (Bug#14602)
10930
10931 2013-06-13 Juri Linkov <juri@jurta.org>
10932
10933 * isearch.el (isearch-del-char): Don't exceed the length of
10934 `isearch-string' by the prefix arg. (Bug#14563)
10935
10936 2013-06-13 Juri Linkov <juri@jurta.org>
10937
10938 * isearch.el (isearch-yank-word, isearch-yank-line)
10939 (isearch-char-by-name, isearch-quote-char)
10940 (isearch-printing-char, isearch-process-search-char):
10941 Add optional count prefix arg. (Bug#14563)
10942
10943 * international/isearch-x.el
10944 (isearch-process-search-multibyte-characters):
10945 Add optional count prefix arg.
10946
10947 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10950 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10951 lexical-binding.
10952
10953 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10954
10955 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10956
10957 2013-06-13 Glenn Morris <rgm@gnu.org>
10958
10959 * startup.el (tty-handle-args):
10960 Don't just discard "--" and anything after. (Bug#14608)
10961
10962 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10963
10964 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10965
10966 Implement changes in Secret Service API. Make it backward compatible.
10967 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10968 (secrets-create-item): Use it. Prefix properties with interface.
10969
10970 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10971
10972 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10973 (term-emulate-terminal): Respect term-suppress-hard-newline.
10974
10975 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10976
10977 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10978 Only remove a `thumb-file' overlay. (Bug#14548)
10979
10980 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10981
10982 * mail/reporter.el (reporter-submit-bug-report):
10983 Handle missing package-name. (Bug#14600)
10984
10985 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10986
10987 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10988 (reftex-citation-prompt, reftex-default-bibliography)
10989 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10990 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10991 (reftex-bib-sort-author, reftex-bib-sort-year)
10992 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10993 (reftex-extract-bib-entries-from-thebibliography)
10994 (reftex-get-bibkey-default, reftex-get-bib-names)
10995 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10996 (reftex-format-bib-entry, reftex-parse-bibitem)
10997 (reftex-format-bibitem, reftex-do-citation)
10998 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10999 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11000 (reftex-insert-bib-matches, reftex-format-citation)
11001 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11002 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11003 existing comments into docstrings.
11004
11005 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11006
11007 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11008
11009 2013-06-12 Andreas Schwab <schwab@suse.de>
11010
11011 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11012 for auto-save files.
11013
11014 2013-06-12 Glenn Morris <rgm@gnu.org>
11015
11016 * ido.el (ido-delete-ignored-files): Remove.
11017 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11018 Go back to calling ido-ignore-item-p directly.
11019
11020 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11021
11022 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11023
11024 * ido.el (ido-delete-ignored-files): New function,
11025 split from ido-make-file-list-1.
11026 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11027 (ido-make-file-list-1): Use ido-delete-ignored-files.
11028
11029 2013-06-12 Leo Liu <sdl.web@gmail.com>
11030
11031 * progmodes/octave.el (inferior-octave-startup)
11032 (inferior-octave-completion-table)
11033 (inferior-octave-track-window-width-change)
11034 (octave-eldoc-function-signatures, octave-help)
11035 (octave-find-definition): Use single quoted strings.
11036 (inferior-octave-startup-args): Change default value.
11037 (inferior-octave-startup): Do not hard code "-i" and
11038 "--no-line-editing".
11039 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11040 (inferior-octave-directory-tracker): Use it.
11041 (octave-goto-function-definition): Robustify.
11042 (octave-help): Support highlighting operators in 'See also'.
11043 (octave-find-definition): Find subfunctions only in Octave mode.
11044
11045 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * help-fns.el (help-fns--compiler-macro): If the handler function is
11048 named, then put a link to it.
11049 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11050 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11051 (cl-typep): Use it.
11052 (cl-eval-when): Simplify debug spec.
11053 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11054 compiler-macro function instead of setting `compiler-macro-file'.
11055
11056 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11057
11058 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11059 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11060
11061 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11062 Daniel Hackney <dan@haxney.org>
11063
11064 First part of Daniel Hackney's patch to package.el.
11065 * emacs-lisp/package.el: Use defstruct.
11066 (package-desc): New, main struct.
11067 (package--bi-desc, package--ac-desc): New structs, used to describe the
11068 format in external files.
11069 (package-desc-vers): Replace with package-desc-version accessor.
11070 (package-desc-doc): Replace with package-desc-summary accessor.
11071 (package-activate-1): Remove `package' arg since the pkg-vec now
11072 includes the name.
11073 (define-package): Use package-desc-from-define.
11074 (package-unpack-single): Change file-name arg to be a symbol.
11075 (package--add-to-archive-contents): Use package-desc-create and new
11076 accessor functions to package--ac-desc.
11077 (package-buffer-info, package-tar-file-info): Return a package-desc.
11078 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11079 arg to be a package-desc.
11080 (package-install-file): Adjust accordingly. Use \' to match EOS.
11081 (package--from-builtin): New function.
11082 (describe-package-1, package-menu--generate): Use it.
11083 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11084 (package-generate-autoloads): Idem and return the name of the file.
11085 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11086 Change pkg-info arg to be a package-desc.
11087 Use package-make-ac-desc.
11088 (package-upload-file): Use \' to match EOS.
11089 * finder.el (finder-compile-keywords): Use package-make-builtin.
11090
11091 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * vc/vc.el (vc-deduce-fileset): Change error message.
11094 (vc-read-backend): New function.
11095 (vc-next-action): Use it.
11096
11097 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11098
11099 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11100 (prolog-font-lock-keywords): Use regexp-opt instead.
11101 Don't manually highlight strings.
11102 (prolog-mode-variables): Simplify comment-start-skip.
11103 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11104
11105 * emacs-lisp/generic.el (generic--normalise-comments)
11106 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11107 (generic-mode-set-comments): Use them.
11108 (generic-bracket-support): Use setq-local.
11109 (generic-make-keywords-list): Declare obsolete.
11110
11111 2013-06-11 Glenn Morris <rgm@gnu.org>
11112
11113 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11114 Prettify after setting font-lock-defaults. (Bug#14574)
11115
11116 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11117
11118 * replace.el (query-replace, occur-read-regexp-defaults-function)
11119 (replace-search):
11120 * subr.el (declare-function, number-sequence, local-set-key)
11121 (substitute-key-definition, locate-user-emacs-file)
11122 (with-silent-modifications, split-string, eval-after-load):
11123 Fix typos, remove unneeded backslashes and reflow some docstrings.
11124
11125 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11128 default for Elisp files.
11129
11130 2013-06-11 Glenn Morris <rgm@gnu.org>
11131
11132 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11133 although define-derived-mode was doing this anyway. (Bug#14583)
11134
11135 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11136
11137 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11138 Fix make-variable-buffer-local call to refer to the correct variable.
11139
11140 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11141
11142 * eshell/em-term.el (eshell-visual-commands)
11143 (eshell-visual-subcommands, eshell-visual-options):
11144 Add summary line to docstrings. Add cross-references.
11145
11146 2013-06-10 Glenn Morris <rgm@gnu.org>
11147
11148 * epa.el (epa-read-file-name): New function. (Bug#14510)
11149 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11150
11151 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11152
11153 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11154 output redirection to be ignored with visual commands.
11155
11156 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11157
11158 * eshell/em-term.el (eshell-visual-command-p): New function.
11159 (eshell-term-initialize): Move long lambda to separate function
11160 eshell-visual-command-p.
11161 * eshell/em-dirs.el (eshell-dirs-initialize):
11162 * eshell/em-script.el (eshell-script-initialize):
11163 Add missing #' to lambda.
11164
11165 2013-06-08 Leo Liu <sdl.web@gmail.com>
11166
11167 * progmodes/octave.el (octave-add-log-current-defun): New function.
11168 (octave-mode): Set add-log-current-defun-function.
11169 (octave-goto-function-definition): Do not move point if not found.
11170 (octave-find-definition): Enhance to try subfunctions first.
11171
11172 2013-06-08 Glenn Morris <rgm@gnu.org>
11173
11174 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11175 (byte-compile-backward-char, byte-compile-backward-word):
11176 Improve previous change, to handle non-explicit nil.
11177
11178 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11181 (smie--opener/closer-at-point): New function.
11182 (smie--matching-block-data): Use it. Don't match from right after an
11183 opener or right before a closer. Obey smie-blink-matching-inners.
11184 Don't signal a mismatch for repeated inners like "switch..case..case".
11185
11186 2013-06-07 Leo Liu <sdl.web@gmail.com>
11187
11188 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11189 to t. (Bug#14303)
11190 (octave-function-header-regexp): Fix. (Bug#14570)
11191 (octave-help-mode-finish-hook, octave-help-mode-finish):
11192 Remove. Just use temp-buffer-show-hook.
11193
11194 * newcomment.el (comment-search-backward): Revert last change.
11195 (Bug#14434)
11196
11197 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11198
11199 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11200
11201 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11202 through xargs, to avoid failure due to MS-Windows limitations on
11203 command-line length.
11204
11205 2013-06-06 Glenn Morris <rgm@gnu.org>
11206
11207 * font-lock.el (lisp-font-lock-keywords-2):
11208 Treat user-error like error.
11209
11210 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11211 (byte-compile-backward-char, byte-compile-backward-word):
11212 Handle explicit nil arguments. (Bug#14565)
11213
11214 2013-06-05 Alan Mackenzie <acm@muc.de>
11215
11216 * isearch.el (isearch-allow-prefix): New user option.
11217 (isearch-other-meta-char): Don't exit isearch when a prefix
11218 argument is typed whilst `isearch-allow-prefix' is non-nil.
11219 (Bug#9706)
11220
11221 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11222
11223 * autorevert.el (auto-revert-notify-handler): Use memq.
11224 Hide assertion failure.
11225
11226 * skeleton.el: Use cl-lib.
11227 (skeleton-further-elements): Use defvar-local.
11228 (skeleton-insert): Use cl-progv.
11229
11230 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11231
11232 * progmodes/prog-mode.el (prog-prettify-symbols)
11233 (prog-prettify-install): Update docstrings.
11234
11235 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * simple.el: Move all the prog-mode code to prog-mode.el.
11238 * progmodes/prog-mode.el: New file.
11239 * loadup.el: Add prog-mode.el.
11240
11241 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11242
11243 * simple.el (prog-prettify-symbols): Add version.
11244 (prog-prettify-install): Add convenience function to prettify symbols.
11245
11246 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11247 (perl--augmented-font-lock-keywords-1)
11248 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11249 variables and use it.
11250
11251 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11252 (cfengine3-mode): Remove unneeded variable and use it.
11253
11254 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11255 (lisp--augmented-font-lock-keywords-1)
11256 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11257 Remove unneeded variables and use it.
11258
11259 2013-06-05 João Távora <joaotavora@gmail.com>
11260
11261 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11262 to point when opening the connection. (Bug#14380)
11263
11264 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11265
11266 * subr.el (load-history-regexp, load-history-filename-element)
11267 (eval-after-load, after-load-functions, do-after-load-evaluation)
11268 (eval-next-after-load, display-delayed-warnings)
11269 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11270 definition of save-match-data.
11271 (overriding-local-map): Remove accidental obsolescence declaration.
11272
11273 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11274
11275 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11276
11277 Generalize symbol prettify support to prog-mode and implement it
11278 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11279 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11280 (prog--prettify-font-lock-compose-symbol)
11281 (prog-prettify-font-lock-symbols-keywords): New variables and
11282 functions to support symbol prettification.
11283 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11284 (lisp--augmented-font-lock-keywords-1)
11285 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11286 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11287 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11288 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11289 Implement prettify of -> => :: strings.
11290 * progmodes/perl-mode.el (perl-prettify-symbols)
11291 (perl--font-lock-compose-symbol)
11292 (perl--font-lock-symbols-keywords): Move to prog-mode.
11293 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11294 (perl-font-lock-keywords-1)
11295 (perl-font-lock-keywords-2): Remove explicit prettify support.
11296 (perl--augmented-font-lock-keywords)
11297 (perl--augmented-font-lock-keywords-1)
11298 (perl--augmented-font-lock-keywords-2, perl-mode):
11299 Implement prettify support.
11300
11301 2013-06-05 Leo Liu <sdl.web@gmail.com>
11302
11303 Re-implement SMIE matching block highlight using
11304 show-paren-data-function. (Bug#14395)
11305 * emacs-lisp/smie.el (smie-matching-block-highlight)
11306 (smie--highlight-matching-block-overlay)
11307 (smie--highlight-matching-block-lastpos)
11308 (smie-highlight-matching-block)
11309 (smie-highlight-matching-block-mode): Remove.
11310 (smie--matching-block-data-cache): New variable.
11311 (smie--matching-block-data): New function.
11312 (smie-setup): Use smie--matching-block-data for
11313 show-paren-data-function.
11314
11315 * progmodes/octave.el (octave-mode-menu): Fix.
11316 (octave-find-definition): Skip garbage lines.
11317
11318 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 Fix compilation error with simultaneous dynamic+lexical scoping.
11321 Add warning when a defvar appears after the first let-binding.
11322 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11323 (byte-compile-close-variables): Initialize it.
11324 (byte-compile--declare-var): New function.
11325 (byte-compile-file-form-defvar)
11326 (byte-compile-file-form-define-abbrev-table)
11327 (byte-compile-file-form-custom-declare-variable): Use it.
11328 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11329 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11330 (byte-compile-bind): Handle dynamic bindings that shadow
11331 lexical bindings.
11332 (byte-compile-unbind): Make arg non-optional.
11333 (byte-compile-let): Simplify.
11334 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11335 (cconv--analyse-function, cconv-analyse-form): Populate it.
11336 Protect byte-compile-bound-variables to limit the scope of defvars.
11337 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11338 Remove unneeded rule for `declare'.
11339
11340 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11341 so as to avoid depending on cl-adjoin at run-time.
11342 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11343
11344 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11345 (macroexp--warn-and-return): Use it.
11346
11347 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * subr.el: Convert to lexical binding.
11350 (overriding-local-map): Make obsolete.
11351 (add-to-list): Doc fix. Add compiler macro.
11352 (read-key): Swap values of local maps.
11353
11354 2013-06-05 Leo Liu <sdl.web@gmail.com>
11355
11356 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11357
11358 2013-06-04 Leo Liu <sdl.web@gmail.com>
11359
11360 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11361 (compilation-auto-jump): Suppress the "Mark set" message to give
11362 way to exit message.
11363
11364 2013-06-04 Alan Mackenzie <acm@muc.de>
11365
11366 Remove faulty optimisation from indentation calculation.
11367 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11368 search limit based on 2000 characters back from indent-point.
11369
11370 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11371
11372 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11373
11374 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * emacs-lisp/lisp.el: Use lexical-binding.
11377 (lisp--local-variables-1, lisp--local-variables): New functions.
11378 (lisp--local-variables-completion-table): New var.
11379 (lisp-completion-at-point): Use it complete let-bound vars.
11380
11381 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11382 eagerly (bug#14422).
11383
11384 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11385
11386 * autorevert.el (auto-revert-notify-enabled)
11387 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11388 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11389 (auto-revert-notify-handler): Handle also gfilenotify.
11390
11391 * subr.el (file-notify-handle-event): New defun. Replacing ...
11392 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11393 Remove.
11394
11395 2013-06-03 Juri Linkov <juri@jurta.org>
11396
11397 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11398 `M-s h .'. (Bug#14427)
11399
11400 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11401 command `hi-lock-face-symbol-at-point'.
11402 (hi-lock-face-symbol-at-point): New command.
11403 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11404 (hi-lock-menu): Add `highlight-symbol-at-point'.
11405 (hi-lock-mode): Doc fix.
11406
11407 * isearch.el (isearch-forward-symbol-at-point): New command.
11408 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11409 (isearch-highlight-regexp): Add a regexp which matches
11410 words/symbols for word/symbol mode.
11411
11412 * subr.el (find-tag-default-bounds): New function with the body
11413 mostly moved from `find-tag-default'.
11414 (find-tag-default): Move most code to `find-tag-default-bounds',
11415 call it and apply `buffer-substring-no-properties' afterwards.
11416
11417 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11418
11419 * eshell/em-term.el (eshell-term-initialize):
11420 Use `cl-intersection' rather than `intersection'.
11421
11422 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11423
11424 * vc/log-view.el: Doc fix.
11425 (log-view-mode-map): Copy keymap from `special-mode-map'.
11426
11427 2013-06-02 Eric Ludlam <zappo@gnu.org>
11428
11429 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11430 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11431 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11432 (eieio-unbound, eieio-default-superclass)
11433 (eieio--define-field-accessors, method-static, method-before)
11434 (method-primary, method-after, method-num-lists)
11435 (method-generic-before, method-generic-primary)
11436 (method-generic-after, method-num-slots)
11437 (eieio-specialized-key-to-generic-key)
11438 (eieio--check-type, class-v, class-p)
11439 (eieio-class-name, define-obsolete-function-alias)
11440 (eieio-class-parents-fast, eieio-class-children-fast)
11441 (same-class-fast-p, class-constructor, generic-p)
11442 (generic-primary-only-p, generic-primary-only-one-p)
11443 (class-option-assoc, class-option, eieio-object-p)
11444 (class-abstract-p, class-method-invocation-order)
11445 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11446 (eieio-class-un-autoload, eieio-defclass)
11447 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11448 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11449 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11450 (eieio-defgeneric-reset-generic-form)
11451 (eieio-defgeneric-form-primary-only)
11452 (eieio-defgeneric-reset-generic-form-primary-only)
11453 (eieio-defgeneric-form-primary-only-one)
11454 (eieio-defgeneric-reset-generic-form-primary-only-one)
11455 (eieio-unbind-method-implementations)
11456 (eieio--defmethod, eieio--typep)
11457 (eieio-perform-slot-validation, eieio-validate-slot-value)
11458 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11459 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11460 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11461 (eieio-slot-name-index, eieio-class-slot-name-index)
11462 (eieio-set-defaults, eieio-initarg-to-attribute)
11463 (eieio-attribute-to-initarg, eieio-c3-candidate)
11464 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11465 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11466 (eieio-class-precedence-list, eieio-generic-call-methodname)
11467 (eieio-generic-call-arglst, eieio-generic-call-key)
11468 (eieio-generic-call-next-method-list)
11469 (eieio-pre-method-execution-functions, eieio-generic-call)
11470 (eieio-generic-call-primary-only, eieiomt-method-list)
11471 (eieiomt-optimizing-obarray, eieiomt-install)
11472 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11473 (eieio-generic-form, eieio-defmethod, make-obsolete)
11474 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11475 (defclass): Remove `eval-and-compile' from macro.
11476 (call-next-method, shared-initialize): Instead of using
11477 `scoped-class' variable, use new eieio--scoped-class, and
11478 eieio--with-scoped-class.
11479 (initialize-instance): Rename local variable 'scoped-class' to
11480 'this-class' to remove ambiguitity from old global.
11481
11482 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11483 eieio.el.
11484 (eieio--scoped-class-stack): New variable.
11485 (eieio--scoped-class): New fcn.
11486 (eieio--with-scoped-class): New scoping macro.
11487 (eieio-defclass): Use pushnew instead of add-to-list.
11488 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11489 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11490 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11491 `scoped-class' variable, use new eieio--scoped-class, and
11492 eieio--with-scoped-class.
11493
11494 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11495
11496 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11497
11498 * eshell/esh-ext.el (eshell-external-command): Pass args to
11499 `eshell-find-interpreter'.
11500 (eshell-find-interpreter): Add new second parameter ARGS.
11501
11502 * eshell/em-script.el (eshell-script-initialize): Add second arg
11503 to the function added as MATCH to `eshell-interpreter-alist'.
11504
11505 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11506 the function added as MATCH to `eshell-interpreter-alist'.
11507
11508 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11509 (eshell-visual-options): New defcustom.
11510 (eshell-escape-control-x): Adapt docstring.
11511 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11512 `eshell-visual-options' in addition to `eshell-visual-commands'.
11513 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11514
11515 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11516
11517 * progmodes/python.el (python-indent-block-enders): Add break,
11518 continue and raise keywords.
11519
11520 2013-06-01 Glenn Morris <rgm@gnu.org>
11521
11522 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11523
11524 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11525 * progmodes/cc-cmds.el (delete-forward-p):
11526 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11527 * progmodes/cc-engine.el (buffer-syntactic-context):
11528 * progmodes/cc-fonts.el (face-property-instance):
11529 * progmodes/cc-mode.el (set-keymap-parents):
11530 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11531 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11532 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11533 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11534 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11535
11536 * progmodes/cc-vars.el (other): Emacs has this widget since
11537 at least 21.1, so don't (re)define it.
11538
11539 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11540 Replace the obsolete alias pcomplete-arg-quote-list.
11541
11542 2013-06-01 Leo Liu <sdl.web@gmail.com>
11543
11544 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11545 punctuation syntax.
11546 (inferior-octave-minimal-columns)
11547 (inferior-octave-last-column-width): New variables.
11548 (inferior-octave-track-window-width-change): New function.
11549 (inferior-octave-mode): Adjust column width so that Octave output,
11550 for example from 'ls', can fit into the window nicely.
11551
11552 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11553
11554 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11555 Highlight expansions inside regexp literals.
11556
11557 2013-05-31 Glenn Morris <rgm@gnu.org>
11558
11559 * obsolete/sym-comp.el (symbol-complete):
11560 Replace obsolete completion-annotate-function.
11561
11562 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11563
11564 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11565
11566 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11567 New function, checks if point is inside a literal that allows
11568 expression expansion.
11569 (ruby-syntax-propertize-expansion): Use it.
11570 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11571 around the body.
11572
11573 2013-05-30 Juri Linkov <juri@jurta.org>
11574
11575 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11576 to "\M-si".
11577 (isearch-invisible): New variable.
11578 (isearch-forward): Doc fix.
11579 (isearch-mode): Set `isearch-invisible'
11580 to the value of `search-invisible'.
11581 (isearch-toggle-case-fold): Doc fix.
11582 (isearch-toggle-invisible): New command.
11583 (isearch-query-replace): Let-bind `search-invisible'
11584 to the value of `isearch-invisible'.
11585 (isearch-search): Use `isearch-invisible' instead of
11586 `search-invisible'. Let-bind `search-invisible'
11587 to the value of `isearch-invisible'. (Bug#11378)
11588
11589 2013-05-30 Juri Linkov <juri@jurta.org>
11590
11591 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11592 call when `query-flag' is nil and `search-invisible' is non-nil.
11593 (Bug#11746)
11594
11595 2013-05-30 Glenn Morris <rgm@gnu.org>
11596
11597 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11598
11599 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11600 (cc-require): Suppress spurious "noruntime" warnings.
11601 (cc-require-when-compile): Use fboundp, for sake of compiler.
11602
11603 * progmodes/cc-mode.el: Move load of cc-vars before that of
11604 cc-langs (which in turn loads cc-vars), to quieten compiler.
11605
11606 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11607
11608 * paren.el: Simplify the code.
11609 (show-paren-mode): Always start the timer.
11610 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11611 (show-paren--overlay, show-paren--overlay-1): Rename from
11612 show-paren-overlay and show-paren-overlay-1, and initialize to an
11613 overlay rather than to nil.
11614 (show-paren-function): Misc cleanup and simplifications.
11615
11616 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11617
11618 * paren.el (show-paren-data-function): New hook.
11619 (show-paren--default): New function, extracted from show-paren-function.
11620 (show-paren-function): Use show-paren-data-function.
11621
11622 2013-05-30 Glenn Morris <rgm@gnu.org>
11623
11624 * ielm.el (ielm-map, ielm-complete-symbol):
11625 Use completion-at-point rather than obsolete functions.
11626 (inferior-emacs-lisp-mode): Doc fix.
11627 Set completion-at-point-functions, rather than
11628 comint-dynamic-complete-functions.
11629
11630 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11631 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11632 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11633
11634 * image.el (image-animated-p): Tweak definition.
11635
11636 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11637 (rlogin-process-connection-type): Tweak default. Add set-after.
11638 (rlogin-host): Doc fix.
11639 (rlogin): Tweak prompt.
11640 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11641
11642 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11643 * progmodes/tcl.el (inferior-tcl-mode-map):
11644 Use completion-at-point rather than obsolete alias.
11645
11646 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11647
11648 * minibuffer.el (read-file-name-completion-ignore-case):
11649 Move before completion--in-region, for eager macro expansion.
11650
11651 2013-05-29 Juri Linkov <juri@jurta.org>
11652
11653 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11654 for total count of matching lines. Add `global-matches' for total
11655 count of matches. Rename `matches' to `lines' for count of
11656 matching lines. Add `matches' for count of matches.
11657 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11658 to `prev-line' for line number of prev match endpt.
11659 Increment `matches' for every match. Print the number of
11660 matching lines in the header.
11661 (occur-context-lines): Rename `lines' to `curr-line'.
11662 Rename `prev-lines' to `prev-line'. (Bug#14017)
11663
11664 2013-05-29 Juri Linkov <juri@jurta.org>
11665
11666 * replace.el (perform-replace): Add `skip-read-only-count',
11667 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11668 Increment them for corresponding conditions and report the number
11669 of skipped occurrences in the final message. (Bug#11746)
11670 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11671 (replace-string, replace-regexp): Doc fix.
11672
11673 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11676
11677 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11678 prog-mode-map (bug#14504).
11679
11680 2013-05-29 Leo Liu <sdl.web@gmail.com>
11681
11682 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11683 (octave-help): Small simplification.
11684
11685 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11686 off the highlight first.
11687
11688 2013-05-29 Glenn Morris <rgm@gnu.org>
11689
11690 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11691 Handle idlwave-last-system-routine-info-cons-cell being nil.
11692
11693 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11694 (idlwave-write-paths): Simplify via with-temp-buffer.
11695
11696 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11697 * emulation/cua-rect.el: Also load cua-base at run time.
11698
11699 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11700 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11701 (cperl-imenu-on-info): Require imenu.
11702
11703 2013-05-28 Alan Mackenzie <acm@muc.de>
11704
11705 Handle "capitalised keywords" correctly.
11706 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11707
11708 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11709
11710 * eshell/em-unix.el: Add -r option to cp.
11711
11712 2013-05-28 Glenn Morris <rgm@gnu.org>
11713
11714 * vc/vc-arch.el (vc-exec-after): Declare.
11715 (vc-switches): Autoload.
11716 * vc/vc-bzr.el: No need to require vc when compiling.
11717 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11718 (vc-resynch-buffer, vc-dir-refresh): Declare.
11719 (vc-setup-buffer, vc-switches): Autoload.
11720 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11721 (vc-resynch-buffer): Declare.
11722 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11723 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11724 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11725 (grep-read-regexp, grep-read-files, grep-expand-template)
11726 (vc-dir-refresh): Declare.
11727 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11728 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11729 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11730 * vc/vc-mtn.el (vc-exec-after): Declare.
11731 (vc-switches): Autoload.
11732 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11733 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11734 (vc-file-tree-walk): Declare.
11735 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11736 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11737 (vc-tag-precondition, vc-rename-master): Autoload.
11738 * vc/vc-svn.el (vc-exec-after): Declare.
11739 (vc-switches, vc-setup-buffer): Autoload.
11740 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11741 Autoload.
11742 (vc-resynch-buffer): Declare.
11743
11744 * obsolete/fast-lock.el (byte-compile-warnings):
11745 Don't warn about obsolete features in this obsolete file.
11746
11747 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11748 Move definition before use.
11749
11750 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11751 (dun-unix-verbs): Remove dun-zippy.
11752 (dun-zippy): Remove function.
11753
11754 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11755
11756 2013-05-27 Juri Linkov <juri@jurta.org>
11757
11758 * replace.el (replace-search): New function with code moved out
11759 from `perform-replace'.
11760 (replace-highlight, replace-dehighlight): Move function definitions
11761 up closer to `replace-search'. (Bug#11746)
11762
11763 2013-05-27 Juri Linkov <juri@jurta.org>
11764
11765 * replace.el (perform-replace): Ignore invisible matches.
11766 In addition to checking `query-replace-skip-read-only', also
11767 filter out matches by calling `run-hook-with-args-until-failure'
11768 on `isearch-filter-predicates', and also check `search-invisible'
11769 for t or call `isearch-range-invisible'.
11770 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11771
11772 2013-05-27 Juri Linkov <juri@jurta.org>
11773
11774 * isearch.el (isearch-filter-predicates): Rename from
11775 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11776 (isearch-message-prefix): Display text from the property
11777 `isearch-message-prefix' of the currently active filters.
11778 (isearch-search): Don't compare `isearch-filter-predicate' with
11779 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11780 on `isearch-filter-predicates'. Also check `search-invisible' for t
11781 or call `isearch-range-invisible'.
11782 (isearch-filter-visible): Make obsolete.
11783 (isearch-lazy-highlight-search):
11784 Call `run-hook-with-args-until-failure' on
11785 `isearch-filter-predicates' and use `isearch-range-invisible'.
11786
11787 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11788 `isearch-filter-predicates' instead of `funcall'ing
11789 `isearch-filter-predicate'.
11790 (Info-mode): Set `Info-isearch-filter' to
11791 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11792
11793 * dired-aux.el (dired-isearch-filter-predicate-orig):
11794 Remove variable.
11795 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11796 (dired-isearch-filenames-end): Add and remove
11797 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11798 instead of changing the value of `isearch-filter-predicate'.
11799 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11800 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11801 Put property `isearch-message-prefix' to "filename " on
11802 `dired-isearch-filter-filenames'.
11803
11804 * wdired.el (wdired-change-to-wdired-mode):
11805 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11806 locally instead of changing `isearch-filter-predicate'.
11807 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11808
11809 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11810
11811 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11812 return the commit hash (Bug#14459). Also set the
11813 `vc-git-detached' property.
11814 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11815 (vc-git-mode-line-string): Use the same help-echo format whether
11816 in detached mode or not, because we know the actual revision now.
11817 When in detached mode, shorten the revision to 7 chars.
11818
11819 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * emacs-lisp/easy-mmode.el (define-minor-mode):
11822 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11823 mode hook and provide a docstring.
11824
11825 2013-05-27 Alan Mackenzie <acm@muc.de>
11826
11827 Remove spurious syntax-table text properties inserted by C-y.
11828 * progmodes/cc-mode.el (c-after-change): Also clear hard
11829 syntax-table property with value nil.
11830
11831 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11832
11833 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11834 when reading the events; the buffer layout shall not be changed.
11835
11836 2013-05-27 Leo Liu <sdl.web@gmail.com>
11837
11838 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11839 New variable.
11840 (inferior-octave-directory-tracker): Automatically re-sync
11841 default-directory.
11842 (octave-help): Improve handling of 'See also'.
11843
11844 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * doc-view.el: Minor naming convention tweaks.
11847 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11848
11849 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11850 even if there's no `display' property yet (bug#14435).
11851
11852 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11853
11854 * subr.el (unmsys--file-name): Rename from reveal-filename.
11855
11856 * Makefile.in (custom-deps, finder-data, autoloads)
11857 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11858 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11859 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11860
11861 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11862
11863 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11864 error-completion on the first 2 args of condition-case (bug#14446).
11865 Don't burp at EOB.
11866
11867 2013-05-25 Leo Liu <sdl.web@gmail.com>
11868
11869 * comint.el (comint-previous-matching-input): Do not flood the
11870 *Messages* buffer with trivial messages.
11871
11872 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * progmodes/flymake.el (flymake-nop): Don't return a string.
11875 (flymake-set-at): Fix typo.
11876
11877 * simple.el (read--expression): New function, extracted from
11878 eval-expression. Set completion-at-point-functions (bug#14465).
11879 (eval-expression, eval-minibuffer): Use it.
11880
11881 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11882
11883 * progmodes/flymake.el (flymake-save-buffer-in-file)
11884 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11885 (flymake-selected-frame, flymake-log, flymake-ins-after)
11886 (flymake-set-at, flymake-get-buildfile-from-cache)
11887 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11888 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11889 Refine the doc string.
11890 (flymake-get-file-name-mode-and-masks): Reformat.
11891 (flymake-get-real-file-name-function): Fix a minor bug.
11892
11893 2013-05-24 Juri Linkov <juri@jurta.org>
11894
11895 * progmodes/grep.el (grep-mode-font-lock-keywords):
11896 Support =linenumber= format used by git-grep for lines with
11897 function names. (Bug#13549)
11898
11899 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11902 0 after a semi-colon; it works better for smie-auto-fill.
11903 (octave--indent-new-comment-line): New function.
11904 (octave-indent-new-comment-line): Use it (indirectly).
11905 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11906 modify comment-line-break-function.
11907
11908 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11909 (smie-setup): Use add-function to set it.
11910
11911 2013-05-24 Sam Steingold <sds@gnu.org>
11912
11913 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11914 argument (before the `interactive' argument).
11915
11916 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * image-mode.el (image-mode-winprops): Add winprops to
11919 image-mode-winprops-alist before running
11920 image-mode-new-window-functions.
11921 * doc-view.el (doc-view-new-window-function): Don't delay
11922 doc-view-goto-page via timers (bug#14435).
11923
11924 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11925
11926 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11927 (doc-view-desktop-save-buffer): New function.
11928 (doc-view-restore-desktop-buffer): New function.
11929 (desktop-buffer-mode-handlers):
11930 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11931 handler.
11932 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11933 `desktop-save-buffer' function.
11934
11935 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11936
11937 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11938 (tramp-gvfs-file-name-handler): Raise a user error when
11939 `tramp-gvfs-enabled' is nil.
11940 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11941 Do not raise a user error when loading package. (Bug#14447)
11942
11943 * net/xesam.el: Move to obsolete/.
11944
11945 2013-05-24 Glenn Morris <rgm@gnu.org>
11946
11947 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11948
11949 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11950
11951 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11952 (Info-find-node, Man-getpage-in-background): Declare.
11953
11954 * mail/unrmail.el (unrmail):
11955 Replace obsolete detect-coding-with-priority.
11956
11957 * net/socks.el (socks-split-string): Use this rather than split-string.
11958 (socks-nslookup-host): Update for above change.
11959 (dynamic-choice, s5-dynamic-choice-match)
11960 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11961 Comment out unused code.
11962
11963 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11964 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11965 (gud-tooltip-echo-area): Make obsolete.
11966 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11967
11968 * progmodes/js.el (js--optimize-arglist): Declare.
11969
11970 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11971
11972 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11973 (ediff-window-C): Declare.
11974
11975 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11976 Tweak requires to silence compiler.
11977
11978 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11979 (he-search-string, he-tried-table, he-expand-list)
11980 (he-init-string, he-string-member, he-substitute-string)
11981 (he-reset-string): Declare.
11982
11983 * obsolete/options.el (list-options): Use custom-variable-p,
11984 rather than obsolete alias.
11985
11986 2013-05-23 Sam Steingold <sds@gnu.org>
11987
11988 * simple.el (shell-command-on-region): Pass the `replace' argument
11989 down to `call-process-region' to comply with the doc as reported on
11990 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11991
11992 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11993
11994 * emacs-lisp/smie.el (smie-indent-forward-token)
11995 (smie-indent-backward-token): Handle string tokens (bug#14381).
11996
11997 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11998
11999 * ielm.el (ielm-menu): New menu.
12000 (inferior-emacs-lisp-mode): Set comment-start.
12001
12002 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12003
12004 * textmodes/reftex.el (reftex-ref-style-toggle):
12005 Fix deactivate action.
12006
12007 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12008 Add cleveref macros.
12009
12010 * textmodes/reftex-parse.el
12011 (reftex-locate-bibliography-files): Accept options for
12012 bibliography commands.
12013 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12014 Add addbibresource. Basic Biblatex support.
12015
12016 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12017
12018 * net/tramp-gvfs.el (top):
12019 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12020 when loading package. (Bug#14447)
12021
12022 2013-05-23 Glenn Morris <rgm@gnu.org>
12023
12024 * progmodes/js.el: No need to load comint when compiling.
12025 (ring-insert, comint-send-string, comint-send-input)
12026 (comint-last-input-end, ido-chop): Declare.
12027
12028 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12029 * vc/ediff-mult.el: Adjust requires.
12030 (ediff-directories-internal, ediff-directory-revisions-internal)
12031 (ediff-patch-file-internal): Declare.
12032 * vc/ediff-ptch.el: Adjust requires.
12033 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12034 (ediff-find-file): Autoload.
12035 * vc/ediff-util.el: No need to load ediff when compiling.
12036 (ediff-regions-internal): Declare.
12037 * vc/ediff-wind.el: Adjust requires.
12038 (ediff-compute-toolbar-width): Define when compiling.
12039 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12040 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12041 (dired-get-filename, dired-get-marked-files)
12042 (ediff-last-dir-patch, ediff-patch-default-directory)
12043 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12044 (ediff-patch-buffer-internal): Declare.
12045
12046 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12047 (ispell-process, ispell-buffer-local-words, lm-summary)
12048 (lm-section-start, lm-section-end): Declare.
12049 (checkdoc-ispell-init): Simplify.
12050
12051 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12052 (he-string-member, he-reset-string, he-substitute-string): Declare.
12053
12054 * eshell/em-ls.el: Adjust requires.
12055 (eshell-glob-regexp): Declare.
12056 * eshell/em-tramp.el: Adjust requires.
12057 (eshell-parse-command): Autoload.
12058 * eshell/em-xtra.el: Adjust requires.
12059 (eshell-parse-command): Autoload.
12060 * eshell/esh-ext.el: Adjust requires.
12061 (eshell-parse-command, eshell-close-handles): Autoload.
12062 * eshell/esh-io.el: Adjust requires.
12063 (eshell-output-filter): Autoload.
12064 * eshell/esh-util.el: No need to load tramp when compiling.
12065 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12066 Declare.
12067 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12068 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12069 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12070 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12071 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12072 * eshell/esh-opt.el, eshell/esh-proc.el:
12073 * eshell/esh-var.el: Adjust requires.
12074 * eshell/eshell.el: Do not require esh-util twice.
12075 (eshell-add-input-to-history): Declare.
12076 (eshell-command): Check history module is active before using it.
12077
12078 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12079
12080 2013-05-22 Leo Liu <sdl.web@gmail.com>
12081
12082 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12083
12084 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12085
12086 * autorevert.el (auto-revert-notify-add-watch)
12087 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12088 it indicates changes in file modification time.
12089
12090 2013-05-22 Glenn Morris <rgm@gnu.org>
12091
12092 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12093 Always delete the autoloaded function from the noruntime and
12094 unresolved functions lists.
12095
12096 * allout.el: No need to load epa, epg, overlay when compiling.
12097 (epg-context-set-passphrase-callback, epg-list-keys)
12098 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12099 (epg-key-user-id-list): Declare.
12100
12101 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12102 (viper-set-parsing-style-toggling-macro)
12103 (viper-set-emacs-state-searchstyle-macros):
12104 Use called-interactively-p on Emacs.
12105 (viper-looking-back): Make it an obsolete alias. Update callers.
12106 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12107 Use looking-back rather than viper-looking-back.
12108 (viper-tmp-insert-at-eob, viper-enlarge-region)
12109 (viper-read-string-with-history, viper-register-to-point)
12110 (viper-append-to-register, viper-change-state-to-vi)
12111 (viper-backward-char-carefully, viper-forward-char-carefully)
12112 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12113 (viper-change-state-to-emacs): Declare.
12114 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12115 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12116 * emulation/viper-mous.el: Do not load viper-cmd.
12117 (viper-backward-char-carefully, viper-forward-char-carefully)
12118 (viper-forward-word, viper-adjust-window): Declare.
12119
12120 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12121
12122 * progmodes/idlw-help.el (idlwave-help-fontify):
12123 Use called-interactively-p.
12124
12125 * term/w32console.el (w32-get-console-codepage)
12126 (w32-get-console-output-codepage): Declare.
12127
12128 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12129 Remove unnecessary declarations.
12130 (dframe-message): Doc fix.
12131
12132 * info.el (dframe-select-attached-frame, dframe-current-frame):
12133 Declare.
12134
12135 * speedbar.el (speedbar-message): Make it an obsolete alias.
12136 Update all callers.
12137 (speedbar-with-attached-buffer)
12138 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12139 (speedbar-with-writable): Use backquote.
12140 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12141 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12142 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12143 rather than speedbar- aliases.
12144 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12145 (speedbar-make-specialized-keymap, speedbar-insert-button)
12146 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12147 (speedbar-do-function-pointer): Declare.
12148 (rmail-speedbar-button, rmail-speedbar-find-file)
12149 (rmail-speedbar-move-message):
12150 Use dframe-with-attached-buffer rather than speedbar- alias.
12151 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12152 (dframe-message, speedbar-make-specialized-keymap)
12153 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12154 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12155 (speedbar-insert-button, dframe-select-attached-frame)
12156 (dframe-maybee-jump-to-attached-frame)
12157 (speedbar-change-initial-expansion-list)
12158 (speedbar-previously-used-expansion-list-name): Declare.
12159 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12160 Use dframe-message, dframe-with-attached-buffer rather than
12161 speedbar- aliases.
12162 (gud-sentinel): Silence compiler.
12163 * progmodes/vhdl-mode.el (speedbar-refresh)
12164 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12165 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12166 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12167 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12168 (speedbar-file-lists, speedbar-make-tag-line)
12169 (speedbar-line-directory, speedbar-goto-this-file)
12170 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12171 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12172 (speedbar-make-button, speedbar-reset-scanners)
12173 (speedbar-files-item-info, speedbar-line-text)
12174 (speedbar-find-file-in-frame, speedbar-set-timer)
12175 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12176 (speedbar-with-writable): Do not (re)define it.
12177 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12178 rather than speedbar- alias.
12179
12180 2013-05-21 Leo Liu <sdl.web@gmail.com>
12181
12182 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12183 menu items.
12184 (octave-mode): Tweak fill-nobreak-predicate.
12185 (inferior-octave-startup): Check process to avoid infinite loop.
12186 (inferior-octave): Pop to buffer first to show abornmal process
12187 exit information.
12188
12189 2013-05-21 Glenn Morris <rgm@gnu.org>
12190
12191 * printing.el (pr-menu-bar): Define when compiling.
12192
12193 2013-05-21 Leo Liu <sdl.web@gmail.com>
12194
12195 * progmodes/octave.el (octave-auto-fill): Remove.
12196 (octave-indent-new-comment-line): Improve.
12197 (octave-mode): Use auto fill mode through
12198 comment-line-break-function and fill-nobreak-predicate.
12199 (octave-goto-function-definition): Support DEFUN_DLD.
12200 (octave-beginning-of-defun): Small tweak.
12201 (octave-help): Show parent directory.
12202
12203 2013-05-21 Glenn Morris <rgm@gnu.org>
12204
12205 * files.el (dired-unmark):
12206 * progmodes/gud.el (gdb-input): Update declarations.
12207
12208 * calculator.el (electric, ehelp): No need to load when compiling.
12209 (Electric-command-loop, electric-describe-mode): Declare.
12210
12211 * doc-view.el (doc-view-current-converter-processes): Move before use.
12212
12213 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12214 Move MODE-set-explicitly definition before use.
12215
12216 * international/mule-diag.el (mule-diag):
12217 Don't use obsolete window-system-version.
12218
12219 * mail/feedmail.el (smtpmail): No need to load when compiling.
12220 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12221
12222 * mail/mail-utils.el (rfc822): No need to load when compiling.
12223 (rfc822-addresses): Autoload it.
12224 (mail-strip-quoted-names): Trivial simplification.
12225
12226 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12227 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12228
12229 * net/snmp-mode.el (tempo): Don't duplicate requires.
12230
12231 * progmodes/prolog.el (info): No need to load when compiling.
12232 (comint): Require before shell requires it.
12233 (Info-goto-node): Autoload it.
12234 (Info-follow-nearest-node): Declare.
12235 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12236
12237 * textmodes/artist.el (picture-mode-exit): Declare.
12238
12239 * textmodes/reftex-parse.el (reftex-parse-from-file):
12240 Trivial rewrite so the compiler can parse it better.
12241
12242 2013-05-20 Leo Liu <sdl.web@gmail.com>
12243
12244 * progmodes/octave.el (octave-help-mode-map)
12245 (octave-help-mode-finish-hook): New variables.
12246 (octave-help-mode, octave-help-mode-finish): New functions.
12247 (octave-help): Use octave-help-mode.
12248
12249 2013-05-20 Glenn Morris <rgm@gnu.org>
12250
12251 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12252
12253 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12254
12255 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12256 start at point, so that expansion starting right after opening
12257 slash in a regexp is recognized.
12258 (ruby-syntax-before-regexp-re): New defvar, extracted from
12259 ruby-syntax-propertize-function. Since the value of this regexp
12260 is looked up at runtime now, we should be able to turn
12261 `ruby-syntax-methods-before-regexp' into a defcustom later.
12262 (ruby-syntax-propertize-function): Split regexp matching into two
12263 parts, for opening and closing slashes. That allows us to skip
12264 over string interpolations and support multiline regexps.
12265 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12266 for them, which calls `ruby-syntax-propertize-expansion'.
12267 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12268 call to `ruby-syntax-propertize-function'.
12269 (ruby-syntax-propertize-expansion): Extracted from
12270 `ruby-syntax-propertize-expansions'. Handles one expansion.
12271 (ruby-syntax-propertize-percent-literal): Leave point right after
12272 the percent symbol, so that the expression expansion rule can
12273 propertize the contents.
12274 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12275 heredoc openers.
12276 (ruby-syntax-propertize-expansions): Remove.
12277
12278 2013-05-18 Juri Linkov <juri@jurta.org>
12279
12280 * man.el (Man-default-man-entry): Remove `-' from the end
12281 of the default value. (Bug#14400)
12282
12283 2013-05-18 Glenn Morris <rgm@gnu.org>
12284
12285 * comint.el (comint-password-prompt-regexp):
12286 Allow "password for XXX" where XXX contains colons (eg https://...).
12287
12288 2013-05-18 Leo Liu <sdl.web@gmail.com>
12289
12290 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12291 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12292 (octave-source-directories): Don't check process.
12293 (octave-source-directories, octave-find-definition): Doc fix.
12294
12295 2013-05-18 Glenn Morris <rgm@gnu.org>
12296
12297 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12298 Remove backspace/delete bindings. (Bug#14392)
12299
12300 * cus-dep.el (custom-make-dependencies): Sort the output.
12301 (custom-versions-load-alist): Convert comment to doc.
12302
12303 2013-05-17 Leo Liu <sdl.web@gmail.com>
12304
12305 * newcomment.el (comment-search-backward): Stricter in finding
12306 comment start. (Bug#14303)
12307
12308 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12309 (octave-comment-start-skip): Properly anchored.
12310
12311 2013-05-17 Leo Liu <sdl.web@gmail.com>
12312
12313 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12314 Clean up when turned off. (Bug#14395)
12315 (smie--highlight-matching-block-overlay): No longer buffer-local.
12316 (smie-highlight-matching-block): Adjust.
12317
12318 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12319
12320 Doc string fix for "nanoseconds" (Bug#14406).
12321 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12322 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12323
12324 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12325
12326 * calc/calc-units.el (math-extract-units): Preserve powers
12327 of units.
12328
12329 2013-05-17 Leo Liu <sdl.web@gmail.com>
12330
12331 * subr.el (delete-consecutive-dups): New function.
12332 * ido.el (ido-set-matches-1): Use it.
12333 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12334 * ido.el (ido-remove-consecutive-dups): Remove.
12335
12336 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12337
12338 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12339 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12340 regexp-opt's `words'.
12341
12342 2013-05-16 Leo Liu <sdl.web@gmail.com>
12343
12344 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12345 (smie--highlight-matching-block-overlay)
12346 (smie--highlight-matching-block-lastpos)
12347 (smie--highlight-matching-block-timer): New variables.
12348 (smie-highlight-matching-block): New function.
12349 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12350 (smie-setup): Conditionally enable smie-blink-matching-open.
12351
12352 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12353
12354 Sync with upstream verilog-mode r840.
12355 * progmodes/verilog-mode.el (verilog-mode-version)
12356 (verilog-mode-release-date): Update.
12357 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12358 (verilog-sig-tieoff): Fix string error on
12359 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12360 (verilog-read-decls): Fix parameters confusing
12361 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12362
12363 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12364
12365 * subr.el (reveal-filename): New function.
12366
12367 * loadup.el: Compute Emacs executable versions on MS-Windows,
12368 where executables have the .exe extension. Add a hard link
12369 emacs-XX.YY.ZZ.exe on MS-Windows.
12370
12371 * Makefile.in (XARGS_LIMIT): New variable.
12372 (custom-deps, finder-data, autoloads)
12373 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12374 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12375 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12376 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12377
12378 2013-05-16 Leo Liu <sdl.web@gmail.com>
12379
12380 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12381 (octave-mode-menu, octave-mode-map): Remove its uses.
12382
12383 2013-05-16 Reto Zimmermann <reto@gnu.org>
12384
12385 Sync with upstream vhdl mode v3.34.2.
12386 * progmodes/vhdl-mode.el: Use `push' throughout.
12387 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12388 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12389 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12390 (vhdl-actual-generic-name): New option to derive actual generic name.
12391 (vhdl-port-paste-signals): Replace formal by actual generics.
12392 (vhdl-beautify): New name for old group vhdl-align. Update users.
12393 (vhdl-beautify-options): New option.
12394 (vhdl-last-input-event): New compat alias. Use throughout.
12395 (vhdl-goto-line): Replace user level function `goto-line'.
12396 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12397 vhdl-fix-statement-buffer.
12398 (vhdl-create-mode-menu): Add some entries.
12399 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12400 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12401 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12402 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12403 to force statements on one line.
12404 (vhdl-remove-trailing-spaces-region):
12405 New, split from vhdl-remove-trailing-spaces.
12406 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12407 Respect vhdl-beautify-options.
12408 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12409 (vhdl-update-sensitivity-list): Not add with index if exists without.
12410 Not include array index with signal. Ignore keywords in comments.
12411 (vhdl-get-visible-signals): Regexp tweaks.
12412 (vhdl-template-component-inst): Handle empty library.
12413 (vhdl-template-type): Add template for 'enum' type.
12414 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12415 Use vhdl-replace-string.
12416 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12417 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12418 (vhdl-speedbar-initialize): Update for above name change.
12419 (vhdl-compose-wire-components): Fix in handling of constants.
12420 (vhdl-error-regexp-emacs-alist): New variable.
12421 (vhdl-error-regexp-add-emacs): New function;
12422 adds support for new compile.el (Emacs 22+)
12423 (vhdl-generate-makefile-1): Change target order for single lib. units.
12424 Allow use of absolute file names.
12425
12426 2013-05-16 Leo Liu <sdl.web@gmail.com>
12427
12428 * simple.el (prog-indent-sexp): Indent enclosing defun.
12429
12430 2013-05-15 Glenn Morris <rgm@gnu.org>
12431
12432 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12433 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12434 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12435 (whitespace-highlight): Move to whitespace group.
12436
12437 * comint.el (comint-source):
12438 * pcmpl-linux.el (pcmpl-linux):
12439 * shell.el (shell-faces):
12440 * eshell/esh-opt.el (eshell-opt):
12441 * international/ccl.el (ccl): Remove empty custom groups.
12442
12443 * completion.el (dynamic-completion-mode):
12444 * jit-lock.el (jit-lock-debug-mode):
12445 * minibuffer.el (completion-in-region-mode):
12446 * type-break.el (type-break-mode-line-message-mode)
12447 (type-break-query-mode):
12448 * emulation/tpu-edt.el (tpu-edt-mode):
12449 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12450 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12451 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12452
12453 * term/xterm.el (xterm): Change parent group to terminals.
12454
12455 * master.el (master): Remove empty custom group.
12456 (master-mode): Remove unused :group argument.
12457 * textmodes/refill.el (refill): Remove empty custom group.
12458 (refill-mode): Remove unused :group argument.
12459
12460 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12461
12462 * cus-dep.el: Provide a feature.
12463 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12464 Don't mistakenly ignore files whose basenames match a basename
12465 from preloaded-file-list (eg cedet/ede/simple.el).
12466 Add a fallback method for getting :group.
12467
12468 2013-05-15 Juri Linkov <juri@jurta.org>
12469
12470 * isearch.el (isearch-char-by-name): Rename from
12471 `isearch-insert-char-by-name'. Doc fix.
12472 (isearch-forward): Mention `isearch-char-by-name' in
12473 the docstring. (Bug#13348)
12474
12475 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12476 `exit-minibuffer' instead of
12477 `isearch-nonincremental-exit-minibuffer'.
12478 (isearch-edit-string): Remove mention of
12479 `isearch-nonincremental-exit-minibuffer' from docstring.
12480 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12481 (isearch-forward-exit-minibuffer)
12482 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12483
12484 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * loadup.el: Just use unversioned DOC.
12487
12488 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12489 literals as extending to EOB.
12490 (nxml-last-fontify-end): Remove unused variable.
12491 (nxml-after-change1): Use with-silent-modifications.
12492 (nxml-extend-after-change-region): Simplify.
12493 (nxml-extend-after-change-region1): Remove function.
12494 (nxml-after-change1): Don't adjust for dependent regions.
12495 (nxml-fontify-matcher): Simplify.
12496 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12497 (xmltok-add-dependent): Remove function.
12498 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12499 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12500 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12501 unclosed <[[, <?, comment, and other literals as extending to EOB.
12502 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12503 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12504 Remove functions.
12505 (rng-do-some-validation-1): Don't mark dependent regions.
12506 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12507 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12508 (nxml-clear-dependent-regions): Remove functions.
12509 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12510 (nxml-ensure-scan-up-to-date):
12511 Don't clear&mark dependent regions.
12512
12513 2013-05-15 Leo Liu <sdl.web@gmail.com>
12514
12515 * progmodes/octave.el (octave-goto-function-definition):
12516 Improve and fix callers.
12517
12518 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12519
12520 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12521 the setter (bug#14387).
12522
12523 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12524 surrounding group (bug#14402).
12525
12526 2013-05-14 Juri Linkov <juri@jurta.org>
12527
12528 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12529 (Bug#14390)
12530
12531 2013-05-14 Glenn Morris <rgm@gnu.org>
12532
12533 * progmodes/f90.el (f90-imenu-generic-expression):
12534 Fix typo in 2013-05-08 change. (Bug#14402)
12535
12536 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12537
12538 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12539 Remove signals for which replies are never received.
12540
12541 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12542
12543 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12544 (gdb-handler-alist, gdb-handler-number): Remove variables.
12545 (gdb-handler-list): New variable.
12546 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12547 (gdb-pending-handler-p, gdb-handle-reply)
12548 (gdb-remove-all-pending-triggers): New functions.
12549 (gdb-discard-unordered-replies): New defcustom.
12550 (gdb-handler): New defstruct.
12551 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12552 instead of gdb-pending-triggers. Update docstring.
12553 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12554 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12555 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12556 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12557 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12558 (gdb-frame-handler): Pending triggers are now automatically managed.
12559 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12560 Remove argument.
12561 (gdb-input): Automatically handles pending triggers. Update docstring.
12562 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12563 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12564 Update comments.
12565 (gdb-done-or-error): Now use gdb-handle-reply.
12566
12567 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12568
12569 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12570 gdb-debug-log.
12571
12572 2013-05-14 Glenn Morris <rgm@gnu.org>
12573
12574 * subr.el (user-emacs-directory-warning): New option.
12575 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12576
12577 2013-05-14 Leo Liu <sdl.web@gmail.com>
12578
12579 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12580 during redisplay.
12581 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12582 (octave-font-lock-texinfo-comment): Fix invalid search bound
12583 error: wrong side of point.
12584
12585 2013-05-14 Glenn Morris <rgm@gnu.org>
12586
12587 * progmodes/flymake.el (flymake-xml-program): New option.
12588 (flymake-xml-init): Use it.
12589
12590 * term/xterm.el: Provide a feature.
12591
12592 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12593
12594 2013-05-13 Glenn Morris <rgm@gnu.org>
12595
12596 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12597 Add compat aliases as a hack workaround. (Bug#14384)
12598
12599 2013-05-13 Leo Liu <sdl.web@gmail.com>
12600
12601 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12602 ###, and %!.
12603 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12604 C-M-q.
12605 (octave-comment-start-skip): Include %!.
12606 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12607
12608 2013-05-12 Leo Liu <sdl.web@gmail.com>
12609
12610 * progmodes/octave.el (inferior-octave-startup): Store the value
12611 of __octave_srcdir__ for octave-source-directories.
12612 (inferior-octave-check-process): New function refactored out of
12613 inferior-octave-send-list-and-digest.
12614 (octave-source-directories)
12615 (octave-find-definition-filename-function): New variables.
12616 (octave-source-directories)
12617 (octave-find-definition-default-filename): New functions.
12618 (octave-find-definition): Improve to find functions implemented in C++.
12619
12620 2013-05-12 Glenn Morris <rgm@gnu.org>
12621
12622 * calendar/diary-lib.el (diary-outlook-format-1):
12623 Don't include dayname in the output. (Bug#14349)
12624
12625 2013-05-11 Glenn Morris <rgm@gnu.org>
12626
12627 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12628
12629 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12630 Treat cc-provide like provide.
12631
12632 2013-05-11 Kevin Ryde <user42@zip.com.au>
12633
12634 * cus-dep.el (custom-make-dependencies):
12635 Use generated-autoload-load-name for the sake of files such
12636 such cedet/semantic/bovine/c.el, where the base file name
12637 is not in load-path. (Bug#5277)
12638
12639 2013-05-11 Glenn Morris <rgm@gnu.org>
12640
12641 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12642 Provide features.
12643
12644 2013-05-11 Leo Liu <sdl.web@gmail.com>
12645
12646 * progmodes/octave.el (octave-indent-comment): Improve.
12647 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12648 (octave-eldoc-function-signatures, octave-eldoc-function):
12649 New functions.
12650 (octave-mode, inferior-octave-mode): Add eldoc support.
12651
12652 2013-05-11 Richard Stallman <rms@gnu.org>
12653
12654 * epa.el (epa-decrypt-file): Take output file name as argument
12655 and read it using `interactive'.
12656
12657 2013-05-11 Leo Liu <sdl.web@gmail.com>
12658
12659 * progmodes/octave.el (octave-beginning-of-line)
12660 (octave-end-of-line): Check before using up-list because it jumps
12661 out of more syntactic contructs since moving to smie.
12662 (octave-indent-comment): New function.
12663 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12664 (octave-begin-keywords, octave-end-keywords)
12665 (octave-reserved-words, octave-smie-bnf-table)
12666 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12667
12668 2013-05-11 Glenn Morris <rgm@gnu.org>
12669
12670 * faces.el (internal-face-x-get-resource):
12671 * frame.el (ns-display-monitor-attributes-list):
12672 * calc/calc-aent.el (math-to-radians-2):
12673 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12674 Fix declarations.
12675
12676 * calc/calc-menu.el: Make it loadable in isolation.
12677
12678 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12679 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12680 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12681 (eudc-bbdb-query-internal): Require 'bbdb.
12682
12683 * lpr.el (lpr-headers-switches):
12684 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12685
12686 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12687
12688 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12689
12690 * term.el (term-set-escape-char): Make it idempotent.
12691
12692 2013-05-10 Leo Liu <sdl.web@gmail.com>
12693
12694 * progmodes/octave.el (inferior-octave-completion-table):
12695 No longer a function and all uses changed. Use cache to speed up
12696 completion due to bug#11906.
12697 (octave-beginning-of-defun): Re-write to be more general.
12698
12699 2013-05-10 Glenn Morris <rgm@gnu.org>
12700
12701 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12702
12703 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 * comint.el (comint-redirect-send-command-to-process): Use :around
12706 rather than :override for comint-redirect-filter.
12707 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12708 Call it instead of comint-redirect-original-filter-function (which
12709 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12710
12711 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12712
12713 * frame.el (display-monitor-attributes-list): Add NS case.
12714 (ns-display-monitor-attributes-list): Declare.
12715
12716 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12717
12718 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12719
12720 2013-05-09 Glenn Morris <rgm@gnu.org>
12721
12722 * international/fontset.el (vertical-centering-font-regexp):
12723 Set standard-value.
12724
12725 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12726
12727 * bookmark.el (bookmark-search-delay):
12728 * cus-start.el (vertical-centering-font-regexp):
12729 * ps-mule.el (ps-mule-font-info-database-default):
12730 * ps-print.el (ps-default-fg, ps-default-bg):
12731 * type-break.el (type-break-good-break-interval):
12732 * whitespace.el (whitespace-indentation-regexp)
12733 (whitespace-space-after-tab-regexp):
12734 * emacs-lisp/testcover.el (testcover-1value-functions)
12735 (testcover-noreturn-functions, testcover-progn-functions)
12736 (testcover-prog1-functions):
12737 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12738 * eshell/em-glob.el (eshell-glob-translate-alist):
12739 * play/tetris.el (tetris-tty-colors):
12740 * progmodes/cpp.el (cpp-face-default-list):
12741 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12742 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12743 (idlwave-help-browser-generic-args):
12744 * progmodes/make-mode.el (makefile-special-targets-list):
12745 * progmodes/python.el (python-shell-virtualenv-path):
12746 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12747 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12748 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12749 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12750 * textmodes/reftex-vars.el (reftex-format-label-function):
12751 * textmodes/remember.el (remember-diary-file): Fix custom types.
12752
12753 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12754 Add :version.
12755
12756 2013-05-09 Leo Liu <sdl.web@gmail.com>
12757
12758 * progmodes/octave.el (inferior-octave-completion-at-point):
12759 Restore file completion. (Bug#14300)
12760 (inferior-octave-startup): Fix incorrect highlighting for the
12761 first prompt.
12762
12763 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * progmodes/ruby-mode.el: First cut at SMIE support.
12766 (ruby-use-smie): New var.
12767 (ruby-smie-grammar): New constant.
12768 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12769 (ruby-smie--forward-token, ruby-smie--backward-token)
12770 (ruby-smie-rules): New functions.
12771 (ruby-mode-variables): Setup SMIE if applicable.
12772
12773 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12774
12775 * simple.el (line-move-visual): Signal beginning/end of buffer
12776 only if vertical-motion moved less than it was requested. Avoids
12777 silly incorrect error messages when there are display strings with
12778 multiple newlines at EOL.
12779
12780 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12783 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12784 (prolog-char-quote-workaround):
12785 * progmodes/cperl-mode.el (cperl-under-as-char):
12786 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12787 Mark as obsolete.
12788 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12789 their declaration.
12790 (vhdl-mode-syntax-table-init): Remove.
12791
12792 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12793 last change.
12794
12795 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12796 syntax for "_".
12797 (ld-script-font-lock-keywords):
12798 Change regexps to use things like \_< and \_>.
12799
12800 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12801 Change all regexps to use things like \_< and \_>.
12802
12803 * progmodes/autoconf.el (autoconf-definition-regexp)
12804 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12805 Handle a _ with symbol syntax.
12806 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12807
12808 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12809 Consolidate declaration.
12810 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12811 the declaration.
12812 (ada-create-syntax-table): Remove.
12813 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12814 already has the right syntax nowadays.
12815 (ada-goto-next-word): Don't change the syntax of "_".
12816
12817 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12818 with-wrapper-hook.
12819
12820 2013-05-08 Sam Steingold <sds@gnu.org>
12821
12822 * thingatpt.el (thing-at-point): Accept optional second argument
12823 NO-PROPERTIES to strip the text properties from the return value.
12824 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12825 to `thing-at-point' instead of stripping the properties ourselves.
12826 Also, when `thing-at-point' fails to find a url, prepend "http://"
12827 to the filename at point on the assumption that the user is
12828 pointing at something like gnu.org/gnu.
12829
12830 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12831
12832 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12833 * faces.el (crm-separator):
12834 Silence byte-compiler.
12835
12836 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12837 (tool-bar-map): Remove unneeded defvars.
12838
12839 2013-05-08 Leo Liu <sdl.web@gmail.com>
12840
12841 Re-work a fix for bug#10994 based on Le Wang's patch.
12842 * ido.el (ido-remove-consecutive-dups): New helper.
12843 (ido-completing-read): Use it.
12844 (ido-chop): Revert fix for bug#10994.
12845
12846 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12847
12848 * cus-edit.el (custom-save-variables):
12849 Pretty-print long values. (Bug#14187)
12850
12851 2013-05-08 Glenn Morris <rgm@gnu.org>
12852
12853 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12854 (m4-mode-syntax-table): Init in the defvar.
12855 (m4-mode-abbrev-table): Let define-derived-mode define it.
12856
12857 2013-05-08 Tom Tromey <tromey@redhat.com>
12858
12859 * progmodes/m4-mode.el (m4-mode-syntax-table):
12860 Do not treat "_" as word constituent. (Bug#14167)
12861
12862 2013-05-07 Glenn Morris <rgm@gnu.org>
12863
12864 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12865 Remove explicit eshell-isearch-cancel-map.
12866
12867 * progmodes/f90.el (f90-smart-end-names): New option.
12868 (f90-smart-end): Doc fix.
12869 (f90-end-block-optional-name): New constant.
12870 (f90-block-match): Respect f90-smart-end-names.
12871
12872 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12875 about implicit semi-colons (bug#14218).
12876
12877 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12878
12879 * frame.el (display-monitor-attributes-list)
12880 (frame-monitor-attributes): New functions.
12881
12882 2013-05-06 Leo Liu <sdl.web@gmail.com>
12883
12884 * progmodes/octave.el (octave-syntax-propertize-function): Change
12885 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12886 (octave-font-lock-keywords): Use octave-operator-regexp.
12887 (octave-completion-at-point): Rename from
12888 octave-completion-at-point-function.
12889 (inferior-octave-directory-tracker): Robustify.
12890 (octave-text-functions): Remove and fix its uses. No such things
12891 any more.
12892
12893 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * emacs-lisp/trace.el (trace--display-buffer): New function.
12896 (trace-make-advice): Use it.
12897
12898 2013-05-06 Juri Linkov <juri@jurta.org>
12899
12900 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12901 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12902 Doc fix.
12903 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12904 in the help string. (Bug#12985)
12905
12906 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12907
12908 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12909
12910 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * progmodes/perl-mode.el: Add support for here documents.
12913 (perl-syntax-propertize-function): Match here-doc markers.
12914 (perl-syntax-propertize-special-constructs): Find their end.
12915 (perl-imenu-generic-expression): Use [:alnum:].
12916
12917 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12918 (advice--add-function): Refresh the advice if already present
12919 (bug#14317).
12920
12921 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12922
12923 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12924
12925 2013-05-06 Glenn Morris <rgm@gnu.org>
12926
12927 * w32-fns.el (w32-charset-info-alist): Declare.
12928
12929 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12930 of its defcustom properties.
12931 (eshell-cmpl-initialize): No need to load pcomplete.
12932
12933 * generic-x.el: No need to require comint when compiling.
12934
12935 * net/eudc-export.el: Make it loadable without bbdb.
12936 (top-level): Use require rather than load-library.
12937 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12938 (eudc-batch-export-records-to-bbdb)
12939 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12940 Require bbdb.
12941
12942 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12943
12944 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12945 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12946 some tweaks, instead.
12947
12948 2013-05-05 Leo Liu <sdl.web@gmail.com>
12949
12950 * progmodes/octave.el (octave-font-lock-keywords)
12951 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12952 (inferior-octave-send-list-and-digest): Improve error message.
12953 (octave-mode, inferior-octave-mode): Use setq-local.
12954 (octave-help): Set info-lookup-mode.
12955
12956 2013-05-05 Richard Stallman <rms@gnu.org>
12957
12958 * vc/compare-w.el (compare-windows-whitespace):
12959 Treat no-break space as whitespace.
12960
12961 * mail/rmailsum.el (rmail-summary-rmail-update):
12962 Detect empty summary and don't change selected message.
12963 (rmail-summary-goto-msg): Likewise.
12964
12965 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12966 Doc fixes, rename args.
12967
12968 2013-05-05 Alan Mackenzie <acm@muc.de>
12969
12970 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12971
12972 2013-05-05 Juri Linkov <juri@jurta.org>
12973
12974 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12975 to not add the length of the summary segment to the return value.
12976 (Bug#14125)
12977
12978 2013-05-05 Leo Liu <sdl.web@gmail.com>
12979
12980 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12981 (inferior-octave-output-filter): Remove.
12982 (octave-send-region, inferior-octave-startup): Fix callers.
12983 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12984 (octave-binary-file-extensions): New user variable.
12985 (octave-find-definition): Confirm if opening binary files.
12986 (octave-help-file): Use octave-find-definition to get the binary
12987 confirmation.
12988 (octave-help): Adjust for octave-help-file change.
12989
12990 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12991
12992 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12993 Merge the two entries that handle function definitions.
12994 (pascal--syntax-propertize): New const.
12995 (pascal-mode): Use it. Use setq-local.
12996
12997 2013-05-04 Glenn Morris <rgm@gnu.org>
12998
12999 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13000 (diary-from-outlook): Respect diary-from-outlook-function.
13001
13002 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13005 Move the declaration from C.
13006 (read-minibuffer, eval-minibuffer): Move from C.
13007 (completion-setup-function): Avoid minibuffer-completion-contents.
13008
13009 2013-05-03 Leo Liu <sdl.web@gmail.com>
13010
13011 * progmodes/octave.el (octave-font-lock-keywords): Do not
13012 dehighlight 'end' in comments or strings.
13013 (octave-completing-read, octave-goto-function-definition):
13014 New helpers.
13015 (octave-help-buffer): New user variable.
13016 (octave-help-file, octave-help-function): New button types.
13017 (octave-help): New command and bind it to C-h ;.
13018 (octave-find-definition): New command and bind it to M-.
13019 (user-error): Alias to error if not defined.
13020
13021 2013-05-02 Leo Liu <sdl.web@gmail.com>
13022
13023 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13024 for \. (bug#14332)
13025 (octave-font-lock-keywords): Include [ and {.
13026
13027 2013-05-02 Leo Liu <sdl.web@gmail.com>
13028
13029 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13030 (inferior-octave): Remove calling comint-mode and return the buffer.
13031 (inferior-octave-startup): Cosmetic changes.
13032
13033 2013-05-02 Leo Liu <sdl.web@gmail.com>
13034
13035 * progmodes/octave.el (octave-syntax-propertize-function):
13036 Include the case when ' is at line beginning. (Bug#14336)
13037
13038 2013-05-02 Glenn Morris <rgm@gnu.org>
13039
13040 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13041 * desktop.el (vc-dir-mode): Just autoload it here.
13042
13043 2013-05-02 Alan Mackenzie <acm@muc.de>
13044
13045 Eliminate variable c-standard-font-lock-fontify-region-function.
13046 * progmodes/cc-mode.el
13047 (c-standard-font-lock-fontify-region-function): Remove.
13048 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13049
13050 2013-05-01 Leo Liu <sdl.web@gmail.com>
13051
13052 * progmodes/octave.el: Compatible with older emacs-24 releases.
13053 (inferior-octave-has-built-in-variables): Remove. Built-in
13054 variables were removed from Octave in 2007.
13055 (inferior-octave-startup): Fix uses.
13056 (comint-line-beginning-position): Remove compatibility code for
13057 emacs 21.
13058
13059 2013-05-01 Juri Linkov <juri@jurta.org>
13060
13061 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13062
13063 2013-05-01 Juri Linkov <juri@jurta.org>
13064
13065 * comint.el (comint-previous-matching-input): Don't print message
13066 "History item: %d" when `isearch-mode' is active.
13067 (comint-history-isearch-message): Print message "History item: %d"
13068 when `comint-input-ring-index' is not empty and this function is
13069 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13070
13071 2013-05-01 Leo Liu <sdl.web@gmail.com>
13072
13073 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13074 definitions. Use completion-at-point to insert keywords.
13075 (octave-abbrev-start): Remove.
13076 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13077
13078 2013-04-30 Leo Liu <sdl.web@gmail.com>
13079
13080 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13081 change.
13082
13083 2013-04-30 Alan Mackenzie <acm@muc.de>
13084
13085 Handle arbitrarily long C++ member initialisation lists.
13086 * progmodes/cc-engine.el (c-back-over-member-initializers):
13087 new function.
13088 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13089 (most) member init lists.
13090
13091 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13092
13093 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13094 variable.
13095
13096 2013-04-30 Leo Liu <sdl.web@gmail.com>
13097
13098 * progmodes/octave.el (octave-variables): Remove. No builtin
13099 variables any more. All converted to functions.
13100 (octave-font-lock-keywords, octave-completion-at-point-function):
13101 Fix uses.
13102 (octave-font-lock-texinfo-comment): New user variable.
13103 (octave-texinfo-font-lock-keywords): New variable for texinfo
13104 comment block.
13105 (octave-function-comment-block): New face.
13106 (octave-font-lock-texinfo-comment): New function.
13107 (octave-mode): Font lock texinfo comment block.
13108
13109 2013-04-29 Leo Liu <sdl.web@gmail.com>
13110
13111 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13112 indexing expression.
13113 (octave-continuation-string): Do not use \.
13114 (inferior-octave-complete-impossible): Remove.
13115 (inferior-octave-completion-table)
13116 (inferior-octave-completion-at-point): Remove its uses.
13117 (inferior-octave-startup): completion_matches was introduced to
13118 Octave in 1996 so safe to assume it.
13119 (octave-function-file-comment): Improve to follow how Octave does it.
13120 (octave-update-function-file-comment): Tweak.
13121
13122 2013-04-29 Leo Liu <sdl.web@gmail.com>
13123
13124 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13125 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13126 (octave-function-file-comment): Fix typo.
13127 (octave-sync-function-file-names): Use read-char-choice.
13128
13129 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13130
13131 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13132 to t for the less important warnings.
13133
13134 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13135
13136 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13137
13138 2013-04-27 Glenn Morris <rgm@gnu.org>
13139
13140 * vc/log-view.el (log-view-current-entry):
13141 Treat "---" separator lines as part of the following rev. (Bug#14169)
13142
13143 2013-04-27 Juri Linkov <juri@jurta.org>
13144
13145 * subr.el (read-number): Doc fix about using it by interactive
13146 code letter `n'. (Bug#14254)
13147
13148 2013-04-27 Juri Linkov <juri@jurta.org>
13149
13150 * desktop.el (desktop-auto-save-timeout): New option.
13151 (desktop-file-checksum): New variable.
13152 (desktop-save): Add optional arg `auto-save' and don't auto-save
13153 if nothing changed.
13154 (desktop-auto-save-timer): New variable.
13155 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13156 (after-init-hook): Call `desktop-auto-save-set-timer'.
13157 Suggested by Reuben Thomas <rrt@sc3d.org> in
13158 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13159
13160 2013-04-27 Leo Liu <sdl.web@gmail.com>
13161
13162 * progmodes/octave.el (octave-function-file-p)
13163 (octave-skip-comment-forward, octave-function-file-comment)
13164 (octave-update-function-file-comment): New functions.
13165 (octave-mode-map): Bind C-c ; to
13166 octave-update-function-file-comment.
13167 (octave-mode-menu): Add octave-update-function-file-comment.
13168 (octave-mode, inferior-octave-mode): Fix doc-string.
13169 (octave-insert-defun): Conform to Octave's coding convention.
13170 (Bug#14285)
13171
13172 * files.el (basic-save-buffer): Don't let errors in
13173 before-save-hook prevent saving buffer.
13174
13175 2013-04-20 Roland Winkler <winkler@gnu.org>
13176
13177 * faces.el (read-face-name): Use completing-read if arg multiple
13178 is nil.
13179
13180 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13181
13182 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13183 displayed, move point to after the totals line.
13184 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13185 for the details.
13186
13187 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13190 Add current dir to the load-path.
13191 (package-generate-autoloads): Don't rely on
13192 autoload-ensure-default-file.
13193
13194 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13195
13196 * textmodes/remember.el (remember-store-in-files): Document that
13197 the file name format is passed to `format-time-string'.
13198
13199 2013-04-26 Leo Liu <sdl.web@gmail.com>
13200
13201 * progmodes/octave.el (octave-sync-function-file-names): New function.
13202 (octave-mode): Use it in before-save-hook.
13203
13204 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13207 (bug#14274).
13208
13209 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13210 \n and comment, even if it's not an implicit ; (bug#14218).
13211
13212 2013-04-26 Glenn Morris <rgm@gnu.org>
13213
13214 * subr.el (read-number): Once more use `read' rather than
13215 `string-to-number', to trap non-numeric input. (Bug#14254)
13216
13217 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13218
13219 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13220 Use `syntax-multiline' text property consistently instead of
13221 `font-lock-multiline'. (Bug#14237)
13222
13223 2013-04-26 Glenn Morris <rgm@gnu.org>
13224
13225 * emacs-lisp/shadow.el (list-load-path-shadows):
13226 No longer necessary to check for duplicate simple.el, since
13227 2012-07-07 change to init_lread to not include installation lisp
13228 directories in load-path when running uninstalled. (Bug#14270)
13229
13230 2013-04-26 Leo Liu <sdl.web@gmail.com>
13231
13232 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13233 (octave-mode, inferior-octave-mode): Use setq-local.
13234 (octave-not-in-string-or-comment-p): Rename to
13235 octave-in-string-or-comment-p.
13236 (octave-in-comment-p, octave-in-string-p)
13237 (octave-in-string-or-comment-p): Replace defsubst with defun.
13238
13239 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13240
13241 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13242
13243 2013-04-25 Bastien Guerry <bzg@gnu.org>
13244
13245 * textmodes/remember.el (remember-data-directory)
13246 (remember-directory-file-name-format): Fix custom types.
13247
13248 2013-04-25 Leo Liu <sdl.web@gmail.com>
13249
13250 * progmodes/octave.el (octave-completion-at-point-function):
13251 Make use of inferior octave process.
13252 (octave-initialize-completions): Remove.
13253 (inferior-octave-completion-table): New function.
13254 (inferior-octave-completion-at-point): Use it.
13255 (octave-completion-alist): Remove.
13256
13257 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13258
13259 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13260 (opascal-mode-syntax-table): New var.
13261 (opascal-literal-kind, opascal-is-literal-end)
13262 (opascal-literal-token-at): Rewrite.
13263 (opascal--literal-start-re, opascal-font-lock-keywords)
13264 (opascal--syntax-propertize): New constants.
13265 (opascal-font-lock-defaults): Adjust.
13266 (opascal-mode): Use them. Set comment-<foo> variables as well.
13267 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13268 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13269 (delphi-other-face, opascal-other-face): Remove face variables.
13270 (opascal-save-state): Remove macro.
13271 (opascal-fontifying-progress-step): Remove constant.
13272 (opascal--ignore-changes): Remove var.
13273 (opascal-set-token-property, opascal-parse-next-literal)
13274 (opascal-is-stable-literal, opascal-complete-literal)
13275 (opascal-is-literal-start, opascal-face-of)
13276 (opascal-parse-region, opascal-parse-region-until-stable)
13277 (opascal-fontify-region, opascal-after-change)
13278 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13279 (opascal-debug-parse-region, opascal-debug-parse-window)
13280 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13281 (opascal-debug-fontify-buffer): Remove.
13282 (opascal-debug-mode-map): Adjust accordingly.
13283
13284 2013-04-25 Leo Liu <sdl.web@gmail.com>
13285
13286 Merge octave-mod.el and octave-inf.el into octave.el with some
13287 cleanups.
13288 * progmodes/octave.el: New file renamed from octave-mod.el.
13289 * progmodes/octave-inf.el: Merged into octave.el.
13290 * progmodes/octave-mod.el: Renamed to octave.el.
13291
13292 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13293
13294 * textmodes/reftex-vars.el
13295 (reftex-label-ignored-macros-and-environments): New defcustom.
13296
13297 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13298
13299 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13302 (smie-indent-keyword): Improve the check to ensure that the next
13303 comment is really on the same line.
13304 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13305
13306 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13307 semi-colons if the line is not otherwise empty (bug#14218).
13308
13309 2013-04-25 Glenn Morris <rgm@gnu.org>
13310
13311 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13312
13313 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * progmodes/opascal.el (opascal-set-token-property): Rename from
13316 opascal-set-text-properties and only set `token' (bug#14134).
13317 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13318 (opascal-literal-text-properties): Remove.
13319 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13320 Adjust callers.
13321
13322 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13323
13324 * textmodes/remember.el (remember-handler-functions): Add an
13325 option for a new handler `remember-store-in-files'.
13326 (remember-data-directory, remember-directory-file-name-format):
13327 New options.
13328 (remember-store-in-files): New function to store remember notes
13329 as separate files within a directory.
13330
13331 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13332
13333 * progmodes/compile.el (compilation-next-error-function):
13334 Pass "formats" to compilation-find-file (bug#11777).
13335
13336 2013-04-24 Glenn Morris <rgm@gnu.org>
13337
13338 * vc/vc-bzr.el (vc-bzr-print-log):
13339 * vc/vc-hg.el (vc-hg-print-log):
13340 * vc/vc-svn.el (vc-svn-print-log):
13341 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13342
13343 * vc/vc-bzr.el (vc-bzr-print-log):
13344 * vc/vc-cvs.el (vc-cvs-print-log):
13345 * vc/vc-git.el (vc-git-print-log):
13346 * vc/vc-hg.el (vc-hg-print-log):
13347 * vc/vc-mtn.el (vc-mtn-print-log):
13348 * vc/vc-rcs.el (vc-rcs-print-log):
13349 * vc/vc-sccs.el (vc-sccs-print-log):
13350 * vc/vc-svn.el (vc-svn-print-log):
13351 * vc/vc.el (vc-print-log-internal): Doc fixes.
13352
13353 2013-04-23 Glenn Morris <rgm@gnu.org>
13354
13355 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13356 Remove venerable code attempting to avoid substitute-command-keys.
13357
13358 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13359
13360 * textmodes/reftex-vars.el (reftex-label-regexps):
13361 Call `reftex-compile-variables' after changes to this variable.
13362
13363 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13364
13365 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13366 Use lexical-binding.
13367 (jit-lock-force-redisplay): Use markers, check buffer's continued
13368 existence and beware narrowed buffers.
13369 (jit-lock-fontify-now): Adjust call accordingly.
13370
13371 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13374 to avoid misleading the user.
13375
13376 2013-04-22 Leo Liu <sdl.web@gmail.com>
13377
13378 * info-look.el: Prefer latex2e.info. (Bug#14240)
13379
13380 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13381
13382 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13383
13384 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13385 * net/tramp.el (tramp-call-process): ... here.
13386 (tramp-set-completion-function, tramp-parse-putty):
13387 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13388 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13389 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13390 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13391 (tramp-call-local-coding-command): Use `tramp-call-process'
13392 instead of `tramp-compat-call-process'.
13393
13394 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13395 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13396 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13397 (tramp-find-inline-compress): Improve traces.
13398 (tramp-maybe-send-script): Check for Perl binary.
13399 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13400
13401 2013-04-22 Daiki Ueno <ueno@gnu.org>
13402
13403 * epg.el (epg-context-pinentry-mode): New function.
13404 (epg-context-set-pinentry-mode): New function.
13405 (epg--start): Pass --pinentry-mode option to gpg command.
13406
13407 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13408
13409 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13410 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13411 `completion-at-point'. (Bug#13774)
13412
13413 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13414 default key binding for `describe-distribution' has been moved to
13415 `C-h C-o'. (Bug#13970)
13416
13417 2013-04-21 Glenn Morris <rgm@gnu.org>
13418
13419 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13420 Add doc strings.
13421 (vc-print-log): Clarify interactive prompt.
13422
13423 2013-04-20 Glenn Morris <rgm@gnu.org>
13424
13425 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13426 No longer include timestamp etc information.
13427
13428 2013-04-20 Roland Winkler <winkler@gnu.org>
13429
13430 * faces.el (read-face-name): Bug fix, return just one face if arg
13431 multiple is nil. (Bug#14209)
13432
13433 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13434
13435 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13436 (remove-function): Autoload.
13437
13438 * comint.el (comint-redirect-original-filter-function): Remove.
13439 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13440 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13441 (vc-cvs-annotate-command):
13442 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13443 * progmodes/prolog.el (prolog-consult-compile):
13444 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13445 Use add/remove-function instead.
13446 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13447 (gud-tooltip-process-output, gud-tooltip-tips):
13448 Use add/remove-function instead.
13449 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13450 (scheme-interaction-mode, exit-scheme-interaction-mode):
13451 Use add/remove-function instead.
13452
13453 * vc/vc-dispatcher.el: Use lexical-binding.
13454 (vc--process-sentinel): Rename from vc-process-sentinel.
13455 Change last arg to be the code to run. Don't use vc-previous-sentinel
13456 and vc-sentinel-commands any more.
13457 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13458 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13459
13460 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13461
13462 * progmodes/sh-script.el (sh-imenu-generic-expression):
13463 Handle function names with a single character. (Bug#14111)
13464
13465 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13466
13467 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13468 for subroutines defined in an eval (bug#14182).
13469
13470 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13471
13472 * bookmark.el (bookmark-completing-read): Improve handling of empty
13473 string (bug#14176).
13474
13475 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13478
13479 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13480
13481 New faster Imenu implementation (bug#14058).
13482 * progmodes/python.el:
13483 (python-imenu-prev-index-position):
13484 (python-imenu-format-item-label-function)
13485 (python-imenu-format-parent-item-label-function)
13486 (python-imenu-format-parent-item-jump-label-function):
13487 New vars.
13488 (python-imenu-format-item-label)
13489 (python-imenu-format-parent-item-label)
13490 (python-imenu-format-parent-item-jump-label)
13491 (python-imenu--put-parent, python-imenu--build-tree)
13492 (python-imenu-create-index, python-imenu-create-flat-index)
13493 (python-util-popn): New functions.
13494 (python-mode): Set imenu-create-index-function to
13495 python-imenu-create-index.
13496
13497 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13498
13499 * winner.el (winner-active-region): Use region-active-p, activate-mark
13500 and deactivate-mark (bug#14225).
13501
13502 * simple.el (deactivate-mark): Don't inline it.
13503
13504 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13505
13506 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13507
13508 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13509
13510 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13511 file extensions from the archive-mode entry in order to prefer
13512 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13513
13514 2013-04-18 Leo Liu <sdl.web@gmail.com>
13515
13516 * bindings.el (help-event-list): Add ?\?.
13517
13518 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13519
13520 * subr.el (with-wrapper-hook): Declare obsolete.
13521 * simple.el (filter-buffer-substring-function): New hook.
13522 (filter-buffer-substring): Use it.
13523 (filter-buffer-substring-functions): Mark obsolete.
13524 * minibuffer.el (completion-in-region-function): New hook.
13525 (completion-in-region): Use it.
13526 (completion-in-region-functions): Mark obsolete.
13527 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13528 * abbrev.el (abbrev-expand-function): New hook.
13529 (expand-abbrev): Use it.
13530 (abbrev-expand-functions): Mark obsolete.
13531 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13532 and :filter-return.
13533
13534 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13535
13536 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13537 and do not care about match data.
13538
13539 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13540
13541 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13542 completion tables when completing error conditions and
13543 `declare' arguments.
13544 (lisp-complete-symbol, field-complete): Mark as obsolete.
13545 (check-parens): Unmatched parens are user errors.
13546 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13547
13548 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13549
13550 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13551 command changed buffer (ie. `flyspell-pre-buffer' is not current
13552 buffer), which prevents making decisions based on invalid value of
13553 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13554 cause an error when `flyspell-pre-point' was nil after switching
13555 buffers.
13556 (flyspell-post-command-hook): No longer needs to change buffers when
13557 checking pre-word. While at it remove unnecessary progn.
13558
13559 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13560
13561 * textmodes/ispell.el (ispell-add-per-file-word-list):
13562 Fix `flyspell-correct-word-before-point' error when accepting
13563 words and `coment-padding' is an integer by using
13564 `comment-normalize-vars' (Bug #14214).
13565
13566 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13567
13568 New defun movement commands.
13569 * progmodes/python.el (python-nav--syntactically)
13570 (python-nav--forward-defun, python-nav-backward-defun)
13571 (python-nav-forward-defun): New functions.
13572
13573 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13574
13575 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13576 (python-syntax-context): Use named compiler-macro for backwards
13577 compatibility with Emacs 24.x.
13578
13579 2013-04-17 Leo Liu <sdl.web@gmail.com>
13580
13581 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13582 octave-hide-process-buffer.
13583
13584 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13585
13586 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13587 (bug#14216).
13588
13589 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13590
13591 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13592 Fix adjustment of offset when receiving incomplete responses from GDB
13593 (bug#14129).
13594
13595 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13596
13597 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13598 python-mode-abbrev-table.
13599 (python-skeleton-define): Adjust accordingly.
13600 (python-mode-abbrev-table): New table that inherits from it so that
13601 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13602
13603 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13604 (abbrev-symbol): Use it.
13605 (abbrev--before-point): Use it since we already handle inheritance.
13606
13607 2013-04-16 Leo Liu <sdl.web@gmail.com>
13608
13609 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13610 binding to info-lookup-symbol.
13611
13612 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13613
13614 * minibuffer.el (completion--twq-all):
13615 * term/ns-win.el (ns-initialize-window-system):
13616 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13617
13618 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13619
13620 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13621 global bindings.
13622
13623 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13624
13625 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13626
13627 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13628 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13629 to nil.
13630 (ruby-end-of-defun): Remove the unused arg, change the docstring
13631 to reflect that this function is only used as the value of
13632 `end-of-defun-function'.
13633 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13634 to reflect an earlier change that beginning/end-of-defun functions
13635 jump between methods in a class definition, as well as top-level
13636 functions.
13637
13638 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13639
13640 * minibuffer.el (minibuffer-complete): Don't just scroll
13641 a *Completions* that's been iconified.
13642 (minibuffer-force-complete): Make sure repetitions do cycle when going
13643 through completion-in-region -> minibuffer-complete.
13644
13645 2013-04-15 Alan Mackenzie <acm@muc.de>
13646
13647 Correct the placement of c-cpp-delimiters when there're #s not at
13648 col 0.
13649
13650 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13651 place a submatch around the #.
13652 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13653 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13654 on the #, not BOL.
13655
13656 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13659 (advice--member-p): New arg `name'.
13660 (advice--add-function, advice-member-p): Use it (bug#14202).
13661
13662 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13663
13664 Reformulate java imenu-generic-expression.
13665 The old expression contained ill formed regexps.
13666
13667 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13668 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13669 (cc-imenu-java-method-arg-regexp): New defconsts.
13670 (cc-imenu-java-build-type-args-regex): New defun.
13671 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13672 handling of spaces in the regexp.
13673
13674 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13675
13676 * textmodes/ispell.el (ispell-command-loop): Remove
13677 flyspell highlight of a word when ispell accepts it (bug #14178).
13678
13679 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13680
13681 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13682 uses code from the previous `ange-ftp-run-real-handler'.
13683 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13684 only in case that function exist. This is needed for proper
13685 unloading of Tramp.
13686
13687 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13688
13689 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13690
13691 * textmodes/reftex.el (reftex-compile-variables): Use it.
13692
13693 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * files.el (normal-mode): Only use default major-mode if no other mode
13696 was specified.
13697
13698 * emacs-lisp/trace.el (trace-values): New function.
13699
13700 * files.el: Allow : in local variables (bug#14089).
13701 (hack-local-variable-regexp): New var.
13702 (hack-local-variables-prop-line, hack-local-variables): Use it.
13703
13704 2013-04-13 Roland Winkler <winkler@gnu.org>
13705
13706 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13707 data before it gets modified by bibtex-beginning-of-entry.
13708
13709 2013-04-13 Roland Winkler <winkler@gnu.org>
13710
13711 * textmodes/bibtex.el (bibtex-url): Doc fix.
13712
13713 2013-04-13 Roland Winkler <winkler@gnu.org>
13714
13715 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13716 does not visit a BibTeX file, exclude it from the list of buffers
13717 returned by bibtex-initialize.
13718
13719 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13720
13721 * window.el (split-window): Remove interactive form, since as a
13722 command this function is a special case of split-window-below.
13723 Correct doc string.
13724
13725 2013-04-12 Roland Winkler <winkler@gnu.org>
13726
13727 * faces.el (read-face-name): Do not override value of arg default.
13728 Allow single faces and strings as default values. Remove those
13729 elements from return value that are not faces.
13730 (describe-face): Simplify.
13731 (face-at-point): New optional args thing and multiple so that this
13732 function can provide the same functionality previously provided by
13733 read-face-name.
13734 (make-face-bold, make-face-unbold, make-face-italic)
13735 (make-face-unitalic, make-face-bold-italic, invert-face)
13736 (modify-face, read-face-and-attribute): Use face-at-point.
13737
13738 * cus-edit.el (customize-face, customize-face-other-window)
13739 * cus-theme.el (custom-theme-add-face)
13740 * face-remap.el (buffer-face-set)
13741 * facemenu.el (facemenu-set-face): Use face-at-point.
13742
13743 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13744
13745 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13746
13747 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13748
13749 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13750 off leading { and trailing } from field values.
13751
13752 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * emacs-lisp/timer.el (timer--check): New function.
13755 (timer--time, timer-set-function, timer-event-handler): Use it.
13756 (timer-set-idle-time): Simplify.
13757 (timer--activate): CSE.
13758 (timer-event-handler): Give more info in error message.
13759 (internal-timer-start-idle): New function, moved from C.
13760
13761 * mpc.el (mpc-proc): Add `restart' argument.
13762 (mpc-proc-cmd): Use it.
13763 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13764 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13765 less often.
13766
13767 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13768
13769 * progmodes/sh-script.el: Implement `sh-mode' own
13770 `add-log-current-defun-function' (bug#14112).
13771 (sh-current-defun-name): New function.
13772 (sh-mode): Use the function.
13773
13774 2013-04-09 Bastien Guerry <bzg@gnu.org>
13775
13776 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13777
13778 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13779
13780 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13781
13782 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13783 timer (bug#14156).
13784
13785 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13786
13787 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13788 declaration.
13789
13790 2013-04-07 Leo Liu <sdl.web@gmail.com>
13791
13792 * pcmpl-x.el: New file.
13793
13794 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13795
13796 Do not set x-display-name until X connection is established.
13797 This is needed to prevent from weird situation described at
13798 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13799 * frame.el (make-frame): Set x-display-name after call to
13800 window system initialization function, not before.
13801 * term/x-win.el (x-initialize-window-system): Add optional
13802 display argument and use it.
13803 * term/w32-win.el (w32-initialize-window-system):
13804 * term/ns-win.el (ns-initialize-window-system):
13805 * term/pc-win.el (msdos-initialize-window-system):
13806 Add compatible optional display argument.
13807
13808 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13809
13810 * files.el (normal-backup-enable-predicate): On MS-Windows and
13811 MS-DOS compare truenames of temporary-file-directory and of the
13812 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13813 don't fail comparison by compare-strings. Also, compare file
13814 names case-insensitively on MS-Windows and MS-DOS.
13815
13816 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13819 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13820
13821 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13822
13823 * whitespace.el (whitespace-color-on, whitespace-color-off):
13824 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13825
13826 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13827
13828 * ispell.el (ispell-set-spellchecker-params):
13829 Really set `ispell-args' for all equivs.
13830
13831 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13832
13833 * ido.el (ido-completions): Use extra elements of ido-decorations
13834 (bug#14143).
13835 (ido-decorations): Update docstring.
13836
13837 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13838
13839 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13840 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13841 nil during initialization, in order not to miss changes since the
13842 file was opened. (Bug#14140)
13843
13844 2013-04-05 Leo Liu <sdl.web@gmail.com>
13845
13846 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13847
13848 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13849
13850 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13851
13852 2013-04-04 Glenn Morris <rgm@gnu.org>
13853
13854 * electric.el (electric-pair-inhibit-predicate): Add :version.
13855
13856 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13859 when a package is required several times (bug#14082).
13860
13861 2013-04-04 Roland Winkler <winkler@gnu.org>
13862
13863 * faces.el (read-face-name): Behave as promised by the docstring.
13864 Assume that arg default is a list of faces.
13865 (describe-face): Call read-face-name with list of default faces.
13866
13867 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13868
13869 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13870 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13871 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13872 the header.
13873 (bookmark-exit-hook-internal): Save even if list is empty.
13874
13875 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13876
13877 * emacs-lisp/package.el (package-pinned-packages): New var.
13878 (package--add-to-archive-contents): Obey it (bug#14118).
13879
13880 2013-04-03 Alan Mackenzie <acm@muc.de>
13881
13882 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13883 Also adapt to the new values of element 7 of a parse state.
13884
13885 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13886 parameter `not-in-delimiter'. Handle being inside comment opener.
13887 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13888 character in case we're typing a '*' after a '/'.
13889 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13890 instead by passing the parameter to c-state-pp-to-literal.
13891
13892 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13893 for elt. 7 of a parse state.
13894
13895 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13896
13897 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13898 * international/latin1-disp.el, international/mule-util.el:
13899 * language/cyril-util.el, language/european.el, language/ind-util.el:
13900 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13901 * language/tibetan.el, language/viet-util.el:
13902 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13903
13904 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13905
13906 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13907 (electric-pair-post-self-insert-function): Use it.
13908 (electric-pair-default-inhibit): New function, extracted from
13909 electric-pair-post-self-insert-function.
13910
13911 2013-03-31 Roland Winkler <winkler@gnu.org>
13912
13913 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13914
13915 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13916
13917 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13918
13919 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13920
13921 Un-indent after "pass" and "return" statements (Bug#13888)
13922 * progmodes/python.el (python-indent-block-enders): New var.
13923 (python-indent-calculate-indentation): Use it.
13924
13925 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13926
13927 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13928 defun. Defining it as defalias could introduce too eager
13929 byte-compiler optimization. (Bug#14030)
13930
13931 2013-03-30 Chong Yidong <cyd@gnu.org>
13932
13933 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13934
13935 2013-03-30 Leo Liu <sdl.web@gmail.com>
13936
13937 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13938 (kmacro-execute-from-register): Pass the keyboard macro to
13939 kmacro-call-macro or repeating won't work correctly.
13940
13941 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13942
13943 * progmodes/subword.el: Back to using `forward-symbol'.
13944
13945 * subr.el (forward-whitespace, forward-symbol)
13946 (forward-same-syntax): Move from thingatpt.el.
13947
13948 2013-03-29 Leo Liu <sdl.web@gmail.com>
13949
13950 * kmacro.el (kmacro-to-register): New command.
13951 (kmacro-execute-from-register): New function.
13952 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13953
13954 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13955
13956 * mpc.el: Use defvar-local and setq-local.
13957 (mpc--proc-connect): Connection failures are not bugs.
13958 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13959 (mpc-volume-map): Bind to the up-events.
13960
13961 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13962
13963 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13964 instead of `forward-symbol'.
13965
13966 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13967
13968 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13969 (edebug--recursive-edit): Use it.
13970 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13971 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13972
13973 2013-03-28 Leo Liu <sdl.web@gmail.com>
13974
13975 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13976
13977 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13978
13979 * facemenu.el (list-colors-callback): New defvar.
13980 (list-colors-redisplay): New function.
13981 (list-colors-display): Install list-colors-redisplay as the
13982 revert-buffer-function. (Bug#14063)
13983
13984 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13985
13986 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13987 and suffixes don't overlap (bug#14061).
13988
13989 * case-table.el: Use lexical-binding.
13990 (case-table-get-table): New function.
13991 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13992
13993 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13994
13995 * progmodes/subword.el: Add `superword-mode' to do word motion
13996 over symbol_words (parallels and leverages `subword-mode' which
13997 does word motion inside MixedCaseWords).
13998
13999 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14000
14001 * eshell/em-unix.el: Move su and sudo to...
14002 * eshell/em-tramp.el: ...Eshell tramp module.
14003
14004 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14007 Change return value to be a sexp. Delay `get-buffer' to after
14008 restoring the desktop (bug#13951).
14009
14010 2013-03-26 Leo Liu <sdl.web@gmail.com>
14011
14012 * register.el: Move semantic tag handling back to
14013 cedet/semantic/senator.el. (Bug#14052)
14014
14015 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14018 into the prompt either (bug#13963).
14019
14020 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14021
14022 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14023 part of "(error-foo)".
14024
14025 2013-03-24 Juri Linkov <juri@jurta.org>
14026
14027 * replace.el (list-matching-lines-prefix-face): New defcustom.
14028 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14029 `occur-engine' if `face-differs-from-default-p' returns t.
14030 (occur-engine): Add `,' inside backquote construct to evaluate
14031 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14032 Pass `prefix-face' to the functions `occur-context-lines' and
14033 `occur-engine-add-prefix'.
14034 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14035 `prefix-face' and propertize the prefix with `prefix-face'.
14036 (Bug#14017)
14037
14038 2013-03-24 Leo Liu <sdl.web@gmail.com>
14039
14040 * nxml/rng-valid.el (rng-validate-while-idle)
14041 (rng-validate-quick-while-idle): Guard against deleted buffer.
14042 (Bug#13999)
14043
14044 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14045 is the last entry in kill-buffer-hook.
14046
14047 * files.el (kill-buffer-hook): Doc fix.
14048
14049 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14050
14051 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14052 Make it safe-local.
14053
14054 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14055
14056 2013-03-23 Leo Liu <sdl.web@gmail.com>
14057
14058 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14059 Remove.
14060
14061 * nxml/rng-valid.el (rng-validate-mode)
14062 (rng-after-change-function, rng-do-some-validation):
14063 * nxml/rng-maint.el (rng-validate-buffer):
14064 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14065 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14066 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14067 (nxml-extend-after-change-region): Use with-silent-modifications.
14068
14069 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14070 timer-idle-list.
14071
14072 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14073 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14074 timer-idle-list. (Bug#13999)
14075
14076 2013-03-23 Juri Linkov <juri@jurta.org>
14077
14078 * info.el (info-index-match): New face.
14079 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14080 main pattern and add text properties with the new face to matches
14081 in index entries relative to the beginning of the index entry.
14082 (Bug#14015)
14083
14084 2013-03-21 Eric Ludlam <zappo@gnu.org>
14085
14086 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14087 Inhibit read only while inserting objects.
14088
14089 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14090
14091 * progmodes/cfengine.el: Update docs to mention
14092 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14093 symbol motion. Remove "_" from the word syntax.
14094
14095 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14096
14097 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14098 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14099
14100 2013-03-20 Juri Linkov <juri@jurta.org>
14101
14102 * info.el (Info-next-reference-or-link)
14103 (Info-prev-reference-or-link): New functions.
14104 (Info-next-reference, Info-prev-reference): Use them.
14105 (Info-try-follow-nearest-node): Handle footnote navigation.
14106 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14107
14108 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14109
14110 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14111 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14112
14113 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14114
14115 Suppress unnecessary non-ASCII chatter during build process.
14116 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14117 (batch-skkdic-convert): Suppress most of the chatter.
14118 It's not needed so much now that machines are faster,
14119 and its non-ASCII component was confusing; see Dmitry Gutov in
14120 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14121
14122 2013-03-20 Leo Liu <sdl.web@gmail.com>
14123
14124 * ido.el (ido-chop): Fix bug#10994.
14125
14126 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14127
14128 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14129 Remove vars.
14130 (whitespace-color-on, whitespace-color-off):
14131 Use `font-lock-fontify-buffer' (Bug#13817).
14132
14133 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14134
14135 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14136 remapping in mode-line.
14137 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14138
14139 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14140
14141 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14142 value for `whitespace-line' face (Bug#13875).
14143 (whitespace-font-lock-keywords): Change description.
14144 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14145 the constructed keywords instead.
14146 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14147
14148 2013-03-19 Leo Liu <sdl.web@gmail.com>
14149
14150 * progmodes/compile.el (compilation-display-error): New command.
14151 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14152 C-o. (Bug#13992)
14153
14154 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14155
14156 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14157
14158 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14159
14160 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14161
14162 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14163
14164 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14165
14166 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14167 * net/tramp-gvfs.el (top):
14168 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14169 (tramp-handle-shell-command): Use it.
14170 (tramp-dissect-file-name): Raise an error when hostname is a
14171 method name, and neither method nor user is specified.
14172
14173 * net/trampver.el: Update release number.
14174
14175 2013-03-18 Leo Liu <sdl.web@gmail.com>
14176
14177 Make sure eldoc can be turned off properly.
14178 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14179 eldoc-mode.
14180 (eldoc-display-message-p): Revert last change.
14181 (eldoc-display-message-no-interference-p)
14182 (eldoc-print-current-symbol-info): Tweak.
14183
14184 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14185
14186 * doc-view.el (doc-view-new-window-function): Check the new window
14187 overlay's display property instead the char property of the
14188 buffer's first char. Use `with-selected-window' instead of
14189 `save-window-excursion' with `select-window'.
14190 (doc-view-document->bitmap): Check the current doc-view overlay's
14191 display property instead the char property of the buffer's first char.
14192
14193 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14194
14195 Automate the build of ja-dic.el (Bug#13984).
14196 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14197 from the input, rather than assume that it's been done for us by the
14198 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14199 the current date into a ja-dic.el comment, as that complicates
14200 regression testing.
14201
14202 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14203
14204 * whitespace.el: Fix double evaluation.
14205 (whitespace-space, whitespace-hspace, whitespace-tab)
14206 (whitespace-newline, whitespace-trailing, whitespace-line)
14207 (whitespace-space-before-tab, whitespace-indentation)
14208 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14209 obsolete defvars.
14210 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14211 (whitespace-color-on): Use a single font-lock-add-keywords call.
14212 Fix double-evaluation of face variables.
14213
14214 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14215
14216 * net/tramp-adb.el (tramp-adb-parse-device-names):
14217 Use `start-process' instead of `call-process'. Otherwise, the
14218 function might be blocked under MS Windows. (Bug#13299)
14219
14220 2013-03-17 Leo Liu <sdl.web@gmail.com>
14221
14222 Extend eldoc to display info in the mode-line. (Bug#13978)
14223 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14224 (eldoc-mode-line-string): New variable.
14225 (eldoc-minibuffer-message): New function.
14226 (eldoc-message-function): New variable.
14227 (eldoc-message): Use it.
14228 (eldoc-display-message-p)
14229 (eldoc-display-message-no-interference-p):
14230 Support eldoc-post-insert-mode.
14231
14232 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14233 (eval-expression): Run it.
14234
14235 2013-03-17 Roland Winkler <winkler@gnu.org>
14236
14237 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14238 strings in the list of return values.
14239
14240 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14241
14242 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14243 radix before checking for HMS forms.
14244
14245 2013-03-16 Leo Liu <sdl.web@gmail.com>
14246
14247 * progmodes/scheme.el: Add indentation and font-locking for λ.
14248 (Bug#13975)
14249
14250 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14251
14252 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14253 token before point (bug#13942).
14254
14255 2013-03-16 Leo Liu <sdl.web@gmail.com>
14256
14257 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14258
14259 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14260
14261 * startup.el (command-line-normalize-file-name): Fix handling of
14262 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14263 <xfq.free@gmail.com> in
14264 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14265
14266 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14267
14268 Sync with Tramp 2.2.7.
14269
14270 * net/trampver.el: Update release number.
14271
14272 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14273
14274 * doc-view.el: Fix bug#13887.
14275 (doc-view-insert-image): Don't modify overlay associated to
14276 non-live windows, and implement horizontal centering of image in
14277 case it's smaller than the window.
14278 (doc-view-new-window-function): Force redisplay of new windows on
14279 doc-view buffers.
14280
14281 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14282
14283 * saveplace.el (save-place-alist-to-file): Don't sort
14284 `save-place-alist', just pretty-print it (bug#13882).
14285
14286 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14287
14288 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14289 Check whether `default-file-name-coding-system' is bound.
14290 It isn't in XEmacs.
14291
14292 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14293
14294 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14295 backquotes for `obsolete' (bug#13929).
14296
14297 * international/mule.el (find-auto-coding): Include file name in
14298 obsolescence warning (bug#13922).
14299
14300 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14301
14302 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14303 for CFEngine 3-specific indentation.
14304 (cfengine3-indent-line): Use it. Fix up category regex.
14305 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14306
14307 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14308
14309 * type-break.el (type-break-file-name):
14310 * textmodes/remember.el (remember-data-file):
14311 * strokes.el (strokes-file):
14312 * shadowfile.el (shadow-initialize):
14313 * saveplace.el (save-place-file):
14314 * ps-bdf.el (bdf-cache-file):
14315 * progmodes/idlwave.el (idlwave-config-directory):
14316 * net/quickurl.el (quickurl-url-file):
14317 * international/kkc.el (kkc-init-file-name):
14318 * ido.el (ido-save-directory-list-file):
14319 * emulation/viper.el (viper-custom-file-name):
14320 * emulation/vip.el (vip-startup-file):
14321 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14322 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14323
14324 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14325
14326 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14327 * language/thai-word.el: Switch to UTF-8.
14328
14329 See ChangeLog.16 for earlier changes.
14330
14331 ;; Local Variables:
14332 ;; coding: utf-8
14333 ;; End:
14334
14335 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14336
14337 This file is part of GNU Emacs.
14338
14339 GNU Emacs is free software: you can redistribute it and/or modify
14340 it under the terms of the GNU General Public License as published by
14341 the Free Software Foundation, either version 3 of the License, or
14342 (at your option) any later version.
14343
14344 GNU Emacs is distributed in the hope that it will be useful,
14345 but WITHOUT ANY WARRANTY; without even the implied warranty of
14346 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14347 GNU General Public License for more details.
14348
14349 You should have received a copy of the GNU General Public License
14350 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.