src/buffer.h, src/frame.h: Clarify doc of optimization variables.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b7cf27ed
EZ
12014-04-04 Eli Zaretskii <eliz@gnu.org>
2
3 * international/characters.el (mirroring): Fix last change:
4 instead of loading uni-mirrored.el explicitly, do that implicitly
5 by creating the 'mirroring' uniprop table. This avoids announcing
6 the loading of uni-mirrored.el.
7
8a1d24b1
GM
82014-04-04 Glenn Morris <rgm@gnu.org>
9
10 * files.el (buffer-stale--default-function)
11 (buffer-stale-function, revert-buffer--default):
12 * autorevert.el (auto-revert-buffers): Doc tweaks.
13
bbab1c4f
EZ
142014-04-03 Eli Zaretskii <eliz@gnu.org>
15
16 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
17
d738ebdc
GM
182014-04-03 Glenn Morris <rgm@gnu.org>
19
20 * files.el (make-backup-file-name-function)
21 (make-backup-file-name, make-backup-file-name--default-function)
22 (make-backup-file-name-1, find-backup-file-name)
23 (revert-buffer-function, revert-buffer-insert-file-contents-function)
24 (buffer-stale--default-function, buffer-stale-function)
25 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
26 (revert-buffer, revert-buffer--default)
27 (revert-buffer-insert-file-contents--default-function):
28 Doc fixes related to defaults no longer being nil.
29 (make-backup-file-name-function): Bump :version.
30 Restore nil as a valid but deprecated custom type.
31
062e286b
SM
322014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
35 used as a variable (bug#17174).
36
66f50b12
SM
372014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * progmodes/perl-mode.el (perl-indent-new-calculate):
40 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
41 (perl-syntax-propertize-function): Add "foreach" and "for" statement
42 modifiers introducing expressions (bug#17116).
66f50b12 43
c7510f6e
GM
442014-04-02 Glenn Morris <rgm@gnu.org>
45
0b908bf2
GM
46 * menu-bar.el (menu-bar-file-menu):
47 * vc/ediff.el (ediff-current-file):
48 Update for revert-buffer-function no longer being nil by default.
49
c7510f6e
GM
50 * simple.el (command-execute): Respect nil disabled-command-function.
51
6116a727
NR
522014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
53
54 * simple.el (command-execute): Do not execute the command when it
55 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
56
8778eb5e
JL
572014-03-29 Juri Linkov <juri@jurta.org>
58
59 * dired-aux.el (dired-compress-file): Don't use string-match-p
60 because its match data is used afterwards.
61
929c0500
SM
622014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
65 0 like nil.
66
42ebc34e
DG
672014-03-27 Dmitry Gutov <dgutov@yandex.ru>
68
929c0500
SM
69 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
70 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 71
42ebc34e
DG
72 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
73 Don't propertize `?' or `!' as symbol constituent when after
74 colon. (Bug#17097)
75
b1c870c9
JB
762014-03-27 Juanma Barranquero <lekktu@gmail.com>
77
857ba6ec
JB
78 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
79 which is no longer needed and causes trouble in GTK builds (bug#17046).
80
b1c870c9
JB
81 * emacs-lisp/package-x.el (package--archive-contents-from-url):
82 Use url-insert-file-contents; package-handle-response no longer exists.
83
196716cf
JB
842014-03-26 Juanma Barranquero <lekktu@gmail.com>
85
86 * emacs-lisp/package.el: Fix bug#16733 (again).
87 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
88 (url-http-target-url): Remove unused declarations.
89 (package-handle-response): Remove.
90 (package--with-work-buffer): Use url-insert-file-contents and simplify.
91 (package--download-one-archive): Use current-buffer instead of
92 dynamic binding of `buffer'.
93 (describe-package-1): Do not decode readme-string.
94
657e54f7
BR
952014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
96
97 * simple.el (primitive-undo): Correction to 2014-03-24 change.
98
1f73d6c6
MA
992014-03-25 Michael Albinus <michael.albinus@gmx.de>
100
101 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
102
103 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
104 from 2014-03-07, it decreases performance unnecessarily. Let-bind
105 `remote-file-name-inhibit-cache' to nil in the second pass.
106 (tramp-find-executable): Do not call "which" on SunOS.
107 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
108 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
109 check whether source directory has set the sticky bit.
1f73d6c6 110
37ea8275
BR
1112014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
112
113 * simple.el (primitive-undo): Only process marker adjustments
114 validated against their corresponding (TEXT . POS). Issue warning
115 for lone marker adjustments in undo history. (Bug#16818)
116 (undo-make-selective-list): Add marker adjustments to selective
117 undo list based on whether their corresponding (TEXT . POS) is in
118 the region. Remove variable adjusted-markers, which was unused
119 and only non nil during undo-make-selective-list.
120 (undo-elt-in-region): Return nil when passed a marker adjustment
121 and explain in function doc.
122
3e2377ce
DG
1232014-03-24 Dmitry Gutov <dgutov@yandex.ru>
124
125 * emacs-lisp/package.el (package--add-to-archive-contents):
126 Include already installed and built-in packages in
127 `package-archive-contents'.
128 (package-install): Don't include already installed packages in the
129 options during interactive invocation. (Bug#16762)
130
544ab460
DC
1312014-03-24 Daniel Colascione <dancol@dancol.org>
132
133 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
134 instead of cl-loop search function.
135
c3561529
JB
1362014-03-24 Juanma Barranquero <lekktu@gmail.com>
137
138 * frameset.el (frameset--initial-params): Fix typo in parameter name.
139
74be1649
NR
1402014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
141
142 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
143
c2d6c639
DG
1442014-03-24 Dmitry Gutov <dgutov@yandex.ru>
145
146 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
147 Match special global variables without curlies, too.
148 (ruby-font-lock-keywords): Simplify the matcher for special global
149 variables. Don't require a non-word character after the variable.
150 (Bug#17057)
151
f6614a47
SM
1522014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * simple.el (redisplay-highlight-region-function): Increase priority of
155 overlay to make sure boundaries are visible (bug#15899).
156
3ea2c781
JB
1572014-03-23 Juanma Barranquero <lekktu@gmail.com>
158
ee79b33f
JB
159 * frameset.el (frameset-restore): Compare display strings with equal.
160
3ea2c781
JB
161 * frame.el (make-frame): Don't quote display name in error message,
162 it is already a string.
163
f1e06f7b
TV
1642014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
165
166 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
167 the password.
168
2614c1af
DG
1692014-03-23 Dmitry Gutov <dgutov@yandex.ru>
170
171 * emacs-lisp/package.el (package-show-package-list): If the buffer
172 is already displayed in another window, switch to that window.
173
a41475e1
DC
1742014-03-21 Daniel Colascione <dancol@dancol.org>
175
176 * mail/emacsbug.el (report-emacs-bug): Include memory usage
177 information in bug reports.
178
7eab98da
DC
1792014-03-23 Daniel Colascione <dancol@dancol.org>
180
181 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
182 list to look for keyword arguments instead of `memq', fixing
183 (Bug#3647) --- unfortunately, only for freshly-compiled code.
184 Please make bootstrap.
185
9e37f3b9
RS
1862014-03-23 Richard Stallman <rms@gnu.org>
187
188 * battery.el (battery-linux-sysfs): Search for each field
189 from the beginning of the buffer.
190
1197f2e6
DG
1912014-03-22 Dmitry Gutov <dgutov@yandex.ru>
192
193 * emacs-lisp/package.el (package-desc): Use the contents of the
194 quoted form, not its cdr. (Bug#16873)
195
aac06179
JB
1962014-03-22 Juanma Barranquero <lekktu@gmail.com>
197
198 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
199 benefit of doc.c; change parameter profile to match the X function.
200
1e92a8a3
MA
2012014-03-21 Michael Albinus <michael.albinus@gmx.de>
202
203 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
204 and `tramp-copy-env'.
205
206 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
207 (tramp-maybe-open-connection): Handle `tramp-login-env'.
208
78540c42
GM
2092014-03-21 Glenn Morris <rgm@gnu.org>
210
211 * electric.el (electric-indent-post-self-insert-function): Add doc.
212
1fc8f655
DG
2132014-03-21 Dmitry Gutov <dgutov@yandex.ru>
214
dcf78667
DG
215 * emacs-lisp/package.el (package-compute-transaction):
216 Use `version-list-<=' to compare the requirement version against
217 the version of package already to be installed. Update the error
218 message. (Bug#16826)
219
1fc8f655
DG
220 * progmodes/ruby-mode.el (ruby-smie-rules):
221 Add indentation rule for ` @ '. (Bug#17050)
222
dada060d
JB
2232014-03-21 Juanma Barranquero <lekktu@gmail.com>
224
225 * align.el (align-regexp): Remove superfluous backslash.
226
227 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
228 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
229 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
230 Fix docstring typos.
231 (ffap-next): Use C-u in docstring.
232 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
233 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
234 Remove superfluous backslashes.
235 (ffap-string-at-point): Reflow docstring.
236
237 * server.el (server-host): Reflow docstring.
238 (server-unload-function): Fix docstring typo.
239 (server-eval-at): Remove superfluous backslash.
240
241 * skeleton.el (skeleton-insert): Remove superfluous backslash.
242 (skeleton-insert): Doc fix.
243 (skeleton-insert): Reflow docstring.
244
245 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
246 (tty-color-approximate, tty-color-by-index, tty-color-values)
247 (tty-color-desc): Remove superfluous backslashes.
248
049fac7c
SM
2492014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
250
494ec1e7
SM
251 * electric.el (electric-newline-and-maybe-indent): New command.
252 Bind it globally to C-j.
253 (electric-indent-mode): Don't mess with the global map any more.
254 Don't drop the post-self-insert-hook is some buffer is still using it
255 (bug#16770).
66f50b12 256
494ec1e7
SM
257 * bindings.el (global-map): Remove C-j binding.
258
049fac7c
SM
259 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
260 the docstring of functions advised before dumping (bug#16993).
261
f15ec1ba 2622014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
263
264 * ps-print.el (ps-generate-postscript-with-faces):
265 Explicitly deactivate the mark (bug#16866).
266 * simple.el (deactivate-mark): Update region highlight.
267
f88bdc45
JB
2682014-03-19 Juanma Barranquero <lekktu@gmail.com>
269
270 * emacs-lisp/package.el (describe-package-1):
271 Decode commentary (bug#16733).
272
6b88e570
JB
2732014-03-18 Juanma Barranquero <lekktu@gmail.com>
274
275 * custom.el (defcustom): Doc fix: recommend avoiding destructive
276 modification of the value argument of :set (bug#16755).
277
ac9b4703
SM
2782014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * simple.el (newline-and-indent): Do autofill (bug#17031).
281
2b7858ec
DG
2822014-03-18 Dmitry Gutov <dgutov@yandex.ru>
283
284 * newcomment.el (comment-normalize-vars): Only add escaping check
285 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
286 (comment-beginning): Use `narrow-to-region' instead of moving back
287 one character.
288 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
289 (comment-start-skip): Update the docstring.
290
11eff3ae
RS
2912014-03-18 Richard Stallman <rms@gnu.org>
292
293 * dired.el (dired-display-file): Force use of other window.
294
07f44fdb
JB
2952014-03-18 Daniel Colascione <dancol@dancol.org>
296
297 * startup.el (tty-handle-args): Remove debug message from 2007.
298
2992014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
300
301 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
302 (advice--make-interactive-form): Use it to avoid (auto)loading function.
303 (advice--make-1, advice-add, advice-remove):
304 Remove braindead :advice-pending hack.
305
61debe4a
GM
3062014-03-17 Glenn Morris <rgm@gnu.org>
307
308 * calendar/calendar.el (calendar-generate-month): Apply weekend
309 face to the right days; fixes 2013-08-06 change. (Bug#17028)
310
8273986b
MA
3112014-03-17 Michael Albinus <michael.albinus@gmx.de>
312
313 * net/tramp.el (tramp-action-out-of-band): Read pending output.
314 (tramp-call-process): Trace also DESTINATION.
315
316 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
317 Quote file names when they are local. Remove superfluous trace.
318
4f8aeb84
DG
3192014-03-17 Dmitry Gutov <dgutov@yandex.ru>
320
218feefc
DG
321 * newcomment.el (comment-beginning): If `comment-start-skip'
322 doesn't match, move back one char and try again. (Bug#16971)
323
6c187ef5
SM
324 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
325 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
326 Set `comment-start-skip' to a simpler value that doesn't try to
327 check if the semicolon is escaped (this is handled by
328 `syntax-ppss' now). (Bug#16971)
329
330 * progmodes/scheme.el (scheme-mode-variables): Same.
331
b92631bf
MR
3322014-03-16 Martin Rudalics <rudalics@gmx.at>
333
334 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
335 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
336 current (Bug#16816, Bug#17007).
337 (with-current-buffer-window): New macro doing the same as
338 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
339 * help.el (help-print-return-message): Warn in doc-string to not
340 use this in `with-help-window'.
341 (describe-bindings-internal): Call `describe-buffer-bindings'
342 from within help buffer. See Juanma's scenario in (Bug#16816).
343 (with-help-window): Update doc-string.
344 * dired.el (dired-mark-pop-up):
345 * files.el (save-buffers-kill-emacs):
346 * register.el (register-preview): Use `with-current-buffer-window'
347 instead of `with-temp-buffer-window'.
348
57348c4d
JB
3492014-03-16 Juanma Barranquero <lekktu@gmail.com>
350
351 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
352 Implement inserting into current buffer, documented in their docstrings.
353 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
354 (rst-section-tree-point, rst-forward-section, rst-indent)
355 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
356 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
357 (rst-font-lock-handle-adornment-pre-match-form)
358 (rst-repeat-last-character): Reflow docstrings.
359 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
360 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
361 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
362 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
363 Fix docstring typos.
364 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
365 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
366 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
367
fd16b061
JB
3682014-03-15 Juanma Barranquero <lekktu@gmail.com>
369
a2403e3d
JB
370 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
371 for compatibility with other ports.
372 (ns-initialize-window-system): Use it. It is set in term/common-win.el
373 from the -xrm command line argument, but in the Nextstep port its value
374 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
375
fd16b061
JB
376 * progmodes/python.el (defconst, python-syntax-count-quotes)
377 (python-indent-region, python-indent-shift-right)
378 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
379 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
380 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
381 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
382 (inferior-python-mode, python-shell-make-comint, run-python-internal)
383 (python-shell-buffer-substring, python-shell-send-buffer)
384 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
385 (python-completion-complete-at-point, python-fill-docstring-style)
386 (python-eldoc-function, python-imenu-format-item-label)
387 (python-imenu-format-parent-item-label)
388 (python-imenu-format-parent-item-jump-label)
389 (python-imenu--build-tree, python-imenu-create-index)
390 (python-imenu-create-flat-index): Fix docstring typos.
391 (python-indent-context, python-shell-prompt-regexp, run-python):
392 Remove superfluous backslashes.
393 (python-indent-line, python-nav-beginning-of-defun)
394 (python-shell-get-buffer, python-shell-get-process)
395 (python-info-current-defun, python-info-current-line-comment-p)
396 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
397 (python-indent-post-self-insert-function, python-shell-send-file)
398 (python-shell-completion-get-completions)
399 (python-shell-completion-complete-or-indent)
400 (python-eldoc--get-doc-at-point): Reflow docstrings.
401
e94807f0
GM
4022014-03-14 Glenn Morris <rgm@gnu.org>
403
88103345
GM
404 * emacs-lisp/package.el (package-menu-mode-map):
405 Replace use of obsolete function alias. Tweak menu item text.
406
f2dd4ba8
GM
407 * info.el (Info-finder-find-node):
408 Ignore the `emacs' metapackage. (Bug#10813)
409
ac0f82ef
GM
410 * finder.el (finder-list-matches): Include unversioned packages
411 in the result of a keyword search.
412
e94807f0
GM
413 * finder.el (finder--builtins-descriptions): New constant.
414 (finder-compile-keywords): Use finder--builtins-descriptions.
415
50d434d1
DG
4162014-03-14 Dmitry Gutov <dgutov@yandex.ru>
417
418 * simple.el (blink-matching-paren): Describe the new value,
419 `jump', enabling the old behavior.
420 (blink-matching-open): Use that value. (Bug#17008)
421
56759cf1
GM
4222014-03-14 Glenn Morris <rgm@gnu.org>
423
459d74ef
GM
424 * finder.el (finder-no-scan-regexp): Add leim-list.
425 (finder-compile-keywords):
426 Don't skip files with same basename. (Bug#14010)
427 * Makefile.in (setwins_finder): New, excluding leim.
428 (finder-data): Use setwins_finder.
429
56759cf1
GM
430 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
431 (help-function-arglist, help-make-usage): Move from here...
432 * help.el (help-split-fundoc, help-add-fundoc-usage)
433 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
434 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
435
7644aa97
JB
4362014-03-14 Juanma Barranquero <lekktu@gmail.com>
437
438 * net/socks.el (socks, socks-override-functions)
fd16b061 439 (socks-find-services-entry):
7644aa97
JB
440 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
441 (hif-find-ifdef-block):
442 * progmodes/modula2.el (m2-indent): Fix docstring typos.
443
444 * net/tls.el (tls-program): Reflow docstring.
445
446 * progmodes/pascal.el (pascal-mode-abbrev-table)
447 (pascal-imenu-generic-expression, pascal-auto-endcomments)
448 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
449 (pascal-outline-mode): Fix docstring typos.
450 (pascal-mode): Let define-derived-mode document mode hook.
451 (pascal-uncomment-area): Reflow.
452 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
453
454 * progmodes/opascal.el (opascal-compound-block-indent)
455 (opascal-case-label-indent): Fix docstring typos.
456 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
457
1f44df94
DG
4582014-03-13 Dmitry Gutov <dgutov@yandex.ru>
459
07f44fdb
JB
460 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
461 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 462
0d71dfb3
TW
4632014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
464
465 * emacs-lisp/package.el (package--prepare-dependencies):
466 Accept requirements without explicit version (bug#14941).
467
d27a1a7b
JB
4682014-03-12 Juanma Barranquero <lekktu@gmail.com>
469
a5765a3d
JB
470 * register.el (register-separator, copy-to-register): Doc fixes.
471 (register-preview-default): Remove unnecessary call to concat.
472
d27a1a7b
JB
473 * frameset.el (frameset-restore): When checking for a visible frame,
474 use the action map instead of calling visible-frame-list.
475
08dfa0b7
JB
4762014-03-12 Jonas Bernoulli <jonas@bernoul.li>
477
478 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
479
8960529e
MR
4802014-03-12 Martin Rudalics <rudalics@gmx.at>
481
482 * window.el (fit-frame-to-buffer): Get maximum width from
483 display's width instead of height.
484
8a51e8e4
GM
4852014-03-12 Glenn Morris <rgm@gnu.org>
486
46456005
GM
487 * desktop.el (desktop-restore-frames)
488 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
489 (desktop-restore-reuses-frames): Doc tweaks.
490
8a51e8e4
GM
491 * electric.el (electric-indent-mode): Doc fix.
492
5983b317
JB
4932014-03-12 Juanma Barranquero <lekktu@gmail.com>
494
495 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
496 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
497 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
498 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
499 (cvs-dired-use-hook): Fix docstring typos.
500 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
501 Doc fixes.
502
503 * vc/pcvs-defs.el (cvs-auto-remove-handled)
504 (cvs-auto-remove-directories, cvs-default-ignore-marks)
505 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
506 (cvs-execute-single-dir): Fix docstring typos.
507
508 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
509 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
510
511 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
512
513 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
514 Fix docstring typos.
515
13c00cf0
JB
5162014-03-12 Juanma Barranquero <lekktu@gmail.com>
517
518 * frameset.el (frameset--jump-to-register): Add autoload; it could be
519 called from jump-to-register after unloading the frameset package.
520
536a17e3
SM
5212014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
524 (bug#16975). Deactivate the mark before setting it to nil.
525 (activate-mark): Do nothing if region is already active.
526
baf8d0ac
JB
5272014-03-11 Juanma Barranquero <lekktu@gmail.com>
528
529 * frameset.el (frameset--target-display): Remove definition; declare.
530 (frameset-save, frameset-restore): Let-bind frameset--target-display.
531
1ea22560
SM
5322014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
535 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
536 when the advice is pending.
537 (advice-remove): Remove this marker when not needed any more.
538
4538c058
JB
5392014-03-11 Juanma Barranquero <lekktu@gmail.com>
540
541 * frameset.el: Separate options for reusing frames and cleaning up.
542 (frameset--reuse-list): Remove definition; declare.
543 (frameset--action-map): Declare.
544 (frameset--find-frame-if): Doc fix.
545 (frameset--restore-frame): Cache frame action.
546 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
547 how to clean up the frame list after restoring. Remove cleaning
548 options from REUSE-FRAMES. Change all keyword values to symbols.
549 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
550
551 * desktop.el (desktop-restore-forces-onscreen)
552 (desktop-restore-reuses-frames): Use non-keyword values.
553 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
554
ba1a5c78
GM
5552014-03-10 Glenn Morris <rgm@gnu.org>
556
776aa432
GM
557 * files.el (find-file): Doc fix: update info node name.
558
ba1a5c78
GM
559 * emacs-lisp/advice.el (ad-add-advice, defadvice):
560 Doc fix: remove references to deleted info nodes.
561
183d706e
MA
5622014-03-10 Michael Albinus <michael.albinus@gmx.de>
563
564 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
565 Do not add `nil' to the environment, when there's no remote `locale'.
566 (tramp-find-inline-encoding): Check, that the remote host has
567 installed perl, before sending scripts.
568
6f0f96e7
LL
5692014-03-10 Leo Liu <sdl.web@gmail.com>
570
536a17e3
SM
571 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
572 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 573
ca70fe78
SM
5742014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
577 (bug#14430).
578
eb67db41
JL
5792014-03-09 Juri Linkov <juri@jurta.org>
580
581 * ansi-color.el (ansi-color-names-vector): Copy default colors
582 from `xterm-standard-colors' that look well on the default white
583 background (and also on the black background) to avoid illegible
8cf07e5a 584 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
585 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
586
e7db5447
JB
5872014-03-08 Juanma Barranquero <lekktu@gmail.com>
588
589 * frameset.el (frameset-restore): When no frame is visible, do not
590 generate a list of frames, just make visible the selected one.
591
f0a4c8d7
DG
5922014-03-08 Dmitry Gutov <dgutov@yandex.ru>
593
594 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
595 it only contains the repository root. (Bug#16897)
596
e50772e3
MA
5972014-03-07 Michael Albinus <michael.albinus@gmx.de>
598
599 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
600 only when `remote-file-name-inhibit-cache' is nil.
601 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
602
cac0a1d6
MR
6032014-03-06 Martin Rudalics <rudalics@gmx.at>
604
605 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
606 Fix doc-strings.
607 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
608 fit-frame-to-buffer variable. Fix doc-string.
609 (fit-window-to-buffer): Set ONLY argument in call of
610 fit-frame-to-buffer. Fix doc-string.
611
fa965cbf
MA
6122014-03-06 Michael Albinus <michael.albinus@gmx.de>
613
614 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
615 (tramp-action-password): Clear password cache if needed.
616 (tramp-read-passwd): Do not clear password cache.
617
618 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
619 cache unless it is the first password request.
620
c94e6ee4
GM
6212014-03-06 Glenn Morris <rgm@gnu.org>
622
03bc753e
GM
623 * simple.el (newline): Doc tweak.
624
c94e6ee4
GM
625 * emacs-lisp/shadow.el (load-path-shadows-find):
626 Ignore dir-locals. (Bug#12357)
627
bd2d43dc
GM
6282014-03-05 Glenn Morris <rgm@gnu.org>
629
630 * files.el (interpreter-mode-alist):
631 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
632
9284000e
JB
6332014-03-05 Juanma Barranquero <lekktu@gmail.com>
634
635 * frameset.el (frameset--initial-params): Filter out null entries.
636
e1a2cb1c
MR
6372014-03-05 Martin Rudalics <rudalics@gmx.at>
638
27821a89
JB
639 * window.el (window-min-height, window-min-width):
640 Rewrite doc-strings.
e1a2cb1c
MR
641 (window-body-size): Add PIXELWISE argument to make it consistent
642 with its callees.
643
6bf67038
JB
6442014-03-05 Juanma Barranquero <lekktu@gmail.com>
645
646 * finder.el (finder-mode-map, finder-mode-syntax-table):
647 Revert part of 2014-02-28 change.
648
90f04e4c
LI
6492014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
650
651 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
652 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
653 (eww-textarea-map): [tab] doesn't work on tty.
654 Reported by Mario Lang.
6952100d
LI
655
656 * net/shr.el (shr-map): Ditto.
90f04e4c 657
3106d59b
GM
6582014-03-04 Glenn Morris <rgm@gnu.org>
659
660 * minibuffer.el (completion-hilit-commonality):
661 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
662
f604dfdc
JB
6632014-03-04 Juanma Barranquero <lekktu@gmail.com>
664
665 * hilit-chg.el (hilit-chg-unload-function): New function.
666 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
667 (hilit-chg-map-changes): Prefer cardinal number to digit.
668 (hilit-chg-display-changes): Reflow docstring.
669 (highlight-changes-rotate-faces): Remove superfluous backslash.
670
5dc65319
MA
6712014-03-04 Michael Albinus <michael.albinus@gmx.de>
672
673 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
674 `tramp-send-command-and-check'.
675
4242d21d
JB
6762014-03-04 Juanma Barranquero <lekktu@gmail.com>
677
b01fa838
JB
678 * hexl.el (hexl-address-region, hexl-ascii-region)
679 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
680 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
681 (hexl-forward-word, hexl-previous-line, hexl-next-line):
682 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
683 (hexl-mode): Doc fix.
684 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
685 (hexl-mode-ruler): Fix typos in docstrings.
686
4242d21d
JB
687 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
688 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
689 Remove superfluous backslashes.
690 (strokes-last-stroke, strokes-global-map, strokes-mode):
691 Reflow docstrings.
692 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
693 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
694 (strokes-distance-squared, strokes-global-set-stroke)
695 (strokes-global-set-stroke-string): Doc fixes.
696 (strokes-help): Fix typos; reflow docstring.
697
87132570
MR
6982014-03-04 Martin Rudalics <rudalics@gmx.at>
699
700 * window.el (window-in-direction): Fix doc-string.
701
d82e752c
GM
7022014-03-04 Glenn Morris <rgm@gnu.org>
703
704 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
705 Explicit error if no grammar.
706 (smie-config-save): Doc fix. Fix quote typo.
707
62528af0
SM
7082014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
709
8d4901dc
SM
710 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
711 electric-indent-mode-hook if we obey electric-indent-mode.
712 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
713 decide whether we obey electric-indent-mode.
714 (c-change-set-fl-decl-start, c-extend-after-change-region):
715 Silence warnings.
716 (c-electric-indent-mode-hook): Assume we do want to obey
717 electric-indent-mode.
718
719 * electric.el (electric-indent-mode-has-been-called): Remove.
720 (electric-indent-mode): Fix accordingly.
721
092c12b2
SM
722 * files.el (hack-local-variables): Mention file name in warning.
723
62528af0
SM
724 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
725
5b87d0d9
MN
7262014-03-04 Michal Nazarewicz <mina86@mina86.com>
727
728 * binding.el: Add comment describing why C-d binds to `delete-char'.
729 * simple.el (delete-forward-char): Mark as interactive-only.
730
542a3840
JB
7312014-03-03 Juanma Barranquero <lekktu@gmail.com>
732
f2d2402e
GM
733 * icomplete.el (icomplete-completions):
734 Follow-up to 2014-03-01 change.
d11320e5
JB
735
736 * icomplete.el: Miscellaneous doc fixes.
737 Use Icomplete everywhere instead of icomplete for consistency.
738 (icomplete-max-delay-chars): Fix typo.
739 (icomplete-mode): Use \[].
740 (icomplete-tidy, icomplete-exhibit): Reflow.
741 (icomplete-minibuffer-setup-hook, icomplete-completions):
742 Remove superfluous backlashes.
743
744 * ido.el: Miscellaneous doc fixes.
745 Use Ido everywhere instead of ido or `ido' for consistency.
746 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
747 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
748 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
749 (ido-separator): Extract obsolescence info from docstring and declare
750 with make-obsolete-variable.
751 (ido-minibuffer-setup-hook): Simplify example.
752 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
753 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
754 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
755 (ido-everywhere): Reflow docstring.
756 (ido-toggle-vc): Doc fix.
757 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
758 of long list of keybindings.
759
7ebd57e9
GM
7602014-03-03 Glenn Morris <rgm@gnu.org>
761
762 * frame.el (display-pixel-height, display-pixel-width)
763 (display-mm-dimensions-alist, display-mm-height)
764 (display-mm-width): Doc tweaks.
765
35e951cd 7662014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
767
768 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
769 case of undo in region.
770
b923819c
MR
7712014-03-02 Martin Rudalics <rudalics@gmx.at>
772
773 * window.el (fit-window-to-buffer): Fix argument in window-size
774 call when window is horizontally combined.
775
b6e443c5
JB
7762014-03-02 Juanma Barranquero <lekktu@gmail.com>
777
778 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 779 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 780
1850913d
DG
7812014-03-01 Dmitry Gutov <dgutov@yandex.ru>
782
35e951cd
JB
783 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
784 Highlight regexp options. (Bug#16914)
1850913d 785
04b577b6
MR
7862014-03-01 Martin Rudalics <rudalics@gmx.at>
787
788 * window.el (window--max-delta-1): Round down when calculating
789 how many lines/columns we can get from a window.
790
b829360f
GM
7912014-03-01 Glenn Morris <rgm@gnu.org>
792
2501c912
GM
793 * isearch.el (search-invisible): Doc fix.
794
b829360f
GM
795 * minibuffer.el (completion-hilit-commonality):
796 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
797 * comint.el (comint-dynamic-list-completions): Doc fix.
798 * comint.el (comint-dynamic-list-completions):
799 * filecache.el (file-cache-minibuffer-complete):
800 * tempo.el (tempo-display-completions):
801 * eshell/em-hist.el (eshell-list-history):
802 Replace use of obsolete argument of display-completion-list.
803
9a155058
JB
8042014-03-01 Juanma Barranquero <lekktu@gmail.com>
805
806 * icomplete.el (icomplete-completions):
807 Revert back to using "..." when ?… cannot be displayed.
808
53f6cda8
JB
8092014-02-28 Juanma Barranquero <lekktu@gmail.com>
810
811 * finder.el (finder-unload-function): New function.
812
43977c23
JB
8132014-02-28 Juanma Barranquero <lekktu@gmail.com>
814
815 * dframe.el (dframe-detach):
816 * find-dired.el (find-dired, find-name-dired):
817 * finder.el (finder-mode-map, finder-mode-syntax-table)
818 (finder-headmark, finder-select, finder-mouse-select):
819 Fix docstring typos.
820
9dda75ad
MR
8212014-02-28 Martin Rudalics <rudalics@gmx.at>
822
823 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
824 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
825 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
826 Fix doc-string based on a suggestion by Nicolas Richard
827 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
828 * help.el (with-help-window): Fix doc-string.
829
8a73034e
IK
8302014-02-28 Ivan Kanis <ivan@kanis.fr>
831
b70257b0
GM
832 * net/shr.el (shr-image-animate): New option.
833 (shr-put-image): Respect shr-image-animate.
8a73034e 834
245aa73e
MA
8352014-02-28 Michael Albinus <michael.albinus@gmx.de>
836
837 * net/tramp-adb.el (tramp-adb-parse-device-names):
838 Use `accept-process-output'.
839 (tramp-adb-handle-file-truename): Cache the localname only.
840 (tramp-adb-handle-make-directory)
841 (tramp-adb-handle-delete-directory): Flush file properties correctly.
842 (tramp-adb-handle-set-file-modes): Do not raise an error when file
843 modes cannot be changed.
844
845 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
846 file properties of symlinks.
847
48e15d64
PS
8482014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
849
850 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
851 required/optional fields to match development biblatex. (Bug#16781)
852
65b77347
AS
8532014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
854
855 * saveplace.el (toggle-save-place):
856 Fix argument handling. (Bug#16673)
857
5e618aba
GM
8582014-02-28 Glenn Morris <rgm@gnu.org>
859
860 * minibuffer.el (completions-first-difference)
861 (completions-common-part, completion-hilit-commonality): Doc fixes.
862
6deb314e
KB
8632014-02-28 Karl Berry <karl@gnu.org>
864
865 * info.el (Info-mode-map): Add H for describe-mode,
866 to synchronize with standalone Info.
867
289996f5
EL
8682014-02-28 Emilio C. Lopes <eclig@gmx.net>
869
870 * progmodes/sql.el (sql-interactive-mode):
871 Avoid setting global comint-input-ring-separator. (Bug#16814)
872
79fc1191
MA
8732014-02-27 Michael Albinus <michael.albinus@gmx.de>
874
875 * net/dbus.el (dbus--init-bus): Declare function.
876 (dbus-path-local, dbus-interface-local): New defconst.
877 (dbus-init-bus): Use them.
878 (dbus-return-values-table): Extend doc.
879 (dbus-handle-bus-disconnect): Extend error message.
880
298520df
JB
8812014-02-27 Juanma Barranquero <lekktu@gmail.com>
882
883 * subr.el (y-or-n-p): Fix double space issue in message.
884
c22c1614
MA
8852014-02-27 Michael Albinus <michael.albinus@gmx.de>
886
887 * net/tramp.el (tramp-call-process): Improve trace message.
888 (tramp-handle-insert-file-contents): Trace error case.
889
890 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
891 <insert-directory>: Use `tramp-handle-insert-directory'.
892 (tramp-adb-handle-insert-directory): Remove function.
893 (tramp-adb-send-command-and-check): New defun, replacing
894 `tramp-adb-command-exit-status'. Change all callees.
895 (tramp-adb-handle-file-attributes)
896 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
897 (tramp-adb-ls-output-name-less-p):
898 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
899 (tramp-adb-handle-delete-directory): Flush also file properties of
900 the truename of directory.
901 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
902 (tramp-adb-handle-file-local-copy): Make the local copy readable.
903 (tramp-adb-handle-write-region): Implement APPEND.
904 (tramp-adb-handle-rename-file): Make it more robust. Flush file
905 properties correctly.
906 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
907 variables. Check for connected devices only when needed.
908
d9263618
GM
9092014-02-27 Glenn Morris <rgm@gnu.org>
910
ea7826ba
GM
911 * minibuffer.el (completion-table-dynamic)
912 (completion-table-with-cache): Doc fixes.
913
d9263618
GM
914 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
915 (completing-read-multiple): Doc fixes.
916
eff3168a
DC
9172014-02-27 Daniel Colascione <dancol@dancol.org>
918
51f213c3
DC
919 * minibuffer.el (completion--nth-completion): Fix indentation.
920
eff3168a
DC
921 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
922 explicit tramp path is empty.
923
b77cfcd7
GM
9242014-02-27 Glenn Morris <rgm@gnu.org>
925
926 * emacs-lisp/crm.el (completing-read-multiple):
927 Empower help-enable-auto-load.
928
9577b569
GM
9292014-02-26 Glenn Morris <rgm@gnu.org>
930
259887e8
GM
931 * startup.el (command-line): Don't init the tty in daemon mode.
932
1d491ef2
GM
933 Avoid calling tty-setup-hook twice, eg if a term file
934 explicitly calls tty-run-terminal-initialization. (Bug#16859)
935 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
936 (tty-create-frame-with-faces): Use it.
937 * startup.el (command-line): Pass run-hook argument
938 to tty-run-terminal-initialization.
939
9577b569
GM
940 * dired.el (dired-restore-desktop-buffer): Demote errors;
941 eg in case a glob match fails. (Bug#16884)
942
40ff7f86
DG
9432014-02-26 Dmitry Gutov <dgutov@yandex.ru>
944
b2388336
DG
945 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
946 error from `read-from-string'. (Bug#16850)
947
40ff7f86
DG
948 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
949 result of `completing-read' in the interactive form. (Bug#16854)
950
98bd6b32
GM
9512014-02-25 Glenn Morris <rgm@gnu.org>
952
f086804c
GM
953 * image.el (image-animate, image-animate-timeout):
954 Stop animating images in dead buffers. (Bug#16878)
955
c107155e
GM
956 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
957
9577b569
GM
958 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
959 Doc fixes.
98bd6b32
GM
960 * startup.el (term-setup-hook): Doc fix. Make obsolete.
961 * term/sun.el (sun-raw-prefix-hooks):
962 Use tty-setup-hook instead of term-setup-hook.
963 (terminal-init-sun): Construct message from bytecomp plist.
964 * term/wyse50.el (enable-arrow-keys): Doc fix.
965
9c9e18e8
JB
9662014-02-24 Juanma Barranquero <lekktu@gmail.com>
967
968 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
969 Fix docstring typos.
970
c848881f
MA
9712014-02-24 Michael Albinus <michael.albinus@gmx.de>
972
973 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
974
0e38ae05
NR
9752014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
976
977 * minibuffer.el (completion--try-word-completion):
978 Fix error when completing M-x commands (bug#16808).
979
8ee4c296
LL
9802014-02-24 Leo Liu <sdl.web@gmail.com>
981
982 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
983
7d4bd627
JB
9842014-02-24 Juanma Barranquero <lekktu@gmail.com>
985
986 * apropos.el (apropos-print): Avoid formatting error when
987 apropos-do-all and apropos-compact-layout are both t.
988
e918e27f
JB
9892014-02-23 Juanma Barranquero <lekktu@gmail.com>
990
991 * apropos.el (apropos-property, apropos-all-words-regexp)
992 (apropos-true-hit, apropos-variable, apropos-print):
993 Fix docstring typos, and remove obsolete comment.
994
85c01f80
MA
9952014-02-23 Michael Albinus <michael.albinus@gmx.de>
996
997 * net/tramp-sh.el (tramp-sh-handle-file-truename):
998 Preserve trailing "/". (Bug#16851)
999
62f95022
DG
10002014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1001
1002 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1003 after `=>' (bug#16811).
dfdb365c
DG
1004 (ruby-smie-rules): Handle the inconsistent second element of the
1005 list returned by `smie-indent--parent'.
1006 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1007 method call.
62f95022 1008
025f2c81
JB
10092014-02-23 Juanma Barranquero <lekktu@gmail.com>
1010
1011 * elec-pair.el (electric-pair-text-syntax-table)
1012 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1013 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1014 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1015 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1016
123c84f9
GM
10172014-02-22 Glenn Morris <rgm@gnu.org>
1018
612c3e46
GM
1019 * imenu.el (imenu--generic-function): Doc fix.
1020
123c84f9
GM
1021 * register.el (frame-configuration-to-register): Make obsolete.
1022
e59fa9ad
JB
10232014-02-22 Juanma Barranquero <lekktu@gmail.com>
1024
1025 * desktop.el (desktop-save-buffer-p): Do not fail when
1026 desktop-files-not-to-save is nil. Return t for true result
1027 as the doc says.
1028
4e652634
DC
10292014-02-22 Daniel Colascione <dancol@dancol.org>
1030
27821a89 1031 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
1032 Check that attribute values are strings, avoiding the construction
1033 of invalid dbus messages.
4e652634 1034
f35affb6
JB
10352014-02-21 Juanma Barranquero <lekktu@gmail.com>
1036
1037 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1038 defun-declarations-alist.
1039
3d136b1b
SM
10402014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1043 (bug#16829).
1044
612ddfc0
JB
10452014-02-21 Juanma Barranquero <lekktu@gmail.com>
1046
1047 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1048 (whitespace-newline, whitespace-trailing, whitespace-line)
1049 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1050 (whitespace-space-after-tab): Fix typo in docstrings.
1051
c8481b1b
DG
10522014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1053
cb8f50a7
DG
1054 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1055
c8481b1b
DG
1056 * electric.el (electric-indent-functions-without-reindent):
1057 Add `yaml-indent-line'.
1058
bed5126f
JB
10592014-02-21 Juanma Barranquero <lekktu@gmail.com>
1060
34b71457
JB
1061 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1062 It has done nothing for years; should be removed after the release.
1063
bed5126f
JB
1064 * simple.el (choose-completion): Fix docstring typo.
1065 (read-quoted-char-radix): Remove unneeded * in docstring.
1066 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1067 Don't escape parentheses unnecessarily in docstrings.
1068
8dd3e94f
MR
10692014-02-21 Martin Rudalics <rudalics@gmx.at>
1070
1071 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1072 * window.el (window--dump-window, window--dump-frame):
1073 New functions.
1074 (window--min-size-1): Account for window dividers.
1075 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
1076 sum of the window components has been calculated.
1077 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1078 nil make sure at least one text line and two text columns remain
1079 fully visible.
1080 (window-resize): Signal an error when window-resize-apply fails.
1081 (window--resize-child-windows): Fix calculation of by how many
1082 pixels a window can still be shrunk via window-new-normal.
1083 (adjust-window-trailing-edge): Call window--resizable with
1084 correct TRAIL argument.
1085
2ed94e04
MR
1086 (with-temp-buffer-window): Don't evaluate BODY within
1087 with-current-buffer (Bug#16816).
1088
0e5324c4
MA
10892014-02-21 Michael Albinus <michael.albinus@gmx.de>
1090
1091 * net/tramp.el (tramp-check-cached-permissions):
1092 Call `file-attributes' with `suffix' being a symbol but a string.
1093
48198420
DC
10942014-02-21 Daniel Colascione <dancol@dancol.org>
1095
1096 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1097 (dbus-init-bus): New function: call into dbus-init-bus-1
1098 and installs a handler for the disconnect signal.
1099 (dbus-call-method): Rewrite to look for result in cons.
1100 (dbus-call-method-handler): Store result in cons.
1101 (dbus-check-event): Recognize events with nil sender as valid.
1102 (dbus-handle-bus-disconnect): New function. React to bus
1103 disconnection signal by synthesizing dbus error for each
1104 pending synchronous or asynchronous call.
1105 (dbus-notice-synchronous-call-errors): New function.
1106 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1107 is true, not all the time.
1108
99e15133
JB
11092014-02-21 Juanma Barranquero <lekktu@gmail.com>
1110
e48983a6
JB
1111 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1112 Remove obsolescence declarations, these variables do not exist anymore.
1113
fdcfd745
JB
1114 * savehist.el (savehist-save-minibuffer-history)
1115 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1116 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1117 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1118 mostly, refer to "Savehist mode" when talking about the mode,
1119 and not the function.
1120
99e15133
JB
1121 * saveplace.el (save-place): Remove redundant info in docstring.
1122 (save-place-forget-unreadable-files, toggle-save-place)
1123 (save-place-forget-unreadable-files, save-place-dired-hook):
1124 Fix typos and remove unneeded backslashes.
1125
f5bee33b
MA
11262014-02-20 Michael Albinus <michael.albinus@gmx.de>
1127
1128 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1129 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1130
1131 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 1132 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
1133 (tramp-gvfs-handle-insert-directory): Remove function.
1134
1135 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1136 Call `tramp-handle-insert-directory'.
1137
ee0761ca
JB
11382014-02-20 Juanma Barranquero <lekktu@gmail.com>
1139
1140 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1141 before the start of buffer/region (bug#16799).
1142
4d49cc65
GM
11432014-02-20 Glenn Morris <rgm@gnu.org>
1144
1145 * isearch.el (search-invisible): Doc fix.
1146
eee0d650
TK
11472014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1148
1149 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1150 (bug#16657).
1151
94e5e202
JB
11522014-02-19 Juanma Barranquero <lekktu@gmail.com>
1153
1154 * frameset.el (frameset-restore): Delay removing an old frame's
1155 duplicate id until the new frame has been correctly created.
1156
50bfdd5d
MA
11572014-02-19 Michael Albinus <michael.albinus@gmx.de>
1158
1159 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1160 (tramp-check-cached-permissions): Call `file-attributes' if the
1161 cache is empty.
1162
1163 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1164 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1165
1166 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1167 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1168 (tramp-gvfs-maybe-open-connection): Set always connection
1169 properties, even if target is mounted already.
1170
1171 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1172 Set tramp-autoload cookie.
1173 (tramp-get-remote-touch): New defun.
1174 (tramp-sh-handle-set-file-times): Use it.
1175 (tramp-sh-handle-directory-files-and-attributes):
1176 Use `tramp-handle-directory-files-and-attributes' if neither stat
1177 nor perl are available on the remote host.
1178
1179 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1180 "/". Write long listing only when "l" belongs to the switches.
1181
1182 * net/trampver.el: Update release number.
1183
f097a3d2
JB
11842014-02-19 Juanma Barranquero <lekktu@gmail.com>
1185
1186 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1187
8e009b78
MR
11882014-02-19 Martin Rudalics <rudalics@gmx.at>
1189
1190 * window.el (window-state-put): Allow WINDOW to refer to an
1191 internal window (Bug#16793).
1192
95160c90
GM
11932014-02-19 Glenn Morris <rgm@gnu.org>
1194
1195 * textmodes/remember.el: Move provide statement to end.
1196 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1197 (remember-notes): Doc fixes.
1198
b28df58c
SM
11992014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 * delsel.el (delete-char): Restore incorrectly erased property
1202 (bug#16795).
1203
7108e1c0
JB
12042014-02-18 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * frameset.el (frameset--restore-frame): When a frame is being reused
1207 and its root window is not alive, delete all the frame's windows before
1208 restoring the window state. This works around the issue in bug#16793.
1209
c863b6ad
GM
12102014-02-18 Glenn Morris <rgm@gnu.org>
1211
a73fae1f
GM
1212 * textmodes/remember.el (remember-data-directory)
1213 (remember-directory-file-name-format, remember-store-in-files)
1214 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1215 (remember-notes-save-and-bury-buffer)
1216 (remember-notes--kill-buffer-query): Doc fixes.
1217
c863b6ad
GM
1218 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1219
29238d28
AM
12202014-02-17 Alan Mackenzie <acm@muc.de>
1221
1222 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1223 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1224 to electric-indent-{,local-}-mode.
b28df58c
SM
1225 (c-basic-common-init): Set electric-indent-inhibit.
1226 Initialise c-electric-flag from electric-indent-mode.
29238d28 1227 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1228 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1229
1230 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1231 hit, toggle electric-indent-local-mode.
29238d28 1232
b28df58c
SM
1233 * electric.el (electric-indent-mode-has-been-called):
1234 New variable.
29238d28 1235
c6463340
JB
12362014-02-17 Juanma Barranquero <lekktu@gmail.com>
1237
1238 * frameset.el (frameset-cfg-id): New function.
1239 (frameset--reuse-frame, frameset-restore): Use it.
1240 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1241
94912b88
SM
12422014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * ido.el (ido-file-internal): Remove unused var `d'.
1245 Use \` for to match BoS. Fit within 80n columns.
1246
26ea164c
DC
12472014-02-17 Daniel Colascione <dancol@dancol.org>
1248
1249 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1250 dbus-call-method check for completion using a busy-wait loop with
1251 gradual backoff.
1252
589d1988 12532014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
1254
1255 Sync with Tramp 2.2.9.
1256
1257 * net/trampver.el: Update release number.
1258
17d1b51b
DG
12592014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1260
1261 * ido.el (ido-file-internal): Don't add the name of an existing
1262 directory twice. (Bug#16747)
1263
5bcad689
GM
12642014-02-16 Glenn Morris <rgm@gnu.org>
1265
1266 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1267 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1268
12692014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1270
1271 * progmodes/sql.el: Version 3.4
1272 (sql-oracle-options): New default value ("-L").
94912b88 1273 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1274 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1275 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1276 (sql-login-delay): New variable.
1277 (sql-product-interactive): Use it.
1278
285f1858
JB
12792014-02-15 Juanma Barranquero <lekktu@gmail.com>
1280
1281 * frameset.el (frameset--jump-to-register): Check that buffer is live
1282 (bug#16749).
1283
5d645ea4
GM
12842014-02-15 Glenn Morris <rgm@gnu.org>
1285
1286 * info.el (info-initialize): Revert 2014-01-10 change.
1287
48c4f9b1
GM
12882014-02-14 Glenn Morris <rgm@gnu.org>
1289
b8630261
GM
1290 * replace.el (map-query-replace-regexp)
1291 (read-regexp-defaults-function, read-regexp): Doc fixes.
1292
b2bf2a25
GM
1293 * dired.el (dired-read-regexp):
1294 * faces.el (list-faces-display):
1295 * misearch.el (multi-isearch-read-matching-buffers)
1296 (multi-isearch-read-matching-files):
1297 * play/cookie1.el (cookie-apropos):
1298 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1299
48c4f9b1
GM
1300 * textmodes/remember.el (remember): Use frameset-to-register
1301 rather than frame-configuration-to-register.
1302
2804e0bd
JB
13032014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1304
1305 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1306 incorrect keybinding.
1307
0b87142f
DC
13082014-02-13 Daniel Colascione <dancol@dancol.org>
1309
1310 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1311 when adding overlays so that line numbers from compiler match line
1312 numbers we use.
1313
47a73eb0
GM
13142014-02-13 Glenn Morris <rgm@gnu.org>
1315
8abcfd51
GM
1316 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1317
47a73eb0
GM
1318 * jit-lock.el (jit-lock-mode): Doc fix.
1319
c9b6b262
JB
13202014-02-13 Juanma Barranquero <lekktu@gmail.com>
1321
1322 * apropos.el (apropos-read-pattern): When the user passes an empty
1323 string, give a more helpful error message than "Wrong type
1324 argument: stringp, nil".
1325
eb4c6947
SM
13262014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1329
0dab5068
GM
13302014-02-13 Glenn Morris <rgm@gnu.org>
1331
1332 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1333
59075dcf
SM
13342014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1335
1336 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1337 shift-select commands.
1338
5af9fbad
DG
13392014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1340
1341 * progmodes/js.el (js-indent-line): Don't widen.
1342 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1343
a215930c
GM
13442014-02-12 Glenn Morris <rgm@gnu.org>
1345
a8cb4247
GM
1346 * icomplete.el (icomplete): Add info-link to defgroup.
1347 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1348 (icomplete-minibuffer-map, icomplete-mode)
1349 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1350
a215930c
GM
1351 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1352 (package-menu-filter): Rename from package-menu-filter-interactive.
1353 Doc fix.
1354
26c5ecd9
JB
13552014-02-11 Juanma Barranquero <lekktu@gmail.com>
1356
1357 * frameset.el (frameset--jump-to-register): Select the required
1358 window and buffer before restoring position (bug#16696).
1359
fcd58a02
LI
13602014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1361
1362 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1363
bacb3380
GM
13642014-02-10 Glenn Morris <rgm@gnu.org>
1365
1366 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1367
881329dc
EZ
13682014-02-10 Eli Zaretskii <eliz@gnu.org>
1369
02328db9
EZ
1370 * w32-common-fns.el (x-get-selection): Doc fix.
1371 * select.el (x-get-selection): Doc fix. (Bug#15109)
1372
881329dc
EZ
1373 * face-remap.el (face-remap-add-relative)
1374 (face-remap-remove-relative, face-remap-reset-base)
1375 (face-remap-set-base): Call force-mode-line-update to redisplay
1376 the current buffer due to potential change in faces. (Bug#16709)
1377
c7db4c06
MA
13782014-02-10 Michael Albinus <michael.albinus@gmx.de>
1379
1380 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1381 script more robustly.
1382
6abe4589
LI
13832014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1384
7602b5c3
LI
1385 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1386
e3692ee0
LI
1387 * simple.el (choose-completion): Doc fix (bug#14160).
1388
41015524
LI
1389 * subr.el (event-start): Say what a nil EVENT value means.
1390
87c79dcb
LI
1391 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1392 (bug#14197).
1393
3ab49e2c
LI
1394 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1395
f3c60241
LI
1396 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1397
3bd1d8a8
LI
1398 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1399
6abe4589
LI
1400 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1401 predicate function (bug#15455).
1402
a11463de
DG
14032014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1404
1405 * ielm.el (inferior-emacs-lisp-mode): Instead of
1406 `comment-use-global-state', set `comment-use-syntax'.
1407
2ab0ad85
GM
14082014-02-10 Glenn Morris <rgm@gnu.org>
1409
1410 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1411
411141fb
AM
14122014-02-09 Alan Mackenzie <acm@muc.de>
1413
1414 Fix c-invalidate-state-cache on narrowed buffers.
1415 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1416 Widen when setting and clearing the CPP delimiter properties.
1417
d6d5fdf8
LI
14182014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1419
92c70367
LI
1420 * help.el (describe-bindings): Doc fix (bug#9888).
1421
468ef484
LI
1422 * files.el (save-buffer): Use ARG as the parameter name for
1423 consistency (bug#10346).
7e34193f 1424 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1425
fc2b1ffa 1426 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1427 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1428 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1429
790aceec
LI
1430 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1431
a54a7552 1432 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1433 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1434
dd163123
LI
1435 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1436 meaning of the parameter (bug#12282).
1437
9e108fe6
LI
1438 * files.el (find-file-noselect): Clarify prompt when changing
1439 readedness (bug#13261).
5a836f58
LI
1440 (locate-file): Suffixes aren't returned, so don't say that they
1441 are (bug#12674).
2356b316 1442 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1443
20dda930
LI
1444 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1445 before we actually start to delete things (bug#16331).
1446
d6d5fdf8
LI
1447 * subr.el (event-start): Doc fix (bug#14228).
1448 (event-end): Ditto.
1449
2abd71e5
GM
14502014-02-09 Glenn Morris <rgm@gnu.org>
1451
1452 * emacs-lisp/warnings.el (lwarn):
1453 Empower help-enable-auto-load. (Bug#15940)
1454
c1b5900b
AS
14552014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1456
1457 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1458 (Bug#16690)
1459
429b93bd
MA
14602014-02-08 Michael Albinus <michael.albinus@gmx.de>
1461
1462 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1463 Insert output at end of buffer. (Bug#16120)
1464
b772a699
LI
14652014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1466
18c6aa8c
LI
1467 * simple.el (choose-completion-string-functions): Document new
1468 calling convention (bug#14153).
54dd147a 1469 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1470
dce8463b
LI
1471 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1472
b772a699 1473 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1474 (find-grep-dired): Doc fix (bug#14288).
b772a699 1475
2423c8d5
JL
14762014-02-08 Juri Linkov <juri@jurta.org>
1477
1478 * isearch.el (isearch-quote-char): Check character validity
1479 like in `quoted-insert' (bug#16677).
1480
518f26c2
LI
14812014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1482
893cc908
LI
1483 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1484
9165ffc0
LI
1485 * isearch.el (isearch-hide-immediately): Doc clarification
1486 (bug#14723).
1487
6ef4f3ce
LI
1488 * simple.el (line-move): Document utility function used many
1489 places in the Emacs sources (bug#14843).
1490
be58a238 1491 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1492 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1493 (dired-up-directory): Doc fix (bug#14848).
be58a238 1494
dd7aafbb
LI
1495 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1496
15cb9968
LI
1497 * files.el (file-relative-name): Doc fix (bug#15159).
1498
9788effd
LI
1499 * fringe.el (fringe-styles): Doc fix (bug#15239).
1500
c96411bd
LI
1501 * isearch.el (isearch-filter-predicate): Documentation typo fix
1502 (bug#15474).
1503
ea838c36
LI
1504 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1505
0d8a4ae7
LI
1506 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1507
f7a17bb3
LI
1508 * replace.el (replace-match-maybe-edit): Doc clarification
1509 (bug#15632).
1510
1bde5c3b
LI
1511 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1512
518f26c2
LI
1513 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1514
dd8e49fd
GM
15152014-02-08 Glenn Morris <rgm@gnu.org>
1516
1517 * help-fns.el (describe-variable):
1518 Check {file,dir}-local-variables-alist, and buffer-file-name,
1519 in the correct buffer.
1520
7e088b29
IL
15212014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1522
1523 * help-fns.el (describe-variable): Fix the case where
1524 a value is directory-local with no dir-locals file. (Bug#16635)
1525
41a4a82f
GM
15262014-02-08 Glenn Morris <rgm@gnu.org>
1527
1528 * abbrev.el (edit-abbrevs-mode):
1529 Derive from fundamental-mode. (Bug#16682)
1530
e255a703
JB
15312014-02-07 Juanma Barranquero <lekktu@gmail.com>
1532
1533 * simple.el (quoted-insert): Check character validity (bug#16677).
1534
c99cf5ee
JL
15352014-02-07 Juri Linkov <juri@jurta.org>
1536
1537 * desktop.el (desktop-read): Claim the lock when the owner is not
1538 the current process. (Bug#16157)
1539
7d7a68d8
JL
15402014-02-07 Juri Linkov <juri@jurta.org>
1541
1542 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1543 to "\\` ". (Bug#16651)
1544
2b777cd9
JL
15452014-02-07 Juri Linkov <juri@jurta.org>
1546
1547 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1548 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1549 (desktop-auto-save-cancel-timer): New function with some code from
1550 `desktop-auto-save-set-timer'.
1551 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1552 Instead of setting `desktop-save-mode' to nil, call
1553 `desktop-save-mode' with arg 0. (Bug#16630)
1554
60eabbb9
GM
15552014-02-07 Glenn Morris <rgm@gnu.org>
1556
99cf3859
GM
1557 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1558 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1559 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1560
2b568bc9
GM
1561 * obsolete/iswitchb.el: Move to obsolete/.
1562 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1563 since obsolete/ is not scanned for autoloads.
1564 * emacs-lisp/authors.el (authors-valid-file-names):
1565 Add iswitchb.el.
1566
60eabbb9
GM
1567 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1568 Disable now non-functional find-file-hook.
1569
629de968
MA
15702014-02-06 Michael Albinus <michael.albinus@gmx.de>
1571
1572 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1573 instead of ";" in order to avoid additional prompts. Let heredoc
1574 scripts read from tty. (Bug#16582)
1575 (tramp-send-command): No special handling of heredocs, it isn't
1576 necessary anymore.
1577
29127376
SM
15782014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1581 with a space (bug#16664). Limit the symbols considered to the ones
1582 that are bound or fbound (bug#16646).
1583
79b6e0a9
GM
15842014-02-06 Glenn Morris <rgm@gnu.org>
1585
1586 * epa.el (epa-mail-aliases): Doc fix.
1587
a333e4d2
DG
15882014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1589
29127376
SM
1590 * emacs-lisp/lisp.el (lisp-completion-at-point):
1591 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1592 (bug#16604).
1593
1594 * minibuffer.el (completion-table-merge): New function.
1595
9a83b32b
MA
15962014-02-05 Michael Albinus <michael.albinus@gmx.de>
1597
1598 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1599 (tramp-sh-handle-set-file-acl)
1600 (tramp-sh-handle-start-file-process)
1601 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1602 (tramp-find-executable, tramp-send-command): Use it.
1603
451ea3e6
GM
16042014-02-05 Glenn Morris <rgm@gnu.org>
1605
9a83b32b 1606 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1607
dd27d13b
FEG
16082014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1609
35e951cd 1610 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1611 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1612
08e41897
AL
16132014-02-04 Anders Lindgren <andlind@gmail.com>
1614
1615 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1616 the names (bug#16620).
1617
764ec9e5
MR
16182014-02-03 Martin Rudalics <rudalics@gmx.at>
1619
08e41897
AL
1620 * faces.el (window-divider): New default value. Rewrite doc-string.
1621 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1622
6da8227c
DG
16232014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1624
1625 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1626 `protected' and `public' can also be called without arguments.
1627
6a6b8e40
GM
16282014-02-03 Glenn Morris <rgm@gnu.org>
1629
7bcbca40
GM
1630 * register.el (window-configuration-to-register)
1631 (frame-configuration-to-register): Unadvertise unused argument.
1632 * frameset.el (frameset-to-register): Remove unused argument.
1633
719d965d 1634 * frameset.el (frameset-to-register):
6a6b8e40
GM
1635 * kmacro.el (kmacro-to-register):
1636 * register.el (increment-register):
1637 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1638 (calc-append-to-register, calc-prepend-to-register):
1639 * play/gametree.el (gametree-layout-to-register)
1640 (gametree-apply-register-layout):
1641 * textmodes/picture.el (picture-clear-rectangle-to-register)
1642 (picture-yank-rectangle-from-register):
1643 * vc/emerge.el (emerge-combine-versions-register):
1644 Use register-read-with-preview to read registers.
1645
5dca7759
JT
16462014-02-03 João Távora <joaotavora@gmail.com>
1647
1648 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1649 when at beginning of (possibly narrowed) buffer.
1650
709085b9
DC
16512014-02-02 Daniel Colascione <dancol@dancol.org>
1652
c295fc18 1653 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1654 Also try to display local help from just before point.
709085b9 1655
99f7b0a6
AM
16562014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1657
1658 c-parse-state. Don't "append-lower-brace-pair" in certain
1659 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1660 recognised as a comment.
1661
1662 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1663 as well as normal comment starter.
1664 (c-parse-state-get-strategy): Extra return possibility
1665 'back-and-forward.
1666 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1667 return value list to indicate replacement of a brace-pair cons
1668 with its car.
1669 (c-parse-state-1): With 'back-and-forward, only call
1670 c-append-lower-brace-pair-to state-cache when cons-separated.
1671
f0a10576
JD
16722014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1673
1674 * term/ns-win.el (ns-suspend-error): New function.
1675 (ns-initialize-window-system): Add ns-suspend-error to
1676 suspend-hook (Bug#16612).
1677
b8d552c2
DC
16782014-02-02 Daniel Colascione <dancol@dancol.org>
1679
35e951cd
JB
1680 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1681 Make loading cc-mode silent.
b8d552c2 1682
f2b7d123
DC
16832014-02-02 Daniel Colascione <dancol@dancol.org>
1684
35e951cd
JB
1685 * comint.el (comint-prompt-read-only): Change doc to suggest
1686 remap keybinding.
f2b7d123 1687
4472a196
GM
16882014-02-02 Glenn Morris <rgm@gnu.org>
1689
1690 * register.el (register-read-with-preview, point-to-register)
1691 (window-configuration-to-register, frame-configuration-to-register)
1692 (jump-to-register, number-to-register, view-register, insert-register)
1693 (copy-to-register, append-to-register, prepend-to-register)
1694 (copy-rectangle-to-register): Doc fixes.
1695
70e5a261
SM
16962014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1699 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1700 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1701 * help-fns.el (describe-function-1): Use it.
1702
7c324762
GM
17032014-02-02 Glenn Morris <rgm@gnu.org>
1704
1705 * register.el (register-preview-default): New function,
1706 split from register-preview.
1707 (register-preview-function): Rename from register-preview-functions,
1708 make it not a hook.
1709 (register-preview): Use register-preview-function.
1710 (register-read-with-preview): Error on non-character event. (Bug#16595)
1711
a09beb3d
DG
17122014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1713
1714 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1715 `:' before binary operators (bug#16609). Don't check for `:'
1716 before `[' and `(', or their syntax status. A percent literal
1717 can't end with either.
68e004e0
DG
1718 (ruby-font-lock-keywords): For built-ins that require arguments,
1719 check that they're followed by something that looks like argument
1720 (bug#16610).
a09beb3d 1721
ed4d2875
LI
17222014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1723
1724 * subr.el (butlast): Document what an omitted N means (bug#13437).
1725 (nbutlast): Ditto.
1726
dba6e3ec
LI
17272014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1728
1729 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1730 depth shallower (bug#16587).
cc477daa
LI
1731 (shr-tag-svg): Respect `shr-inhibit-images'.
1732 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1733
e2a67bd0
DG
17342014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1735
1736 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1737 (ruby-smie-grammar): Make "." right-associative. Make its priority
1738 lower than the ternary and all binary operators.
1739 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1740 parent, or the first "." parent at indentation.
1741 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1742 (Bug#16593)
1743
bd21bf41
JL
17442014-01-31 Juri Linkov <juri@jurta.org>
1745
1746 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1747 from `make-hash-table'.
1748
1749 * textmodes/ispell.el (ispell-init-process): Change message format
1750 to be consistent with other messages.
1751
b7e615b9
GM
17522014-01-31 Glenn Morris <rgm@gnu.org>
1753
a69ecd19
GM
1754 * delsel.el (delete-selection-mode): Doc fix.
1755
9997d7e3
GM
1756 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1757 (trace-function-background): Doc fixes.
1758
fbb764b8
GM
1759 * ido.el (ido-use-virtual-buffers): Doc fix.
1760 Reset :version, since the default value has not changed.
1761
da942af1
GM
1762 * register.el (register-preview-delay, register-read-with-preview):
1763 Doc fixes.
1764
b7e615b9
GM
1765 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1766 do not mess with mail-buffer position (fixes 2009-11-03 change).
1767 * progmodes/cc-mode.el (c-submit-bug-report):
1768 Check auto-fill-mode is bound. (Bug#16592)
1769
0a25002d
DH
17702014-01-31 Darren Hoo <darren.hoo@gmail.com>
1771
1772 * startup.el (fancy-splash-image-file): New function,
1773 split from fancy-splash-head.
1774 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1775 so that we are both using the same image. (Bug#16574)
1776
ad78f432
GM
17772014-01-30 Glenn Morris <rgm@gnu.org>
1778
6bbc0c84
GM
1779 * simple.el (eval-expression): Doc fix.
1780
ad78f432
GM
1781 * hexl.el (hexl-mode-hook):
1782 * ielm.el (ielm-mode-hook):
1783 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1784 (lisp-interaction-mode-hook):
1785 * progmodes/cfengine.e (cfengine3-documentation-function):
1786 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1787
7b2f049c
SM
17882014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1791 is a symbol (bug#16584).
1792
0c633f13
GM
17932014-01-30 Glenn Morris <rgm@gnu.org>
1794
1795 * help.el (help-for-help-internal): Add "P" to text.
1796
5e61c1ef
GM
17972014-01-29 Glenn Morris <rgm@gnu.org>
1798
1799 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1800
1dcb169c
MR
18012014-01-28 Martin Rudalics <rudalics@gmx.at>
1802
1803 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1804 height constraints.
1805
a9128931
LL
18062014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1807
1808 * progmodes/hideif.el: Extend to full CPP expression syntax.
1809 (hif-token-alist): Add missing tokens.
1810 (hif-token-regexp): Add support for float/octal/hex immediates.
1811 (hif-string-literal-regexp): New const.
1812 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1813 (hif-exprlist): New function.
1814 (hif-parse-if-exp): Use it.
1815 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1816 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1817 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1818 (hif-logxor, hif-comma): New functions.
1819
a22359a7
GM
18202014-01-28 Glenn Morris <rgm@gnu.org>
1821
793ffe81
GM
1822 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1823
e3bd7eed
GM
1824 * indent.el (tab-stop-list): Doc fix. Add :version.
1825
a22359a7
GM
1826 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1827 (cvs-append-to-ignore): Add compatibility alias.
1828
52695556 18292014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1830
bac524e0
GM
1831 * dired.el (dired-hide-details-mode): Don't autoload it,
1832 since it cannot be used outside Dired buffers anyway.
1833
52695556 1834 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1835
52695556
GM
1836 * dired.el (dired-hide-details-hide-symlink-targets)
1837 (dired-hide-details-hide-information-lines)
1838 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1839
1840 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1841 * strokes.el (strokes-file): Doc fix. Bump :version.
1842 (strokes-help): Doc fix.
1843 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1844 * emulation/viper.el (viper): Doc fix for custom group.
1845 (top-level): Remove oh-so-no-longer-relevant text about vip.
1846 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1847
1848 * ido.el (ido-save-directory-list-file):
1849 * saveplace.el (save-place-file):
1850 * calendar/timeclock.el (timeclock-file):
1851 * net/quickurl.el (quickurl-url-file):
1852 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1853 * progmodes/idlwave.el (idlwave-config-directory):
1854 * textmodes/remember.el (remember-data-file):
1855 Bump :version.
1856
169d6004
GM
18572014-01-26 Glenn Morris <rgm@gnu.org>
1858
de6a923b
GM
1859 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1860 Doc fix. Make obsolete.
1861 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1862
169d6004
GM
1863 * sort.el (delete-duplicate-lines): Doc fix.
1864
ed85dee6
RS
18652014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1866
1867 * progmodes/ada-mode.el (ada):
1868 * woman.el (woman): Link to info manual and Commentary section.
1869
1870 * progmodes/flymake.el (flymake):
1871 * nxml/nxml-mode.el (nxml):
1872 * net/eww.el (eww):
1873 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1874 * htmlfontify.el (htmlfontify):
1875 * ses.el (ses):
1876 * epa.el (epa):
1877 * ido.el (ido): Link to info manual.
1878
e0c67e1d
LL
18792014-01-25 Leo Liu <sdl.web@gmail.com>
1880
1881 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1882
35408b1a
AS
18832014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1884
1885 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1886 (bug#16537).
1887
11eff3ae 1888>>>>>>> MERGE-SOURCE
76c3fa95
JB
18892014-01-24 Juanma Barranquero <lekktu@gmail.com>
1890
f77c7a99
JB
1891 * net/eww.el (eww-download-callback):
1892 Fix reference to eww-download-directory.
1893
76c3fa95
JB
1894 * emacs-lisp/bytecomp.el (byte-compile-file):
1895 Remove unused local variable `file-name'.
1896
1e548e40
GM
18972014-01-24 Glenn Morris <rgm@gnu.org>
1898
03f3b318
GM
1899 * woman.el (woman-default-faces, woman-monochrome-faces):
1900 Fix obsolescence specification.
1901
1e548e40
GM
1902 * subr.el (with-demoted-errors): Doc fix.
1903
d4f0427b
SM
19042014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1907 (cl--macroexp-fboundp): New function.
1908 (cl--make-type-test): Use it.
1909
1670e27f
GM
19102014-01-23 Glenn Morris <rgm@gnu.org>
1911
1912 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1913 * simple.el (eval-expression): Doc fixes.
1914
80efa207
GM
19152014-01-22 Glenn Morris <rgm@gnu.org>
1916
1917 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1918
29afcbab
SM
19192014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * emacs-lisp/package.el: Write files silently.
1922 (package-autoload-ensure-default-file, package--write-file-no-coding)
1923 (package-generate-description-file, package--download-one-archive)
1924 (package-install-from-archive): Tell `write-region' to stay quiet.
1925 (package-menu-mode, package-menu--print-info): Omit the Archive column
1926 if there's only one archive.
1927 (package-all-keywords, package--has-keyword-p): Remove dead code.
1928
2a5bce4f
GM
19292014-01-22 Glenn Morris <rgm@gnu.org>
1930
edace89f
GM
1931 * version.el (emacs-bzr-version-bzr): Fix typo.
1932
2a5bce4f
GM
1933 * version.el (emacs-repository-get-version):
1934 Check either .bzr or .git, but not both.
1935 Make the git case actually use the DIR argument, and return nil
1936 rather than the empty string.
983664c0 1937 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1938
6cb4da45
MR
19392014-01-22 Martin Rudalics <rudalics@gmx.at>
1940
1941 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1942 * window.el (window-total-size, window-size): New argument ROUND.
1943 (window--min-delta-1, window-min-delta, window--max-delta-1):
1944 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1945 columns a window can shrink (Bug#16430).
1946 (fit-window-to-buffer): Simplify code.
1947 * term.el (term-window-width): Call window-body-width again.
1948
cc0f2ece
GM
19492014-01-22 Glenn Morris <rgm@gnu.org>
1950
7b997b14
GM
1951 * image.el (image-format-suffixes): Doc fix.
1952
44e76f9d
GM
1953 * international/quail.el (quail-define-package): Doc fix.
1954
35e951cd 1955 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1956 (authors-renamed-files-alist): Additions.
7bfc1caa 1957
85a5f61f
GM
1958 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1959 reverts 2014-01-09 change. (Bug#16422)
1960
cc0f2ece
GM
1961 * calc/calc-embed.el (thing-at-point-looking-at):
1962 * emacs-lisp/map-ynp.el (x-popup-dialog):
1963 * obsolete/lmenu.el (x-popup-dialog):
1964 * emacs-lisp/package.el (url-recreate-url):
1965 * mail/mailclient.el (clipboard-kill-ring-save):
1966 * subr.el (x-popup-dialog): Update declaration.
1967 * mail/rmail.el (rmail-mime-message-p):
1968 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1969
00d2a6bb
DC
19702014-01-21 Daniel Colascione <dancol@dancol.org>
1971
1972 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1973 Correctly detect when we're inside an arithmetic expansion form
1974 containing nested parenthesis.
c295fc18 1975 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1976 to detect cases where we shouldn't expand "<<" to a heredoc
1977 skeleton.
1978
dd9d2e9d
SM
19792014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1980
1981 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1982 (eldoc--message-command-p): New function.
1983 (eldoc-display-message-p): Use it.
1984 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1985 message is not automatically erased for us.
1986 (eldoc-print-current-symbol-info): Erase previous message, if any.
1987
e7d807ca
TH
19882014-01-21 Tassilo Horn <tsdh@gnu.org>
1989
4ff0a0e5
TH
1990 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1991 specify it's an interactive function.
1992
dd9d2e9d
SM
1993 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1994 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1995 citations with optional arguments.
1996
87503791
LL
19972014-01-21 Leo Liu <sdl.web@gmail.com>
1998
1999 * simple.el (read--expression): Don't enable eldoc-mode.
2000
6cc750ee
SM
20012014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2002
2003 * simple.el (move-beginning-of-line): Make sure we don't move forward
2004 (bug#16497).
2005
71f16bda
JL
20062014-01-20 Juri Linkov <juri@jurta.org>
2007
2008 * saveplace.el (toggle-save-place, save-place-to-alist)
2009 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2010 'dired-mode) before checking for dired-directory. (Bug#16477)
2011
3c5a4839
JL
20122014-01-20 Juri Linkov <juri@jurta.org>
2013
2014 * indent.el (indent-line-to): Use backward-to-indentation
2015 instead of back-to-indentation. (Bug#16461)
2016
f952002e
PE
20172014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2018
2019 Revert some of the CANNOT_DUMP fix (Bug#16494).
2020 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2021 but fixing this can wait until after the next release.
2022 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2023
93675500
MA
20242014-01-19 Michael Albinus <michael.albinus@gmx.de>
2025
2026 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2027 Use `password-word-equivalents'.
2028 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2029 to t. (Bug#5664, Bug#13124)
2030
e3af763f
AM
20312014-01-19 Alan Mackenzie <acm@muc.de>
2032
2033 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2034 points.
2035 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 2036 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
2037 * progmodes/cc-mode.el (c-before-change, c-after-change)
2038 (c-font-lock-fontify-region): Bind it here.
2039
4ff6d92d
MR
20402014-01-19 Martin Rudalics <rudalics@gmx.at>
2041
2042 * term.el (term-window-width): Call window-text-width instead of
2043 window-width (Bug#16470).
2044
9a685cf6
PE
20452014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2046
2047 * simple.el (password-word-equivalents): Remove duplicates.
2048 Sort, to make this easier next time.
2049 Downcase. Omit ": " after "jelszó".
2050
5aa78c2d
JD
20512014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2052
2053 * term/common-win.el (saved-region-selection): Defvar it.
2054 (x-select-text): Set saved-region-selection (Bug#16382).
2055
cabb250c
GM
20562014-01-18 Glenn Morris <rgm@gnu.org>
2057
2058 * emacs-lisp/authors.el (authors-aliases)
2059 (authors-renamed-files-alist): Add some entries.
2060
a1340440
MA
20612014-01-17 Michael Albinus <michael.albinus@gmx.de>
2062
93675500
MA
2063 * net/tramp.el (tramp-password-prompt-regexp):
2064 Use `password-word-equivalents' if available.
a1340440
MA
2065 (tramp-action-password, tramp-process-one-action)
2066 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2067
681ce5d2
CY
20682014-01-17 Chong Yidong <cyd@gnu.org>
2069
2070 * simple.el (password-word-equivalents): New defcustom.
2071 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2072 to 24.4.
2073 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2074 to t. (Bug#13124)
2075
fb3d479c
DG
20762014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2077
2078 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
2079 (ruby-align-to-stmt-keywords): Change the default value.
2080 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
2081 choices.
2082 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2083 keywords, check against the value of `ruby-alignable-keywords'
2084 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2085
0d613483
GM
20862014-01-17 Glenn Morris <rgm@gnu.org>
2087
fc23fe2d
GM
2088 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2089
0d613483 2090 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 2091 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
2092 (authors-ignored-files): Add some entries, remove others.
2093 (authors-ambiguous-files, authors-valid-file-names):
2094 Add some entries.
2095 (authors-renamed-files-alist): Add, remove, and adjust entries.
2096 (authors-renamed-files-regexps): Add some entries.
2097 Remove some very broad ones. Make some entries `lax'.
2098 (authors-lax-changelogs): New constant.
2099 (authors-disambiguate-file-name): Treat top-level specially.
2100 (authors-lax-changelog-p): New function.
2101 (authors-canonical-file-name): Check file as written against
2102 authors-valid-file-names. Do not special-case etc/.
2103 Handle `lax' logs and authors-renamed-files-regexps elements.
2104
2dbf4ffd
DG
21052014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2106
2107 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
2108 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2109 callers.
2dbf4ffd 2110
87b2a7f2
SM
21112014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2114 Assume we're already in the proper buffer.
2115 Inspired by Anders Lindgren <andlind@gmail.com>.
2116 (follow-post-command-hook): Call it from the right buffer.
2117 (follow-comint-scroll-to-bottom): Adjust call.
2118 (follow-all-followers): Use get-buffer-window-list.
2119
93acfb0e
DC
21202014-01-15 Daniel Colascione <dancol@dancol.org>
2121
2122 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2123 `buffer-file-name' in interactive-form so that we don't leave
2124 pathless file names in `file-name-history'.
2125
ccc6b208
JL
21262014-01-15 Juri Linkov <juri@jurta.org>
2127
2128 * indent.el (indent-rigidly): Set deactivate-mark to nil
2129 in transient indentation mode. (Bug#16438)
2130
5c92e00d
DG
21312014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2132
2133 * emacs-lisp/package.el (package-desc-keywords): New function
2134 (Bug#16222).
2135 (describe-package-1, package-all-keywords)
2136 (package--has-keyword-p): Use it.
2137
dac69660
NR
21382014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2139
2140 * simple.el (define-alternatives): When creating the
2141 COMMAND-alternatives variable, assign COMMAND as its definition
2142 name so that `describe-variable' can relocate it.
2143
8b63edf8
ML
21442014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2145
2146 * font-lock.el (font-lock-keywords): Fix typo in docstring
2147 (bug#16307).
2148
c6a0b8eb
AM
21492014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2150
2151 * ispell.el (ispell-region): Reset `in-comment' for new line
2152 instead of wrongly reset `add-coment' (bug#13577).
2153
02bf443d
DU
21542014-01-14 Daiki Ueno <ueno@gnu.org>
2155
2156 * epa-file.el (epa-file-write-region): Encode the region according
2157 to `buffer-file-format'. Problem reported at:
2158 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2159
fd7fde15
SM
21602014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2163 so it applies in the right buffer (bug#16410).
2164
c176054f
DC
21652014-01-13 Daniel Colascione <dancol@dancol.org>
2166
2167 * textmodes/rst.el (rst-define-key): Provide deprecated
2168 keybindings through named functions instead of anonymous ones so
2169 that "??" doesn't appear in describe-mode output.
2170
e3f33e5d
BG
21712014-01-13 Bastien Guerry <bzg@gnu.org>
2172
2173 * simple.el (define-alternatives): Call the selected command
2174 interactively. When setting `COMMAND--implementation' for the
2175 first time, tell the user how to chose another implementation.
2176 Enhance the docstring.
2177
c055d654
SM
21782014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2181 (log-edit--match-first-line): New function.
2182 (log-edit-font-lock-keywords): Use it.
2183 (log-edit-mode): Make jit-lock-defer-multiline work.
2184
d791cc3b
BG
21852014-01-13 Bastien Guerry <bzg@gnu.org>
2186
2187 * rect.el (rectangle-mark-mode): When the region is not active,
2188 display a message saying that the mark as been set and that
2189 rectangle mode is in use.
2190 (rectangle--highlight-for-redisplay): Only put an overlay with a
2191 visible vertical bar when (display-graphic-p) is non-nil.
2192 This partially fixes Bug#16403.
2193
3c0c4562
JL
21942014-01-13 Juri Linkov <juri@jurta.org>
2195
2196 * info.el (Info-find-file): Go to DIR before displaying the error
2197 about a nonexistent file if no previous Info file is visited.
2198 Use `user-error' instead of `error' for "Info file %s does not exist".
2199 (Info-find-node-2): In case of a nonexistent node in unwind forms
2200 go to the Top node if there is no previous node to revert to.
2201 (Bug#16405)
2202
25a700d0
MR
22032014-01-13 Martin Rudalics <rudalics@gmx.at>
2204
2205 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2206 * window.el (fit-frame-to-buffer): Fix doc-string.
2207 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2208 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2209 when avoiding that frame goes partially off-screen.
2210 (fit-window-to-buffer): Respect window-min-height/-width
2211 (Bug#14096).
2212
6ae948d8
SM
22132014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2216 after an empty line.
2217
6137cb82
SM
22182014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * net/shr.el (shr-render-region): Autoload.
2221
e6344e17
XF
22222014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2223
2224 * net/eww.el (eww-download-directory): Rename from
2225 `eww-download-path' (Bug#16419).
2226
3b922c70
LL
22272014-01-12 Leo Liu <sdl.web@gmail.com>
2228
2229 * dired-x.el (dired-mode-map): Fix last change.
2230
2231 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2232
4fa51741
PE
22332014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2234
2235 Spelling fixes.
2236 * emacs-lisp/generic.el (generic--normalize-comments):
2237 Rename from generic--normalise-comments. All uses changed.
35e951cd 2238 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2239 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2240 (bubbles--neighborhood-available)
2241 (bubbles--update-neighborhood-score):
2242 Rename from names with 'neighbourhood'. All uses changed.
2243
9b335362
LL
22442014-01-12 Leo Liu <sdl.web@gmail.com>
2245
2246 Re-implement the feature of showing eldoc info after editing.
2247 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2248 (eldoc-edit-message-commands): New function.
2249 (eldoc-print-after-edit): New variable.
2250 (eldoc-pre-command-refresh-echo-area): Emit message only by
2251 eldoc-message-commands.
2252 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2253 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2254 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2255 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2256
e2a095b1
GM
22572014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2258 Eric S. Raymond <esr@thyrsus.com>
9685190b 2259
841a6d0c 2260 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2261 function works correctly in either a Bazaar or Git repo.
0abf4134 2262
e2a095b1
GM
22632014-01-11 Eric S. Raymond <esr@thyrsus.com>
2264
6137cb82
SM
2265 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2266 Goes with removal of the joke manpages from /etc.
9685190b 2267
c295fc18 22682014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2269
6137cb82
SM
2270 * mail/rmail.el (rmail-get-coding-system):
2271 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2272
d2f16e93
GM
22732014-01-10 Glenn Morris <rgm@gnu.org>
2274
2275 * emacs-lisp/authors.el (authors-fixed-entries):
2276 Update for files that no longer exist.
2277
7e03bb32
ER
22782014-01-10 Eric S. Raymond <esr@thyrsus.com>
2279
2280 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2281 24.3 (Tested).
7e03bb32 2282
dd806710
BB
22832014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2284
2285 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2286 and Podfile.
2287
ed6ec139
EZ
22882014-01-10 Eli Zaretskii <eliz@gnu.org>
2289
2290 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2291
cc33cac9
CY
22922014-01-10 Chong Yidong <cyd@gnu.org>
2293
6137cb82 2294 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2295
d9d836b5
AL
22962014-01-10 Anders Lindgren <andlind@gmail.com>
2297
2298 * follow.el (follow-cache-command-list): Include right-char and
2299 left-char.
2300
06827ec8
PE
23012014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2302
2303 Spelling fixes.
2304 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2305 * woman.el (woman-mark-horizontal-position):
2306 Rename from woman-mark-horizonal-position. Use changed.
2307
458dbf5e
GM
23082014-01-10 Glenn Morris <rgm@gnu.org>
2309
dad6fae7
GM
2310 * info.el (info-initialize): If running uninstalled, ensure our
2311 own info files are always found first, even if INFOPATH is set.
2312
458dbf5e
GM
2313 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2314
05e0afce
DE
23152014-01-09 David Engster <deng@randomsample.de>
2316
2317 * emacs-lisp/eieio-custom.el:
2318 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2319 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2320 * emacs-lisp/eieio.el: Regenerate autoloads.
2321
f29778b3
ER
23222014-01-09 Eric S. Raymond <esr@thyrsus.com>
2323
2324 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2325 following renames. (Bug#8756)
f29778b3 2326
684d44ef
SM
23272014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2330 (bug#16382).
2331 (activate-mark): Add `no-tmm' argument.
2332 (set-mark, push-mark-command): Use it instead of running
2333 activate-mark-hook by hand.
2334
9475054f
ER
23352014-01-08 Eric S. Raymond <esr@thyrsus.com>
2336
2337 In preparation for the move to git, sanitize out some
2338 Bazaar-specific names.
2339
38942b9c
GM
2340 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2341
9475054f 2342 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2343 emacs-repository-version. Obsolete-variable alias made.
9475054f 2344 * loadup.el: Follow through on this name change.
a12bf61e 2345 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2346 assumption about the version control system in use.
2347
0f918d96 23482014-01-08 David Engster <deng@randomsample.de>
abb82152 2349
684d44ef
SM
2350 * help-fns.el (help-fns-describe-function-functions):
2351 New variable to call functions for augmenting help buffers.
abb82152
DE
2352 (describe-function-1): Remove explicit calls to
2353 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2354 `help-fns--obsolete'. Put them in above new variable instead, and
2355 call them through `run-hook-with-args'.
2356 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2357 `eieio-describe-class'. Not meant for interactive use anymore,
2358 but to augment existing help buffers. Remove optional second
684d44ef
SM
2359 argument. Create proper button for file location.
2360 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2361 possible.
2362 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2363 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2364 (describe-method, describe-generic, eieio-describe-method):
2365 Remove aliases.
0f918d96
DE
2366 (eieio-help-constructor, eieio-help-generic): Rename from
2367 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2368 Rewrite to use `insert' in the current buffer and use proper help
2369 buttons.
2370 (eieio-help-find-method-definition)
2371 (eieio-help-find-class-definition): Also accept symbols as
2372 arguments.
2373 (eieio-help-mode-augmentation-maybee): Remove.
2374 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2375 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2376 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2377
136b74c5
PE
23782014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2379
2380 Spelling fixes.
2381 * language/china-util.el (hz-ascii-designation):
2382 Rename from hz-ascii-designnation.
2383 (hz-ascii-designation): Rename from hz-ascii-designnation.
2384 All uses changed.
2385
ec6c7de2
SM
23862014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2389 package-alist.
2390
d6262c7c
BG
23912014-01-08 Bastien Guerry <bzg@gnu.org>
2392
4b9e6087
GM
2393 * emacs-lisp/package.el (package-delete):
2394 Correctly delete the package from package-alist.
d6262c7c 2395
0a3eec32
DU
23962014-01-08 Daiki Ueno <ueno@gnu.org>
2397
2398 * emacs-lisp/package.el (url-recreate-url): Declare.
2399 (url-http-target-url): Declare.
4b9e6087 2400 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2401 (package--check-signature): Don't re-signal errors from
2402 package--with-work-buffer. Suggested by Stefan Monnier.
2403
68f0bb97
BG
24042014-01-07 Bastien Guerry <bzg@gnu.org>
2405
2406 * minibuffer.el (completion--try-word-completion): When both a
2407 hyphen and a space are possible candidates for the character
2408 following a word, display both candidates. (Bug#15980)
2409
7e1899d7
MR
24102014-01-07 Martin Rudalics <rudalics@gmx.at>
2411
2412 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2413 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2414
0030ec15
GM
24152014-01-07 Glenn Morris <rgm@gnu.org>
2416
2417 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2418 (menu-bar-help-menu): Use view-external-packages instead.
2419
2b6b4f20
BG
24202014-01-07 Bastien Guerry <bzg@gnu.org>
2421
2422 * emacs-lisp/package.el (package-delete): Also delete the package
2423 name from `package-alist', not its description only.
2424
e9be0a13
GM
24252014-01-07 Glenn Morris <rgm@gnu.org>
2426
2427 * help.el (view-external-packages):
2428 * menu-bar.el (menu-bar-help-extra-packages):
2429 Visit efaq.info rather than etc/MORE.STUFF.
2430
e4f74da9
JL
24312014-01-07 Juri Linkov <juri@jurta.org>
2432
2433 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2434 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2435
2436 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2437 that shadows RET. (Bug#16342)
2438
de7ce2d1
CY
24392014-01-07 Chong Yidong <cyd@gnu.org>
2440
2441 * isearch.el (isearch-yank-char, isearch-yank-word)
2442 (isearch-yank-line): Doc fix.
2443
6bdd9204
SM
24442014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2447 * emacs-lisp/elint.el (elint-find-builtins):
2448 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2449 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2450 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2451 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2452 * apropos.el (apropos-safe-documentation):
2453 * subr.el (symbol-file): Remove redundant fboundp.
2454 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2455
daccca97
BG
24562014-01-06 Bastien Guerry <bzg@gnu.org>
2457
2458 * hl-line.el (global-hl-line-overlay): Make a local variable.
2459 (global-hl-line-overlays): New variable to store all overlays.
2460 (global-hl-line-mode): Don't delete overlays from the current
2461 buffer when `global-hl-line-sticky-flag' is non-nil.
2462 (global-hl-line-highlight): Add new overlays to
2463 `global-hl-line-overlays'.
2464 (global-hl-line-unhighlight-all): New function to delete all
2465 overlays when turning off `global-hl-line-mode'.
2466 This fixes Bug#16183.
2467
ec00f20f
SM
24682014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * subr.el (set-transient-map): Fix nested case and docstring.
2471
a0031f97
TH
24722014-01-06 Tassilo Horn <tsdh@gnu.org>
2473
2474 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2475 `Texinfo' entry.
2476
bf6a77f3
DC
24772014-01-06 Daniel Colascione <dancol@dancol.org>
2478
2479 Fix defun navigation in vc log view.
2480
2481 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2482 like `beginning-of-defun'.
c295fc18 2483 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2484 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2485 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2486 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2487 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2488
d5081c1e
PE
24892014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2490
2491 Spelling fixes.
2492 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2493 * emacs-lisp/debug.el (cancel-debug-on-entry):
2494 * epg.el (epg-error-to-string):
2495 * files.el (recover-file):
2496 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2497 * mail/emacsbug.el (report-emacs-bug-hook):
2498 * mail/sendmail.el (mail-recover):
2499 * ses.el (ses-yank-resize):
2500 * term/ns-win.el (ns-print-buffer):
2501 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2502 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2503 All uses changed.
2504 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2505
53f6b148
LL
25062014-01-06 Leo Liu <sdl.web@gmail.com>
2507
2508 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2509 to avoid shadowing global key. (Bug#16354)
53f6b148 2510
b82ace2f
DC
25112014-01-06 Daniel Colascione <dancol@dancol.org>
2512
2513 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2514 rst-mode.
2515
3669b636
MR
25162014-01-05 Martin Rudalics <rudalics@gmx.at>
2517
2518 * window.el (balance-windows): Add mising t to fix Bug#16351.
2519
1a29adc2
LMI
25202014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2521
2522 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2523 (bug#16285).
3d95a0f4
LMI
2524 (shr-insert): If we have a word that's longer than `shr-width',
2525 break after it anyway. Otherwise we'll do no breaking once we get
2526 such a long word.
1a29adc2 2527
f4018140
KN
25282014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2529
3fcfc4ee 2530 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2531 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2532 (eww-history-quit): Delete and use quit-window.
2533 (eww-history-kill): Delete, because it doesn't work well and
2534 not necessary.
2535 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2536
4e619754
PE
25372014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2538
73dbf960
PE
2539 Fix misspelling of 'chinese' in rx (Bug#16237).
2540 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2541 chinese-two-byte.
2542
4e619754
PE
2543 Change subword regexps back to vars (Bug#16296).
2544 * progmodes/subword.el (subword-forward-regexp)
2545 (subword-backward-regexp): Change these back to variables.
2546
e18b70fc
SM
25472014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2550 syntax-begin-function (bug#16247).
2551
0d53f628
CY
25522014-01-03 Chong Yidong <cyd@gnu.org>
2553
2554 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2555 (advice--docstring): Delete variable.
2556 (advice--make-1): Leave the docstring empty.
2557 (advice-add): Use function-documentation for advised docstring.
2558
2559 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2560 Ignore function-documentation property when getting documentation.
2561 (ad-activate-advised-definition): Use function-documentation
2562 generate the docstring.
2563 (ad-make-advised-definition): Don't call
2564 ad-make-advised-definition-docstring.
2565 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2566 Delete functions.
2567
2568 * progmodes/sql.el (sql-help): Use function-documentation instead
2569 of dynamic-docstring-function property. No need to autoload now.
2570 (sql--help-docstring): New variable.
2571 (sql--make-help-docstring): Use it.
2572
6f547583
SM
25732014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2574
6ef9aed8
SM
2575 * ielm.el (ielm-tab): Retarget.
2576 (ielm-map): Use ielm-tab for tab.
2577 (ielm-complete-filename): Use comint-filename-completion.
2578 (ielm-complete-symbol): Remove.
2579 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2580 remove ielm-tab from completion-at-point-functions (bug#16224).
2581
6f547583
SM
2582 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2583 Beware signals raised by predicates (bug#16201).
2584
a574edbe
RS
25852014-01-02 Richard Stallman <rms@gnu.org>
2586
e831604d
RS
2587 * dired-aux.el (dired-do-print): Handle printer-name.
2588
6f547583
SM
2589 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2590 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2591 (rmail-epa-decrypt): Turn off mime processing.
2592
3fcfc4ee 2593 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2594 Add parens in message-id.
2595
2596 * mail/rmail.el (rmail-get-coding-function): Variable.
2597 (rmail-get-coding-system): Use it.
2598
04311a16
KH
25992013-12-31 Eli Zaretskii <eliz@gnu.org>
2600
2601 * international/mule-conf.el: Unify the charset indian-is13194.
2602 (indian-is13194): Specify unify-map.
2603
c8d89778
LL
26042013-12-31 Leo Liu <sdl.web@gmail.com>
2605
2606 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2607
e63ace37
DC
26082013-12-30 Daniel Colascione <dancol@dancol.org>
2609
9e0bf19a
DC
2610 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2611 of printing a useless when we resume from sleep.
2612
e63ace37 2613 * progmodes/sh-script.el
c295fc18 2614 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2615 in indentation code. (Bug#16233)
2616
e9d6c46a
JT
26172013-12-28 João Távora <joaotavora@gmail.com>
2618
6f547583
SM
2619 * elec-pair.el (electric-pair-post-self-insert-function):
2620 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2621
bf7bea5d
EZ
26222013-12-28 Eli Zaretskii <eliz@gnu.org>
2623
2624 * frame.el (window-system-for-display): Don't allow to create a
2625 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2626
8449dd1f
GM
26272013-12-28 Glenn Morris <rgm@gnu.org>
2628
9c5a5c77
GM
2629 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2630 Update callers.
2631
2632 * apropos.el (apropos-match-face):
2633 * calculator.el (calculator-displayer):
2634 * dabbrev.el (dabbrev-search-these-buffers-only):
2635 * face-remap.el (buffer-face-mode-face):
2636 * simple.el (yank-handled-properties):
2637 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2638 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2639 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2640 (hashcash-double-spend-database):
2641 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2642 (ruby-deep-indent-paren-style):
2643 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2644 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2645 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2646 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2647 Specify custom types.
2648
bb098075
GM
2649 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2650 * bookmark.el (bookmark-bmenu-use-header-line):
2651 * doc-view.el (doc-view-scale-internally):
2652 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2653 * register.el (register-preview-delay):
2654 * net/shr.el (shr-bullet):
2655 * progmodes/cfengine.el (cfengine-cf-promises)
2656 (cfengine-parameters-indent):
2657 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2658 * textmodes/reftex-vars.el (reftex-label-regexps):
2659 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2660
9c61f806
GM
2661 * net/tls.el (tls-certtool-program): Fix default value.
2662
2663 * desktop.el (desktop-restore-in-current-display):
2664 * newcomment.el (comment-empty-lines):
2665 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2666 (idlwave-pad-keyword):
2667 * progmodes/tcl.el (tcl-tab-always-indent):
2668 * textmodes/reftex-vars.el (reftex-index-default-tag):
2669 * elec-pair.el (electric-pair-skip-whitespace):
2670 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2671
8449dd1f
GM
2672 * emacs-lisp/authors.el (authors-ignored-files)
2673 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2674
fdadeb49
JC
26752013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2676
72140a0f
GM
2677 * shell.el (shell-dynamic-complete-command): Doc fix.
2678 (shell--command-completion-data): Shell completion now matches
2679 executable filenames from the current buffer's directory, on
da5ecfa9 2680 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2681
e572a7d8
LI
26822013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2683
2684 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2685
7514d3f8
SM
26862013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2687
a4151f3b
SM
2688 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2689 (bug#16251).
2690
7514d3f8
SM
2691 * electric.el: Move all electric-pair-* to elec-pair.el.
2692 * elec-pair.el: New file, split from electric.el.
2693
ac5758d1
LI
26942013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2695
2696 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2697 indentation level is larger than the width, because that will
2698 infloop.
2699 (shr-insert): Fill repeatedly long texts, so that Japanese is
2700 formatted correctly (bug#16263).
24a6b65e
LI
2701 (shr-find-fill-point): Off by one error in comparison with the
2702 indentation.
ac5758d1 2703
7514d3f8 27042013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2705
2706 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2707 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2708 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2709 if that keeps or improves their balance in buffers.
2710 (electric-pair-delete-adjacent-pairs): Delete the pair when
2711 backspacing over adjacent matched delimiters.
2712 (electric-pair-open-extra-newline): Open extra newline when
2713 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2714 (electric--sort-post-self-insertion-hook):
2715 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2716 minor-modes are activated.
2717 * simple.el (newline-and-indent): Call newline with interactive
2718 set to t.
2719 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2720 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2721 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2722 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2723 electric-pair-open-newline-between-pairs to nil.
2724
fbcc63a3
FEG
27252013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2726
2727 * progmodes/python.el: Use lexical-binding.
2728 (python-nav-beginning-of-defun): Stop searching ASAP.
2729
ed78d16c
XF
27302013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2731
2732 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2733 Fix interactive spec. Doc fix. (Bug#15754)
2734
38b2c142
KY
27352013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2736
2737 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2738 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2739 Fix edebug spec (bug#16184).
2740
3c856c14
LI
27412013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2742
83fa295c 2743 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2744 (shr-insert): Don't infloop if we can't find a good place to break
2745 the line (bug#16256).
3c856c14 2746
01379221
FEG
27472013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2748
35e951cd 2749 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2750 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2751 python-nav-lisp-forward-sexp-safe.
2752 (python-nav--forward-sexp): New argument SAFE allows switching
2753 forward sexp movement behavior for parens.
2754 (python-nav-forward-sexp): Throw errors on unterminated parens
2755 (Bug#16191).
2756 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2757 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2758 (python-shell-buffer-substring):
2759 Use `python-nav-forward-sexp-safe'.
01379221 2760
99e4926f
LI
27612013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2762
2763 * net/shr.el (shr-find-fill-point): Don't break lines before a
2764 quotation mark.
c6c20584
LI
2765 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2766 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2767 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2768
fec0e828
KN
27692013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2770
2771 * net/eww.el (eww-form-textarea): Use a different face for
2772 textareas than text input since they have different keymaps
2773 (bug#16142).
2774
89c868ad
FEG
27752013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2776
7514d3f8
SM
2777 * progmodes/python.el (python-nav-beginning-of-statement):
2778 Speed up (Bug#15295).
89c868ad 2779
eeef121a
LI
27802013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2781
2782 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2783 the window configuration.
2784
121ea65f
EZ
27852013-12-24 Eli Zaretskii <eliz@gnu.org>
2786
2787 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2788 we run on MS-Windows or MS-DOS.
2789
18cee9ec
MR
27902013-12-24 Martin Rudalics <rudalics@gmx.at>
2791
2792 * window.el (balance-windows-area): Call window-size instead of
2793 window-height and window-width. Bug#16241.
2794
58f2b9a5
LI
27952013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2796
2797 * net/eww.el (eww-bookmark-quit): Remove.
2798 (eww-bookmark-browse): Restore the window configuration when you
2799 choose a bookmark (bug#16144).
2800
d64b6308
DC
28012013-12-24 Daniel Colascione <dancol@dancol.org>
2802
2803 * icomplete.el: Remove redundant :group arguments to `defcustom'
2804 throughout.
2805 (icomplete-show-matches-on-no-input): New customizable variable.
2806 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2807 we have something to show.
7514d3f8 2808 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2809
0da54898
DC
28102013-12-23 Daniel Colascione <dancol@dancol.org>
2811
2812 * icomplete.el: Move `provide' to end of file.
2813
b90aa4f4
TZ
28142013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2815
2816 * net/gnutls.el (gnutls-verify-error): Add version tag.
2817
8cd22a08
CY
28182013-12-23 Chong Yidong <cyd@gnu.org>
2819
2820 * subr.el (set-transient-map): Rename from
2821 set-temporary-overlay-map. Doc fix.
2822
2823 * face-remap.el (text-scale-adjust):
2824 * indent.el (indent-rigidly):
2825 * kmacro.el (kmacro-call-macro):
2826 * minibuffer.el (minibuffer-force-complete):
2827 * repeat.el (repeat):
2828 * simple.el (universal-argument--mode):
2829 * calendar/todo-mode.el (todo-insert-item--next-param):
2830 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2831
7510b021
CY
2832 * indent.el (indent-rigidly): Use substitute-command-keys.
2833
72140a0f 28342013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2835
2836 * net/eww.el (eww-tag-select): Add text-property to jump to next
2837 select field.
e9dc713d 2838 (eww): Add non-supported ftp error.
56890ecd 2839
1f87a56c
DG
28402013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2841
2842 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2843 comments. Handle electric indent after typing `?' and `!'.
2844
dca38cf9
CY
28452013-12-22 Chong Yidong <cyd@gnu.org>
2846
2847 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2848 applicable to a frame, fall back on the defface spec.
2849 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2850
f2351498
DG
28512013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2852
2853 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2854 after `{'. We need it after block openers, and it doesn't seem
2855 to hurt after hash openers.
2856
6cddebc1
DG
28572013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2858
2859 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2860 extracted from `ruby-smie-rules'.
2861 (ruby--electric-indent-chars): New variable.
2862 (ruby--electric-indent-p): New function.
2863 (ruby-mode): Use `electric-indent-functions' instead of
2864 `electric-indent-chars'.
2865
65a1da00
DG
28662013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2867
2868 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2869 docstring.
2870 (ruby-smie-rules): Indent plus one level after `=>'.
2871
b51ad4cf
RS
28722013-12-21 Richard Stallman <rms@gnu.org>
2873
2874 * simple.el (newline): Doc fix.
2875
72140a0f 28762013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2877
e9dc713d 2878 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2879 (eww-history-browse, eww-history-quit, eww-history-kill)
2880 (eww-history-mode-map, eww-history-mode): New command and
2881 functions to list browser histories.
e9dc713d
JB
2882 (eww-form-text): Support text form with disabled
2883 and readonly attributes.
2884 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2885
5e1901c1
RS
28862013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2887
2888 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2889 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2890 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2891 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2892 Use `user-error'.
2893 (eww-bookmark-mode-map): Add menu.
2894 (eww-render, eww-mode): Use `setq-local'.
2895 (eww-tool-bar-map): New variable.
2896 (eww-mode): Set `tool-bar-map'.
2897 (eww-view-source): Check for `html-mode' with `fboundp'.
2898
073d5cfd
LMI
28992013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2900
2901 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2902 elements with text inside. Also remove debugging.
2903
41cf3d11
JD
29042013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2905
2906 * cus-start.el (all): Add ns-use-srgb-colorspace.
2907
aac2b673
CY
29082013-12-21 Chong Yidong <cyd@gnu.org>
2909
2910 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2911 undefined. Thus, theme settings for undefined faces do not take
2912 effect until the faces are defined with defface, the same as with
2913 theme variables.
2914
2915 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2916 (face-spec-reset-face): Don't assign extra properties in temacs.
2917 (face-spec-recalc): Apply X resources too.
2918
bacb0e77
CY
29192013-12-21 Chong Yidong <cyd@gnu.org>
2920
2921 * faces.el (face-spec-set):
2922 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2923 * custom.el (defface): Doc fixes (Bug#16203).
2924
77221051
CY
2925 * indent.el (indent-rigidly-map): Add docstring, and move commands
2926 into named functions.
2927 (indent-rigidly-left, indent-rigidly-right)
2928 (indent-rigidly-left-to-tab-stop)
2929 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2930 indentation direction based on bidi direction, and accumulate
2931 sequential commands in a single undo boundary.
2932 (indent-rigidly--pop-undo): New utility function.
2933
e0eb0550
JB
29342013-12-20 Juanma Barranquero <lekktu@gmail.com>
2935
2936 * faces.el (read-face-name): Require crm.el when using crm-separator.
2937
3282bd2e
DC
29382013-12-20 Daniel Colascione <dancol@dancol.org>
2939
2940 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2941 so that we don't reflow comments into the shebang line.
2942
1d42e5b6
JL
29432013-12-20 Juri Linkov <juri@jurta.org>
2944
2945 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2946 a position when `dired-directory' is non-nil. Check integer
2947 positions with `integerp'.
2948 (toggle-save-place, save-places-to-alist): Add check for
2949 `dired-directory'.
2950 (save-place-find-file-hook): Check integer positions with
2951 `integerp'.
2952 (save-place-dired-hook): Use `dired-goto-file' when
2953 `dired-filename' is found in the assoc list. Check integer
2954 positions with `integerp'.
2955 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2956
2957 * dired.el (dired-initial-position-hook): Rename back from
2958 `dired-initial-point-hook'.
2959 (dired-initial-position): Rename `dired-initial-point-hook' to
2960 `dired-initial-position-hook'.
2961 (dired-file-name-at-point): Doc fix. (Bug#15329)
2962
24da7273
JL
29632013-12-20 Juri Linkov <juri@jurta.org>
2964
2965 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2966 (read-regexp-suggestions): New function.
2967 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2968 Use `read-regexp-suggestions'. Add non-empty default to history
2969 for empty input.
2970 (occur-read-regexp-defaults-function): Remove function.
2971 (occur-read-primary-args): Use `regexp-history-last' instead of
2972 `occur-read-regexp-defaults-function'.
2973
2974 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2975 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2976 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2977 `hi-lock-read-regexp-defaults-function'. Doc fix.
2978 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2979 with `find-tag-default-as-symbol-regexp'. Doc fix.
2980 (hi-lock-read-regexp-defaults): Remove function.
2981 (hi-lock-regexp-okay): Add check for null.
2982
2983 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2984 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2985
2986 * subr.el (find-tag-default-as-symbol-regexp): New function.
2987 (find-tag-default-as-regexp): Move symbol regexp formatting to
2988 `find-tag-default-as-symbol-regexp'.
2989
137f57c8
S
29902013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2991
2992 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2993 (Bug#14179)
2994
f3a66082
SB
29952013-12-20 Stephen Berman <stephen.berman@gmx.net>
2996
2997 * calendar/todo-mode.el: New implementation of item insertion
2998 commands and key bindings.
2999 (todo-key-prompt): New face.
3000 (todo-insert-item): New command.
3001 (todo-insert-item--parameters): New defconst, replacing defvar
3002 todo-insertion-commands-args-genlist.
3003 (todo-insert-item--param-key-alist): New defconst, replacing
3004 defvar todo-insertion-commands-arg-key-list.
3005 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3006 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3007 (todo-insert-item--next-param): New functions.
3008 (todo-insert-item--args, todo-insert-item--argleft)
3009 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3010 New variables.
3011 (todo-key-bindings-t): Change binding of "i" from
3012 todo-insertion-map to todo-insert-item.
3013 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3014 (todo-insertion-command-name, todo-insertion-commands-names)
3015 (todo-define-insertion-command, todo-insertion-commands)
3016 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3017
2f99433b
SB
30182013-12-20 Stephen Berman <stephen.berman@gmx.net>
3019
3020 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3021 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3022 eval-when-compile.
3023 (todo-move-category): Allow choosing a non-existing todo file to
3024 move the category to, and create that file.
3025 (todo-default-priority): New user option.
3026 (todo-set-item-priority): Use it.
3027 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3028 (desktop-restore-file-buffer): Declare.
3029 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3030 (todo-modes-set-2): Locally set desktop-save-buffer to
3031 todo-desktop-save-buffer.
3032 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3033 (auto-mode-alist): Add autoload cookie.
3034
131e4695
BB
30352013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3036
3037 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3038 helpers.el was a poor choice of name.
3cbfb935
BB
3039 (string-remove-prefix): New function.
3040 (string-remove-suffix): New function.
131e4695 3041
c44de18d
MR
30422013-12-20 Martin Rudalics <rudalics@gmx.at>
3043
3044 Fix assignment for new window total sizes.
3045 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
3046 (window--pixel-to-total-1, window--pixel-to-total):
3047 Fix calculation of new total sizes.
c44de18d 3048
ca65efcc
VS
30492013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3050
3051 * comint.el (comint-output-filter): Fix rear-nonsticky property
3052 placement (Bug#16010).
3053
a9574eb7
CY
30542013-12-20 Chong Yidong <cyd@gnu.org>
3055
3056 * faces.el (read-color): Minor fix for completion function.
3057
b520f210
DG
30582013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3059
e0eb0550
JB
3060 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3061 New option. (Bug#16182)
b520f210
DG
3062 (ruby-smie--indent-to-stmt-p): Use it.
3063 (ruby-smie-rules): Revert the logic in the handling of `when'.
3064 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3065 (ruby-deep-arglist, ruby-deep-indent-paren)
3066 (ruby-deep-indent-paren-style): Update docstrings to note that the
3067 vars don't have any effect with SMIE.
3068
26b75b45
JB
30692013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3070
3071 * calc/calc.el (calc-enter, calc-pop): Use the variable
3072 `calc-context-sensitive-enter'.
3073
cf91cee7
LMI
30742013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3075
3076 * net/shr.el (shr-insert): Protect against infloops in degenerate
3077 tables.
3078
51d971b4
RS
30792013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3080
3081 * progmodes/octave.el (octave): Add link to manual and octave
3082 homepage.
3083 (octave-mode-menu): Link to octave-mode manual.
3084
8c2e462a
LL
30852013-12-20 Leo Liu <sdl.web@gmail.com>
3086
3087 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3088 insertion using skeleton-end-newline. (Bug#16138)
3089
501158bc
JL
30902013-12-20 Juri Linkov <juri@jurta.org>
3091
3092 * replace.el (occur-engine): Use `add-face-text-property'
3093 to add the face property to matches and titles. (Bug#14645)
3094
3095 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3096 the palette of other hi-lock colors.
3097 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3098
50ab1da6
JL
30992013-12-19 Juri Linkov <juri@jurta.org>
3100
3101 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3102 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3103 (minibuffer-history-symbol): Move variable declaration closer to
3104 its usage.
3105
3106 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3107 (Bug#14785)
3108
3d6e95e7
JL
31092013-12-19 Juri Linkov <juri@jurta.org>
3110
3111 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3112 New function.
3113 (log-edit-hook): Add it to :options. (Bug#16170)
3114
b41594fd
JL
31152013-12-19 Juri Linkov <juri@jurta.org>
3116
3117 * simple.el (eval-expression-print-format): Don't check for
3118 command names and the last command. Always display additional
3119 formats of the integer result in the echo area, and insert them
3120 to the current buffer only with a zero prefix arg.
3121 Display character when char-displayable-p is non-nil.
3122 (eval-expression): With a zero prefix arg, set `print-length' and
3123 `print-level' to nil, and insert the integer values from
3124 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3125
3126 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3127 `eval-last-sexp-arg-internal'. Doc fix.
3128 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3129 `eval-last-sexp-print-value'. Doc fix.
3130 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3131 Set `print-length' and `print-level' to nil when arg is zero.
3132 (eval-last-sexp): Doc fix.
3133 (eval-defun-2): Print the integer values from
3134 `eval-expression-print-format' at the end.
3135
3136 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3137 values from `eval-expression-print-format' at the end.
3138
3139 * ielm.el (ielm-eval-input): Print the integer
3140 values from `eval-expression-print-format' at the end.
3141
8f2be364
TZ
31422013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3143
3144 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3145 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3146
2230a6e3
SM
31472013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3148
3149 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3150 (hl-line-highlight, global-hl-line-highlight): Use it.
3151 (hl-line-overlay): Use defvar-local.
3152
1269a680
JD
31532013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3154
3155 * term/ns-win.el: Require dnd.
3156 (global-map): Remove drag items.
3157 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3158 (ns-set-background-at-mouse):
3159 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3160 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3161 New functions.
1269a680 3162
049638ad
GM
31632013-12-19 Glenn Morris <rgm@gnu.org>
3164
3165 * emacs-lisp/ert.el (ert-select-tests):
3166 Fix string/symbol mixup. (Bug#16121)
3167
ce41edb4
DG
31682013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3169
3170 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3171 keywords to their parent.
3172
7e1549c9
DG
31732013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3174
3175 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3176 first arg to be a string (fixed dead code), or an operator symbol.
3177 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3178 operator symbols.
3179 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3180 did nothing. Don't respond to `(:after ".")', it will be called
3181 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3182 change anything. Only return indentation for binary operators
3183 when they are hanging. De-dent opening paren when its parent is
3184 `.', otherwise it looks bad when the dot is not at bol or eol
3185 (bug#16182).
3186
3ee4cd64
JL
31872013-12-19 Juri Linkov <juri@jurta.org>
3188
3189 * replace.el (query-replace-read-args): Split a non-negative arg
3190 and a negative arg into separate elements.
3191 (query-replace, query-replace-regexp, replace-string)
3192 (replace-regexp): Add arg `backward'. Doc fix.
3193 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3194 move point to the beginning of the match.
3195 (replace-search, replace-highlight): Use new arg `backward'
3196 to set the value of `isearch-forward'.
3197 (perform-replace): Add arg `backward' and use it to perform
3198 replacement backward. (Bug#14979)
3199
3200 * isearch.el (isearch-query-replace): Use a negative prefix arg
3201 to call `perform-replace' with a non-nil arg `backward'.
3202
0cda6b7b
JL
32032013-12-18 Juri Linkov <juri@jurta.org>
3204
3205 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3206 to the default list. Move `log-edit-show-files' to the end.
3207 Add more available functions to options.
3208 (log-edit): Move default specific settings to
3209 `log-edit-insert-message-template'. Don't move point.
3210 (log-edit-insert-message-template): New function.
3211 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3212 (Bug#16170)
3213
b216f0a6
JL
32142013-12-18 Juri Linkov <juri@jurta.org>
3215
3216 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3217 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3218
1d1c55dc
LL
32192013-12-18 Leo Liu <sdl.web@gmail.com>
3220
e9dc713d
JB
3221 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3222 (Bug#16186)
1d1c55dc 3223
64e4c76e
EZ
32242013-12-18 Eli Zaretskii <eliz@gnu.org>
3225
3226 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3227 formats for displaying file sizes when the -s switch is given.
3228 Instead, compute a separate format for displaying the size in
3229 blocks, which is displayed in addition to the "regular" size.
3230 When -h is given in addition to -s, produce size in blocks in
3231 human-readable form as well. (Bug#16179)
3232
b2984e39
TH
32332013-12-18 Tassilo Horn <tsdh@gnu.org>
3234
2230a6e3
SM
3235 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3236 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3237
50ff2e06
CY
32382013-12-18 Chong Yidong <cyd@gnu.org>
3239
0081bc84
CY
3240 * cus-edit.el (custom-magic-alist): Fix "themed" description
3241 (Bug#14348).
3242
a7ee9424
CY
3243 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3244 is non-nil, do not create a new entry in the symbol's theme-value
3245 or theme-face property; update theme-settings only (Bug#14664).
18874304 3246 (custom-available-themes): Doc fix.
a7ee9424 3247
8f942537
CY
3248 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3249 (Bug#15674).
3250
50ff2e06
CY
3251 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3252
83c60f60
KI
32532013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3254
3255 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3256 (Bug#13914).
3257
e0eb0550 32582013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3259
3260 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3261
1f41ee56
GM
32622013-12-18 Glenn Morris <rgm@gnu.org>
3263
3264 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3265 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3266
e82134b1
LW
32672013-12-18 Le Wang <l26wang@gmail.com>
3268
2230a6e3
SM
3269 * comint.el (comint-previous-matching-input-from-input):
3270 Retain point (Bug#13404).
e82134b1 3271
33f5d4c1
CY
32722013-12-18 Chong Yidong <cyd@gnu.org>
3273
3274 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3275
ccc9f6dc
GM
32762013-12-18 Glenn Morris <rgm@gnu.org>
3277
3278 * mail/emacsbug.el (report-emacs-bug):
3279 Only mention enable-multibyte-characters if non-standard.
3280
33dd8e95
JL
32812013-12-17 Juri Linkov <juri@jurta.org>
3282
3283 * arc-mode.el (archive-extract-by-file): Check if directory exists
3284 before deletion to not show irrelevant errors if it doesn't exist.
3285
7a409b30
JL
32862013-12-17 Juri Linkov <juri@jurta.org>
3287
3288 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3289 (Bug#14751)
3290
3291 * net/eww.el (browse-web): Add alias to `eww'.
3292 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3293 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3294
3295 * net/browse-url.el (browse-url-browser-function): Move `eww'
3296 closer to similar functions.
3297
3298 * startup.el (fancy-startup-screen, fancy-about-screen):
3299 Set browse-url-browser-function to eww-browse-url locally.
3300 (Bug#14751)
3301
2d6b6005
SM
33022013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * window.el (window--pixel-to-total): Remove unused `mini' var.
3305 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3306 (split-window): Remove unused `new' var.
3307 (window--display-buffer): Remove unused `frame' and `delta' vars.
3308 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3309 and display-width'.
3310
cf2b7efc
MR
33112013-12-17 Martin Rudalics <rudalics@gmx.at>
3312
3313 * dired.el (dired-mark-pop-up):
3314 * register.el (register-preview): Don't bind
3315 split-height-threshold here since it's now done in
3316 display-buffer-below-selected.
3317
ed3af8a7 33182013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3319
3320 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3321 xterm-rgb-convert-to-16bit.
3322 (rxvt-register-default-colors): Standardize with
3323 xterm-register-default-colors (Bug#14078).
3324
76da3455
DK
33252013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3326
3327 * simple.el (kill-region): Pass mark first, then point, so that
3328 kill-append works right (Bug#12819).
3329 (copy-region-as-kill, kill-ring-save): Likewise.
3330
2b84d763
LL
33312013-12-17 Leo Liu <sdl.web@gmail.com>
3332
3333 * net/rcirc.el (rcirc-add-face):
3334 * eshell/em-prompt.el (eshell-emit-prompt):
3335 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3336 (Bug#16167)
3337
e2f6a0bc
CY
33382013-12-17 Chong Yidong <cyd@gnu.org>
3339
3340 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3341 Suggested by Xue Fuqiao.
3342
35b249a6
DG
33432013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3344
3345 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3346
e9145444
SM
33472013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3348
3349 * net/shr.el (shr-insert-document): Remove unused var
3350 `shr-preliminary-table-render'.
3351 (shr-rescale-image): Remove unused arg `force'.
3352 (shr-put-image): Update calls accordingly.
3353 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3354
5556c0ce
DG
33552013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3358 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3359 :close-all, to see which indentation method to use (Bug#16116).
3360 (smie-rules-function): Document the method :close-all.
3361
11bade0a
LMI
33622013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3363
1c4b1e61
LMI
3364 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3365
11bade0a
LMI
3366 * net/eww.el (eww-display-html): If we can't find the anchor we're
3367 looking for, then go to point-min.
3368
8fb8c4f3
PE
33692013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3370
3371 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3372 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3373 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3374 Expand dir too, in case it's relative.
3375
6c8e0ae6
JL
33762013-12-16 Juri Linkov <juri@jurta.org>
3377
3378 * desktop.el (desktop-auto-save-timeout): Change default to
3379 `auto-save-timeout'. Doc fix.
3380 (desktop-save): Skip the timestamp in desktop-saved-frameset
3381 when checking for auto-save changes.
3382 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3383 `desktop-auto-save' is called repeatedly by the idle timer.
3384 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3385 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3386 (Bug#15331)
3387
2178e858
JL
33882013-12-16 Juri Linkov <juri@jurta.org>
3389
3390 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3391 (Bug#16035)
3392 (isearch-pre-command-hook): Check `this-command' for symbolp.
3393
39cb42c6
SM
33942013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3397
5b9b750a
TZ
33982013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3399
3400 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3401 (cfengine3--current-function): Bring in the current-function
3402 functionality from `cfengine3--current-word'.
3403 (cfengine3-completion-function): Bring in the
3404 bounds-of-current-word functionality from
3405 `cfengine3--current-word'.
3406
d144ef06
MR
34072013-12-16 Martin Rudalics <rudalics@gmx.at>
3408
39cb42c6
SM
3409 * window.el (display-buffer-below-selected):
3410 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3411
a8bbe298
LL
34122013-12-16 Leo Liu <sdl.web@gmail.com>
3413
3414 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3415 Remove NOMSG arg and all uses changed.
3416
2013a2f9
SM
34172013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3420 (cua--deactivate-rectangle): Don't deactivate the mark.
3421 (cua-set-rectangle-mark): Don't set mark-active since
3422 cua--activate-rectangle already does it for us.
3423 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3424 non-rectangular region.
3425
3426 * emulation/cua-base.el (cua-repeat-replace-region):
3427 Use with-current-buffer.
3428
3429 * net/gnutls.el: Use cl-lib.
3430 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3431
5ae811dd
TZ
34322013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3433
3434 * emacs-lisp/package.el (package-built-in-p): Support both
3435 built-in and the package.el converted package descriptions.
3436 (package-show-package-list): Allow keywords.
3437 (package-keyword-button-action): Use it instead of
3438 `finder-list-matches'.
3439 (package-menu-filter-interactive): Interactive filtering (by
3440 keyword) function.
3441 (package-menu--generate): Support keywords and change keymappings
3442 and headers when they are given.
3443 (package--has-keyword-p): Helper function.
3444 (package-menu--refresh): Use it.
3445 (package--mapc): Helper function.
3446 (package-all-keywords): Use it.
3447 (package-menu-mode-map): Set up menu items and keybindings to
3448 provide a filtering UI.
3449
31b4827e
TZ
34502013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3451
3452 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3453 the behavior when a certificate fails validation. Defaults to
3454 old behavior: never abort, just warn.
3455 (gnutls-negotiate): Use it.
3456
f93cc74f
MR
34572013-12-14 Martin Rudalics <rudalics@gmx.at>
3458
3459 * window.el (display-buffer-below-selected): Never split window
3460 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3461
f77d7d17
TW
34622013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3463
3464 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3465 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3466
7514d3f8
SM
34672013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3468
aa2bddd7 3469 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3470 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3471
276bc333
DG
34722013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3473
3474 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3475 open-paren tokens when preceded by a open-paren, too.
3476 (ruby-smie-rules): Handle virtual indentation after open-paren
3477 tokens specially. If there is code between it and eol, return the
3478 column where is starts (Bug#16118).
3479
d43957f3
TZ
34802013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3481
a5c1ac0c 3482 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3483 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3484 (cfengine3--current-word): Fix parameters.
3485 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3486 (cfengine3-completion-function, cfengine3--current-function):
3487 Use `assq' for symbols.
d43957f3
TZ
3488 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3489
06a4f110
GM
34902013-12-13 Glenn Morris <rgm@gnu.org>
3491
3492 * loadup.el (load-path): Warn if site-load or site-init changes it.
3493 No more need to reset it when bootstrapping.
3494
978a5fda
TZ
34952013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3496
3497 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3498 locations for cf-promises.
3499 (cfengine-mode-syntax-functions-regex): New caching variable.
3500 (cfengine3-fallback-syntax): Fallback syntax for cases where
3501 cf-promises doesn't run.
3502 (cfengine3--current-word): Reimplement using
3503 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3504 (cfengine3-completion-function, cfengine3--current-function):
3505 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3506 (cfengine3-clear-syntax-cache): New function.
3507 (cfengine3-make-syntax-cache): Simplify and create
3508 `cfengine-mode-syntax-functions-regex' on demand.
3509 (cfengine3-format-function-docstring): Don't call
3510 `cfengine3-make-syntax-cache' explicitly.
3511
71e6691e
MR
35122013-12-13 Martin Rudalics <rudalics@gmx.at>
3513
3514 Fix windmove-find-other-window broken after pixelwise resizing
3515 (Bug#16017).
3516 * windmove.el (windmove-other-window-loc): Revert change from
3517 2013-12-04.
3518 (windmove-find-other-window): Call window-in-direction.
3519 * window.el (window-in-direction): New arguments SIGN, WRAP and
3520 MINI to emulate original windmove-find-other-window behavior.
3521
84c73ba0
DG
35222013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3523
3524 * simple.el (blink-matching--overlay): New variable.
3525 (blink-matching-open): Instead of moving point, highlight the
3526 matching paren with an overlay
3527 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3528
3529 * faces.el (paren-showing-faces, show-paren-match)
3530 (show-paren-mismatch): Move from paren.el.
3531
b9e20952
LL
35322013-12-13 Leo Liu <sdl.web@gmail.com>
3533
3534 * indent.el (indent-region): Disable progress reporter in
3535 minibuffer. (Bug#16108)
3536
3537 * bindings.el (visual-order-cursor-movement): Fix version.
3538
ce030451
FEG
35392013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3540
3541 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3542 Also match after beginning of line.
3543 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3544 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3545
4a9c6865
JL
35462013-12-13 Juri Linkov <juri@jurta.org>
3547
3548 * simple.el <Keypad support>: Remove key bindings duplicated
3549 with bindings.el. (Bug#14397)
3550
2bc170c3
JL
35512013-12-13 Juri Linkov <juri@jurta.org>
3552
3553 * comint.el (comint-mode-map): Replace `delete-char' with
3554 `delete-forward-char'. (Bug#16109)
3555
bc9222c9
FEG
35562013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3557
aa2bddd7 3558 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3559 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3560
cb3a1380
SM
35612013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3564 (advice--make): Pay attention to `depth'.
3565 (advice--make-1): Don't autoload commands eagerly.
3566 * emacs-lisp/elp.el (elp-instrument-function):
3567 * emacs-lisp/trace.el (trace-function-internal):
3568 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3569
3570 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3571
01633a17
EZ
35722013-12-12 Eli Zaretskii <eliz@gnu.org>
3573
3574 * term/w32-win.el (w32-handle-dropped-file):
3575 * startup.el (normal-top-level):
3576 * net/browse-url.el (browse-url-file-url):
3577 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3578 decode file names using 'utf-8' rather than
3579 file-name-coding-system.
3580
09faee72
FEG
35812013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3582
3583 * progmodes/python.el (python-indent-context)
3584 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3585 behavior for comment blocks. (Bug#15916)
09faee72 3586
f4f84024 35872013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3588
cb3a1380
SM
3589 * progmodes/python.el (python-indent-calculate-indentation):
3590 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3591 operators when they are just string constituents. (Bug#15812)
3592
d5ccb7be
JL
35932013-12-12 Juri Linkov <juri@jurta.org>
3594
3595 * uniquify.el (uniquify-buffer-name-style): Change default to
3596 `post-forward-angle-brackets'.
3597
3598 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3599 `uniquify'. Change default to `post-forward-angle-brackets'.
3600
7b3f5679
GM
36012013-12-11 Glenn Morris <rgm@gnu.org>
3602
3603 * emacs-lisp/package.el (finder-list-matches):
3604 Autoload rather than falsely declaring.
3605
f4fe8fdd
TZ
36062013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3607
3608 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3609 (eww-mode-map): Use them.
3610
3c29190f
MR
36112013-12-11 Martin Rudalics <rudalics@gmx.at>
3612
3613 * window.el (display-buffer-in-side-window): Fix doc-string
3614 (Bug#16115).
3615
0cd616a2
JB
36162013-12-11 Juanma Barranquero <lekktu@gmail.com>
3617
3618 * vc/vc-git.el: Silence byte-compiler warnings.
3619 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3620 (log-edit-set-header): Declare.
3621
3ef8e0d1
EZ
36222013-12-11 Eli Zaretskii <eliz@gnu.org>
3623
3624 * Makefile.in (custom-deps, finder-data): Run output file names
3625 through unmsys--file-name. (Bug#16099)
3626
afdadaf7
SM
36272013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3628
7ae3ae39 3629 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3630 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3631
5b4f37ab
SM
3632 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3633 instead of deleting the selection "by hand" (bug#16098).
3634 Rely on insert-for-yank to yank rectangles.
3635 (cua-highlight-region-shift-only): Mark obsolete.
3636 (cua-mode): Don't enable/disable transient-mark-mode,
3637 shift-select-mode (cua-mode works both with and without them), and
3638 pc-selection-mode (obsolete).
3639 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3640 (cua--deactivate-rectangle): Deactivate it.
3641
4b72c12b
SM
3642 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3643 (delete-selection-helper): Make sure yank starts at the top of the
3644 deleted region.
3645 (minibuffer-keyboard-quit): Use region-active-p.
3646
e82af72d
SM
3647 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3648
afdadaf7
SM
3649 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3650 to `delete' (bug#16109).
3651
ed4bc201
RS
36522013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3653
3654 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3655 info manual and show keybindings and set `:group' keyword.
3656
bb8097b9
JL
36572013-12-11 Juri Linkov <juri@jurta.org>
3658
3659 * delsel.el (delete-active-region): Let-bind `this-command'
3660 to prevent `kill-region' from changing its original value.
3661 (delete-selection-helper): Handle `overwrite-mode' for the type
3662 `kill' exactly the same way as for the type `t'.
3663 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3664 Support more commands. (Bug#13312)
3665
c1916ff5
JL
36662013-12-11 Juri Linkov <juri@jurta.org>
3667
3668 * bindings.el: Map kp keys to non-kp keys systematically
3669 with basic modifiers control, meta and shift. (Bug#14397)
3670
7514d3f8 36712013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3672
3673 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3674 "Close browser" menu items. Fix wrong function of "List
3675 bookmarks".
3676
4cc51eaf
JL
36772013-12-11 Juri Linkov <juri@jurta.org>
3678
3679 * misearch.el (multi-isearch-buffers): Set the value of
3680 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3681 arg of isearch-forward to t.
3682 (multi-isearch-buffers-regexp): Set the value of
3683 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3684 arg of isearch-forward-regexp to t.
3685 (multi-isearch-files): Set the value of
3686 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3687 arg of isearch-forward to t.
3688 (multi-isearch-files-regexp): Set the value of
c295fc18 3689 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3690 arg of isearch-forward-regexp to t. (Bug#16035)
3691
3692 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3693 arg of isearch-forward to t.
3694 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3695 arg of isearch-forward-regexp to t.
3696 (dired-isearch-filter-filenames): Remove unnecessary check for
3697 `dired-isearch-filenames'.
3698
3699 * comint.el (comint-history-isearch-backward):
3700 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3701 (comint-history-isearch-backward-regexp):
3702 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3703
ceac12b7
EZ
37042013-12-10 Eli Zaretskii <eliz@gnu.org>
3705
3706 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3707 unmsys--file-name. (Bug#16099)
3708
5a565782
TZ
37092013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3710
cb3a1380
SM
3711 * emacs-lisp/package.el (package-keyword-button-action):
3712 Remove finder.el require dependency.
5a565782 3713
a81fc7ba
TZ
37142013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3715
3716 * emacs-lisp/package.el: Require finder.el.
3717 (describe-package-1): Add keyword buttons.
3718 (package-make-button): New convenience function.
3719 (package-keyword-button-action): Keyword button action using
e0eb0550 3720 `finder-list-matches'.
a81fc7ba 3721
6aaca951
EZ
37222013-12-09 Eli Zaretskii <eliz@gnu.org>
3723
3724 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3725 last commit.
3726
a1099a91
MA
37272013-12-09 Michael Albinus <michael.albinus@gmx.de>
3728
3729 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3730 symlinked files.
3731
8212d9c0
DG
37322013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3733
3734 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3735 after the end of a percent literal.
3736
8f48d131
CD
37372013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3738
cb3a1380
SM
3739 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3740 Handle caret-delimited strings (Bug#16079).
8f48d131 3741
ff8c9764
DG
37422013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3743
cb3a1380
SM
3744 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3745 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3746 `ruby-parse-partial' (Bug#16078).
3747
d64643b4
LL
37482013-12-09 Leo Liu <sdl.web@gmail.com>
3749
3750 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3751
47e59c66
DG
37522013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3753
3754 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3755 (js-switch-indent-offset): New option.
3756 (js--proper-indentation): Use it. And handle the case when
3757 "default" is actually a key in an object literal.
3758 (js--same-line): New function.
3759 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3760 (js--indent-in-array-comp, js--array-comp-indentation):
3761 New functions.
47e59c66
DG
3762 (js--proper-indentation): Use them, to handle array comprehension
3763 continuations.
3764
974ebc9c
LL
37652013-12-08 Leo Liu <sdl.web@gmail.com>
3766
3767 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3768 (flymake-make-overlay): Remove arg MOUSE-FACE.
3769 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3770
27262e39
SM
37712013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3774 New function.
3775 (redisplay-highlight-region-function): Use it.
3776
3777 * emulation/cua-base.el (cua--explicit-region-start)
3778 (cua--last-region-shifted): Remove.
3779 (cua--deactivate): Use deactivate-mark.
3780 (cua--pre-command-handler-1): Don't handle shift-selection.
3781 (cua--post-command-handler-1): Don't change transient-mark-mode.
3782 (cua--select-keymaps): Use region-active-p rather than
3783 cua--explicit-region-start or cua--last-region-shifted.
3784 (cua-mode): Enable shift-select-mode.
3785
6407822c
LL
37862013-12-08 Leo Liu <sdl.web@gmail.com>
3787
27262e39
SM
3788 * progmodes/flymake.el (flymake-popup-current-error-menu):
3789 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3790 (flymake-posn-at-point-as-event, flymake-popup-menu)
3791 (flymake-make-emacs-menu): Remove. (Bug#16077)
3792
00a2b823
SM
37932013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3794
02033d49
SM
3795 * rect.el (rectangle-mark-mode): Activate mark even if
3796 transient-mark-mode is off (bug#16066).
3797 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3798 is > mark and at bolp.
3799
6f8dfccf
SM
3800 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3801 (region-extract-function): Use it.
3802 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3803 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3804 Delete functions.
3805 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3806 kill-ring-save, kill-region, delete-char, delete-forward-char.
3807 Ignore self-insert-iso.
3808
3809 * emulation/cua-gmrk.el (cua--init-global-mark):
3810 Ignore `self-insert-iso'.
3811
3812 * emulation/cua-base.el (cua--prefix-copy-handler)
3813 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3814 checking cua--rectangle.
3815 (cua-delete-region): Use region-extract-function.
3816 (cua-replace-region): Delete function.
3817 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3818 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3819 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3820 (cua--init-keymaps): Don't remap delete-selection commands.
3821 (cua-mode): Use delete-selection-mode instead of rolling our own
3822 (bug#16085).
3823
3824 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3825 Obey region-extract-function.
3826
00a2b823
SM
3827 Make registers and delete-selection-mode work on rectangles.
3828 * register.el (describe-register-1): Don't modify the register's value.
3829 (copy-to-register): Obey region-extract-function.
3830 * delsel.el (delete-active-region): Obey region-extract-function.
3831
a92fa5f1
LL
38322013-12-08 Leo Liu <sdl.web@gmail.com>
3833
3834 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3835 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3836 (flymake-compilation-prevents-syntax-check)
3837 (flymake-start-syntax-check-on-newline)
3838 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3839 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3840 (flymake-xml-program, flymake-master-file-dirs)
3841 (flymake-master-file-count-limit)
3842 (flymake-allowed-file-name-masks): Relocate.
3843 (flymake-makehash, flymake-float-time)
3844 (flymake-replace-regexp-in-string, flymake-split-string)
3845 (flymake-get-temp-dir): Remove.
3846 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3847 (flymake-current-row, flymake-selected-frame)
3848 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3849 related functions. (Bug#16077)
3850
73c8ceea
BB
38512013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3852
3853 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3854
faec28d9
TH
38552013-12-07 Tassilo Horn <tsdh@gnu.org>
3856
3857 * help-fns.el (describe-function-1): Use new advice-* functions
3858 rather than old ad-* functions. Fix function type description and
3859 source links for advised functions and subrs.
3860
e330b646
LMI
38612013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3862
00a2b823 3863 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3864
4803595d
MA
38652013-12-06 Michael Albinus <michael.albinus@gmx.de>
3866
3867 * progmodes/compile.el (compilation-start):
3868 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3869
3870 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3871 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3872
fa834a93
DG
38732013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3874
00a2b823
SM
3875 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3876 Touch up the last change.
fa834a93 3877
b2856a6f
LL
38782013-12-06 Leo Liu <sdl.web@gmail.com>
3879
3880 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3881 (inferior-octave-startup): Always use "octave> " for prompt.
3882 (octave-goto-function-definition)
3883 (octave-sync-function-file-names)
3884 (octave-find-definition-default-filename): Remove redundant backquotes.
3885
af67e79a
DG
38862013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3887
3888 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3889 syntax for `?'.
3890 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3891 where appropriate already.
3892 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3893 end of method names (Bug#15874).
3894
bf093209
JL
38952013-12-06 Juri Linkov <juri@jurta.org>
3896
3897 * isearch.el (isearch--saved-overriding-local-map):
3898 New internal variable.
3899 (isearch-mode): Set it to the initial value of
3900 `overriding-terminal-local-map'.
3901 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3902 with `isearch--saved-overriding-local-map'. (Bug#16035)
3903
16588fad
DG
39042013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3905
00a2b823
SM
3906 * progmodes/octave.el (inferior-octave-completion-table):
3907 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3908 (Bug#11906). Update all references.
3909
3910 * minibuffer.el (completion-table-with-cache): New function.
3911
bf4906d7
CD
39122013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3913
3914 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3915
ff69c18f
TZ
39162013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3917
3918 * net/eww.el (eww-current-source): New variable to store page
3919 source.
3920 (eww-display-html, eww-mode, eww-save-history)
3921 (eww-restore-history): Use it.
3922 (eww-view-source): New command to view page source.
3923 Opportunistically uses `html-mode' to highlight the buffer.
3924 (eww-mode-map): Install it.
3925
b85eff45
MA
39262013-12-05 Michael Albinus <michael.albinus@gmx.de>
3927
3928 * net/dbus.el (dbus-unregister-service)
3929 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3930 Fix docstring.
3931 (dbus-unregister-service): Skip :serial entries in
3932 `dbus-registered-objects-table'.
3933 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3934
39eb0899
TZ
39352013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3936
3937 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3938 around keywords with extra `split-string' argument.
3939
456760a5
MR
39402013-12-04 Martin Rudalics <rudalics@gmx.at>
3941
3942 * windmove.el (windmove-other-window-loc): Handle navigation
3943 between windows (excluding the minibuffer window - Bug#16017).
3944
81961e4c
MA
39452013-12-04 Michael Albinus <michael.albinus@gmx.de>
3946
3947 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3948 in D-Bus type syntax.
3949 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3950 preserve unibyte strings. (Bug#16048)
3951
8497f938
SM
39522013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3955 Call force-mode-line-update is the proper buffer (bug#16042).
3956
dda61916
DG
39572013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3958
3959 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3960 `log-edit-remember-comment', make argument optional. Adjust all
3961 callers.
3962 (log-edit-mode): Add `log-edit-remember-comment' to
3963 `kill-buffer-hook' locally.
3964 (log-edit-kill-buffer): Don't remember comment explicitly since
3965 the buffer is killed anyway.
3966
c085e5b9
JL
39672013-12-04 Juri Linkov <juri@jurta.org>
3968
3969 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3970 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3971
e0eb0550 39722013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3973
3974 * notifications.el (notifications-close-notification): Call the
81961e4c 3975 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3976
39fa32d6
KY
39772013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3978
3979 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3980
9139632a
JL
39812013-12-03 Juri Linkov <juri@jurta.org>
3982
3983 * progmodes/compile.el (compilation-start): Rename window alist
3984 entry `no-display-ok' to `allow-no-window'.
3985
3986 * simple.el (shell-command): Add window alist entry
3987 `allow-no-window' to `display-buffer'.
3988 (async-shell-command): Doc fix.
3989
3990 * window.el (display-buffer-no-window): New action function.
3991 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3992
0f457a37
DG
39932013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3994
3995 * vc/log-edit.el (log-edit-set-header): Extract from
3996 `log-edit-toggle-header'.
3997 (log-edit-extract-headers): Separate the summary, when extracted
3998 from header, from the rest of the message with an empty line.
3999
4000 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4001 line, if present, to the Summary header.
4002
0962f376
SM
40032013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4006 in current-buffer (bug#16029).
4007
f345395c
HE
40082013-12-02 Helmut Eller <eller.helmut@gmail.com>
4009
4010 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4011 (debugger-mode-map): Bind it.
4012 (debugger--backtrace-base): New function.
4013 (debugger-eval-expression): Use it.
4014 (debugger-frame-number): Skip local vars when present.
4015 (debugger--locals-visible-p, debugger--insert-locals)
4016 (debugger--show-locals, debugger--hide-locals): New functions.
4017
a8a15d9d
MA
40182013-12-02 Michael Albinus <michael.albinus@gmx.de>
4019
4020 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4021 "LC_ALL".
4022 (tramp-get-remote-locale): New defun.
4023 (tramp-open-connection-setup-interactive-shell): Use it.
4024
0518b057
LL
40252013-12-02 Leo Liu <sdl.web@gmail.com>
4026
4027 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4028
4029 * progmodes/sh-script.el (sh-shell-process):
4030 * progmodes/octave.el (inferior-octave-process-live-p):
4031 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4032 (gdb-inferior-io-sentinel):
4033 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4034
3adc9c6d
DG
40352013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4036
4037 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4038 `save-selected-window' to `log-edit-hide-buf'. This makes
4039 `log-edit-show-files' idempotent.
4040 (log-edit-show-files): Mark the new window as dedicated.
4041
47e8b74e
DG
40422013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4043
4044 * vc/log-edit.el (log-edit-mode-map): Add binding for
4045 `log-edit-kill-biffer'.
4046 (log-edit-hide-buf): Add a FIXME comment.
4047 (log-edit-add-new-comment): New function, extracted from
4048 `log-edit-done'.
4049 (log-edit-done, log-edit-add-to-changelog): Use it.
4050 (log-edit-kill-buffer): New command.
4051
1f6e1bb0
LMI
40522013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4053
4054 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4055 instead of killing the buffer.
4056
fb651d15
SM
40572013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4060
8feacce0
RS
40612013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4062
fb651d15 4063 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 4064 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4065 (eww-form-checkbox, eww-toggle-checkbox):
4066 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4067
e0eb0550 4068 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4069 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4070 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4071 no :src tag was specified.
4072
fb651d15 4073 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4074 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4075 Use \\` to match beginning of string instead of ^.
4076 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 4077 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 4078
177948a5
RS
4079 * net/shr.el (shr-tag-video): Display content for video if no
4080 poster is available.
eb2dd24d 4081 (shr-tag-audio): Add support for <audio> tag.
177948a5 4082
e0eb0550 4083 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
4084 (eww-process-text-input): Treat input types in
4085 `eww-text-input-types' as text.
4086
8feacce0
RS
4087 * net/shr.el (shr-tag-table): Fix comment typo.
4088
513562a1
LMI
40892013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4090
4091 * net/eww.el (eww-follow-link): New command to avoid reloading
4092 pages when we follow #target links (bug#15243).
de8a5633 4093 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 4094
9dd99753
KN
40952013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4096
4097 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4098 forms.
4099
3e9876de
LMI
41002013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4101
4102 * net/eww.el (eww-restore-history): Update the window title after
4103 moving in the history.
ab6dea82 4104 (eww-current-dom): New variable used to save the current DOM.
3e9876de 4105
52789f7f
DG
41062013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4107
4108 * vc/log-edit.el (log-edit-mode-map): Add binding for
4109 `log-edit-beginning-of-line'.
4110 (log-edit-setup-add-author): New user option.
4111 (log-edit-beginning-of-line): New command.
4112 (log-edit): Move major mode call above the contents setup so that
4113 the local variable values are already applied.
4114 (log-edit): Only insert "Author: " when
4115 `log-edit-setup-add-author' is non-nil.
4116 (log-edit): When SETUP is non-nil, position point after ": "
4117 instead of point-min.
4118
2e6710c3
GM
41192013-12-01 Glenn Morris <rgm@gnu.org>
4120
4121 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4122
fadec31f
EZ
41232013-11-30 Eli Zaretskii <eliz@gnu.org>
4124
4125 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 4126 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
4127 visible. (Bug#16014)
4128
10634b40 41292013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
4130
4131 Support resizing frames and windows pixelwise.
4132 * cus-start.el (frame-resize-pixelwise)
4133 (window-resize-pixelwise): New entries.
4134 * emacs-lisp/debug.el (debug): Use window-total-height instead
4135 of window-total-size.
4136 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
4137 * help.el (describe-bindings-internal): Use help-buffer as
4138 argument for with-help-window.
880e6158
MR
4139 (temp-buffer-max-width): New option.
4140 (resize-temp-buffer-window, help-window-setup)
4141 (with-help-window): Rewrite.
4142 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4143 dragging dividers.
4144 * window.el (frame-char-size, window-min-pixel-height)
4145 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4146 (window-min-pixel-width, window-safe-min-pixel-size)
4147 (window-combination-p, window-safe-min-size)
4148 (window-resizable-p, window--size-to-pixel)
4149 (window--pixel-to-size, window--resize-apply-p): New functions.
4150 (window-safe-min-height): Fix doc-string.
4151 (window-size, window-min-size, window--min-size-1)
4152 (window-sizable, window-sizable-p, window--min-delta-1)
4153 (window-min-delta, window--max-delta-1, window-max-delta)
4154 (window--resizable, window--resizable-p, window-resizable)
4155 (window-full-height-p, window-full-width-p, window-at-side-p)
4156 (window--in-direction-2, window-in-direction)
4157 (window--resize-reset-1, window--resize-mini-window)
4158 (window-resize, window-resize-no-error)
4159 (window--resize-child-windows-normal)
4160 (window--resize-child-windows, window--resize-siblings)
4161 (window--resize-this-window, window--resize-root-window)
4162 (window--resize-root-window-vertically)
4163 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4164 (maximize-window, minimize-window, delete-window)
4165 (quit-restore-window, window-split-min-size, split-window)
4166 (balance-windows-2, balance-windows)
4167 (balance-windows-area-adjust, balance-windows-area)
4168 (window--state-get-1, window-state-get, window--state-put-1)
4169 (window--state-put-2, window-state-put)
fb651d15
SM
4170 (display-buffer-record-window, window--display-buffer):
4171 Make functions handle pixelwise sizing of windows.
880e6158 4172 (display-buffer--action-function-custom-type)
fb651d15
SM
4173 (display-buffer-fallback-action):
4174 Add display-buffer-in-previous-window.
880e6158
MR
4175 (display-buffer-use-some-window): Resize window to height it had
4176 before.
4177 (fit-window-to-buffer-horizontally): New option.
4178 (fit-frame-to-buffer): Describe new values.
4179 (fit-frame-to-buffer-bottom-margin): Replace with
4180 fit-frame-to-buffer-margins.
4181 (window--sanitize-margin): New function.
4182 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4183 using window-text-pixel-size.
4184
f9b697dd
GM
41852013-11-30 Glenn Morris <rgm@gnu.org>
4186
3e2fb4db
GM
4187 * emacs-lisp/bytecomp.el (byte-compile-form):
4188 Make the `interactive-only' warning like the `obsolete' one.
4189 * comint.el (comint-run):
4190 * files.el (insert-file-literally, insert-file):
4191 * replace.el (replace-string, replace-regexp):
4192 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4193 (goto-line, insert-buffer, next-line, previous-line):
4194 Tweak `interactive-only' spec.
4195
f9b697dd
GM
4196 Stop keeping (most) generated cedet grammar files in the repository.
4197 * Makefile.in (semantic): New.
4198 (compile-main): Depend on semantic.
4199
da048127
SM
42002013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4201
7784b779
SM
4202 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4203 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4204
4e36a6a6
SM
4205 * uniquify.el (uniquify-buffer-name-style): Change default.
4206
4207 * loadup.el: Preload "uniquify".
4208
e0ba1308
SM
4209 * time.el (display-time-update): Update all mode lines (bug#15999).
4210
da048127
SM
4211 * electric.el (electric-indent-mode): Enable by default.
4212 * loadup.el: Preload "electric".
4213
015b3b3e
BB
42142013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4215
4216 * emacs-lisp/helpers.el (string-empty-p): New function.
4217 (string-blank-p): New function.
4218
7efb806d
AP
42192013-11-29 Andreas Politz <politza@hochschule-trier.de>
4220
4221 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4222 (Bug#14029).
4223
c8f0efc2
AP
42242013-11-29 Andreas Politz <politza@fh-trier.de>
4225 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4226 allow non-lambda lists as functions.
4227 (imenu--in-alist): Don't recurse into non-subalists.
4228 (imenu): Don't pass function itself as an argument (Bug#14029).
4229
bd15d9d1
SM
42302013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * progmodes/python.el (python-mode-map): Remove binding for ":".
4233 (python-indent-electric-colon): Remove command.
4234 (python-indent-post-self-insert-function): Integrate the previous code
4235 of python-indent-electric-colon. Make it conditional on
4236 electric-indent-mode.
4237 (python-mode): Add ?: to electric-indent-chars.
4238 Move python-indent-post-self-insert-function to the end of
4239 post-self-insert-hook.
4240
1b10adb6
SM
42412013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4242
655ab9a3
SM
4243 * doc-view.el (doc-view-goto-page): Update mode-line.
4244
1b10adb6
SM
4245 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4246
7e3bf78c
GM
42472013-11-27 Glenn Morris <rgm@gnu.org>
4248
4249 * international/charprop.el, international/uni-bidi.el:
4250 * international/uni-category.el, international/uni-combining.el:
4251 * international/uni-comment.el, international/uni-decimal.el:
4252 * international/uni-decomposition.el, international/uni-digit.el:
4253 * international/uni-lowercase.el, international/uni-mirrored.el:
4254 * international/uni-name.el, international/uni-numeric.el:
4255 * international/uni-old-name.el, international/uni-titlecase.el:
4256 * international/uni-uppercase.el:
4257 Remove generated files from VCS repository.
4258
fb6a5d68
EZ
42592013-11-27 Eli Zaretskii <eliz@gnu.org>
4260
4261 * filenotify.el (file-notify-add-watch): Don't special-case
4262 w32notify when computing the directory to watch.
4263
cb6c95a3
GM
42642013-11-27 Glenn Morris <rgm@gnu.org>
4265
20372d0c
GM
4266 Make bootstrap without generated uni-*.el files possible again.
4267 * loadup.el: Update command-line-args checking for unidata-gen.
4268 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4269 * composite.el, international/characters.el:
4270 Handle unicode tables being undefined.
4271
52d6635f 4272 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4273 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4274 (compile-main): Depend on leim rule.
4275 (leim): New rule.
4276 * loadup.el: Move leim-list.el to leim/ subdirectory.
4277 * startup.el (normal-top-level): No more leim directory.
4278 * international/ja-dic-cnv.el (skkdic-convert):
4279 Disable version-control and autoloads in output files.
4280 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4281 Disable version-control and autoloads in output files.
4282 * leim/quail: Move here from ../leim.
4283 * leim/quail/hangul.el (hangul-input-method-activate):
4284 Add autoload cookie.
4285 (generated-autoload-load-name): Set file-local value.
4286 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4287 (generated-autoload-load-name): Set file-local value.
4288
7514d3f8 42892013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4290
e0eb0550 4291 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4292 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4293 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4294
0e2c793f
EZ
42952013-11-26 Eli Zaretskii <eliz@gnu.org>
4296
4297 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4298 reading output from Diff on MS-Windows and MS-DOS.
4299
447bdcb8
BB
43002013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4301
4302 * emacs-lisp/helpers.el (string-reverse): New function.
4303
5fbf6856
MA
43042013-11-26 Michael Albinus <michael.albinus@gmx.de>
4305
4306 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4307 names on MS Windows, like "/[::1]:".
4308
4309 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4310 SWITCHES.
4311
624780f0
GM
43122013-11-26 Glenn Morris <rgm@gnu.org>
4313
0bf3f0fa
GM
4314 * progmodes/python.el (python-indent-guess-indent-offset):
4315 Avoid corner-case error. (Bug#15975)
4316
624780f0
GM
4317 Preload leim-list.el. (Bug#4789)
4318 * loadup.el: Load leim-list.el when found.
4319 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4320
4301875e 43212013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4322
4323 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4324
4301875e
BB
4325 * emacs-lisp/helpers.el (string-join): New function.
4326
1633a815 43272013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4328
4329 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4330 Mark as obsolete and replace it with a symbol property.
4331 (byte-compile-form): Use new 'interactive-only property.
4332 * comint.el, files.el, replace.el, simple.el:
4333 Apply new 'interactive-only properly.
4334
00139435
MR
43352013-11-25 Martin Rudalics <rudalics@gmx.at>
4336
4337 * window.el (display-buffer-at-bottom): Make sure that
4338 split-window-sensibly creates the new window on bottom
4339 (Bug#15961).
4340
5f5b128d
DK
43412013-11-23 David Kastrup <dak@gnu.org>
4342
4343 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4344 on the conflict markers when available.
4345 (smerge--get-marker): New function.
4346 (smerge-end-re, smerge-base-re): Add subgroup.
4347
623891e5
SM
43482013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4349
4350 * frame.el (handle-focus-in, handle-focus-out): Add missing
4351 interactive spec.
4352
05ca27d8
MA
43532013-11-25 Michael Albinus <michael.albinus@gmx.de>
4354
4355 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4356 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4357
511fa0d3
SM
43582013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4359
e82ad66c
SM
4360 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4361 (gomoku--last-pos): New var.
4362 (gomoku--intangible-chars): New const.
4363 (gomoku--intangible): New function.
4364 (gomoku-mode): Use it. Derive from special-mode.
4365 (gomoku-move-up): Adjust line count.
4366 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4367 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4368 Simplify accordingly.
4369
511fa0d3
SM
4370 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4371 Remove blink-cursor code.
4372 (blink-cursor-timer-function, blink-cursor-suspend):
4373 Don't special-case GUIs.
4374 (blink-cursor-mode): Use focus-in/out-hook.
4375
6f20dd03
DG
43762013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4377
4378 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4379 work when annotation is invisible (Bug#13886).
4380
431dec31 43812013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4382
4383 * json.el (json-alist-p): Only return non-nil if the alist has
4384 simple keys (Bug#13518).
4385
431dec31 43862013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4387
4388 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4389 when control-statement is the first statement in a buffer (Bug#15956).
4390
ee4f0261
DG
43912013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4392
4393 * imenu.el (imenu-generic-skip-comments-and-strings):
4394 New option (Bug#15560).
4395 (imenu--generic-function): Use it.
4396
c484f866
JS
43972013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4398
e9dc713d
JB
4399 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4400 (Bug#13898)
c484f866 4401
41ce6f70
BB
44022013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4403
b55aea38
BB
4404 * emacs-lisp/helpers.el: Add some string helpers.
4405 (string-trim-left): Removes leading whitespace.
4406 (string-trim-right): Removes trailing whitespace.
4407 (string-trim): Removes leading and trailing whitespace.
4408
41ce6f70
BB
4409 * subr.el (string-suffix-p): New function.
4410
3cfb6af3
GM
44112013-11-23 Glenn Morris <rgm@gnu.org>
4412
4413 * progmodes/python.el (python-shell-send-file):
4414 Add option to delete file when done. (Bug#15647)
4415 (python-shell-send-string, python-shell-send-region): Use it.
4416
c27924b7
IS
44172013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4418
e1b01c7f
IS
4419 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4420 to set buffer-read-only to t, never to nil. (Bug#15938)
4421
c27924b7
IS
4422 * textmodes/tex-mode.el (latex-noindent-environments):
4423 Add safe-local-variable property. (Bug#15936)
4424
17e0445b
GM
44252013-11-23 Glenn Morris <rgm@gnu.org>
4426
92f78ea3
GM
4427 * textmodes/enriched.el (enriched-mode): Doc fix.
4428 * emacs-lisp/authors.el (authors-renamed-files-alist):
4429 Add enriched.doc -> enriched.txt.
4430
17e0445b
GM
4431 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4432
965bb23a
LL
44332013-11-22 Leo Liu <sdl.web@gmail.com>
4434
4435 * progmodes/octave.el (inferior-octave-startup): Spit out error
4436 message.
4437
d19ffd64
BB
44382013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4439
4440 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4441 Improve docstring.
15ba2182
BB
4442 Add :version.
4443 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4444
7a7567d2
LL
44452013-11-22 Leo Liu <sdl.web@gmail.com>
4446
4447 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4448 (Bug#15076)
8c09f64b
LL
4449 (octave-help-mode): Adapt to change to help-mode-finish to use
4450 derived-mode-p on 2013-09-17.
4451 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4452 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4453
724bc265
LL
44542013-11-22 Leo Liu <sdl.web@gmail.com>
4455
4456 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4457 (inferior-octave-startup, inferior-octave-check-process)
4458 (inferior-octave-track-window-width-change)
4459 (octave-completion-at-point, octave-eldoc-function): Use it.
4460 (octave-kill-process): Provide confirmation. (Bug#10564)
4461
38637cca
LL
44622013-11-21 Leo Liu <sdl.web@gmail.com>
4463
511fa0d3
SM
4464 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4465 Fix obsolete variable comment-use-global-state.
38637cca 4466
06e752b4
RS
44672013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4468
511fa0d3
SM
4469 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4470 Add `octave-source-file'.
06e752b4
RS
4471 (octave-source-file): New function. (Bug#15935)
4472
7514d3f8 44732013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4474
4475 * net/eww.el (eww-local-regex): New variable.
4476 (eww): Use it to detect localhost and similar.
4477
b6ffa04a
LL
44782013-11-21 Leo Liu <sdl.web@gmail.com>
4479
4480 Add completion for command `ag'.
2021a200
LL
4481 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4482 (pcomplete/ag): New function.
e9dc713d 4483 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4484
d1a6bccc
SM
44852013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4488 (bug#14646).
4489 (make-obsolete): Remove interactive spec.
4490
2df10228
GM
44912013-11-21 Glenn Morris <rgm@gnu.org>
4492
4493 * startup.el (command-line-1): Use path-separator with -L.
4494
86fd16b6
TZ
44952013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4496
4497 * emacs-lisp/package.el (describe-package-1): Add package archive
4498 to shown fields.
4499
0449d6cd 45002013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4501
4502 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4503 Change default to "# encoding: %s" to differentiate it from the
4504 default Ruby encoding comment template.
4505
dc7e8c17 45062013-11-20 era eriksson <era+emacsbugs@iki.fi>
4507
4508 * ses.el (ses-mode): Doc fix. (Bug#14748)
4509
f0cfa5fe
LL
45102013-11-20 Leo Liu <sdl.web@gmail.com>
4511
4512 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4513
826dc7b6
DN
45142013-11-19 Dan Nicolaescu <dann@gnu.org>
4515
4516 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4517 when rebase or bisect are in progress.
4518
a6e3a5d5
XF
45192013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4520
4521 * filenotify.el (file-notify-add-watch): Doc fix.
4522
f130cb76
LL
45232013-11-19 Leo Liu <sdl.web@gmail.com>
4524
e0855d7d
LL
4525 * obsolete/rcompile.el: Mark obsolete.
4526
f130cb76 4527 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4528 (compilation-goto-locus, compilation-find-file):
4529 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4530 (Bug#13594)
4531
4532 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4533 new parameter no-display-ok. Return either a window or nil
4534 but never a non-window value.
f130cb76 4535
1f35d401
SM
45362013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4537
25158c76
SM
4538 * electric.el (electric-indent-mode-map): Remove.
4539 (electric-indent-mode): Change the global-map instead (bug#15915).
4540
4541 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4542 Use add-function.
1f35d401 4543
9bc67baa
SM
45442013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4545
986545b5
SM
4546 * emacs-lisp/nadvice.el (remove-function): Align with
4547 add-function's behavior.
4548
9bc67baa
SM
4549 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4550 (gdb--string-regexp): New constant.
4551 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4552 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4553 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4554 submatch 1.
4555 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4556 Adjust use accordingly.
4557 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4558
56cd894e
AS
45592013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4560
4561 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4562 interpolation curlies (Bug#15914).
4563
014690de
JB
45642013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4565
4566 * calc/calc.el (calc-context-sensitive-enter): New variable.
4567 (calc-enter): Use `calc-context-sensitive-enter'.
4568
7e26a6c3
TZ
45692013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4570
4571 * progmodes/cfengine.el: Version bump.
4572 (cfengine-cf-promises): New defcustom to locate cf-promises.
4573 (cfengine3-vartypes): Add new "data" type.
4574 (cfengine3--current-word): New function to get current name-like
4575 word or its bounds.
4576 (cfengine3--current-function): New function to look up a CFEngine
4577 function's definition.
4578 (cfengine3-format-function-docstring): New function.
4579 (cfengine3-make-syntax-cache): New function.
4580 (cfengine3-documentation-function): New function: ElDoc glue.
4581 (cfengine3-completion-function): New function: completion glue.
4582 (cfengine3-mode): Set `compile-command',
4583 `eldoc-documentation-function', and add to
4584 `completion-at-point-functions'.
4585
355204dd
MA
45862013-11-16 Michael Albinus <michael.albinus@gmx.de>
4587
4588 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4589 `tramp-current-connection'.
4590
43cebc23
DG
45912013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4592
4593 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4594 nil/self/true/false with "end of symbol".
4595
a3fed6ff
BB
45962013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4597
4598 * subr.el (version-regexp-alist): Fix a typo.
4599
e675b3e4
MA
46002013-11-15 Michael Albinus <michael.albinus@gmx.de>
4601
4602 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4603 "en_US.utf8" and "LC_CTYPE" to "".
4604 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4605 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4606
a1f03e89
LL
46072013-11-15 Leo Liu <sdl.web@gmail.com>
4608
4609 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4610
5d9d9451
SM
46112013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4612
58362662
CS
4613 * progmodes/gud.el (ctl-x-map):
4614 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4615 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4616
6c1bf086
BB
46172013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4618
0d5363c4
BB
4619 * subr.el (version-regexp-alist):
4620 Recognize hg, svn and darcs versions as snapshot versions.
4621
4e9fc48c
BB
4622 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4623 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4624 (ruby--encoding-comment-required-p): Extract from
4625 `ruby-mode-set-encoding'.
4626 (ruby-mode-set-encoding): Add the ability to always insert an
4627 utf-8 encoding comment. Fix and simplify coding comment update
4628 logic.
6c1bf086 4629
2f7e72f8
MA
46302013-11-14 Michael Albinus <michael.albinus@gmx.de>
4631
4632 * net/tramp-gvfs.el (top): Run init code only when
4633 `tramp-gvfs-enabled' is not nil.
4634 (tramp-gvfs-enabled): Check also :system bus.
4635
0f137a73
SM
46362013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4637
4638 Sync with upstream verilog-mode revision 78e66ba.
4639 * progmodes/verilog-mode.el (verilog-end-of-defun)
4640 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4641 (verilog-get-end-of-defun): Remove unused argument.
4642 (verilog-comment-depth): Remove unused local `e'.
4643 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4644 Don't pass arg to verilog-get-end-of-defun.
4645
1c276bdd
GM
46462013-11-14 Glenn Morris <rgm@gnu.org>
4647
4648 * obsolete/assoc.el (aget): Prefix dynamic variable.
4649
4650 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4651
ff6ec81d
SM
46522013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * widget.el, hfy-cmap.el: Remove bogus package version number.
4655
75f777b6
GM
46562013-11-13 Glenn Morris <rgm@gnu.org>
4657
1d43dba1
GM
4658 * replace.el (replace-eval-replacement):
4659 Try to give more helpful error message. (Bug#15836)
4660
ff4b7bd5
GM
4661 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4662 (archive-7z-update): Avoid custom type mismatches.
4663
75f777b6
GM
4664 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4665
11151a06
MA
46662013-11-13 Michael Albinus <michael.albinus@gmx.de>
4667
e675b3e4 4668 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4669 address can be empty.
4670
4671 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4672 Accept nil SWITCHES.
4673 (tramp-gvfs-handle-write-region): Implement APPEND.
4674
7b08f97e
DG
46752013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4676
4677 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4678 binary "|" operator and closing block args delimiter.
4679 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4680 (ruby-smie--implicit-semi-p): Not after "|" operator.
4681 (ruby-smie--closing-pipe-p): New function.
4682 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4683 (ruby-smie-rules): Indent after "|".
4684
f201cf3a
GM
46852013-11-12 Glenn Morris <rgm@gnu.org>
4686
4687 * ps-print.el (ps-face-attribute-list):
4688 Handle anonymous faces. (Bug#15827)
4689
e6f759f9
MR
46902013-11-12 Martin Rudalics <rudalics@gmx.at>
4691
4692 * window.el (display-buffer-other-frame): Fix doc-string.
4693 (Bug#15868)
4694
ecda65d4
SM
46952013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4698
7ce8fcc3
MA
46992013-11-11 Michael Albinus <michael.albinus@gmx.de>
4700
4701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4702 (tramp-sh-handle-file-local-copy): Don't write a message when
4703 saving temporary files.
4704
4705 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4706 both directories are remote.
4707 (tramp-smb-handle-directory-files): Do not return double entries.
4708 Do not expand full file names.
4709 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4710 (tramp-smb-handle-write-region): Implement APPEND.
4711 (tramp-smb-get-stat-capability): Fix a stupid bug.
4712
7818df11
SM
47132013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4716
608c2085
NT
47172013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4718
4719 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4720 throwing error over malformed let/let* (bug#15814).
4721
122a7e46
SM
47222013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * iswitchb.el (iswitchb-mode): Mark obsolete.
4725
766284d9
GM
47262013-11-11 Glenn Morris <rgm@gnu.org>
4727
4728 * international/uni-bidi.el, international/uni-category.el:
4729 * international/uni-name.el, international/uni-numeric.el:
4730 Regenerate for Unicode 6.3.0.
4731
7072a4e9
MA
47322013-11-10 Michael Albinus <michael.albinus@gmx.de>
4733
4734 * net/tramp.el (tramp-methods):
4735 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4736 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4737
c9df215b
AS
47382013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4739
608c2085
NT
4740 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4741 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4742
fa47d796
DG
47432013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4744
4745 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4746 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4747 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4748 (ispell-complete-word): Call `ispell-lookup-words' with the value
4749 independent of `ispell-look-p'.
4750
1629a329
DG
47512013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4752
4753 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4754 Not after "||".
4755 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4756 their parent.
4757
ad16897c
SM
47582013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4761 (ruby-font-lock-keywords): Use backquote.
4762
ffa2df72
DG
47632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4764
4765 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4766 (ruby-smie--backward-token): Only consider full-string matches.
4767
5b97b4c0
JD
47682013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4769
4770 * faces.el (describe-face): Add distant-foreground.
4771
71731c03
BB
47722013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4773
4e9fc48c
BB
4774 * progmodes/ruby-mode.el: Improve encoding comment handling.
4775 (ruby-encoding-magic-comment-style): New option.
4776 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4777 (ruby--insert-coding-comment, ruby--detect-encoding):
4778 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4779 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4780 to control the style of the auto-inserted encoding comment.
71731c03 4781
da3b328d
DG
47822013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4783
ad16897c
SM
4784 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4785 Use `smie-backward-sexp' with token argument.
da3b328d 4786
1606c2d3
MA
47872013-11-08 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4790 Remove instrumentation code.
4791
b0f4c320
GM
47922013-11-08 Glenn Morris <rgm@gnu.org>
4793
4794 * progmodes/autoconf.el (autoconf-mode):
4795 Tweak comment-start-skip. (Bug#15822)
4796
43668fb1
SM
47972013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4800 at bobp (bug#15826).
4801 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4802
daddb3fd
DH
48032013-11-08 Darren Hoo <darren.hoo@gmail.com>
4804
4805 * man.el (Man-start-calling): New macro, extracted from
4806 Man-getpage-in-background.
4807 (Man-getpage-in-background): Use it.
4808 (Man-update-manpage): New command.
4809 (Man-mode-map): Bind it.
4810
1f923923
DG
48112013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4812
4813 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4814 of "and", "or", "&&" and "||".
4815 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4816 argument. Prohibit opening curly brace because it could only be a
4817 block opener in that position.
daddb3fd
DH
4818 (ruby-smie--forward-token, ruby-smie--backward-token):
4819 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4820 arguments.
4821 (ruby-smie--indent-to-stmt): New function, seeks the end of
4822 previous statement or beginning of buffer.
4823 (ruby-smie-rules): Use it.
4824 (ruby-smie-rules): Check if there's a ":" before a curly block
4825 opener candidate; if there is, it's a hash.
4826
3220d527
SM
48272013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4830 (cl--block-wrapper): Fix last accidental change.
4831
1eb1f9e0
MA
48322013-11-07 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4835 Instrument, in order to hunt failure on hydra.
4836
e6e4db3c
NT
48372013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4838
4839 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4840 malformed bindings form (bug#15814).
4841
b420ccfc
DG
48422013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4843
4844 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4845 "." compared to " @ ". This incidentally fixes some indentation
4846 examples with "do".
e6e4db3c 4847 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4848 (ruby-smie-grammar): New tokens: "and" and "or".
4849 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4850 Exclude "and" and "or". Remove "do" in order to work around token
4851 priorities.
4852 (ruby-smie-rules): Add all infix tokens. Handle the case of
4853 beginning-of-buffer.
b420ccfc 4854
6b4ac03e
GM
48552013-11-06 Glenn Morris <rgm@gnu.org>
4856
4857 * Makefile.in (setwins_almost, setwins_for_subdirs):
4858 Avoid accidental matches.
4859
5ca114d1
SM
48602013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * menu-bar.el (popup-menu): Use key-binding.
4863
f72552bd
EZ
48642013-11-06 Eli Zaretskii <eliz@gnu.org>
4865
4866 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4867 menus, support also the menus produced by minor modes.
4868 (Bug#15817)
4869
5d5c701e
LL
48702013-11-06 Leo Liu <sdl.web@gmail.com>
4871
4872 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4873 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4874
0a8b75e2
GM
48752013-11-06 Glenn Morris <rgm@gnu.org>
4876
4877 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4878 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4879 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4880
a35287ea
SM
48812013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4882
feca4e2d
SM
4883 * electric.el (electric-indent-just-newline): New command.
4884 (electric-indent-mode-map): New keymap.
4885 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4886 Re-add :group which weren't redundant.
4887
a35287ea
SM
4888 * electric.el (electric-indent-local-mode): New minor mode.
4889 (electric-indent-functions-without-reindent): New var.
4890 (electric-indent-post-self-insert-function): Use it.
4891 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4892
375761b2
EZ
48932013-11-05 Eli Zaretskii <eliz@gnu.org>
4894
9a6ad735
EZ
4895 * international/quail.el (quail-help): Be more explicit about the
4896 meaning of the labels shown on the keys. (Bug#15800)
4897
375761b2
EZ
4898 * startup.el (normal-top-level): Load the subdirs.el files before
4899 setting the locale environment. (Bug#15805)
4900
520a6e4a
SM
49012013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4902
0acfafef
SM
4903 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4904 via arguments so as to get the right ones (bug#15418).
4905
520a6e4a
SM
4906 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4907
15826261
MA
49082013-11-05 Michael Albinus <michael.albinus@gmx.de>
4909
4910 Fix problems found while writing a test suite.
4911
4912 * net/tramp-compat.el (tramp-compat-load): New defun.
4913 * net/tramp.el (tramp-handle-load): Use it.
4914
4915 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4916 "(numberp ok-if-already-exists)" correctly.
4917
d35f31a4
XF
49182013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4919
4920 * international/characters.el (glyphless-char-display-control):
4921 Add usage note.
4922
ae93bc74
BB
49232013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4924
520a6e4a
SM
4925 * progmodes/python.el (python-mode):
4926 * progmodes/scheme.el (scheme-mode):
4927 * progmodes/prolog.el (prolog-mode):
4928 * progmodes/ruby-mode.el (ruby-mode):
4929 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4930 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4931
0ade65b5
SM
49322013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4933
a0d5f7a4
SM
4934 * rect.el (rectangle--highlight-for-redisplay):
4935 * emacs-lisp/smie.el (smie--next-indent-change):
4936 Use buffer-chars-modified-tick.
4937
c93f3f5c
SM
4938 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4939
0ade65b5
SM
4940 * electric.el (electric-indent-post-self-insert-function):
4941 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4942
ef9dd188
HE
49432013-11-04 Helmut Eller <eller.helmut@gmail.com>
4944
4945 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4946
306e7308
NT
49472013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4948
4949 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4950 (bug#15786).
4951
e5afbcac
SM
49522013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4953
1d01ad41
SM
4954 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4955
e5afbcac
SM
4956 * progmodes/python.el: Fix up last change.
4957 (python-shell--save-temp-file): New function.
4958 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4959 `string' comes from the current buffer.
4960 (python-shell-send-string-no-output): Remove `msg' arg.
4961 (python--use-fake-loc): New var.
4962 (python-shell-buffer-substring): Obey it. Try to compensate for the
4963 extra coding line added by python-shell--save-temp-file.
4964 (python-shell-send-region): Use python-shell--save-temp-file and
4965 python-shell-send-file directly. Add `nomain' argument.
4966 (python-shell-send-buffer): Use python-shell-send-region.
4967 (python-electric-pair-string-delimiter): New function.
4968 (python-mode): Use it.
4969
d0065ff1
EZ
49702013-11-04 Eli Zaretskii <eliz@gnu.org>
4971
4972 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4973 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4974 environment and decoding all of the default-directory's to here
4975 from command-line.
4976 (command-line): Decode also argv[0].
4977
4978 * loadup.el: Error out if default-directory is a multibyte string
4979 when we are dumping.
4980
4981 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4982
7397c587
TZ
49832013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4984
4985 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4986 (package-menu--print-info, package-menu--archive-predicate):
4987 Add Archive column to package list.
7397c587 4988
b27cc9fc
MA
49892013-11-04 Michael Albinus <michael.albinus@gmx.de>
4990
4991 Fix problems found while writing a test suite.
4992
4993 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4994 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4995 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4996 to nil when running original file name handler. Otherwise,
4997 there are problems with constructs like "$$FOO".
4998
4999 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5000 for `localname'.
5001
d8c4f18a
BB
50022013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5003
7b530552
BB
5004 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5005
5006 * subr.el (version<, version<=, version=):
5007 Update docstrings with information for snapshot versions.
5008
d8c4f18a
BB
5009 * helpers.el: New library for misc helper functions.
5010 (hash-table-keys): New function returning a list of hash keys.
5011 (hash-table-values): New function returning a list of hash values.
5012
dca01b09
DG
50132013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5014
5015 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5016 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5017
0a749fa0
MN
50182013-11-04 Michal Nazarewicz <mina86@mina86.com>
5019
5020 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5021 checking whether point is after a 1-letter word.
5022
50232013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
5024
5025 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5026 Don't infloop when expanding region over `multiline' syntax-type that
5027 begins a line (bug#15778).
5028
4aca7145
SM
50292013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5032 Make it into a proper minor mode.
5033 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5034 (rectangle-mark-mode-map): New keymap.
5035 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5036
a0833f62
GM
50372013-11-04 Glenn Morris <rgm@gnu.org>
5038
5039 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5040
e61845c1
SM
50412013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5044 (ruby-smie-rules): Use smie-rule-parent instead.
5045
5046 * emacs-lisp/smie.el (smie-rule-parent): Always call
5047 smie-indent-virtual rather than only for hanging tokens.
5048 (smie--next-indent-change): New helper command.
5049
62942f89
GM
50502013-11-03 Glenn Morris <rgm@gnu.org>
5051
5052 * Makefile.in (abs_srcdir): Remove.
5053 (emacs): Unset EMACSLOADPATH.
5054
b0b9e592
GM
50552013-11-02 Glenn Morris <rgm@gnu.org>
5056
18ba6a33 5057 * Makefile.in (EMACS): Use a relative filename.
8061810d 5058 (abs_top_builddir): Remove.
18ba6a33
GM
5059 (custom-deps, finder-data, autoloads): Use --chdir.
5060
6a8b929e
GM
5061 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5062
c617f3d0
GM
5063 Use relative filenames in TAGS files.
5064 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5065 (lisptagsfiles4, TAGS): Use relative file names.
5066 (TAGS-LISP): Remove.
5067 (maintainer-clean): No more TAGS-LISP file.
5068
b0b9e592
GM
5069 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5070 (lisptagsfiles4): Use absolute filenames again.
5071 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5072 Remove all *loaddefs files, not just the first. Remove esh-groups.
5073 (maintainer-clean): Delete TAGS, TAGS-LISP.
5074
d1c0ea6a
BB
50752013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5076
e61845c1
SM
5077 * emacs-lisp/package.el (package-version-join):
5078 Recognize snapshot versions.
d1c0ea6a 5079
684d71c6
BB
50802013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5081
5082 * subr.el (version-regexp-alist): Add support for snapshot versions.
5083
3d42b968
DG
50842013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5085
e61845c1
SM
5086 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5087 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
5088 skip over our direct parent if it's an assignment token..
5089 (ruby-smie-rules): Use it.
5090
7ffd3721
DG
50912013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5092
8449dd1f 5093 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
5094 unconditionally. Remove now unnecessary forward declarations.
5095 Remove XEmacs-specific setup.
5096 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5097 (ruby-font-lock-syntactic-keywords)
5098 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5099 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5100 (ruby-here-doc-end-syntax): Remove.
5101 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5102 defined as function.
5103
a3996a2e
BB
51042013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5105
5106 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5107
6f9260e8
BB
51082013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5109
5110 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5111 table and abbrev table, `define-derived-mode' does that for us
5112 anyway.
5113
6014de84
GM
51142013-11-01 Glenn Morris <rgm@gnu.org>
5115
5116 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5117 files is atomic for some time, so no parallel compilation issues).
5118
3c334c14
JD
51192013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5120
5121 * faces.el (face-x-resources): Add :distant-foreground.
5122 (region): Use :distant-foreground for gtk and ns.
5123
9bc236c8
TH
51242013-11-01 Tassilo Horn <tsdh@gnu.org>
5125
5246583b 5126 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
5127 BibTeX.
5128 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5129 (reftex-locate-bibliography-files): Us it.
5130
d14c81ee
CB
51312013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5132
0e7690de
CB
5133 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5134 allow comments in pbm files.
5135
d14c81ee
CB
5136 * term/w32-win.el (dynamic-library-alist): Support newer versions
5137 of libjpeg starting with v7: look only for the DLL from the
5138 version against which Emacs was built.
ac1bf374 5139 Support versions of libpng beyond 1.4.x.
019c8218 5140 Support libtiff v4.x.
d14c81ee 5141
983d0df5
BB
51422013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5143
5144 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5145 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5146 Add property :safe.
5147 (ruby-deep-arglist): Add property :type.
5148
47f58d85
GM
51492013-10-31 Glenn Morris <rgm@gnu.org>
5150
5151 * Makefile.in (custom-deps, finder-data): No need to setq the target
5152 variables, we are in the right directory and the defaults work fine.
5153
4f85b479
GM
51542013-10-30 Glenn Morris <rgm@gnu.org>
5155
ca7dd4cd
GM
5156 * Makefile.in (autoloads): Do not use abs_lisp.
5157
4f85b479
GM
5158 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5159 `newline' does not respect `standard-output', so use `princ'.
5160
cf59e41c
AA
51612013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5162
5163 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5164 * buff-menu.el (Buffer-menu--unmark): New function.
5165 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5166
74cf04fb
GM
51672013-10-30 Glenn Morris <rgm@gnu.org>
5168
b040b60e
GM
5169 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5170
f53d3815
GM
5171 * emacs-lisp/package.el (lm-homepage): Declare.
5172
5413d873
GM
5173 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5174 Fix doc typos.
5175
cecedb36
GM
5176 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5177
74cf04fb
GM
5178 * Makefile.in (finder-data, autoloads, update-subdirs)
5179 (compile-main, compile-clean, compile-always, bootstrap-clean):
5180 Check return value of cd.
5181 (compile-calc): Remove.
5182
195ee2f0
SM
51832013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5184
ae4002ce
SM
5185 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5186
5187 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5188 (byte-compile-and-folded): New function.
5189 (=, <, >, <=, >=): Use it.
5190
5191 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5192 (path-separator, null-device, buffer-file-coding-system)
5193 (lpr-headers-switches): Check system-type before modifying them.
5194 (find-buffer-file-type-coding-system): Mark obsolete.
5195 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5196 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5197 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5198 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5199 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5200 (w32-direct-print-region-helper, w32-direct-print-region-function)
5201 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5202 * startup.el (normal-top-level-add-subdirs-to-load-path):
5203 * ps-print.el (ps-print-region-function):
5204 * lpr.el (print-region-function): Use new name.
5205
53b39e89
SM
5206 * subr.el (custom-declare-variable-early): Remove function.
5207 (custom-declare-variable-list): Remove var.
5208 (error, user-error): Remove `while' loop.
5209 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5210 (user-emacs-directory-warning, locate-user-emacs-file):
5211 Move to files.el.
5212 * simple.el (read-quoted-char-radix, read-quoted-char):
5213 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5214 Move from subr.el.
5215 * custom.el (custom-declare-variable-list): Don't process
5216 custom-declare-variable-list.
5217
195ee2f0
SM
5218 * progmodes/python.el (python-shell-get-buffer): New function.
5219 (python-shell-get-process): Use it.
5220 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5221 Python which encoding was used. Don't split-string since we only care
5222 about the first line. Return the temp-file, if applicable.
5223 (python-shell-send-region): Tell compile.el how to turn locations in
5224 the temp-file into locations in the source buffer.
5225
7e3561ee
SM
52262013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5227
4c9797cb
SM
5228 * subr.el (undefined): Add missing behavior from the C code for
5229 unbound keys.
5230
3472b6c6
SM
5231 * rect.el: Use lexical-binding. Add new rectangular region support.
5232 (rectangle-mark): New command.
5233 (rectangle--region): New var.
5234 (deactivate-mark-hook): Reset rectangle--region.
5235 (rectangle--extract-region, rectangle--insert-for-yank)
5236 (rectangle--highlight-for-redisplay)
5237 (rectangle--unhighlight-for-redisplay): New functions.
5238 (region-extract-function, redisplay-unhighlight-region-function)
5239 (redisplay-highlight-region-function): Use them to handle
5240 rectangular region.
5241 * simple.el (region-extract-function): New var.
5242 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5243 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5244 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5245 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5246 (redisplay-unhighlight-region-function)
5247 (redisplay-highlight-region-function): New vars.
5248 (redisplay--update-region-highlight): New function.
5249 (pre-redisplay-function): Use it.
5250 (exchange-point-and-mark): Don't deactivate the mark before
5251 reactivate-it anyway.
5252 * comint.el (comint-kill-region): Remove yank-handler argument.
5253 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5254 (delete-char): Remove property, since it's now part of their
5255 default behavior.
5256 (self-insert-iso): Remove property since this command doesn't exist.
5257
7e3561ee
SM
5258 * emacs-lisp/package.el (package--download-one-archive)
5259 (describe-package-1): Don't query the user about final newline.
5260
b9bef71f
DC
52612013-10-29 Daniel Colascione <dancol@dancol.org>
5262
5263 * net/tramp.el (tramp-methods): Document new functionality.
5264 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5265 tramp-hostname-checker if method provides one instead of scanning
5266 argument list for "%h" to decide hostname acceptability.
5267
4efc33f0
MA
52682013-10-28 Michael Albinus <michael.albinus@gmx.de>
5269
5270 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5271 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5272 Handle COPY-CONTENTS. (Bug#15737)
5273
ed42a877
DU
52742013-10-28 Daiki Ueno <ueno@gnu.org>
5275
5276 * epa-file.el
7e3561ee
SM
5277 (epa-file-cache-passphrase-for-symmetric-encryption):
5278 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5279
18c9f8a2
XF
52802013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5281
35e951cd 5282 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5283
b1e8e010
AM
52842013-10-27 Alan Mackenzie <acm@muc.de>
5285
5286 Indent statements in macros following "##" correctly.
7e3561ee
SM
5287 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5288 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5289
73d40d1e 52902013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5291
5292 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5293
c8c605ac
DG
52942013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5295
5296 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5297 after `=' is probably a new expression.
5298
ca7e59d4
RS
52992013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5300
5301 * man.el (man-imenu-title): New option.
5302 (Man-mode-map): Add menu. (Bug#15722)
5303 (Man-mode): Add imenu to menu.
5304
bae91342
DG
53052013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5306
5307 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5308 specific in what the first arg can be: a non-keyword word,
5309 string/regexp/percent literal opener, opening paren, or unary
5310 operator followed directly by word.
5311
eb89dc14
SM
53122013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5313
5314 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5315 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5316 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5317 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5318 Remove vars, they do not apply any more.
5319 (prolog-mode-abbrev-table): Remove redundant declaration.
5320 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5321 (prolog-use-smie): Remove.
5322 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5323 supported by prolog-electric-if-then-else-flag.
5324 (prolog-mode-variables, prolog-menu): Use setq-local.
5325 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5326 Remove binding to `Backspace' since this key doesn't exist anyway.
5327 Remove bindings for electric self-inserting keys.
5328 (prog-mode): Assume it's defined.
5329 (prolog-post-self-insert): New function.
5330 (prolog-mode): Use it.
5331 (prolog-indent-line, prolog-indent-level)
5332 (prolog-find-indent-of-matching-paren)
5333 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5334 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5335 (prolog-goto-next-paren, prolog-in-string-or-comment)
5336 (prolog-tokenize, prolog-inside-mline-comment)
5337 (prolog-find-start-of-mline-comment): Remove functions.
5338 (prolog-find-unmatched-paren, prolog-clause-end)
5339 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5340 (prolog-electric--if-then-else): Rename from
5341 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5342 (prolog-tokenize-searchkey): Remove const.
5343 (prolog-clause-info): Use forward-sexp.
5344 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5345 (prolog-electric-if-then-else): Remove commands.
5346 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5347 for use in post-self-insert-hook.
5348 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5349 for use in post-self-insert-hook.
5350 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5351 for use in post-self-insert-hook.
5352 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5353 adapt it for use in post-self-insert-hook.
5354
3dab0a83
MA
53552013-10-25 Michael Albinus <michael.albinus@gmx.de>
5356
5357 * emacs-lisp/ert.el (ert-run-tests-interactively):
5358 Use `completing-read'. (Bug#9756)
5359
fbfd0e1d
EZ
53602013-10-25 Eli Zaretskii <eliz@gnu.org>
5361
5362 * simple.el (line-move): Call line-move-1 instead of
5363 line-move-visual when the current window hscroll is zero, but
5364 temporary-goal-column indicates we will need to hscroll as result
5365 of the movement. (Bug#15712)
5366
963ce636
DG
53672013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5368
5369 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5370 capitalization. Use :visible instead of :active.
5371 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5372 commands that are used with SMIE.
5373 (ruby-do-end-to-brace): Insert space after `{'.
5374
a0be396a
JA
53752013-10-25 John Anthony <john@jo.hnanthony.com>
5376
f73754c9
JA
5377 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5378
5379 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5380
f5bf77df
GM
53812013-10-25 Glenn Morris <rgm@gnu.org>
5382
5383 * vc/vc.el (vc-print-log): Don't use a working revision unless
5384 one was explicitly specified. (Bug#15322)
5385
37241f62
SM
53862013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * subr.el (add-to-list): Preserve return value in compiler-macro
5389 (bug#15692).
5390
6408a65d
RS
53912013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5392
5393 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5394 result. Ask user to retry using '-all' flag. (Bug#15701)
5395
71e3276b
SM
53962013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * emacs-lisp/smie.el: New smie-config system.
5399 (smie-config): New defcustom.
5400 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5401 (smie-config-guess, smie-config-save): New commands.
5402 (smie-config--mode-local, smie-config--buffer-local)
5403 (smie-config--trace, smie-config--modefuns): New vars.
5404 (smie-config--advice, smie-config--mode-hook)
5405 (smie-config--setter, smie-config-local, smie-config--get-trace)
5406 (smie-config--guess-value, smie-config--guess): New functions.
5407 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5408 text properties. Treat "string fence" syntax like string syntax.
5409
5410 * progmodes/sh-script.el (sh-use-smie): Change default.
5411 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5412 (sh-var-value): Simplify by CSE.
5413 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5414 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5415 is used.
5416 (sh-guess-basic-offset): Use cl-incf.
5417 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5418
60db713e
HE
54192013-10-24 Helmut Eller <eller.helmut@gmail.com>
5420
5421 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5422 (bug#15699).
5423
8b251df6
GM
54242013-10-24 Glenn Morris <rgm@gnu.org>
5425
5426 * Makefile.in (abs_top_srcdir): Remove.
5427 (update-subdirs): Use relative path to update-subdirs.
5428
6be0e22b
EZ
54292013-10-24 Eli Zaretskii <eliz@gnu.org>
5430
5431 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5432 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5433 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5434 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5435
50b5b857
MA
54362013-10-24 Michael Albinus <michael.albinus@gmx.de>
5437
5438 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5439 (ert-test-skipped): New error.
5440 (ert-skip, ert-stats-skipped): New defuns.
5441 (ert--skip-unless): New macro.
5442 (ert-test-skipped): New struct.
5443 (ert--run-test-debugger, ert-test-result-type-p)
5444 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5445 (ert--stats-set-test-and-result, ert-char-for-test-result)
5446 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5447 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5448 Handle skipped tests. (Bug#9803)
50b5b857 5449
6f317c2f
GM
54502013-10-24 Glenn Morris <rgm@gnu.org>
5451
e43817c1
GM
5452 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5453
6f317c2f
GM
5454 * Makefile.in (abs_top_srcdir): New, set by configure.
5455 (update-subdirs): Correct build-aux location.
5456
369bbf71
DG
54572013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5458
8297b2cf
DG
5459 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5460 value, whether we could auto-deduce `backend', or not.
5461
369bbf71
DG
5462 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5463 with parameters" example. Simplify the "is it block or is it
5464 hash" check, but also make it more thorough.
5465
d5f1282f
MF
54662013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5467
5468 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5469
bc4aaa31
SM
54702013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5471
03d44565
SM
5472 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5473 { if it is hanging.
5474
bc4aaa31
SM
5475 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5476 :before ";".
5477
f493ff19
JB
54782013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5479
5480 * progmodes/compile.el (compilation-directory-matcher)
5481 (compilation-page-delimiter):
5482 Support GNU Make-4.0 directory quoting. (Bug#15678)
5483
c744a3b9
LL
54842013-10-23 Leo Liu <sdl.web@gmail.com>
5485
5486 * ido.el (ido-tidy): Handle read-only text.
5487
b8e3b0a9
GM
54882013-10-23 Glenn Morris <rgm@gnu.org>
5489
5490 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5491 (emacs, compile, compile-always):
5492 Quote entities that might contain whitespace.
5493 (custom-deps, finder-data, autoloads): Use abs_lisp.
5494 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5495 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5496 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5497
ee4282cd
DG
54982013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5499
bc4aaa31
SM
5500 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5501 Use `following-char'.
7790a270 5502
ee4282cd 55032013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5504
5505 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5506 * progmodes/ruby-mode.el (ruby-smie-rules):
5507 Remove corresponding workaround. Fix indentation rule of ";" so it
5508 also applies when ";" is the parent.
5509
d40a46d7
XF
55102013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5511
5512 * frame.el (display-screens, display-pixel-height)
5513 (display-pixel-width, display-mm-width, display-backing-store)
5514 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5515 (display-visual-class, display-monitor-attributes-list):
5516 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5517
a0f143c9
MG
55182013-10-22 Michael Gauland <mikelygee@amuri.net>
5519
5520 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5521 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5522
18cacc39
DG
55232013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5524
5525 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5526 TODO. Add "." after " @ ".
5527 (ruby-smie--at-dot-call): New function. Checks if point at method
5528 call with explicit target.
5529 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5530 to the method name tokens when it precedes them.
5531 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5532 (ruby-smie-rules): Add rule for indentation before and after "."
5533 token.
5534
df74c4be
SM
55352013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5536
c6dab55f
SM
5537 * textmodes/remember.el (remember-diary-extract-entries):
5538 Avoid add-to-list.
5539
df74c4be
SM
5540 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5541 an instruction.
5542
8c1ae481
DG
55432013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5544
e9dc713d
JB
5545 * progmodes/ruby-mode.el (ruby-smie-grammar):
5546 Add (almost) all infix operators.
cfef16c0
DG
5547 (ruby-smie--implicit-semi-p): Add new operator chars.
5548
8c1ae481
DG
5549 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5550 `smie-down-list'.
5551 (ruby-smie--args-separator-p): Check that there's no newline
5552 between method call and its arguments.
5553
87756ca9
AM
55542013-10-20 Alan Mackenzie <acm@muc.de>
5555
5556 Allow comma separated lists after Java "implements".
5557
df74c4be
SM
5558 * progmodes/cc-engine.el (c-backward-over-enum-header):
5559 Parse commas.
87756ca9
AM
5560 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5561 from a "disallowed" list in enum fontification.
5562
c25f8957
JB
55632013-10-20 Johan Bockgård <bojohan@gnu.org>
5564
df74c4be 5565 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5566
c25f8957
JB
5567 * progmodes/verilog-mode.el (verilog-mode): Don't set
5568 comment-indent-function globally.
5569
aca5fcdc
JD
55702013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5571
5f161884
JD
5572 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5573 Move Info menu item creation to ns-win.el.
5574
5575 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5576 in menu bar.
5577
a6c4680a 5578 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5579
5580 * term/ns-win.el (ns-initialize-window-system): ... to here.
5581
914b7f98
SM
55822013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * simple.el (newline): Only run post-self-insert-hook when
5585 called interactively.
5586
846ffe77
JB
55872013-10-19 Johan Bockgård <bojohan@gnu.org>
5588
5589 * icomplete.el (icomplete-with-completion-tables): Add :version.
5590
033f22dd
AM
55912013-10-19 Alan Mackenzie <acm@muc.de>
5592
5593 Fix fontification bugs with constructors and const.
5594
5595 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5596 CASE 2) Remove the check for the absence of a suffix construct
5597 after a function declaration with only types (no identifiers) in
5598 the parentheses. Also, accept a function declaration with just a
5599 type inside the parentheses, if this type can be positively
5600 recognised as such, or if a prefix keyword like "explicit" nails
5601 down the construct as a declaration.
5602
58ce0cfc
EZ
56032013-10-19 Eli Zaretskii <eliz@gnu.org>
5604
5605 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5606 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5607 the problem whereby selecting a menu item that leads to a
5608 minibuffer prompt moves the cursor out of the minibuffer window,
5609 making it hard to type at the prompt. Suggested by Stefan Monnier
5610 <monnier@iro.umontreal.ca>.
5611
50e28e7d
JD
56122013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5613
5614 * menu-bar.el: Don't make Services menu.
5615
7deed4bf
RS
56162013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5617
5618 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5619 (ffap-alist): Use ffap-c++-mode for c++-mode.
5620 (ffap-c++-path): New variable.
5621 (ffap-c++-mode): New function.
5622
7bcb455b
JVJ
56232013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5624
5625 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5626
f0ff1cd5
MA
56272013-10-18 Michael Albinus <michael.albinus@gmx.de>
5628
5629 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5630 introduced on 2013-09-08, which results in an infinite loop
5631 requesting a password.
5632
d64da4b7
GM
56332013-10-18 Glenn Morris <rgm@gnu.org>
5634
5635 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5636
ea89ff08
WS
56372013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5638
5639 Sync with upstream verilog-mode revision 1a6ecec7.
5640 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5641 (verilog-mode-release-date): Remove.
5642 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5643 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5644 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5645 (verilog-auto-tieoff-ignore-regexp)
5646 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5647 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5648 (verilog-signals-with, verilog-dir-cache-preserving)
5649 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5650 Doc fixes.
5651 (verilog-case-fold): New option, to control case folding in
5652 regexp searches, bug597.
5653 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5654 (verilog-string-match-fold, verilog-in-paren-count)
5655 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5656 (verilog-at-close-struct-p): New functions.
5657 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5658 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5659 (verilog-leap-to-case-head): Handle "unique0" case.
5660 (verilog-in-constraint-re): New constant.
5661 (verilog-keywords, verilog-type-font-keywords):
5662 Add some SystemVerilog 1800-2012 keywords.
5663 (verilog-label-be): Remove unimplemented argument, bug669.
5664 (verilog-batch-execute-func): When batch expanding clear
5665 create-lockfiles to prevent spurious user locks when a file ends
5666 up not changing.
5667 (verilog-calculate-indent, verilog-calc-1)
5668 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5669 (verilog-do-indent): Fix indentation of nested constraints
5670 and structures.
5671 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5672 (verilog-auto-inst-param): Use verilog-string-match-fold.
5673 (verilog-read-inst-module-matcher):
5674 Fix AUTOINST on gate primitives with #1.
5675 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5676 Reads all user-defined typed variables.
5677 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5678 (verilog-signals-matching-regexp)
5679 (verilog-signals-not-matching-regexp, verilog-auto):
5680 Respect verilog-case-fold.
5681 (verilog-diff-report): Fix line count.
5682 (verilog-auto-assign-modport): Remove unused local `modi'.
5683 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5684 better handle multidimensional arrays.
5685 Fix packed array ports misadding bit index in AUTOINST, bug637.
5686 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5687 to not double-declare existing outputs and inputs, respectively.
5688 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5689 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5690 (verilog-sk-uvm-component): New skeleton.
5691 (verilog-submit-bug-report): Add verilog-case-fold,
5692 remove verilog-mode-release-date.
5693
ef566920
BR
56942013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5695
a12bf61e 5696 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5697 as before.
5698
29df8a0b
RT
56992013-10-18 Reuben Thomas <rrt@sc3d.org>
5700
e0eb0550 5701 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5702 remember buffers (bug#13566).
5703
04a19a79
DC
57042013-10-18 Daniel Colascione <dancol@dancol.org>
5705
5706 When evaluating forms in ielm, direct standard output to ielm
5707 buffer. Add new ielm-return-for-effect command. Remove trailing
5708 whitespace throughout.
5709
5710 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5711 (ielm-return-for-effect): New command.
5712 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5713 (ielm-eval-input): Accept optional `for-effect' parameter.
5714 Bind `standard-output' to stream we create using
04a19a79
DC
5715 `ielm-standard-output-impl'. Suppress printing result when
5716 `for-effect'.
5717 (ielm-standard-output-impl): New function.
5718 (inferior-emacs-lisp-mode): Explain new features in documentation.
5719
4c1f03ef
MA
57202013-10-17 Michael Albinus <michael.albinus@gmx.de>
5721
5722 Code cleanup.
5723
5724 * net/tramp.el (tramp-debug-message): Do not check for connection
5725 buffer.
5726 (tramp-message): Use "vector" connection property.
5727
5728 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5729 (tramp-equal-remote, tramp-eshell-directory-change)
5730 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5731 (tramp-adb-handle-rename-file)
5732 * net/tramp-cmds.el (tramp-list-remote-buffers)
5733 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5734 * net/tramp-compat.el (tramp-compat-process-running-p)
5735 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5736 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5737 (tramp-gvfs-handle-rename-file)
5738 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5739 (tramp-set-file-uid-gid)
5740 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5741 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5742 of `file-remote-p'.
5743
5744 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5745 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5746 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5747 (tramp-gw-open-network-stream): Suppress unrelated traces.
5748
5749 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5750 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5751 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5752 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5753 connection property.
5754
5755 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5756 persistency file.
4c1f03ef
MA
5757
5758 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5759 Refactor common code. Improve debug message.
5760 (tramp-maybe-open-connection)
5761 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5762 connection buffer too early.
5763
5764 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5765 from `tramp-smb-actions-with-acl'.
5766 (tramp-smb-actions-set-acl): New defconst.
5767 (tramp-smb-handle-copy-directory)
5768 (tramp-smb-action-get-acl): New defun, renamed from
5769 `tramp-smb-action-with-acl'.
5770 (tramp-smb-action-set-acl): New defun.
5771 (tramp-smb-handle-set-file-acl): Rewrite.
5772
642eb8b6
GM
57732013-10-17 Glenn Morris <rgm@gnu.org>
5774
5775 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5776
85527ff3
SM
57772013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5778
921c1d62
SM
5779 * skeleton.el (skeleton-newline): Remove.
5780 (skeleton-internal-1): Use (insert "\n") instead.
5781
e333fb10
SM
5782 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5783 let-bindings.
5784
85527ff3
SM
5785 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5786 forward-sexp-function while we redo its job (bug#15613).
5787
c8722a97
JB
57882013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5789
5790 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5791 represented by lists.
5792
7a550bbb
GM
57932013-10-16 Glenn Morris <rgm@gnu.org>
5794
5795 * tmm.el (tmm--history): New dynamic variable.
5796 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5797
f19da8ad
MA
57982013-10-16 Michael Albinus <michael.albinus@gmx.de>
5799
5800 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5801 (tramp-smb-errors): Add error messages.
5802 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5803 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5804 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5805 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5806 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5807 (tramp-smb-get-stat-capability): Fix tests.
5808
a24b9961
DK
58092013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5810
5811 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5812 (bug#15580).
5813
62ad85e6
GM
58142013-10-16 Glenn Morris <rgm@gnu.org>
5815
0283d6b0
GM
5816 * ansi-color.el (ansi-color-drop-regexp):
5817 Add 1J, 1K, 2K. (Bug#15617)
5818
012e2f9f
GM
5819 * files.el (hack-local-variables--warned-lexical): New.
5820 (hack-local-variables):
5821 Warn about misplaced lexical-binding. (Bug#15616)
5822
62ad85e6
GM
5823 * net/eww.el (eww-render): Always set eww-current-url,
5824 and update header line. (Bug#15622)
5825 (eww-display-html): ... Rather than just doing it here.
5826
6456c0ea
EZ
58272013-10-15 Eli Zaretskii <eliz@gnu.org>
5828
5829 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5830 menu navigations commands.
5831
c2de5588
DK
58322013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5833
5834 * progmodes/subword.el (subword-capitalize): Be careful when
5835 the search for [[:alpha:]] fails (bug#15580).
5836
ccd4a783
EZ
58372013-10-14 Eli Zaretskii <eliz@gnu.org>
5838
5839 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5840 to commands that scroll the menu.
5841
1eda1d8d
DG
58422013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5843
c2de5588
DK
5844 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5845 Handle methods ending with `?' and `!'.
1eda1d8d 5846
e70181b8
AM
58472013-10-14 Akinori MUSHA <knu@iDaemons.org>
5848
5849 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5850 `japanese-cp932' to `cp932' to fix the problem where saving a
5851 source file written in Shift_JIS twice would end up having
5852 `coding: japanese-cp932' which Ruby could not recognize.
5853 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5854 in `ruby-encoding-map'.
5855 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5856 doesn't need to be explicitly declared in magic comment.
5857 (ruby-encoding-map): Add type declaration for better customize UI.
5858
9148ee92
GM
58592013-10-13 Glenn Morris <rgm@gnu.org>
5860
a5d38e34
GM
5861 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5862 Occur buffers are read-only. http://bugs.debian.org/720775
5863
9148ee92
GM
5864 * emacs-lisp/authors.el (authors-fixed-entries):
5865 Comment out old alpha stuff.
5866
a9ba094b
DG
58672013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5868
5869 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5870 to `after-save-hook' instead of `before-save-hook'.
5871 (ruby-mode-set-encoding): Use the value of coding system used to
5872 write the file. Call `basic-save-buffer-1' after modifying the
5873 buffer.
5874
7a068717
AM
58752013-10-13 Alan Mackenzie <acm@muc.de>
5876
5877 Fix indentation/fontification of Java enum with
5878 "implements"/generic.
5879
c2de5588
DK
5880 * progmodes/cc-engine.el (c-backward-over-enum-header):
5881 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5882 (c-inside-bracelist-p): Uses new function above.
5883 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5884 function above.
5885 (c-font-lock-enum-tail): Uses new function above.
5886
85b64f02
KH
58872013-10-13 Kenichi Handa <handa@gnu.org>
5888
5889 * international/mule-cmds.el (select-safe-coding-system): Remove a
5890 superfluous condition in chekcing whether a coding system is safe
5891 or not.
5892
fc7f501b
OK
58932013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5894
5895 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5896
fdcb2049
AP
58972013-10-13 Andreas Politz <politza@hochschule-trier.de>
5898
5899 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5900
8c106d17
GM
59012013-10-13 Glenn Morris <rgm@gnu.org>
5902
feab892d
GM
5903 * menu-bar.el (menu-bar-update-buffers):
5904 Unify Buffers menu prompt string. (Bug#15576)
5905
b22d0686
GM
5906 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5907
8c106d17
GM
5908 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5909 Add some entries.
5910 (authors-fixed-entries): Use accented form of name.
5911
1b12c797
SM
59122013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5913
650fa7bf 5914 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5915 method calls (bug#15594).
650fa7bf
SM
5916 (ruby-smie--args-separator-p): New function.
5917 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5918 recognize paren-free method calls.
5919
1b12c797
SM
5920 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5921 internals of universal-argument.
5922
029619c8
EZ
59232013-10-11 Eli Zaretskii <eliz@gnu.org>
5924
5925 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5926 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5927 dropped menu on second mouse click on the menu bar.
029619c8 5928
dd070019
SM
59292013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5932 (explicit-shell-file-name): Declare.
5933 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5934 (sh-completion-at-point-function): New function.
5935 (sh-mode): Use it.
5936 (sh-smie--keyword-p): Remove unused argument.
5937 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5938 vars.
5939 (sh-set-shell): Always setup SMIE, even if we use the
5940 old indentation code.
5941
0922b826
DG
59422013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5943
b68e2926
DG
5944 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5945 cases of ? and =.
5946 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5947 predicate would return nil are almost non-existent.
5948 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5949
0922b826
DG
5950 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5951 cache also after commands that modify the buffer but don't move
5952 point.
5953
ee041f2d
SM
59542013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * env.el (substitute-env-in-file-name): New function.
5957 (substitute-env-vars): Extend the meaning of the optional arg.
5958
a5dab159
EZ
59592013-10-10 Eli Zaretskii <eliz@gnu.org>
5960
5961 * term/w32-win.el (dynamic-library-alist): Define separate lists
5962 of GIF DLLs for versions before and after 5.0.0 of giflib.
5963 (Bug#15531)
5964
0449d6cd 59652013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5966
5967 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5968 not locked, use last revision and current source as
5969 defaults. (Bug#15569)
5970
2f6e161e
MY
59712013-10-10 Masatake YAMATO <yamato@redhat.com>
5972
5973 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5974 menu-bar is hidden.
5975
6c8413fc
MR
59762013-10-10 Martin Rudalics <rudalics@gmx.at>
5977
5978 * window.el (pop-to-buffer-same-window): Fix doc-string.
5979 (Bug#15492)
5980
20832de0
SM
59812013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5984
c6e8ae77
AC
59852013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5986
5987 * calendar/icalendar.el (icalendar-import-file):
5988 Fix interactive spec. (Bug#15482)
5989
9db13baf
GM
59902013-10-10 Glenn Morris <rgm@gnu.org>
5991
9271e90e
GM
5992 * desktop.el (desktop-save): Default to saving in .emacs.d,
5993 since PWD is no longer in desktop-path by default. (Bug#15319)
5994
9db13baf
GM
5995 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5996 now that text mode has a menu with the same entry.
5997 (menu-bar-text-mode-auto-fill): Remove now unused func.
5998 * textmodes/text-mode.el (text-mode-map):
5999 Use auto-fill help text from menu-bar.el.
6000
a0be396a 60012013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
6002
6003 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6004
2edcd3c7
JL
60052013-10-09 Juri Linkov <juri@jurta.org>
6006
6007 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6008 instead of this-command-keys. Add universal-argument-more and
6009 universal-argument-minus to the list of prefix commands. (Bug#15568)
6010
574411d0
GM
60112013-10-09 Glenn Morris <rgm@gnu.org>
6012
14afa541
GM
6013 * vc/vc-svn.el (vc-svn-create-repo):
6014 Expand paths in file://... url. (Bug#15446)
6015
574411d0
GM
6016 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6017 Add some entries.
6018 (authors): Remove unused local variables.
6019
79804536
SM
60202013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * profiler.el: Create a more coherent calltree from partial backtraces.
6023 (profiler-format): Hide the tail with `invisible' so that C-s can still
6024 find the hidden elements.
6025 (profiler-calltree-depth): Don't recurse so enthusiastically.
6026 (profiler-function-equal): New hash-table-test.
6027 (profiler-calltree-build-unified): New function.
6028 (profiler-calltree-build): Use it.
6029 (profiler-report-make-name-part): Indent the calltree less.
6030 (profiler-report-mode): Add visibility specs for profiler-format.
6031 (profiler-report-expand-entry, profiler-report-toggle-entry):
6032 Expand the whole subtree when provided with a prefix arg.
6033
238150c8
DG
60342013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6035
6036 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6037 iuwu-mod token.
6038 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6039 hanging iuwu-mod token.
6040 (ruby-smie--forward-token): Do not include a dot after a token in
6041 that token.
6042 (ruby-smie--backward-token): Likewise.
6043
b0949cc4
JL
60442013-10-08 Juri Linkov <juri@jurta.org>
6045
6046 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6047 to isearch-other-control-char.
6048 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6049 and isearch-post-command-hook to post-command-hook.
6050 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6051 and isearch-post-command-hook from post-command-hook.
6052 (isearch-unread-key-sequence)
6053 (isearch-reread-key-sequence-naturally)
6054 (isearch-lookup-scroll-key, isearch-other-control-char)
6055 (isearch-other-meta-char): Remove functions.
6056 (isearch-pre-command-hook, isearch-post-command-hook):
6057 New functions based on isearch-other-meta-char rewritten
6058 relying on the new behavior of overriding-terminal-local-map
6059 that does not replace the local keymaps any more. (Bug#15200)
6060
4ed77415
EZ
60612013-10-08 Eli Zaretskii <eliz@gnu.org>
6062
6063 Support menus on text-mode terminals.
6064 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6065 functionality.
6066
6067 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6068
c2de5588
DK
6069 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6070 Move here from mouse.el.
4ed77415
EZ
6071 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6072 and arrow keys.
6073 (tty-menu-navigation-map): New map for TTY menu navigation.
6074
6075 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6076
6077 * frame.el (display-mouse-p): Report text-mode mouse as available
6078 on w32.
6079 (display-popup-menus-p): Report availability if mouse is
6080 available; don't condition on window-system.
6081
6082 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6083 (tty-menu-selected-face): New faces.
6084
b7d5bd82
TL
60852013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6086
06286513
SM
6087 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6088 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6089 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6090 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6091 New constants.
6092 (lisp-mode-variables): New `elisp' argument.
6093 (emacs-lisp-mode): Use it.
6094 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6095 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6096
b7d5bd82
TL
6097 * indent.el: Use lexical-binding.
6098 (indent-region): Add progress reporter.
6099 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6100 last step.
6101 (indent--next-tab-stop): New function to implement this behavior.
6102 (tab-to-tab-stop, move-to-tab-stop): Use it.
6103
61042013-10-08 Teemu Likonen <tlikonen@iki.fi>
6105
6106 * indent.el (indent-rigidly--current-indentation): New function.
6107 (indent-rigidly-map): New var.
6108 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6109
5ea75d23
BG
61102013-10-08 Bastien Guerry <bzg@gnu.org>
6111
f2726fa2 6112 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 6113
cc5da1ec
SM
61142013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6115
8ffa1a0b
SM
6116 * progmodes/perl-mode.el: Use lexical-binding.
6117 Remove redundant :group args.
6118 (perl-nochange): Change default to be closer to other major modes's
6119 standard behavior.
6120 (perl-indent-line): Don't consider text on current line as a
6121 valid beginning of function from which to indent.
6122
f2223371
SM
6123 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6124 with more than one argument (bug#15538).
6125
44256060
SM
6126 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6127
cc5da1ec
SM
6128 * vc/pcvs.el: Use lexical-binding.
6129 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6130 environment of `eval'.
6131 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6132 than a list of expressions. Adjust callers.
6133 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6134
0ea1599d
DG
61352013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6136
6137 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 6138 case of the dot in a chained method call being on the following line.
0ea1599d 6139
da3e5ebb
SM
61402013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6141
2abb4e65
SM
6142 * electric.el (electric-indent-inhibit): New var.
6143 (electric-indent-post-self-insert-function): Use it.
6144 * progmodes/python.el (python-mode): Set it.
6145
d2e0e795
SM
6146 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6147 open braces.
6148
6149 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6150
bdc6b4c8
SM
6151 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6152 (css-mode): Use electric-indent-chars.
6153
da3e5ebb
SM
6154 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6155 (font-lock-beg, font-lock-end): Move before first use.
6156 (nxml-mode): Use syntax-propertize-function.
6157 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6158 (nxml-extend-after-change-region): Remove.
6159 * nxml/xmltok.el: Use lexical-binding.
6160 (xmltok-save): Use `declare'.
6161 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6162 * nxml/nxml-util.el: Use lexical-binding.
6163 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6164 Use `declare'.
6165 * nxml/nxml-ns.el: Use lexical-binding.
6166 (nxml-ns-save): Use `declare'.
6167 (nxml-ns-prefixes-for): Avoid add-to-list.
6168 * nxml/rng-match.el: Use lexical-binding.
6169 (rng--ipattern): Use cl-defstruct.
6170 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6171 (rng-cons-group-after, rng-subst-group-after)
6172 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6173 Use closures instead of `(lambda...).
6174
f8f91d5d
MA
61752013-10-07 Michael Albinus <michael.albinus@gmx.de>
6176
6177 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6178 of BEG and END.
6179
da3e5ebb
SM
6180 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6181 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6182 (tramp-gvfs-handle-insert-file-contents): Remove function.
6183
da3e5ebb
SM
6184 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6185 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6186
6187 * net/trampver.el: Update release number.
6188
7ccae3b1
SM
61892013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6190
55ca2c0d
SM
6191 * progmodes/compile.el (compilation-parse-errors):
6192 Use compilation--put-prop.
6193 (compilation--ensure-parse): Check compilation-multiline.
6194
731fc3ae
SM
6195 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6196
da3e5ebb
SM
6197 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6198 lexical-binding.
a5833280 6199
2e7ba2c2
SM
6200 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6201
7ccae3b1
SM
6202 * progmodes/ruby-mode.el: Fix recently added tests.
6203 (ruby-smie-grammar): Add - and +.
6204 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6205 (ruby-smie--backward-id): New functions.
6206 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6207 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6208 any more.
6209
85698d63
LL
62102013-10-07 Leo Liu <sdl.web@gmail.com>
6211
6212 * register.el (register-preview-delay)
6213 (register-preview-functions): New variables.
6214 (register-read-with-preview, register-preview)
6215 (register-describe-oneline): New functions.
6216 (point-to-register, window-configuration-to-register)
6217 (frame-configuration-to-register, jump-to-register)
6218 (number-to-register, view-register, insert-register)
6219 (copy-to-register, append-to-register, prepend-to-register)
6220 (copy-rectangle-to-register): Use register-read-with-preview to
6221 read register. (Bug#15525)
6222
3986af6c
DS
62232013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6224
6225 * net/network-stream.el (network-stream-open-starttls): Don't add
6226 --insecure if it's already present, because that gnutls-cli
6227 rejects getting that parameter twice.
6228
5cd9cda9
DG
62292013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6230
6231 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6232 keyword, too.
6233
da9ea6d9
DG
62342013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6235
6236 * newcomment.el (comment-use-global-state): Change default value
6237 to t, mark obsolete (Bug#15251).
6238 (comment-beginning): In addition to `comment-to-syntax', check the
6239 value of `comment-use-global-state'.
6240
34d1a133
SM
62412013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6244 (ruby-comment-column): Follow the global default, by default.
6245 (ruby-smie-grammar): Add assignment syntax.
6246 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6247 open-paren, a comma, or a \.
6248 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6249 and line continuations.
6250 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6251 followed by implicit semi-colons. Add rule for string concatenation
6252 and for indentation at BOB.
27821a89 6253 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6254
6255 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6256 calling next-sexp, since next-token may have skipped chars which
6257 next-sexp doesn't know should be skipped!
6258
6f6ab820
LL
62592013-10-05 Leo Liu <sdl.web@gmail.com>
6260
34d1a133
SM
6261 * progmodes/octave.el (octave-send-region):
6262 Call compilation-forget-errors.
6f6ab820 6263
34ca0f4c
XF
62642013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6265
6266 * vc/vc-svn.el (vc-svn-find-admin-dir):
6267 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6268 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6269 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6270 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6271
a27c1b72
SM
62722013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6275
258ab3bc
SM
62762013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * subr.el (read-passwd): Hide chars even when called within a context
6279 where after-change-functions is disabled (bug#15501).
6280 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6281 until we removed ourself from overriding-terminal-local-map.
6282
939fb29c
LL
62832013-10-04 Leo Liu <sdl.web@gmail.com>
6284
258ab3bc
SM
6285 * progmodes/octave.el (inferior-octave-mode):
6286 Call compilation-forget-errors.
939fb29c 6287
63bd7f35
XF
62882013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6289
6290 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6291
9e6229fa
MA
62922013-10-04 Michael Albinus <michael.albinus@gmx.de>
6293
6294 * net/secrets.el (secrets-create-collection): Add optional
6295 argument ALIAS. Use proper Label keyword. Append ALIAS as
6296 dbus-call-method argument. (Bug#15516)
6297
1dab32a3
LL
62982013-10-04 Leo Liu <sdl.web@gmail.com>
6299
6300 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6301 (inferior-octave-compilation-font-lock-keywords): New variables.
6302 (compilation-error-regexp-alist)
6303 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6304 (inferior-octave-mode): Use compilation-shell-minor-mode.
6305
6cad7ba3
JS
63062013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6307
6308 * minibuffer.el (completion--replace): Be careful that `end' might be
6309 a marker.
6310
acbadd00
DU
63112013-10-03 Daiki Ueno <ueno@gnu.org>
6312
6313 Add support for package signature checking.
6314 * emacs-lisp/package.el (url-http-file-exists-p)
6315 (epg-make-context, epg-context-set-home-directory)
6316 (epg-verify-string, epg-context-result-for)
6317 (epg-signature-status, epg-signature-to-string)
6318 (epg-check-configuration, epg-configuration)
6319 (epg-import-keys-from-file): Declare.
6320 (package-check-signature): New user option.
6321 (package-unsigned-archives): New user option.
6322 (package-desc): Add `signed' field.
6323 (package-load-descriptor): Set `signed' field if .signed file exists.
6324 (package--archive-file-exists-p): New function.
6325 (package--check-signature): New function.
6326 (package-install-from-archive): Check package signature.
6327 (package--download-one-archive): Check archive signature.
6328 (package-delete): Remove .signed file.
6329 (package-import-keyring): New command.
6330 (package-refresh-contents): Import default keyring.
6331 (package-desc-status): Add "unsigned" status.
6332 (describe-package-1, package-menu--print-info)
6333 (package-menu-mark-delete, package-menu--find-upgrades)
6334 (package-menu--status-predicate): Support "unsigned" status.
6335
adf2aa61
SM
63362013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6339 the new compilation scheme using the new byte-codes.
6340
6341 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6342 (byte-pophandler): New byte codes.
6343 (byte-goto-ops): Adjust accordingly.
6344 (byte-compile--use-old-handlers): New var.
6345 (byte-compile-catch): Use new byte codes depending on
6346 byte-compile--use-old-handlers.
6347 (byte-compile-condition-case--old): Rename from
6348 byte-compile-condition-case.
6349 (byte-compile-condition-case--new): New function.
6350 (byte-compile-condition-case): New function that dispatches depending
6351 on byte-compile--use-old-handlers.
6352 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6353 when we can.
6354
6355 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6356 Optimize under `condition-case' and `catch' if
6357 byte-compile--use-old-handlers is nil.
6358 (disassemble-offset): Handle new bytecodes.
6359
328a8179
SM
63602013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * subr.el (error): Use `declare'.
6363 (decode-char, encode-char): Use advertised-calling-convention instead
6364 of the docstring to discourage use of the `restriction' arg.
6365
15a1e936
DU
63662013-10-03 Daiki Ueno <ueno@gnu.org>
6367
6368 * epg.el (epg-verify-file): Add a comment saying that it does not
6369 notify verification error as a return value nor a signal.
6370 (epg-verify-string): Ditto.
6371
376f862a
KR
63722013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6373
6374 * progmodes/compile.el (compilation-start): Try globbing the arg to
6375 `cd' (bug#15417).
6376
a2f93a5f
MA
63772013-10-02 Michael Albinus <michael.albinus@gmx.de>
6378
6379 Sync with Tramp 2.2.8.
6380
6381 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6382 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6383 * net/trampver.el: Update release number.
6384
0daa0804
JD
63852013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6386
6387 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6388 and default-process-coding-system for darwin only.
6389
abd1ae34
SM
63902013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6393
be4e325d
MH
63942013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6395
6396 * vc/vc-git.el (vc-git-grep): Disable pager.
6397
e9155c4a
DG
63982013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6399
494e898b
DG
6400 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6401 Use :url instead of :homepage, as per
6402 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6403
e9155c4a
DG
6404 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6405 non-nil, use `syntax-ppss' (Bug#15251).
6406
481a8e0f
RS
64072013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6408
be4e325d
MH
6409 * progmodes/octave.el (inferior-octave-startup-file):
6410 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6411
056453c6
DG
64122013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6413
be4e325d
MH
6414 * emacs-lisp/package.el (package-desc-from-define):
6415 Accept additional arguments as plist, convert them to an alist and store
6416 them in the `extras' slot.
056453c6
DG
6417 (package-generate-description-file): Convert extras alist back to
6418 plist and append to the `define-package' form arguments.
6419 (package--alist-to-plist): New function.
6420 (package--ac-desc): Add `extras' slot.
6421 (package--add-to-archive-contents): Check if the archive-contents
6422 vector is long enough, and if it is, pass its `extras' slot value
6423 to `package-desc-create'.
6424 (package-buffer-info): Call `lm-homepage', pass the returned value
6425 to `package-desc-from-define'.
6426 (describe-package-1): Render the homepage button (Bug#13291).
6427
be4e325d
MH
6428 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6429 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6430
832966e5
JD
64312013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6432
6433 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6434 and default-process-coding-system to utf-8-unix (Bug#15402).
6435
6cfe977d
XF
64362013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6437
6438 * subr.el (looking-back): Do not recommend using looking-back.
6439
38de11bd
AM
64402013-09-28 Alan Mackenzie <acm@muc.de>
6441
6442 Fix indentation/fontification of Java enum with "implements".
6443
6444 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6445 regexp which matches "implements", etc., in Java.
6446 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6447 specifier clauses coming after "enum".
6448 * progmodes/cc-fonts.el (c-font-lock-declarations)
6449 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6450 after "enum".
6451
1610938f
JD
64522013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6453
6454 * faces.el (region): Change ns_selection_color to
6455 ns_selection_fg_color, add ns_selection_bg_color.
6456
e090f499
LL
64572013-09-28 Leo Liu <sdl.web@gmail.com>
6458
4d2e94d1
LL
6459 * progmodes/octave.el (inferior-octave-completion-table)
6460 (inferior-octave-completion-at-point): Minor tweaks.
6461
e090f499
LL
6462 * textmodes/ispell.el (ispell-lookup-words): Rename from
6463 lookup-words. (Bug#15460)
6464 (lookup-words): Obsolete.
6465 (ispell-complete-word, ispell-command-loop): All uses changed.
6466
7e138a62
RS
64672013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6468
a12bf61e 6469 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6470 (octave-mode-menu): Add octave-send-buffer.
6471 (octave-send-buffer): New function.
6472
5af5ed08
RS
64732013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6474
a12bf61e 6475 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6476 octave-lookfor.
6477 (octave-mode-menu): Add octave-lookfor.
6478 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6479 octave-lookfor.
6480 (octave-lookfor): New function.
6481
3b7b2692
SM
64822013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6483
35e951cd 6484 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6485 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6486 its convention.
6487 (cl--loop-set-iterator-function): New function.
6488 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6489 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6490 Bind `it' with `let' instead of substituting it with `cl-subst'.
6491 (cl--unused-var-p): New function.
6492 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6493 Eliminate some unused variable warnings (bug#15326).
6494
529fb53f
TH
64952013-09-27 Tassilo Horn <tsdh@gnu.org>
6496
6497 * doc-view.el (doc-view-scale-reset): Rename from
6498 `doc-view-reset-zoom-level'.
6499 (doc-view-scale-adjust): New command.
6500 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6501 `doc-view-scale-adjust'.
6502
0550c95a
TH
65032013-09-26 Tassilo Horn <tsdh@gnu.org>
6504
6505 * doc-view.el (doc-view-reset-zoom-level): New command.
6506 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6507 zoom commands (bug#15466).
6508
6950f152
KH
65092013-09-26 Kenichi Handa <handa@gnu.org>
6510
6511 * international/quail.el (quail-help): Make it not a command.
6512
39587580
LL
65132013-09-26 Leo Liu <sdl.web@gmail.com>
6514
6515 * minibuffer.el (completion-all-sorted-completions): Make args
6516 optional as they are.
6517
00578659
DC
65182013-09-25 Daniel Colascione <dancol@dancol.org>
6519
6520 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6521 specs are and that they're not evaluated.
6522
0c173878
SS
65232013-09-24 Sam Steingold <sds@gnu.org>
6524
6525 * midnight.el (clean-buffer-list-kill-regexps)
6526 (clean-buffer-list-kill-buffer-names): Update for the new Man
6527 buffer naming which includes the object name.
6528
84998447
SM
65292013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6532 (eshell-parse-command, eshell-parse-pipeline): Use it since
6533 eshell-separate-commands requires a dynamic scoped var.
6534 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6535
33215353
LL
65362013-09-23 Leo Liu <sdl.web@gmail.com>
6537
6538 * autoinsert.el (auto-insert-alist): Make the value of
6539 lexical-binding match its file setting.
6540
57b16162
JB
65412013-09-23 Juanma Barranquero <lekktu@gmail.com>
6542
c8af4e67
JB
6543 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6544
57b16162
JB
6545 * autoarg.el (autoarg-kp-digit-argument):
6546 * electric.el (Electric-command-loop):
6547 * kmacro.el (kmacro-step-edit-insert):
6548 Do not set universal-argument-num-events.
6549
7186ba60
LL
65502013-09-22 Leo Liu <sdl.web@gmail.com>
6551
6552 * files.el (interpreter-mode-alist): Add octave.
6553
ece15004
AM
65542013-09-21 Alan Mackenzie <acm@muc.de>
6555
6556 C++: fontify identifier in declaration following "public:" correctly.
6557 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6558 to match "public", etc.
6559 (c-decl-prefix-re): Add ":" into the C++ value.
6560 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6561 bit. Add a check for a ":" preceded by "public", etc.
6562
75d83e22
EZ
65632013-09-21 Eli Zaretskii <eliz@gnu.org>
6564
6565 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6566 recognized by GDB 7.5 and later.
6567
d052d3bd
XF
65682013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6569
6570 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6571
31dca772
R
65722013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * subr.el (internal--call-interactively): New const.
6575 (called-interactively-p): Use it (bug#3984).
6576
98ccf24e
XF
65772013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6578
6579 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6580 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6581 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6582
c39cc7d1
SM
65832013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6586 (eshell-ls-orig-insert-directory): Remove.
6587 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6588 (eshell-ls-use-in-dired): Use advice-add/remove.
6589 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6590 Add `orig-fun' arg for use in :around advice.
6591 Make it check (redundantly) eshell-ls-use-in-dired.
6592
9a0289a2
GM
65932013-09-19 Glenn Morris <rgm@gnu.org>
6594
a2c501b8
GM
6595 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6596
c440407a
GM
6597 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6598
9a0289a2
GM
6599 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6600
85e05915
MA
66012013-09-19 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6604 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6605 (tramp-get-remote-python): New defuns.
6606 (tramp-get-remote-uid-with-perl)
6607 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6608 contributed by yary <not.com@gmail.com> (tiny change).
6609 (tramp-get-remote-uid-with-python)
6610 (tramp-get-remote-gid-with-python): New defuns. Python code
6611 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6612 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6613
ce503312
GM
66142013-09-19 Glenn Morris <rgm@gnu.org>
6615
f7544773
GM
6616 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6617
72fd2877
GM
6618 * eshell/em-unix.el (eshell-remove-entries):
6619 Rename argument to avoid name-clash with global `top-level'.
6620
336b5a56
GM
6621 * eshell/esh-proc.el (eshell-kill-process-function):
6622 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6623 (eshell-reset-after-proc): Remove unused arg `proc'.
6624
57a3a53d
GM
6625 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6626 (directory-files-and-attributes): Mark unused arg.
6627
3261d4af
GM
6628 * eshell/em-unix.el (eshell-remove-entries):
6629 Remove unused arg `path'. Update callers.
6630
8e51b5d0
GM
6631 * eshell/em-hist.el (eshell-hist-parse-arguments):
6632 Remove unused arg `silent'. Update callers.
6633
ce503312
GM
6634 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6635 Fix (f)boundp mix-up.
6636
6637 * eshell/em-smart.el (eshell-smart-scroll-window)
6638 (eshell-disable-after-change):
336b5a56 6639 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6640
ee3ce8a7
AM
66412013-09-18 Alan Mackenzie <acm@muc.de>
6642
6643 Fix fontification of type when followed by "const".
6644 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6645 "known" types from fontification.
6646
ec9177ba
GM
66472013-09-18 Glenn Morris <rgm@gnu.org>
6648
7bb3e768
GM
6649 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6650 (chart-face-list): Drop Emacsen without display-color-p.
6651
5148da15
GM
6652 * net/eww.el (libxml-parse-html-region): Declare.
6653 (eww-display-html): Explicit error if no libxml2 support.
6654
2f68e157
GM
6655 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6656
9019d095
GM
6657 * image.el (image-type-from-buffer, image-multi-frame-p):
6658 Remove --without-x warning/error.
67645389 6659
5f30349b 6660 * mouse.el (mouse-yank-primary):
45069b2e 6661 * term.el (term-mouse-paste):
5f30349b
GM
6662 Reorder to silence --without-x compilation.
6663
cd8edbbe
GM
6664 * mpc.el (doc-view-mode): Silence --without-x compilation.
6665
8a78544e
GM
6666 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6667 Silence --without-x compilation.
6668
12679bfd
GM
6669 * progmodes/gud.el (gud-find-file, gud-mode):
6670 Silence --without-x compilation.
6671 (tooltip-mode): Declare.
30810a05 6672
f0047cb9
GM
6673 * wdired.el (dired-backup-overwrite): Remove declaration.
6674 (wdired-mode-map): Add doc string.
6675
e740f9d2
GM
6676 * custom.el (x-get-resource): Declare.
6677
92d77c89
GM
6678 * eshell/em-glob.el (ange-cache):
6679 * eshell/em-unix.el (ange-cache): Declare.
6680
76e69577
GM
6681 * faces.el (x-display-list, x-open-connection, x-get-resource):
6682 Declare.
7e58af4b
GM
6683
6684 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6685 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6686 Declare.
76e69577 6687
4bd4c0af 6688 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6689
ffb82dbd
GM
6690 * net/gnutls.el (gnutls-log-level): Declare.
6691
986ed135
GM
6692 * net/shr.el (image-size, image-animate): Declare.
6693
e740f9d2
GM
6694 * simple.el (font-info): Declare.
6695
d2f3e9f8
GM
6696 * subr.el (x-popup-dialog): Declare.
6697
047a1a4c
GM
6698 * term/common-win.el (x-select-enable-primary)
6699 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6700 Declare.
6701
f4a1d572
GM
6702 * term/ns-win.el (x-handle-args): Declare.
6703
e843de77
GM
6704 * term/x-win.el (x-select-enable-clipboard): Declare.
6705
5fa89513
GM
6706 * term/w32-win.el (create-default-fontset): Declare.
6707
38702b5b
GM
6708 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6709 Declare.
6710
e740f9d2
GM
6711 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6712 (fit-frame-to-buffer): Explicit error if --without-x.
6713 (mouse-autoselect-window-select): Silence compiler.
6714
49a053fc
GM
6715 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6716
6717 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6718 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6719 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6720 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6721 Remove unused local variables.
6722
6723 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6724
ec9177ba
GM
6725 * textmodes/two-column.el: Make 2C-split work for --without-x.
6726 (scroll-bar-columns): Autoload.
6727 (top-level): Require fringe when compiling.
6728
9f25cb77
LL
67292013-09-18 Leo Liu <sdl.web@gmail.com>
6730
6731 * subr.el (add-hook): Robustify to handle closure as well.
6732
2b42da98
GM
67332013-09-17 Glenn Morris <rgm@gnu.org>
6734
6735 * simple.el (messages-buffer-mode-map): Unbind "g".
6736
e8b66a6a
SM
67372013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6738
9c0ad4f7
SM
6739 * help-mode.el (help-mode-finish): Use derived-mode-p.
6740 Remove obsolete highlighting.
6741
7a806dfb
SM
6742 * play/life.el (life-mode): Use define-derived-mode. Derive from
6743 special-mode.
6744 (life): Let-bind inhibit-read-only.
6745 (life-setup): Avoid `setq'. Use `life-mode'.
6746
96dbf5a8
SM
6747 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6748 which should not be needed any more.
6749 (package-menu-refresh, package-menu-describe-package): Use user-error.
6750
e8b66a6a
SM
6751 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6752 (eshell-post-rewrite-command-hook): Make obsolete.
6753 (eshell-parse-command): Simplify.
6754 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6755 (eshell--cmd): Declare.
6756 (eshell-parse-pipeline): Remove unused var `final-p'.
6757 Pass a dynvar to eshell-post-rewrite-command-hook.
6758 Implement the new eshell-post-rewrite-command-function.
6759 (eshell-invoke-directly): Remove unused arg `input'.
6760 * eshell/esh-io.el (eshell-io-initialize):
6761 Use eshell-post-rewrite-command-function (bug#15399).
6762 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6763 adjust to new calling convention.
6764 (eshell-create-handles): Rename args to avoid clashing with dynvar
6765 `standard-output'.
6766
90582f05
GM
67672013-09-17 Glenn Morris <rgm@gnu.org>
6768
6769 * simple.el (messages-buffer-mode): New major mode.
6770 (messages-buffer): New function.
6771 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6772 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6773 (ert-run-test): Use `messages-buffer' function.
90582f05 6774 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6775 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6776 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6777
39eb0cb5 67782013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6779
6780 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6781
1d42e5b6 6782 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6783
70568a90
SM
67842013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6785
504a0381
SM
6786 * icomplete.el (icomplete-in-buffer): New var.
6787 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6788 vars and replace them with functions.
6789 (icomplete-minibuffer-setup): Adjust accordingly.
6790 (icomplete--completion-table, icomplete--completion-predicate)
6791 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6792 New functions.
6793 (icomplete-forward-completions, icomplete-backward-completions)
6794 (icomplete-simple-completing-p, icomplete-exhibit)
6795 (icomplete-completions): Use them.
6796 (icomplete--in-region-buffer): New var.
6797 (icomplete--in-region-setup): New function.
6798 (icomplete-mode): Use it.
6799
70568a90
SM
6800 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6801 (bug#15379).
6802 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6803 return args and options.
6804 (eshell-eval-using-options): Use the new return value of
6805 eshell--do-opts to set the options's vars in their scope.
6806 (eshell--set-option): Rename from eshell-set-option.
6807 Add arg `opt-vals'.
6808 (eshell--process-option): Rename from eshell-process-option.
6809 Add arg `opt-vals'.
6810 (eshell--process-args): Use an `opt-vals' alist to store the options's
6811 values during their processing and return them additionally to the
6812 remaining args.
6813
578c21bc
DG
68142013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6815
6816 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6817 continuation character an operator, as far as indentation is
6818 concerned (Bug#15369).
6819
c089653d
MR
68202013-09-15 Martin Rudalics <rudalics@gmx.at>
6821
6822 * window.el (window--state-put-2): Don't process buffer state
6823 when buffer doesn't exist any more (Bug#15382).
6824
1e53bb4b
GM
68252013-09-15 Glenn Morris <rgm@gnu.org>
6826
30753242
GM
6827 * eshell/em-unix.el (eshell/rm):
6828 Make -f ignore missing files. (Bug#15373)
6829
1e53bb4b
GM
6830 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6831 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6832 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6833
0d8863b3
GM
68342013-09-14 Glenn Morris <rgm@gnu.org>
6835
6836 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6837
d3fc6549
GM
68382013-09-13 Glenn Morris <rgm@gnu.org>
6839
6840 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6841 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6842
fcd42c11
DA
68432013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6844
6845 * frame.el (x-focus-frame): Mark as declared in frame.c.
6846
7830899f
SM
68472013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * ls-lisp.el: Use advice-add.
6850 (original-insert-directory): Remove.
6851 (ls-lisp--insert-directory): Rename from insert-directory; add
6852 `orig-fun' argument.
6853 (insert-directory): Advise.
6854
84387cd2
EZ
68552013-09-13 Eli Zaretskii <eliz@gnu.org>
6856
6857 * term.el (term-emulate-terminal): Decode the command string
6858 before passing it to term-command-hook. (Bug#15337)
6859
35ffc6ba
GM
68602013-09-13 Glenn Morris <rgm@gnu.org>
6861
5c3f9bcc
GM
6862 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6863
2ada368a
GM
6864 * eshell/esh-ext.el (eshell-search-path): Declare.
6865
fcef2e13
GM
6866 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6867 Otherwise an error occurs if eshell-dirs module not loaded.
6868
35ffc6ba
GM
6869 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6870
35c3d36e
MA
68712013-09-13 Michael Albinus <michael.albinus@gmx.de>
6872
6873 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6874 `tramp-check-proper-host'. Check for a valid method name.
6875
6876 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6877 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6878 * net/tramp-sh.el (tramp-maybe-open-connection):
6879 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6880
6881 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6882 also for hash values.
6883
ae5e4c48
SM
68842013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6885
379add74
SM
6886 * term/ns-win.el (parameters): Don't declare as dynamic.
6887 (before-make-frame-hook): Don't add ineffective function.
6888
ae5e4c48
SM
6889 * eshell/*.el: Use lexical-binding (bug#15231).
6890
b5623270
KH
68912013-09-12 Kenichi Handa <handa@gnu.org>
6892
ae5e4c48 6893 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6894
30213927
GM
68952013-09-12 Glenn Morris <rgm@gnu.org>
6896
be94d713 6897 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6898 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6899
44915370
GM
6900 * subr.el (do-after-load-evaluation): Also give compiler warnings
6901 when obsolete files are used (except by obsolete files).
6902
a6ae021f
GM
6903 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6904 in the status output, assume `filename' is the first. (Bug#15322)
6905
40e64f0c
GM
6906 * vc/vc.el (vc-deduce-fileset): Doc fix.
6907
16d9f896
GM
6908 * calc/calc-help.el (Info-goto-node):
6909 * progmodes/cperl-mode.el (Info-find-node):
6910 * vc/ediff.el (Info-goto-node): Update declarations.
6911
dea01c6e
GM
6912 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6913
759880bf 6914 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6915 (vc-bzr-pull): Require vc-dispatcher.
6916 * vc/vc-git.el (vc-compilation-mode): Declare.
6917 (vc-git-pull): Require vc-dispatcher.
6918
08d66420
GM
6919 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6920
30b626e9
GM
6921 * progmodes/octave.el (help-button-action): Declare.
6922
8c05cb10
GM
6923 * shell.el (shell-directory-tracker): Output error as a message
6924 rather than just returning it as a string.
6925 (shell-process-pushd): Remove useless use of message.
6926
30213927
GM
6927 * dframe.el (dframe-timer-fn):
6928 * files.el (dir-locals-read-from-file):
6929 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6930 (mpc-format):
6931 * reveal.el (reveal-post-command):
6932 * saveplace.el (load-save-place-alist-from-file):
6933 * shell.el (shell-resync-dirs):
6934 * w32-common-fns.el (x-get-selection-value):
6935 * emacs-lisp/copyright.el (copyright-find-copyright):
6936 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6937 * emulation/tpu-edt.el (tpu-copy-keyfile):
6938 * play/bubbles.el (bubbles--mark-neighbourhood):
6939 * progmodes/executable.el
6940 (executable-make-buffer-file-executable-if-script-p):
6941 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6942
d3b049e6
SM
69432013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6944
170266d0
SM
6945 Cleanup Eshell to rely less on dynamic scoping.
6946 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6947 last-value, and ext-command here. Bind `args' closer to `body'.
6948 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6949 (eshell--args): Declare new dynamic var.
6950 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6951 last-value, and ext-command. Pass `args' to `body'.
6952 (eshell-process-args): Bind eshell--args.
6953 (eshell-set-option): Use eshell--args.
6954 * eshell/eshell.el (eshell): Use derived-mode-p.
6955 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6956 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6957 (eshell-glob-function): Declare.
6958 * eshell/esh-util.el: Require cl-lib.
6959 (eshell-read-hosts-file): Avoid add-to-list.
6960 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6961 `err'.
6962 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6963 Declare.
6964 (eshell/diff): Remove unused var `err'.
6965 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6966 `killflag'.
6967 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6968 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6969 first use.
6970 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6971 Move declaration before first use.
6972 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6973 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6974 rely on cl-return.
6975
56834f3b
GM
69762013-09-12 Glenn Morris <rgm@gnu.org>
6977
6978 * term/ns-win.el (global-map): Remove binding for ispell-next,
6979 deleted 1999-05-29. (Bug#15357)
6980
5c91a2b8
GM
69812013-09-11 Glenn Morris <rgm@gnu.org>
6982
da712f22
GM
6983 * echistory.el (electric-command-history): Remove call to deleted func.
6984
512e4cdc
GM
6985 * play/landmark.el (landmark-mode): Fix typos.
6986
d3506ca5
GM
6987 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6988 Check cvs-sort-ignore-file is bound.
6989
5c91a2b8
GM
6990 * savehist.el: No need for cl when compiling on Emacs.
6991
feeff482
SM
69922013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6993
656bd483
SM
6994 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6995 (bug#15338).
d3b049e6
SM
6996 (eshell-self-insert-command, eshell-send-invisible):
6997 Remove unused argument.
656bd483
SM
6998 (eshell-handle-control-codes): Remove unused var `orig'.
6999 Avoid delete-backward-char.
7000
feeff482
SM
7001 * files.el (set-auto-mode): Simplify a bit further.
7002
2a08047a
GM
70032013-09-11 Glenn Morris <rgm@gnu.org>
7004
7005 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7006 (set-auto-mode): Don't regexp-quote elements.
7007 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7008 * progmodes/cc-mode.el (interpreter-mode-alist):
7009 * progmodes/ruby-mode.el (interpreter-mode-alist):
7010 Revert previous change.
7011
34675540
SM
70122013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7013
1b3b87df
SM
7014 * play/snake.el (snake-mode):
7015 * play/mpuz.el (mpuz-mode):
7016 * play/landmark.el (lm-mode):
7017 * play/blackbox.el (blackbox-mode):
7018 * play/5x5.el (5x5-mode):
7019 * obsolete/options.el (Edit-options-mode):
7020 * net/quickurl.el (quickurl-list-mode):
7021 * net/newst-treeview.el (newsticker-treeview-mode):
7022 * mail/rmailsum.el (rmail-summary-mode):
7023 * mail/mspools.el (mspools-mode):
7024 * locate.el (locate-mode):
7025 * ibuffer.el (ibuffer-mode):
7026 * emulation/ws-mode.el (wordstar-mode):
7027 * emacs-lisp/debug.el (debugger-mode):
7028 * array.el (array-mode):
7029 * net/eudc.el (eudc-mode): Use define-derived-mode.
7030 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7031 Move initialization into declaration.
7032 (mairix-searches-mode): Use define-derived-mode.
7033 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7034 (eudc-edit-hotlist): Use dolist.
7035 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7036 (Man-mode): Use define-derived-mode.
7037 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7038 (Info-edit-mode): Use define-derived-mode.
7039 (Info-cease-edit): Use Info-mode.
7040 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7041 into declaration.
7042 (eshell-mode): Use define-derived-mode.
7043 * chistory.el (command-history-mode-map): Rename from
7044 command-history-map.
7045 (command-history-mode): Use define-derived-mode.
da712f22 7046 (Command-history-setup): Remove function.
1b3b87df
SM
7047 * calc/calc.el (calc-trail-mode-map): New var.
7048 (calc-trail-mode): Use define-derived-mode.
7049 (calc-trail-buffer): Set calc-main-buffer manually.
7050 * bookmark.el (bookmark-insert-annotation): New function.
7051 (bookmark-edit-annotation): Use it.
7052 (bookmark-edit-annotation-mode): Make it a proper major mode.
7053 (bookmark-send-edited-annotation): Use derived-mode-p.
7054 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7055 closer to its ideal place. Use \' to match EOS.
7056
34675540
SM
7057 * profiler.el (profiler-calltree-find): Use function-equal.
7058
6a5c15d9
GM
70592013-09-10 Glenn Morris <rgm@gnu.org>
7060
1af4c220
GM
7061 * files.el (interpreter-mode-alist): Convert to regexps.
7062 (set-auto-mode): Adapt for this. (Bug#15306)
7063 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7064 Comment out unused variable.
7065 * progmodes/cc-mode.el (interpreter-mode-alist):
7066 * progmodes/python.el (interpreter-mode-alist):
7067 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7068 * progmodes/sh-script.el (sh-set-shell):
7069 No longer use interpreter-mode-alist to get list of shells.
7070
6a5c15d9
GM
7071 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7072
8c27f5ff
SM
70732013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7074
02ef6c1a 7075 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7076 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
7077 Bind switch-frame explicitly. Replace universal-argument-minus with
7078 a conditional binding.
7079 (universal-argument-num-events, saved-overriding-map): Remove.
7080 (restore-overriding-map): Remove.
7081 (universal-argument--mode): Rename from save&set-overriding-map,
7082 and rewrite.
7083 (universal-argument, universal-argument-more, negative-argument)
7084 (digit-argument): Adjust accordingly.
7085 (universal-argument-minus): Remove.
7086 (universal-argument-other-key): Remove.
7087
8c27f5ff
SM
7088 * subr.el (with-demoted-errors): Add `format' argument.
7089
6480194c
MA
70902013-09-10 Michael Albinus <michael.albinus@gmx.de>
7091
7092 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7093 `tramp-cleanup-connection'.
7094
7095 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7096 parameters KEEP-DEBUG and KEEP-PASSWORD.
7097
7098 * net/tramp.el (tramp-file-name-handler):
7099 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7100 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7101 (tramp-maybe-open-connection):
8c27f5ff
SM
7102 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7103 Use `tramp-cleanup-connection'.
6480194c 7104
8c27f5ff
SM
7105 * net/tramp-sh.el (tramp-maybe-open-connection):
7106 Catch 'uname-changed inside the progress reporter.
6480194c 7107
e5e916d8
GM
71082013-09-10 Glenn Morris <rgm@gnu.org>
7109
9a2c9b47
GM
7110 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7111
e5e916d8
GM
7112 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7113 returns "alternate access method" in mode (eg "-rw-r--r--.").
7114
144e38fe
GM
71152013-09-08 Glenn Morris <rgm@gnu.org>
7116
7117 * saveplace.el (load-save-place-alist-from-file):
7118 Demote errors. (Bug#15305)
7119
af9ff9e8
MA
71202013-09-08 Michael Albinus <michael.albinus@gmx.de>
7121
7122 Improve compatibility with older Emacsen, and XEmacs.
7123
7124 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7125 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
7126 (with-tramp-progress-reporter): Do not let-bind `result'.
7127 This yields to scoping errors in XEmacs.
af9ff9e8
MA
7128 (tramp-handle-make-auto-save-file-name): New function, moved from
7129 tramp-sh.el.
7130
7131 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7132 for `make-auto-save-file-name'.
8c27f5ff
SM
7133 (tramp-adb--gnu-switches-to-ash):
7134 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7135
7136 * net/tramp-cache.el (tramp-cache-print): Call
7137 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7138
7139 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7140 bound. It isn't for XEmacs.
7141
8c27f5ff
SM
7142 * net/tramp-compat.el (tramp-compat-copy-file):
7143 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7144 (tramp-compat-replace-regexp-in-string): New defun.
7145
7146 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7147 for `make-auto-save-file-name'.
7148 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7149 `copy-file'.
7150 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7151 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7152 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7153
8c27f5ff
SM
7154 * net/tramp-gw.el (tramp-gw-open-network-stream):
7155 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7156
8c27f5ff
SM
7157 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7158 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7159 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7160 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7161 (tramp-sh-file-inotifywait-process-filter):
7162 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7163 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7164
7165 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7166 for `make-auto-save-file-name'.
8c27f5ff
SM
7167 (tramp-smb-handle-copy-directory):
7168 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7169 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7170 (tramp-smb-handle-copy-file): Improve error message.
7171 (tramp-smb-handle-rename-file): Rename directly only in case
7172 `newname' does not exist yet. This is a restriction of smbclient.
7173 (tramp-smb-maybe-open-connection): Rerun the function only when
7174 `auth-sources' is non-nil.
7175
0ca754d0
KH
71762013-09-08 Kenichi Handa <handa@gnu.org>
7177
e0eb0550 7178 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7179 more characters.
7180
e8dd0787
AM
71812013-09-07 Alan Mackenzie <acm@muc.de>
7182
7183 Correctly fontify Java class constructors.
7184 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7185 in Java Mode.
7186 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7187 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7188 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7189 "typeless" declaration there.
7190
f2f248e7
RW
71912013-09-07 Roland Winkler <winkler@gnu.org>
7192
7193 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7194 field subtitle for entry type book.
7195
67982e2b
SM
71962013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * minibuffer.el: Make minibuffer-complete call completion-in-region
7199 rather than other way around.
7200 (completion--some, completion-pcm--find-all-completions):
7201 Don't delay signals when debugging.
7202 (minibuffer-completion-contents): Beware fields within the
7203 minibuffer contents.
7204 (completion-all-sorted-completions): Use defvar-local.
7205 (completion--do-completion, completion--cache-all-sorted-completions)
7206 (completion-all-sorted-completions, minibuffer-force-complete):
7207 Add args `beg' and `end'.
7208 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7209 (minibuffer-complete): Use completion-in-region.
7210 (completion-complete-and-exit): New fun, extracted from
7211 minibuffer-complete-and-exit.
7212 (minibuffer-complete-and-exit): Use it.
7213 (completion--complete-and-exit): Rename from
7214 minibuffer--complete-and-exit.
7215 (completion-in-region--single-word): New function, extracted from
7216 minibuffer-complete-word.
7217 (minibuffer-complete-word): Use it.
7218 (display-completion-list): Make `common-substring' argument obsolete.
7219 (completion--in-region): Call completion--in-region-1 instead of
7220 minibuffer-complete.
7221 (completion-help-at-point): Pass boundaries to
7222 minibuffer-completion-help as args rather than via an overlay.
7223 (completion-pcm--string->pattern): Use `any-delim'.
7224 (completion-pcm--optimize-pattern): New function.
7225 (completion-pcm--pattern->regex): Handle `any-delim'.
7226 * icomplete.el (icomplete-forward-completions)
7227 (icomplete-backward-completions, icomplete-completions):
7228 Adjust calls to completion-all-sorted-completions and
7229 completion--cache-all-sorted-completions.
7230 (icomplete-with-completion-tables): Default to t.
7231 * emacs-lisp/crm.el (crm--current-element): Rename from
7232 crm--select-current-element. Don't put an overlay but return the
7233 boundaries instead.
7234 (crm--completion-command): Take two new args to bind to the boundaries.
7235 (crm-completion-help): Adjust accordingly.
7236 (crm-complete): Use completion-in-region.
7237 (crm-complete-word): Use completion-in-region--single-word.
7238 (crm-complete-and-exit): Use completion-complete-and-exit.
7239
e17d94a5
SM
72402013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7243 than dynamically.
7244
96727100
JL
72452013-09-06 Juri Linkov <juri@jurta.org>
7246
7247 * info.el (Info-display-images-node): When image file doesn't exist
7248 display text version of the image if it's provided in the Info file.
7249 Otherwise, display the location of missing image from SRC attribute.
7250 Add help-echo text property from ALT attribute. (Bug#15279)
7251
86cf7329
SM
72522013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7255 (edit-abbrevs-mode): Use define-derived-mode.
7256
7257 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7258 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7259 that it's defined.
7260 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7261 Use define-derived-mode.
7262
7263 * epg.el (epg-start-encrypt): Minor CSE simplification.
7264
816244a2
WX
72652013-09-06 William Xu <william.xwl@gmail.com>
7266
7267 * arc-mode.el: Add support for 7za (bug#15264).
7268 (archive-7z-program): New var.
7269 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7270 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7271 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7272
1486fa31
MA
72732013-09-06 Michael Albinus <michael.albinus@gmx.de>
7274
7275 Remove URL syntax.
7276
7277 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7278 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7279 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7280 (tramp-postfix-host-format, tramp-file-name-regexp)
7281 (tramp-completion-file-name-regexp)
7282 (tramp-completion-dissect-file-name)
7283 (tramp-handle-substitute-in-file-name): Remove 'url case.
7284 (tramp-file-name-regexp-url)
7285 (tramp-completion-file-name-regexp-url): Remove constants.
7286
39785324
GM
72872013-09-06 Glenn Morris <rgm@gnu.org>
7288
7289 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7290
1f896cb7
DG
72912013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7292
7293 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7294 keywords" below "here-doc beginnings" (Bug#15270).
7295
c0458e0b
SM
72962013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7297
7298 * subr.el (pop): Use `car-safe'.
7299 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7300 to detect unused `pop' return value.
7301
7302 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7303 var `block-regexp'.
7304 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7305 (python-fill-string): Remove unused var `marker'.
7306 (python-skeleton-add-menu-items): Remove unused var `items'.
7307
7308 * international/mule-cmds.el: Require CL.
7309 (find-coding-systems-for-charsets): Avoid add-to-list.
7310 (sanitize-coding-system-list): New function, extracted from
7311 select-safe-coding-system-interactively.
7312 (select-safe-coding-system-interactively): Use it.
7313 (read-input-method-name): Accept symbols for `default'.
7314
7315 * emacs-lisp/advice.el (defadvice): Add indent rule.
7316
6c42fc3e
DH
73172013-09-05 Daniel Hackney <dan@haxney.org>
7318
7319 * dired-x.el:
7320 * net/ange-ftp.el:
7321 * net/browse-url.el:
7322 * net/dbus.el:
7323 * net/eudc.el:
7324 * net/eudcb-ldap.el:
7325 * net/eww.el:
7326 * net/imap.el:
7327 * printing.el:
7328 * vc/ediff-diff.el:
7329 * vc/ediff-init.el:
7330 * vc/ediff-merg.el:
7331 * vc/ediff-mult.el:
7332 * vc/ediff-util.el:
7333 * vc/ediff-wind.el:
7334 * vc/ediff.el:
7335 * vc/emerge.el:
7336 * vc/pcvs.el:
7337 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7338 byte compiler. Remove some unused let-bound variables.
7339
4c528aab
SM
73402013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7343 a "ref-cell", since it gets better optimized (bug#14883).
7344
bd15c390
GM
73452013-09-05 Glenn Morris <rgm@gnu.org>
7346
7347 * progmodes/cc-awk.el (c-forward-sws): Declare.
7348
1c3ac2e5
GM
73492013-09-04 Glenn Morris <rgm@gnu.org>
7350
7351 * generic-x.el [rul-generic-mode]: Require cc-mode.
7352 (c++-mode-syntax-table): Declare.
7353 (rul-generic-mode-syntax-table): Init in the defvar.
7354
52b1cc79
SM
73552013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7356
c828af56
SM
7357 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7358 (vc-do-command, vc-set-async-update):
7359 * vc/vc-mtn.el (vc-mtn-dir-status):
7360 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7361 (vc-hg-pull, vc-hg-merge-branch):
7362 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7363 (vc-git-merge-branch):
7364 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7365 (vc-cvs-dir-status-files):
7366 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7367 (vc-bzr-dir-status-files):
7368 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7369 * vc/vc-annotate.el: Use lexical-binding.
7370 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7371 (vc-sentinel-movepoint): Declare.
7372 (vc-annotate): Don't use `goto-line'.
7373 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7374 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7375 (vc-sentinel-movepoint): Declare.
7376 * vc/vc-svn.el: Use lexical-binding.
7377 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7378 * vc/vc-sccs.el:
7379 * vc/vc-rcs.el: Use lexical-binding.
7380
abae272c
SM
7381 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7382 `deleted'. Don't drop errors silently.
7383
52b1cc79
SM
7384 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7385
63191d9f
XF
73862013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7387
7388 * vc/vc.el (vc-ignore): Rewrite.
7389 (vc-default-ignore): New function.
7390 (vc-default-ignore-completion-table): Use find-ignore-file.
7391
7392 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7393 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7394 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7395 Remove. Most code moved to vc.el.
7396
9d3f707c
SM
73972013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7398
abae272c 7399 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7400 * net/tramp-smb.el (tramp-smb-get-file-entries):
7401 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7402 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7403
fde38d49
SM
7404 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7405 Update call to it.
7406 (eww-change-select): Remove unused var `properties'.
7407 (eww-make-unique-file-name): Remove unused var `base'.
7408
7409 * finder.el (finder-compile-keywords): Don't mess with windows.
7410
84032db7
SM
7411 * calculator.el (calculator-funcall): Fix typo in last change.
7412
724f5e41
SM
7413 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7414
14b511d4
SM
7415 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7416 <pkg>-autoloads.el file stop us.
7417
9d3f707c 7418 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7419 warnings, and factor out common code.
9d3f707c 7420
88527bc0
DG
74212013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7422
7423 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7424 two-character operators and whether the character preceding them
7425 changes their meaning (Bug#15208).
7426
96edb677
FEG
74272013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7428
7429 Format code sent to Python shell for robustness.
9d3f707c
SM
7430 * progmodes/python.el (python-shell-buffer-substring):
7431 New function.
96edb677
FEG
7432 (python-shell-send-region, python-shell-send-buffer): Use it.
7433
95beaef3
MA
74342013-09-02 Michael Albinus <michael.albinus@gmx.de>
7435
7436 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7437 * net/tramp.el (tramp-user-error): ... here.
7438 (tramp-find-method, tramp-check-proper-host)
7439 (tramp-dissect-file-name, tramp-debug-message)
7440 (tramp-handle-shell-command):
7441 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7442 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7443
7444 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7445
f167c27b
MR
74462013-09-02 Martin Rudalics <rudalics@gmx.at>
7447
7448 * avoid.el (mouse-avoidance-point-position)
7449 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7450 returns nil.
7451
cd16c5f1
FEG
74522013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7453
7454 * progmodes/python.el (python-shell-completion-get-completions):
7455 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7456 (python-nav-if-name-main): New command.
cd16c5f1 7457
e73c3a0d
GM
74582013-09-01 Glenn Morris <rgm@gnu.org>
7459
f8ccce03
GM
7460 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7461 Avoid leading space in $wins. Otherwise the sed command used by
7462 eg compile-main ends up containing "/*.el". (Bug#15170)
7463
e73c3a0d
GM
7464 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7465
415f808e
GM
74662013-08-30 Glenn Morris <rgm@gnu.org>
7467
7468 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7469 Fix is-this-a-directory logic. (Bug#15220)
7470
f069bba8
SM
74712013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7472
112798c1
SM
7473 * textmodes/css-mode.el: Use SMIE.
7474 (css-smie-grammar): New var.
7475 (css-smie--forward-token, css-smie--backward-token)
7476 (css-smie-rules): New functions.
7477 (css-mode): Use them.
7478 (css-navigation-syntax-table): Remove var.
7479 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7480 (css-indent-calculate, css-indent-line): Remove functions.
7481
7482 Misc changes to reduce use of `(lambda...); and other cleanups.
7483 * cus-edit.el: Use lexical-binding.
7484 (customize-push-and-save, customize-apropos)
7485 (custom-buffer-create-internal): Use closures.
7486 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7487 * progmodes/ada-xref.el: Use setq.
7488 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7489 * dframe.el: Use lexical-binding.
7490 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7491 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7492 * descr-text.el: Use lexical-binding.
7493 (describe-text-widget, describe-text-sexp, describe-property-list):
7494 Use closures.
7495 * comint.el (comint-history-isearch-push-state): Use a closure.
7496 * calculator.el: Use lexical-binding.
7497 (calculator-number-to-string): Make it work with lexical-binding.
7498 (calculator-funcall): Same and use cl-letf.
7499
2da4c3ab
SM
7500 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7501 (lisp--company-doc-string, lisp--company-location): New functions.
7502 (lisp-completion-at-point): Use them to improve Company support.
7503
f069bba8
SM
7504 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7505 params of lambda expressions.
7506 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7507 (ruby-smie--opening-pipe-p): New function.
7508 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7509 symbols and matched |...| for formal params.
7510 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7511 from being treated as hanging. Handle "rescue".
7512
6758b6a8
GM
75132013-08-29 Glenn Morris <rgm@gnu.org>
7514
7515 * progmodes/cc-engine.el (c-pull-open-brace):
7516 Move definition before use.
7517
e8dfd197
SM
75182013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7519
7520 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7521 are immutable. Don't use `unsafe' any more.
7522 (cl--defsubst-expand): Don't substitute at the same time as keeping
7523 a residual unused let-binding. Don't use `unsafe' any more.
7524
cc585c96
GM
75252013-08-29 Glenn Morris <rgm@gnu.org>
7526
ba579ea6
GM
7527 * calendar/cal-china.el (calendar-chinese-year-cache):
7528 Recenter on 2015.
7529
8201a87e
GM
7530 * nxml/nxml-util.el (nxml-debug-clear-inside):
7531 Use cl-loop rather than loop.
7532
6ee877c7
GM
7533 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7534
cc585c96
GM
7535 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7536
27be8d39
GM
75372013-08-28 Glenn Morris <rgm@gnu.org>
7538
397440a1
GM
7539 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7540
2bb762d4
GM
7541 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7542
27be8d39
GM
7543 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7544
2d69b99e
SM
75452013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7546
f663baa7
SM
7547 * simple.el (repeat-complex-command--called-interactively-skip):
7548 New function.
7549 (repeat-complex-command): Use it (bug#14136).
7550
dd4f8b74
SM
7551 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7552 (c-define-abbrev-table): Add `doc' argument.
7553 (c-mode-abbrev-table, c++-mode-abbrev-table)
7554 (objc-mode-abbrev-table, java-mode-abbrev-table)
7555 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7556 (awk-mode-abbrev-table): Use it.
7557 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7558 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7559 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7560 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7561 Move initialization into the declaration; and remove any
7562 autoload cookie.
7563
b58969f7
SM
7564 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7565 and dynamic let binding.
7566
4021d6a6
SM
7567 * vc/smerge-mode.el: Remove redundant :group args.
7568
2d69b99e
SM
7569 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7570 to load-path.
7571
274919fd
JL
75722013-08-28 Juri Linkov <juri@jurta.org>
7573
7574 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7575 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7576 (isearch-other-meta-char): Handle an undefined shifted printing
7577 character by downshifting it. (Bug#15200)
7578
121f8c95
JL
75792013-08-28 Juri Linkov <juri@jurta.org>
7580
7581 * isearch.el (isearch-search): Change regexp error message for
7582 non-regexp searches. (Bug#15166)
7583
50b13cde
PE
75842013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7585
7586 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7587 for portability to hosts where /bin/sh has problems.
7588
95888bca
SM
75892013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7590
7591 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7592
bbe558f1
JL
75932013-08-27 Juri Linkov <juri@jurta.org>
7594
7595 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7596 in the keyboard macro. (Bug#15126)
7597
26f98a7d
JL
75982013-08-27 Juri Linkov <juri@jurta.org>
7599
7600 * isearch.el (isearch-quote-char): Comment out converting unibyte
7601 to multibyte, thus syncing with its `quoted-insert' counterpart.
7602 (Bug#15166)
7603
7c97d35e
MR
76042013-08-27 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7607 argument in call of get-largest-window (Bug#15185).
7608 Reported by Stephen Leake.
7c97d35e 7609
a0b5606e 76102013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7611
7612 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7613
9e89d835
SM
76142013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7617 from a matcher-function unless there's no more matches (bug#15161).
7618
78fc2530
MA
76192013-08-26 Michael Albinus <michael.albinus@gmx.de>
7620
7621 * minibuffer.el: Revert change from 2013-08-20.
7622
7623 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7624 with text property `tramp-default', if appropriate.
7625 (tramp-check-proper-host): New defun.
7626 (tramp-dissect-file-name): Do not check hostname. Revert change
7627 of 2013-03-18.
7628 (tramp-backtrace): Make VEC-OR-PROC optional.
7629
7630 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7631 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7632 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7633 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7634 Apply `tramp-check-proper-host'.
78fc2530 7635
edca97cd
TH
76362013-08-26 Tassilo Horn <tsdh@gnu.org>
7637
7638 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7639 lambda expression in order to have `describe-variable' display it.
7640
df54bcbd
MA
76412013-08-26 Michael Albinus <michael.albinus@gmx.de>
7642
7643 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7644 BUF can be optional. (Bug#15186)
7645
eed99101
XF
76462013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7647
7648 * progmodes/flymake.el (flymake-get-real-file-name-function):
7649 Fix broken customization. (Bug#15184)
7650
b5eb9035
AM
76512013-08-25 Alan Mackenzie <acm@muc.de>
7652
8a51e842
AM
7653 Improve indentation of bracelists defined by macros (without "=").
7654
7655 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7656 expansion begins with "{", regard it as bracelist when it doesn't
7657 contain a ";".
7658
869455d4
AM
7659 Parse C++ inher-intro when there's a template split over 2 lines.
7660
7661 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7662 rigorously the search for "class" etc. followed by ":".
7663
7664 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7665 random languages a regexp which never matches rather than nil.
7666
b5eb9035
AM
7667 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7668
7669 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7670 (c-awk-regexp-one-line-possibly-open-char-list-re)
7671 (c-awk-one-line-possibly-open-regexp-re)
7672 (c-awk-one-line-non-syn-ws*-re): Remove.
7673 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7674 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7675 (c-awk-space*-unclosed-regexp-/-re): New constants.
7676 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7677 aren't regexp delimiters.
7678
7679 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7680 handling for a rare situation in AWK Mode involving unterminated
7681 strings/regexps.
7682
61611d54
GM
76832013-08-23 Glenn Morris <rgm@gnu.org>
7684
2d85dc34
GM
7685 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7686
cb8d2612
GM
7687 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7688
bb35f42f
GM
7689 * files.el (create-file-buffer): If the result would begin with
7690 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7691
b9808e77
SM
76922013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7693
e3a66363
SM
7694 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7695 text-properties (bug#15155).
7696
b9808e77
SM
7697 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7698 exist any more.
7699 (calc-keypad-redraw): Remove unused var `pad'.
7700 (calc-keypad-press): Remove unused var `menu'.
7701
7fd5f65e
MR
77022013-08-23 Martin Rudalics <rudalics@gmx.at>
7703
b9808e77
SM
7704 * window.el (display-buffer-pop-up-frame):
7705 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7706 use it as the new frame's buffer (Bug#15133).
7707
8352b530
SM
77082013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * calendar/timeclock.el: Minor cleanups.
7711 (timeclock-ask-before-exiting, timeclock-use-display-time):
7712 Use `symbol'.
7713 (timeclock-modeline-display): Define as alias before the
7714 actual definition.
7715 (timeclock-mode-line-display): Use define-minor-mode.
7716 (timeclock-day-list-template): Make it a function, add an argument.
7717 (timeclock-day-list-required, timeclock-day-list-length)
7718 (timeclock-day-list-debt, timeclock-day-list-span)
7719 (timeclock-day-list-break): Adjust calls accordingly.
7720
9f7b1925
SM
77212013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7724 Use read--expression so that completion works again.
7725
6e50e983
SS
77262013-08-21 Sam Steingold <sds@gnu.org>
7727
7728 Add rudimentary inferior shell interaction
7729 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7730 (sh-set-shell): Reset it.
9f7b1925
SM
7731 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7732 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7733
dbb0d350
SM
77342013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 * align.el: Use lexical-binding.
7737 (align-region): Simplify accordingly.
7738
c88586a9
MA
77392013-08-20 Michael Albinus <michael.albinus@gmx.de>
7740
7741 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7742
7743 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7744 `non-essential' up.
7745
f95527c8
MA
77462013-08-17 Michael Albinus <michael.albinus@gmx.de>
7747
7748 * net/tramp.el:
7749 * net/tramp-adb.el:
7750 * net/tramp-cmds.el:
7751 * net/tramp-ftp.el:
7752 * net/tramp-gvfs.el:
7753 * net/tramp-gw.el:
7754 * net/tramp-sh.el: Don't wrap external variable declarations by
7755 `eval-when-compile'.
7756
4b5fe4ee
LMI
77572013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7758
7759 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7760 now that Emacs supports ImageMagick animations.
7761
13c366c9
MA
77622013-08-16 Michael Albinus <michael.albinus@gmx.de>
7763
7764 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7765 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7766
3dfc5cd6
MR
77672013-08-16 Martin Rudalics <rudalics@gmx.at>
7768
7769 * window.el (mouse-autoselect-window-select): Do autoselect when
7770 mouse pointer is on margin.
7771
4bbb4381
WP
77722013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7773
7774 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7775
3a2ddc2d
GM
77762013-08-16 Glenn Morris <rgm@gnu.org>
7777
e8bedf5a
GM
7778 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7779 Handle "Remote Directory" response of some clients. (Bug#15058)
7780
58c4682f
GM
7781 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7782 Tweak warning. (Bug#14926)
7783
57953f49
GM
7784 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7785 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7786
3a2ddc2d
GM
7787 * image-mode.el (image-mode-map): Add menu items to reverse,
7788 increase, decrease, reset animation speed.
7789 (image--set-speed, image-increase-speed, image-decrease-speed)
7790 (image-reverse-speed, image-reset-speed): New functions.
7791 (image-mode-map): Add bindings for speed commands.
7792
7793 * image.el (image-animate-get-speed, image-animate-set-speed):
7794 New functions.
7795 (image-animate-timeout): Respect image :speed property.
7796
10fa0ed3
SM
77972013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7800 previous line (bug#15101).
7801 (debugger-eval-expression, debugger-record-expression):
7802 Use read--expression (bug#15102).
7803
5d89d9d2
MA
78042013-08-15 Michael Albinus <michael.albinus@gmx.de>
7805
7806 Remove byte compiler warnings, visible when compiling with
7807 `byte-compile-force-lexical-warnings' set to t.
7808
7809 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7810 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7811 (tramp-handle-unhandled-file-name-directory)
7812 (tramp-handle-file-notify-add-watch, tramp-action-login)
7813 (tramp-action-succeed, tramp-action-permission-denied)
7814 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7815 arguments with "_".
7816
7817 * net/tramp-adb.el (tramp-adb-parse-device-names)
7818 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7819 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7820 (tramp-adb-handle-file-truename): Remove unused arguments.
7821
7822 * net/tramp-cache.el (tramp-flush-directory-property)
7823 (tramp-flush-connection-property, tramp-list-connections)
7824 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7825
10fa0ed3
SM
7826 * net/tramp-compat.el (tramp-compat-make-temp-file):
7827 Rename FILENAME to F.
5d89d9d2
MA
7828
7829 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7830 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7831 (tramp-zeroconf-parse-workstation-device-names)
7832 (tramp-zeroconf-parse-webdav-device-names)
7833 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7834
7835 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7836 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7837
7838 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7839 arguments.
7840 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7841 (tramp-sh-handle-insert-file-contents-literally)
7842 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7843 with "_".
7844 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7845 Remove unused variables.
7846
7847 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7848 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7849 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7850
7851 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7852 Make them a defconst.
7853 (tramp-uuencode-region): Remove unused variable.
7854
62f33bae
JB
78552013-08-14 Juanma Barranquero <lekktu@gmail.com>
7856
7857 * frameset.el (frameset--prop-setter): New function.
7858 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7859 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7860 parameter was already set in FILTERED. Doc fix.
7861 (frameset--record-minibuffer-relationships): Allow saving a
7862 minibufferless frame without its corresponding minibuffer frame.
7863 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7864 frame, if the frame id matches.
7865 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7866 frames before orphaned ones.
7867 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7868
c660a885
MR
78692013-08-14 Martin Rudalics <rudalics@gmx.at>
7870
7871 * window.el (window-make-atom): Don't overwrite parameter
7872 already present.
7873 (display-buffer-in-atom-window): Handle special case where we
7874 split an already atomic window.
7875 (window--major-non-side-window, display-buffer-in-side-window)
7876 (window--side-check): Ignore minibuffer window when walking
7877 window tree.
7878 (window-deletable-p): Return 'frame only if no other frame uses
7879 our minibuffer window.
7880 (record-window-buffer): Run buffer-list-update-hook.
7881 (split-window): Make sure window--check-frame won't destroy an
7882 existing atomic window in case the new window gets nested
7883 inside.
7884 (display-buffer-at-bottom): Ignore minibuffer window when
7885 walking window tree. Don't split a side window.
7886 (pop-to-buffer): Don't set-buffer here, the select-window call
7887 should do that.
7888 (mouse-autoselect-window-select): Autoselect only if we are in the
7889 text portion of the window.
7890
8259030d
LMI
78912013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7892
21c58ae2
LMI
7893 * net/shr.el (shr-parse-image-data): New function to grab both the
7894 data itself and the Content-Type.
7895 (shr-put-image): Use it.
7896
7897 * net/eww.el (eww-display-image): Ditto.
7898
8259030d
LMI
7899 * image.el (image-content-type-suffixes): New variable.
7900
ad756449
FEG
79012013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7902
7903 * progmodes/python.el (python-imenu--build-tree)
7904 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7905
f73f4ce6
XF
79062013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7907
7908 * simple.el (backward-word): Mention the optional argument.
7909
1f585e65
SM
79102013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * frameset.el (frameset--make): Rename constructor from make-frameset.
7913 (frameset-p, frameset-valid-p): Don't autoload.
7914 (frameset-valid-p): Use normal accessors.
7915
af1c6c84
GM
79162013-08-13 Glenn Morris <rgm@gnu.org>
7917
55e47f95
GM
7918 * progmodes/compile.el (compile-command): Tweak example in doc.
7919 * obsolete/scribe.el (scribe-mode):
7920 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7921
f0024d8c
GM
7922 * mail/feedmail.el (feedmail-confirm-outgoing)
7923 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7924
7925 * cus-start.el (truncate-partial-width-windows): Fix type.
7926
7927 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7928
af1c6c84
GM
7929 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7930
5514cc4c
SM
79312013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * emacs-lisp/timer.el (timer--time-setter): New function.
7934 (timer--time): Use it as gv-setter.
7935
7936 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7937 setter is not a symbol.
7938
7997a2f1
GJ
79392013-08-12 Grégoire Jadi <daimrod@gmail.com>
7940
7941 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7942 if sending fails. This makes debugging easier.
7943
01f1a9ab
JB
79442013-08-12 Juanma Barranquero <lekktu@gmail.com>
7945
7946 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7947 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7948 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7949
594a4307
EZ
79502013-08-12 Eli Zaretskii <eliz@gnu.org>
7951
7952 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7953
7a22490f 79542013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7955
7956 * format.el (format-annotate-function):
7957 Handle read-only text properties in the source. (Bug#14887)
7958
3e41a054
LMI
79592013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960
5514cc4c
SM
7961 * net/eww.el (eww-display-html): Ignore coding system errors.
7962 One web site uses "utf-8lias" as the coding system.
3e41a054 7963
7ec326db
JB
79642013-08-11 Juanma Barranquero <lekktu@gmail.com>
7965
7966 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7967
5660113b
JB
79682013-08-10 Juanma Barranquero <lekktu@gmail.com>
7969
9a4ebc74
JB
7970 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7971 (tutorial--detailed-help): Remove unused local variables.
7972 (tutorial--save-tutorial-to): Use ignore-errors.
7973 (help-with-tutorial): Use looking-at-p.
7974
7975 * view.el (view-buffer-other-window, view-buffer-other-frame):
7976 Mark unused arguments.
7977
7978 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7979 (woman-select-symbol-fonts, woman, woman-find-file)
7980 (woman-insert-file-contents, woman-non-underline-faces):
7981 Use string-match-p.
7982 (woman1-unquote): Move declaration.
7983
7984 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7985 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7986 argument. Remove unused local variable.
7987 (xml-parse-elem-type): Use string-match-p.
7988 (xml-substitute-numeric-entities): Use ignore-errors.
7989
45fdb482
JB
7990 * calculator.el (calculator): Mark unused argument.
7991 (calculator-paste, calculator-quit, calculator-integer-p):
7992 Use ignore-errors.
7993 (calculator-string-to-number, calculator-decimal, calculator-exp)
7994 (calculator-op-or-exp): Use string-match-p.
7995
7996 * dired.el (dired-buffer-more-recently-used-p): Declare.
7997 (dired-insert-set-properties, dired-insert-old-subdirs):
7998 Use ignore-errors.
7999
8000 * dired-aux.el (dired-compress): Use ignore-errors.
8001 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8002 (dired-do-async-shell-command, dired-do-shell-command)
8003 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8004 (dired-insert-subdir-validate): Use string-match-p.
8005 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8006 (dired-add-entry): Use string-match-p, looking-at-p.
8007 (dired-insert-subdir-newpos): Remove unused local variable.
8008
8009 * filenotify.el (file-notify-callback): Remove unused local variable.
8010
8011 * filesets.el (filesets-error): Mark unused argument.
8012 (filesets-which-command-p, filesets-filter-dir-names)
8013 (filesets-directory-files, filesets-get-external-viewer)
8014 (filesets-ingroup-get-data): Use string-match-p.
8015
8016 * find-file.el (ff-other-file-name, ff-other-file-name)
8017 (ff-find-the-other-file, ff-cc-hh-converter):
8018 Remove unused local variables.
8019 (ff-get-file-name): Use string-match-p.
8020 (ff-all-dirs-under): Use ignore-errors.
8021
8022 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8023 (follow-select-if-visible): Remove unused local variable.
8024
8025 * forms.el (read-file-filter): Move declaration.
8026 (forms--make-format, forms--make-parser, forms-insert-record):
8027 Quote function with #'.
8028 (forms--update): Use string-match-p. Quote function with #'.
8029
8030 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8031 (help-make-xrefs): Use looking-at-p.
8032 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8033
8034 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8035 (ibuffer-confirm-operation-on): Use string-match-p.
8036
8037 * msb.el (msb-item-handler, msb-dired-item-handler):
8038 Mark unused arguments.
8039
8040 * ses.el (ses-decode-cell-symbol)
8041 (ses-kill-override): Remove unused local variable.
8042 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8043 (ses-load): Use ignore-errors, looking-at-p.
8044 (ses-jump-safe): Use ignore-errors.
8045 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8046
8047 * tabify.el (untabify, tabify): Mark unused arguments.
8048
8049 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8050 Mark unused argument.
8051 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8052 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8053
c880af52
JB
8054 * emacs-lisp/timer.el (timer--time): Define setter with
8055 gv-define-setter to avoid deprecation warning.
8056
5660113b 8057 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 8058 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
8059 (cmpl-statistics-block): Remove (body was commented out).
8060 All callers changed.
8061 (add-completions-from-buffer, load-completions-from-file):
8062 Remove unused variables.
8063
156aab80
JB
80642013-08-09 Juanma Barranquero <lekktu@gmail.com>
8065
5c5dee78
JB
8066 * filecache.el (file-cache-delete-file-list):
8067 Print message only when told so.
8068 (file-cache-files-matching): Use #' in mapconcat argument.
8069
156aab80
JB
8070 * ffap.el (ffap-url-at-point): Fix reference to variable
8071 thing-at-point-default-mail-uri-scheme.
8072
ad9dcd70
SM
80732013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8074
54bd972f
SM
8075 * subr.el (define-error): New function.
8076 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8077 error-file-not-found and define with define-error.
8078 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8079 and define with define-error.
8080 * userlock.el (file-locked, file-supersession):
8081 * simple.el (mark-inactive):
8082 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8083 * progmodes/ada-mode.el (ada-mode-errors):
8084 * play/life.el (life-extinct):
8085 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8086 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8087 * nxml/rng-util.el (rng-error):
8088 * nxml/rng-uri.el (rng-uri-error):
8089 * nxml/rng-match.el (rng-compile-error):
8090 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8091 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8092 * nxml/nxml-rap.el (nxml-scan-error):
8093 * nxml/nxml-outln.el (nxml-outline-error):
8094 * net/soap-client.el (soap-error):
8095 * net/gnutls.el (gnutls-error):
8096 * net/ange-ftp.el (ftp-error):
8097 * mpc.el (mpc-proc-error):
8098 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8099 (json-number-format, json-string-escape, json-string-format)
8100 (json-key-format, json-object-format):
8101 * jka-compr.el (compression-error):
8102 * international/quail.el (quail-error):
8103 * international/kkc.el (kkc-error):
8104 * emacs-lisp/ert.el (ert-test-failed):
8105 * calc/calc.el (calc-error, inexact-result, math-overflow)
8106 (math-underflow):
8107 * bookmark.el (bookmark-error-no-filename):
8108 * epg.el (epg-error): Define with define-error.
8109
0ea9e53a
SM
8110 * time.el (display-time-event-handler)
8111 (display-time-next-load-average): Don't call sit-for since it seems
8112 unnecessary (bug#15045).
8113
b0429158
SM
8114 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8115 Use #' instead of ' to quote functions.
8116 (checkdoc-output-mode): Use setq-local.
8117 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8118 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8119 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8120 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8121 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8122 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8123 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8124 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8125
ad9dcd70
SM
8126 * ido.el (ido-completion-help): Fix up compiler warning.
8127
77187e6f
JB
81282013-08-09 Juanma Barranquero <lekktu@gmail.com>
8129
8130 * frameset.el (frameset-p): Add autoload cookie.
8131 (frameset--jump-to-register): New function, based on code moved from
8132 register.el.
8133 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8134
8135 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8136 (frameset-restore, frameset-save, frameset-session-filter-alist):
8137 Remove declarations.
8138 (register-alist): Doc fix.
8139 (frameset-to-register): Move to frameset.el.
8140 (jump-to-register, describe-register-1): Remove frameset-specific code.
8141
9d3aa82c
JB
81422013-08-08 Juanma Barranquero <lekktu@gmail.com>
8143
8144 * allout-widgets.el (allout-widgets-pre-command-business)
8145 (allout-widgets-post-command-business)
8146 (allout-widgets-after-change-handler)
8147 (allout-decorate-item-and-context, allout-set-boundary-marker)
8148 (allout-body-modification-handler)
8149 (allout-graphics-modification-handler): Mark ignored arguments.
8150 (allout-widgets-post-command-business)
8151 (allout-widgets-exposure-change-processor)
8152 (allout-widgets-exposure-undo-processor)
8153 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8154 (allout-parse-item-at-point, allout-decorate-item-guides)
8155 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8156 * allout.el (epa-passphrase-callback-function): Declare.
8157 (allout-overlay-insert-in-front-handler)
8158 (allout-overlay-interior-modification-handler)
8159 (allout-isearch-end-handler, allout-chart-siblings)
8160 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8161 (allout-yank-processing, allout-process-exposed)
8162 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8163 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8164 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8165 (lisp-indent-defform): Mark ignored arguments.
8166 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8167 (calculate-lisp-indent): Remove unused variables.
8168 * international/characters.el (indian-2-column, arabic-2-column)
8169 (tibetan): Mark ignored arguments.
8170 (use-cjk-char-width-table): Mark ignored arguments.
8171 Remove unused variables.
8172 * international/fontset.el (build-default-fontset-data)
8173 (x-compose-font-name, create-fontset-from-fontset-spec):
8174 Mark ignored arguments.
8175 (fontset-plain-name): Remove unused variables.
8176 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8177 (keyboard-coding-system): Mark ignored arguments.
8178 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8179 * help.el (resize-temp-buffer-window):
8180 * window.el (display-buffer-in-major-side-window)
8181 (display-buffer-in-side-window, display-buffer-in-previous-window):
8182 Remove unused variables.
8183 * isearch.el (isearch-forward-symbol):
8184 * version.el (emacs-bzr-version-bzr):
8185 * international/mule-cmds.el (current-language-environment):
8186 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8187 (x-handle-display):
8188 * term/pc-win.el (x-list-fonts, x-display-planes)
8189 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8190 (x-server-version, x-display-screens, x-display-mm-height)
8191 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8192 (x-selection-owner-p, x-own-selection-internal)
8193 (x-disown-selection-internal, x-get-selection-internal)
8194 (msdos-initialize-window-system):
8195 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8196 * term/x-win.el (x-handle-no-bitmap-icon):
8197 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8198 (vc-default-find-file-hook, vc-default-extra-menu):
8199 Mark ignored arguments.
8200
0ca3f70e
SM
82012013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8204 break-condition in the context of the debugged code (bug#12685).
8205
74c5d24c
CS
82062013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8207
8208 * comint.el:
8209 Do not use an overlay to highlight the last prompt. (Bug#14744)
8210 (comint-mode): Make comint-last-prompt buffer local.
8211 (comint-last-prompt): New variable.
8212 (comint-last-prompt-overlay): Remove. Superseded by
8213 comint-last-prompt.
0ca3f70e
SM
8214 (comint-snapshot-last-prompt, comint-output-filter):
8215 Use comint-last-prompt.
74c5d24c 8216
c03c02ee
JB
82172013-08-08 Juanma Barranquero <lekktu@gmail.com>
8218
a3738d20 8219 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8220 (frameset-save): Check validity of the resulting frameset.
8221
04263d23
XF
82222013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8223
8224 * ido.el (ido-record-command): Add doc string.
8225
76c5e5ab
JB
82262013-08-08 Juanma Barranquero <lekktu@gmail.com>
8227
8228 * frameset.el (frameset): Do not disable creation of the default
8229 frameset-p predicate. Doc fix.
8230 (frameset-valid-p): New function, copied from the old predicate-p.
8231 Add additional checks.
8232 (frameset-restore): Check with frameset-valid-p.
8233 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8234 (frameset-name, frameset-description, frameset-properties)
8235 (frameset-states): Add docstring.
f9dbf1cb
JB
8236 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8237 (frameset-filter-alist): Doc fixes.
76c5e5ab 8238
bd0c3c0b
JB
82392013-08-08 Juanma Barranquero <lekktu@gmail.com>
8240
8241 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8242
c735544c
SM
82432013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8244
8245 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8246 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8247 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8248 (byte-compile-normal-call): Remove obsolescence check.
8249
2805a651
JB
82502013-08-08 Juanma Barranquero <lekktu@gmail.com>
8251
3677ffeb
JB
8252 * frameset.el (frameset-restore): Doc fix.
8253
2805a651
JB
8254 * register.el (frameset-frame-id, frameset-frame-with-id)
8255 (frameset-p, frameset-restore, frameset-save): Declare.
8256 (register-alist): Document framesets.
8257 (frameset-session-filter-alist): Declare.
8258 (frameset-to-register): New function.
8259 (jump-to-register): Implement jumping to framesets. Doc fix.
8260 (describe-register-1): Describe framesets.
8261
8262 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8263
a912c016
JB
82642013-08-07 Juanma Barranquero <lekktu@gmail.com>
8265
8266 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8267 Use lexical-binding.
8268
8269 * frameset.el (frameset): Use type vector, not list (incompatible
8270 change). Do not declare a new constructor, use the default one.
8271 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8272 `name' and `description', respectively, and add read-only slot
8273 `timestamp'. Doc fixes.
8274 (frameset-copy, frameset-persistent-filter-alist)
8275 (frameset-filter-alist, frameset-switch-to-gui-p)
8276 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8277 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8278 (frameset-filter-iconified, frameset-keep-original-display-p):
8279 Doc fixes.
8280 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8281 Rename from frameset-filter-(save|restore)-param. All callers changed.
8282 Doc fix.
8283 (frameset-p): Adapt to change to vector and be more thorough.
8284 Change arg name to OBJECT. Doc fix.
8285 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8286 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8287 All callers changed.
8288 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8289 All callers changed.
8290 (frameset--record-minibuffer-relationships): Rename from
8291 frameset--process-minibuffer-frames. All callers changed.
8292 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8293 Use new default constructor (again). Doc fix.
c295fc18 8294 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8295 All callers changed.
8296 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8297 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8298 Doc fix.
8299 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8300 PARAMETERS and WINDOW-STATE, respectively.
8301 (frameset-restore): Add new keyword argument PREDICATE.
8302 Reset frameset--target-display to nil. Doc fix.
8303
bb41480a
SM
83042013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8305
f001e98e
SM
8306 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8307 (bat-mode): Use it.
8308 (bat-mode-syntax-table): Mark \n as end-of-comment.
8309 (bat-font-lock-keywords): Remove comment rule.
8310
7679edb1
SM
8311 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8312 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8313
bb41480a
SM
8314 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8315 (byte-compile-callargs-warn): Use `push'.
8316 (byte-compile-arglist-warn): Ignore higher-order "calls".
8317 (byte-compile-file-form-autoload): Use `pcase'.
8318 (byte-compile-function-form): If quoting a symbol, check that it exists.
8319
cdc1ebb9
EZ
83202013-08-07 Eli Zaretskii <eliz@gnu.org>
8321
8322 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8323 and add a few popular commands found in batch files.
8324 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8325 (dos-mode): Doc fixes.
8326
312b1740
SM
83272013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8328
8329 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8330 (dos-mode): Use setq-local. Add space after "rem".
8331 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8332 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8333
400a3178
AM
83342013-08-07 Arni Magnusson <arnima@hafro.is>
8335
8336 * progmodes/dos.el: New file.
8337 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8338 dos-mode.
8339
3b5c03d3
GM
83402013-08-06 Glenn Morris <rgm@gnu.org>
8341
8342 * calendar/calendar.el: Add new faces, and day-header-array.
8343 (calendar-weekday-header, calendar-weekend-header)
8344 (calendar-month-header): New faces.
8345 (calendar-day-header-construct): New function.
8346 (calendar-day-header-width): Also :set calendar-day-header-array.
8347 (calendar-american-month-header, calendar-european-month-header)
8348 (calendar-iso-month-header): Use calendar- faces.
8349 (calendar-generate-month):
8350 Use calendar-day-header-array for day headers; apply faces to them.
8351 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8352 (calendar-abbrev-construct): Add optional maxlen argument.
8353 (calendar-day-name-array): Doc fix.
8354 (calendar-day-name-array, calendar-abbrev-length)
8355 (calendar-day-abbrev-array):
8356 Also :set calendar-day-header-array, and maybe redraw.
8357 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8358 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8359 (calendar-day-name): Add option to use header array.
8360
ec6a2d7a
LMI
83612013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8362
8363 * net/shr.el (shr-render-td): Remove debugging.
8364 (shr-render-td): Make width computation consistent by defaulting
8365 all zero-width columns to 10 characters. This may not be optimal,
8366 but it's at least consistent.
2122cb6d
LMI
8367 (shr-make-table-1): Redo last change to fix the real problem in
8368 colspan handling.
ec6a2d7a 8369
ed4fd9c5
DA
83702013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8371
0ca3f70e
SM
8372 * files.el (cache-long-line-scans):
8373 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8374
64e22afe
JB
83752013-08-06 Juanma Barranquero <lekktu@gmail.com>
8376
024b38fc
JB
8377 * frameset.el (frameset, frameset-filter-alist)
8378 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8379 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8380 (frameset-compute-pos): Rename from frameset--compute-pos,
8381 and add docstring.
8382 (frameset-move-onscreen): Use frameset-compute-pos.
8383 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8384
64e22afe
JB
8385 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8386 Fix typos in docstrings.
8387
c8c2aca8
DA
83882013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8389
8390 * frame.el (get-other-frame): Tiny cleanup.
8391
1d237bba
JB
83922013-08-06 Juanma Barranquero <lekktu@gmail.com>
8393
8951efef
JB
8394 * vc/vc.el (vc-default-ignore-completion-table):
8395 Silence byte-compiler warning.
8396
307764cc 8397 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8398 slot, which can indeed be nil.
307764cc
JB
8399 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8400 Move entry for `left' from persistent to live filter alist.
8401 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8402 Doc fixes.
8403 (frameset-filter-params): When restoring a frame, copy items added to
8404 `filtered', to avoid unwittingly modifying the original parameters.
8405 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8406 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8407
1d237bba
JB
8408 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8409 to use looking-at-p instead of looking-at. (Bug#15028)
8410
dc6c0eda
SM
84112013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 Revert introduction of isearch-filter-predicates (bug#14714).
8414 Rely on add-function instead.
8415 * isearch.el (isearch-filter-predicates): Rename it back to
8416 isearch-filter-predicate.
8417 (isearch-message-prefix): Use advice-function-mapc and advice
8418 properties to get the isearch-message-prefix.
8419 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8420 instead of run-hook-with-args-until-failure.
8421 (isearch-filter-visible): Not obsolete any more.
8422 * loadup.el: Preload nadvice.
8423 * replace.el (perform-replace): Revert to funcall
8424 instead of run-hook-with-args-until-failure.
8425 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8426 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8427 dired-isearch-filenames-toggle; make it into a proper minor mode.
8428 Use add/remove-function.
8429 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8430 Call the minor-mode rather than add/remove-hook.
8431 (dired-isearch-filter-filenames):
8432 Remove isearch-message-prefix property.
8433 * info.el (Info--search-loop): New function, extracted from Info-search.
8434 Funcall isearch-filter-predicate instead of
8435 run-hook-with-args-until-failure isearch-filter-predicates.
8436 (Info-search): Use it.
8437 (Info-mode): Use isearch-filter-predicate instead of
8438 isearch-filter-predicates.
8439
290d5b58
DA
84402013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8441
8442 Do not call to `selected-window' where it is assumed by default.
8443 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8444 `window-hscroll', `window-width', `window-height', `window-buffer',
8445 `window-frame', `window-start', `window-point', `next-window'
8446 and `window-display-table'.
8447 * abbrev.el (abbrev--default-expand):
8448 * bs.el (bs--show-with-configuration):
8449 * buff-menu.el (Buffer-menu-mouse-select):
8450 * calc/calc.el (calc):
8451 * calendar/calendar.el (calendar-generate-window):
8452 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8453 (diary-make-entry):
8454 * comint.el (send-invisible, comint-dynamic-complete-filename)
8455 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8456 * completion.el (complete):
8457 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8458 * disp-table.el (describe-current-display-table):
8459 * doc-view.el (doc-view-insert-image):
8460 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8461 * ehelp.el (with-electric-help):
8462 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8463 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8464 * emacs-lisp/helper.el (Helper-help-scroller):
8465 * emulation/cua-base.el (cua--post-command-handler-1):
8466 * eshell/esh-mode.el (eshell-output-filter):
8467 * ffap.el (ffap-gnus-wrapper):
8468 * help-macro.el (make-help-screen):
8469 * hilit-chg.el (highlight-compare-buffers):
8470 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8471 * hl-line.el (global-hl-line-highlight):
8472 * icomplete.el (icomplete-simple-completing-p):
8473 * isearch.el (isearch-done):
8474 * jit-lock.el (jit-lock-stealth-fontify):
8475 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8476 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8477 * mpc.el (mpc-tagbrowser, mpc):
8478 * net/rcirc.el (rcirc-any-buffer):
8479 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8480 * play/landmark.el (landmark-max-width, landmark-max-height):
8481 * play/zone.el (zone):
8482 * progmodes/compile.el (compilation-goto-locus):
8483 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8484 * progmodes/etags.el (find-tag-other-window):
8485 * progmodes/fortran.el (fortran-column-ruler):
8486 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8487 * progmodes/verilog-mode.el (verilog-point-text):
8488 * reposition.el (reposition-window):
8489 * rot13.el (toggle-rot13-mode):
8490 * server.el (server-switch-buffer):
8491 * shell.el (shell-dynamic-complete-command)
8492 (shell-dynamic-complete-environment-variable):
8493 * simple.el (insert-buffer, set-selective-display)
8494 (delete-completion-window):
8495 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8496 (speedbar-recenter):
8497 * startup.el (fancy-splash-head):
8498 * textmodes/ispell.el (ispell-command-loop):
8499 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8500 * tutorial.el (help-with-tutorial):
8501 * vc/add-log.el (add-change-log-entry):
8502 * vc/compare-w.el (compare-windows):
8503 * vc/ediff-help.el (ediff-indent-help-message):
8504 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8505 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8506 (ediff-setup-control-frame):
8507 * vc/emerge.el (emerge-position-region):
8508 * vc/pcvs-util.el (cvs-bury-buffer):
8509 * window.el (walk-windows, mouse-autoselect-window-select):
8510 * winner.el (winner-set-conf, winner-undo): Related users changed.
8511
38276e01
JB
85122013-08-05 Juanma Barranquero <lekktu@gmail.com>
8513
8514 * frameset.el (frameset--set-id): Doc fix.
8515 (frameset-frame-id, frameset-frame-id-equal-p)
8516 (frameset-locate-frame-id): New functions.
8517 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8518 (frameset-restore): Use them.
8519
12b4c0ea
DA
85202013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8521
8522 Do not call to `selected-frame' where it is assumed by default.
8523 Affected functions are `raise-frame', `redraw-frame',
8524 `frame-first-window', `frame-terminal' and `delete-frame'.
8525 * calendar/appt.el (appt-disp-window):
8526 * epg.el (epg-wait-for-completion):
8527 * follow.el (follow-delete-other-windows-and-split)
8528 (follow-avoid-tail-recenter):
8529 * international/mule.el (set-terminal-coding-system):
8530 * mail/rmail.el (rmail-mail-return):
8531 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8532 * progmodes/f90.el (f90-add-imenu-menu):
8533 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8534 * server.el (server-switch-buffer):
8535 * simple.el (delete-completion-window):
8536 * talk.el (talk):
8537 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8538 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8539 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8540 * vc/ediff.el (ediff-documentation): Related users changed.
8541 * frame.el (selected-terminal): Remove the leftover.
8542
17f25e76
GM
85432013-08-05 Glenn Morris <rgm@gnu.org>
8544
8545 * calendar/calendar.el (calendar-generate-month):
8546 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8547 (calendar-generate-month, calendar-font-lock-keywords):
8548 Fix for calendar-day-header-width > length of any day name.
17f25e76 8549
063233c3
JB
85502013-08-05 Juanma Barranquero <lekktu@gmail.com>
8551
8552 * desktop.el (desktop-clear): Use new name of sort predicate.
8553
8554 * frameset.el (frameset): Add docstring. Move :version property to its
8555 own `version' slot.
8556 (frameset-copy): Rename from copy-frameset.
8557 (frameset-p): Check more thoroughly.
8558 (frameset-prop): Do not check for :version, which is no longer a prop.
8559 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8560 Use new :never value instead of t.
8561 (frameset-filter-alist): Expand and clarify docstring.
8562 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8563 (frameset-filter-minibuffer, frameset-filter-save-param)
8564 (frameset-filter-restore-param, frameset-filter-iconified):
8565 Add pointer to docstring of frameset-filter-alist.
8566 (frameset-filter-params): Rename filter values to be more meaningful:
8567 :never instead of t, and reverse the meanings of :save and :restore.
8568 (frameset--process-minibuffer-frames): Clarify error message.
8569 (frameset-save): Avoid unnecessary and confusing call to framep.
8570 Use new BOA constructor for framesets.
8571 (frameset--reuse-list): Doc fix.
8572 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8573 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8574 (frameset-minibufferless-first-p): Doc fix.
8575 Rename from frameset-sort-frames-for-deletion.
8576 (frameset-restore): Doc fixes. Use new function names.
8577 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8578
d5671a82
JB
85792013-08-04 Juanma Barranquero <lekktu@gmail.com>
8580
8581 * desktop.el (desktop-restore-forces-onscreen)
8582 (desktop-restore-reuses-frames): Document :keyword constant values.
8583 (desktop-filter-parameters-alist): Remove, now identical to
8584 frameset-filter-alist.
8585 (desktop--filter-tty*): Remove, moved to frameset.el.
8586 (desktop-save-frameset, desktop-restore-frameset):
8587 Do not pass :filters argument.
8588
8589 * frameset.el (frameset-live-filter-alist)
8590 (frameset-persistent-filter-alist): New variables.
8591 (frameset-filter-alist): Use them. Add autoload cookie.
8592 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8593 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8594 `frameset--id' (it's supposed to be internal to frameset.el).
8595 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8596 (frameset--initial-params): New function.
8597 (frameset--get-frame): Use it. Doc fix.
8598 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8599 Accept :all, not 'all.
8600 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8601 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8602 with fbound symbols. Fix frame id matching, and remove matching ids if
8603 the frame being restored is deleted. Obey :delete.
8604
671d5c16
SM
86052013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * subr.el (macrop): New function.
8608 (text-clone--maintaining): New var.
8609 (text-clone--maintain): Rename from text-clone-maintain. Use it
8610 instead of inhibit-modification-hooks.
8611
8612 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8613 a proxy, so as handle autoloads and redefinitions of the target.
8614 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8615
8616 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8617 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8618 (pcase--mutually-exclusive-p): New function.
8619 (pcase--split-consp): Use it.
8620 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8621 mutually exclusive with the current predicate.
8622
8623 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8624 (edebug-macrop): Remove. Use `macrop' instead.
8625 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8626 (ad-macro-p):
8627 * eshell/esh-cmd.el (eshell-macrop):
8628 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8629
1d44e9dc
SM
86302013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8631
8632 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8633 (advice-mapc): New function, using it.
8634 (advice-function-member-p): New function.
8635 (advice--normalize): Store the cdr in advice--saved-rewrite since
8636 that's the part that will be changed.
8637 (advice--symbol-function): New function.
8638 (advice-remove): Handle removal before the function is defined.
8639 Adjust to new advice--saved-rewrite.
8640 (advice-member-p): Use advice-function-member-p and
8641 advice--symbol-function.
8642
5414a283
JB
86432013-08-04 Juanma Barranquero <lekktu@gmail.com>
8644
51d30f2c
JB
8645 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8646 (frameset-filter-minibuffer): Doc fix.
8647 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8648 (frameset--set-id, frameset--process-minibuffer-frames)
8649 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8650 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8651
5414a283
JB
8652 * desktop.el (desktop-clear): Only delete frames when called
8653 interactively and desktop-restore-frames is non-nil. Doc fix.
8654 (desktop-read): Set desktop-saved-frameset to nil.
8655
ab419665
XF
86562013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8657
8658 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8659 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8660 (vc--add-line, vc--remove-regexp): New functions.
8661
8662 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8663 (vc-svn-ignore-completion-table): New function.
8664
8665 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8666 (vc-hg-ignore-completion-table)
ab419665
XF
8667 (vc-hg-find-ignore-file): New functions.
8668
8669 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8670 (vc-git-ignore-completion-table)
ab419665
XF
8671 (vc-git-find-ignore-file): New functions.
8672
8673 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8674
8675 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8676 (vc-bzr-ignore-completion-table)
ab419665
XF
8677 (vc-bzr-find-ignore-file): New functions.
8678
2613dea2
JB
86792013-08-03 Juanma Barranquero <lekktu@gmail.com>
8680
8681 * frameset.el (frameset-prop): New function and setter.
8682 (frameset-save): Do not modify frame list passed by the caller.
8683
9c959872
SM
86842013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8687
a104f656
SM
86882013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8689
70122acf
SM
8690 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8691 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8692
a104f656
SM
8693 * custom.el (custom-initialize-default, custom-initialize-set)
8694 (custom-initialize-reset, custom-initialize-changed): Affect the
8695 toplevel-default-value (bug#6275, bug#14586).
8696 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8697 for bug#6275.
8698
f078d570
JB
86992013-08-02 Juanma Barranquero <lekktu@gmail.com>
8700
185e3b5a
JB
8701 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8702 Add cl-def* expressions.
8703
f078d570
JB
8704 * frameset.el (frameset-filter-params): Fix order of arguments.
8705
9421876d
JB
87062013-08-02 Juanma Barranquero <lekktu@gmail.com>
8707
8708 Move code related to saving frames to frameset.el.
8709 * desktop.el: Require frameset.
8710 (desktop-restore-frames): Doc fix.
8711 (desktop-restore-reuses-frames): Rename from
8712 desktop-restoring-reuses-frames.
8713 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8714 (desktop-clear): Clear frames too.
8715 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8716 (desktop--filter-tty*, desktop-save, desktop-read):
8717 Use frameset functions.
8718 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8719 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8720 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8721 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8722 (desktop--process-minibuffer-frames, desktop-save-frames)
8723 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8724 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8725 (desktop--sort-states, desktop-restoring-frames-p)
8726 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8727 (desktop-restoring-frameset-p, desktop-restore-frameset)
8728 (desktop--check-dont-save, desktop-save-frameset): New functions.
8729 (desktop--app-id): New constant.
8730 (desktop-first-buffer, desktop-buffer-ok-count)
8731 (desktop-buffer-fail-count): Move before first use.
8732 * frameset.el: New file.
8733
76dc5996
SM
87342013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * files.el: Use lexical-binding.
8737 (dir-locals-read-from-file): Remove unused `err' variable.
8738 (hack-dir-local-variables--warned-coding): New var.
8739 (hack-dir-local-variables): Use it to avoid repeated warnings.
8740 (make-backup-file-name--default-function): New function.
8741 (make-backup-file-name-function): Use it as default.
8742 (buffer-stale--default-function): New function.
8743 (buffer-stale-function): Use it as default.
8744 (revert-buffer-insert-file-contents--default-function): New function.
8745 (revert-buffer-insert-file-contents-function): Use it as default.
8746 (insert-directory): Avoid add-to-list.
8747
8748 * autorevert.el (auto-revert-handler): Simplify.
8749 Use buffer-stale--default-function.
8750
06d36e2b
TH
87512013-08-01 Tassilo Horn <tsdh@gnu.org>
8752
5f648ab4
TH
8753 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8754
06d36e2b
TH
8755 * whitespace.el (whitespace-ensure-local-variables): New function.
8756 (whitespace-cleanup-region): Call it.
8757 (whitespace-turn-on): Call it.
8758
a43dc424
MA
87592013-08-01 Michael Albinus <michael.albinus@gmx.de>
8760
8761 Complete file name handlers.
8762
8763 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8764 (tramp-handle-verify-visited-file-modtime)
8765 (tramp-handle-file-notify-rm-watch): New functions.
8766 (tramp-call-process): Do not bind `default-directory'.
8767
44e18199
JB
8768 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8769 Order alphabetically.
afe1e4c8
GM
8770 <access-file, add-name-to-file, dired-call-process>:
8771 <dired-compress-file, file-acl, file-notify-rm-watch>:
8772 <file-ownership-preserved-p, file-selinux-context>:
8773 <make-directory-internal, make-symbolic-link, set-file-acl>:
8774 <set-file-selinux-context, set-visited-file-modtime>:
8775 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8776 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8777
8778 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8779 <file-notify-add-watch, file-notify-rm-watch>:
8780 <set-file-times, set-visited-file-modtime>:
8781 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8782 (with-tramp-gvfs-error-message)
8783 (tramp-gvfs-handle-set-visited-file-modtime)
8784 (tramp-gvfs-fuse-file-name): Remove.
8785 (tramp-gvfs-handle-file-notify-add-watch)
8786 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8787 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8788
44e18199
JB
8789 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8790 Order alphabetically.
afe1e4c8
GM
8791 <file-notify-rm-watch>: Use default Tramp handler.
8792 <executable-find>: Remove private handler.
a43dc424
MA
8793 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8794 `default-directory'.
8795 (tramp-sh-handle-executable-find)
8796 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8797 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8798 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8799 Do not use `format' in `tramp-message'.
8800
8801 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8802 <file-notify-rm-watch, set-visited-file-modtime>:
8803 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8804 (tramp-smb-call-winexe): Do not bind `default-directory'.
8805
7188b515
XF
88062013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8807
8808 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8809
2412ee1a
DG
88102013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8811
8812 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8813 use it.
8814 (log-view-diff-changeset): Same.
8815 (log-view-diff-common): Call backend command `previous-revision'
8816 to find out the previous revision, in both cases. Swap the
8817 variables `to' and `fr', so that `fr' usually refers to the
8818 earlier revision (Bug#14989).
8819
5002a754
KRC
88202013-07-31 Kan-Ru Chen <kanru@kanru.info>
8821
8822 * ibuf-ext.el (ibuffer-filter-by-filename):
8823 Make it work with dired buffers too.
8824
44e18199 88252013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8826
8827 * emacs-lisp/re-builder.el (reb-color-display-p):
8828 * files.el (save-buffers-kill-terminal):
8829 * net/browse-url.el (browse-url):
8830 * server.el (server-save-buffers-kill-terminal):
8831 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8832 Prefer nil to selected-frame for the first arg of frame-parameter.
8833
aeca3fbb
XF
88342013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8835
8836 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8837
158bc55c
SB
88382013-07-30 Stephen Berman <stephen.berman@gmx.net>
8839
8840 * minibuffer.el (completion--twq-all): Try and preserve each
8841 completion's case choice (bug#14907).
8842
d50fceab
LMI
88432013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8844
ac38e731
LMI
8845 * net/network-stream.el (open-network-stream): Mention the new
8846 :nogreeting parameter.
8847 (network-stream-open-starttls): Use the :nogreeting parameter
8848 (bug#14938).
8849
1211de50
LMI
8850 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8851
997798bf
LMI
8852 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8853 more natural than popping.
8854
d50fceab 8855 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8856 (shr-urlify): Highlight under mouse.
d50fceab 8857
5c09de04
XF
88582013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8859
207d1d04
XF
8860 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8861
8862 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8863
5c09de04
XF
8864 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8865 buffer for output.
8866
3cd51eaa
XF
8867 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8868 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8869
44e18199 8870 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8871 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8872
8873 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8874
8875 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8876 buffer for output.
8877
35a89bdd
EZ
88782013-07-29 Eli Zaretskii <eliz@gnu.org>
8879
8880 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8881 initial frame is minibuffer-less. (Bug#14841)
8882
78822e94
MA
88832013-07-29 Michael Albinus <michael.albinus@gmx.de>
8884
8885 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8886 option.
8887
8888 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8889 (tramp-maybe-open-connection): Use it.
8890
9503c190
JB
88912013-07-28 Juanma Barranquero <lekktu@gmail.com>
8892
8893 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8894 minimal set of parameters passed when creating a frame, because
8895 the minibuffer status of a frame cannot be changed later.
8896
d5a845b4
SB
88972013-07-28 Stephen Berman <stephen.berman@gmx.net>
8898
8899 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8900 replace-regexp-in-string and inadvertent omissions in previous change.
8901 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8902 name of filtered items buffer.
d5a845b4 8903
ddeffb17
JB
89042013-07-28 Juanma Barranquero <lekktu@gmail.com>
8905
8906 * desktop.el: Optionally force offscreen frames back onscreen.
8907 (desktop-restoring-reuses-frames): New option.
8908 (desktop--compute-pos, desktop--move-onscreen): New functions.
8909 (desktop--make-frame): Use desktop--move-onscreen.
8910
f5950f7a
AM
89112013-07-27 Alan Mackenzie <acm@muc.de>
8912
8913 Fontify a Java generic method as a function.
8914 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8915 value to t.
8916
ae43b66a
SB
89172013-07-27 Stephen Berman <stephen.berman@gmx.net>
8918
8919 * calendar/todo-mode.el: Add command to rename todo files.
8920 (todo-rename-file): New command.
8921 (todo-key-bindings-t): Add key binding for it. Change the
8922 bindings of todo-filter-regexp-items(-multifile) to use `x'
8923 instead of `r', since the latter is better suited to the new
8924 renaming command.
8925
5ab78d3d
AM
89262013-07-27 Alan Mackenzie <acm@muc.de>
8927
8928 Make Java try-with-resources statement parse properly.
8929 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8930 (c-block-stmt-1-2-key): New language constants/variables.
8931 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8932 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8933 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8934 with c-block-stmt-1-2-key.
5ab78d3d 8935
d85c4d50
JB
89362013-07-27 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * desktop.el (desktop--make-frame): Apply most frame parameters after
8939 creating the frame to force (partially or totally) offscreen frames to
8940 be restored as such.
8941
e4c467f9
XF
89422013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8943
8944 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8945 (Bug#14948)
e4c467f9 8946
7ced0d04
SM
89472013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8950 `base' arg of backtrace-frame.
8951
fec92060
EZ
89522013-07-26 Eli Zaretskii <eliz@gnu.org>
8953
8954 * simple.el (list-processes): Doc fix.
8955
d58d31fb
JB
89562013-07-26 Juanma Barranquero <lekktu@gmail.com>
8957
8958 * desktop.el (desktop--select-frame):
d85c4d50 8959 Try harder to reuse existing frames.
d58d31fb 8960
53ff3e77
SM
89612013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8962
8963 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8964 (edebug-eval): Use backtrace-eval.
8965 (edebug--display, edebug--recursive-edit): Don't let-bind the
8966 edebug-outer-* vars that keep track of variables we locally let-bind.
8967 (edebug-outside-excursion): Don't restore outside values of locally
8968 let-bound vars.
8969 (edebug--display): Use user-error.
8970 (cl-lexical-debug, cl-debug-env): Remove.
8971
045f7a53
JB
89722013-07-26 Juanma Barranquero <lekktu@gmail.com>
8973
8974 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8975 are restored to be sure that they are visible before deleting any
8976 remaining ones.
8977
59070b32
MM
89782013-07-26 Matthias Meulien <orontee@gmail.com>
8979
742a3501
XF
8980 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8981 vc-print-root-log. (Bug#14948)
59070b32 8982
b1fb3596
RS
89832013-07-26 Richard Stallman <rms@gnu.org>
8984
8985 Add aliases for encrypting mail.
8986 * epa.el (epa-mail-aliases): New option.
8987 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8988 Bind inhibit-read-only so read-only text doesn't ruin everything.
8989 (epa-mail-default-recipients): New subroutine broken out.
8990 Handle epa-mail-aliases.
8991
56ea7291
SM
89922013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 Add support for lexical variables to the debugger's `e' command.
8995 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8996 vars, except for debugger-outer-match-data.
8997 (debugger-frame-number): Move check for "on a function call" from
8998 callers into it. Add `skip-base' argument.
8999 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9000 (debugger-env-macro): Only reset the state stored in non-variables,
9001 i.e. current-buffer and match-data.
9002 (debugger-eval-expression): Rewrite using backtrace-eval.
9003 * subr.el (internal--called-interactively-p--get-frame): Remove.
9004 (called-interactively-p):
9005 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9006 `base' arg of backtrace-frame instead.
9007
15ac32d5
GM
90082013-07-26 Glenn Morris <rgm@gnu.org>
9009
8358a09d
GM
9010 * align.el (align-regexp): Doc fix. (Bug#14857)
9011 (align-region): Explicit error if subexpression missing/does not match.
9012
15ac32d5
GM
9013 * simple.el (global-visual-line-mode):
9014 Do not duplicate the mode lighter. (Bug#14858)
9015
f47ad11b
MR
90162013-07-25 Martin Rudalics <rudalics@gmx.at>
9017
9018 * window.el (display-buffer): In display-buffer bind
9019 split-window-keep-point to t, bug#14829.
9020
02530987
JB
90212013-07-25 Juanma Barranquero <lekktu@gmail.com>
9022
9023 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9024 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9025 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9026 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9027 Change accordingly.
f63ebeb5
JB
9028 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9029 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 9030
6ccb9cab 90312013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 9032
6ccb9cab 9033 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 9034
cb3a56d2
JB
90352013-07-25 Juanma Barranquero <lekktu@gmail.com>
9036
9037 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9038 parameter to modify-frame-parameters if the value has not changed;
9039 this is a workaround for bug#14949.
9040 (desktop--make-frame): On cl-delete-if call, check parameter name,
9041 not full parameter.
9042
7aa7fff0
XF
90432013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9044
9045 * vc/vc.el (vc-ignore): New function.
9046
9047 * vc/vc-svn.el (vc-svn-ignore): New function.
9048
9049 * vc/vc-hg.el (vc-hg-ignore): New function.
9050
9051 * vc/vc-git.el (vc-git-ignore): New function.
9052
9053 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9054 (vc-dir-ignore): New function.
9055
9056 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 9057 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
9058
9059 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9060
9061 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9062
889acc5c
JB
90632013-07-24 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9066 (desktop-restore-frames): Warn when deleting an existing frame failed.
9067
86c40970
GM
90682013-07-24 Glenn Morris <rgm@gnu.org>
9069
9070 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9071
d5d3c58a
MA
90722013-07-24 Michael Albinus <michael.albinus@gmx.de>
9073
9074 * filenotify.el (file-notify-supported-p):
9075 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9076 Remove functions.
9077
35e951cd 9078 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
9079 (auto-revert-notify-add-watch):
9080 * net/tramp.el (tramp-file-name-for-operation):
9081 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9082 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9083 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9084 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9085 Remove `file-notify-supported-p' entry.
9086
d100084b
GM
90872013-07-24 Glenn Morris <rgm@gnu.org>
9088
9089 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 9090 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 9091
ac93e56b
SM
90922013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9093
249eea30
SM
9094 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9095 checked with memq (bug#14935).
9096
ac93e56b
SM
9097 * files.el (revert-buffer-function): Use a non-nil default.
9098 (revert-buffer-preserve-modes): Declare var to
9099 provide access to the `preserve-modes' argument.
9100 (revert-buffer): Let-bind it.
9101 (revert-buffer--default): New function, extracted from revert-buffer.
9102
2cdeb903
SM
91032013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * lpr.el: Signal print errors more prominently.
9106 (print-region-function): Don't default to nil.
9107 (lpr-print-region): New function, extracted from print-region-1.
9108 Check lpr's return value and signal an error in case of problem.
9109 (print-region-1): Use it.
9110 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9111 versions instead.
9112 (ps-printer-name): Default to nil.
9113 (ps-printer-name-option): Default to lpr-printer-switch.
9114 (ps-print-region-function): Don't default to nil.
9115 (ps-postscript-code-directory): Simplify default.
9116 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9117 (ps-string-list, ps-eval-switch, ps-flatten-list)
9118 (ps-flatten-list-1): Remove.
9119 (ps-multibyte-buffer): Avoid setq.
9120 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9121 (print-region-function, ps-print-region-function): Don't set them here.
9122
73600831
XF
91232013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9124
35e951cd
JB
9125 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9126 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9127 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
9128 (ido-decorations): Doc fix.
9129
73600831
XF
9130 * ansi-color.el: Fix old URL.
9131
3d012865
MM
91322013-07-23 Michael R. Mauger <michael@mauger.com>
9133
e903c210 9134 * progmodes/sql.el: Version 3.3
3d012865
MM
9135 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9136 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9137 (sql-interactive-remove-continuation-prompt): Rewrite, use
9138 functions above. Fix continuation prompt and complete output line
9139 handling.
9140 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9141 redirected output buffer.
9142 (sql-mode): Restore deleted code (Bug#13591).
9143
da77a2e2
JB
91442013-07-23 Juanma Barranquero <lekktu@gmail.com>
9145
9146 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9147
80ff0c71
MA
91482013-07-23 Michael Albinus <michael.albinus@gmx.de>
9149
9150 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9151
9152 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9153 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9154 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9155
b61d71e4
JB
91562013-07-23 Juanma Barranquero <lekktu@gmail.com>
9157
9158 * desktop.el (desktop-clear): Simplify; remove useless checks
9159 against invalid buffer names.
9160 (desktop-list*): Use cl-list*.
9161 (desktop-buffer-info, desktop-create-buffer): Simplify.
9162
c3512092
LL
91632013-07-23 Leo Liu <sdl.web@gmail.com>
9164
9165 * bookmark.el (bookmark-make-record): Restore NAME as a default
9166 value. (Bug#14933)
9167
0ac26976
SM
91682013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9169
7d22ce18
SM
9170 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9171 extracted from autoload--insert-text.
9172 (autoload--insert-text): Remove.
9173 (autoload--print-cookie-text): New function, extracted from
9174 autoload--insert-cookie-text.
9175 (autoload--insert-cookie-text): Remove.
9176 (autoload-generate-file-autoloads): Adjust calls accordingly.
9177
9b2607e8
SM
9178 * winner.el (winner-hook-installed-p): Remove.
9179 (winner-mode): Simplify accordingly.
9180
c43a8618
SM
9181 * subr.el (add-to-list): Fix compiler-macro when `append' is
9182 not constant. Don't use `cl-member' for the base case.
9183
0ac26976
SM
9184 * progmodes/subword.el: Fix boundary case (bug#13758).
9185 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9186 own group.
9187 (subword-backward-regexp): Make it a constant.
9188 (subword-forward-internal): Don't treat a trailing capital as the
9189 beginning of a word.
9190
6874724a
AR
91912013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9192
9193 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9194 global value of tabulated-list-revert-hook (bug#14930).
9195
70f1b5e8
JB
91962013-07-22 Juanma Barranquero <lekktu@gmail.com>
9197
a1c80d9d
JB
9198 * desktop.el: Require 'cl-lib.
9199 (desktop-before-saving-frames-functions): New hook.
9200 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9201 for frames being saved. Rename from desktop--save-minibuffer-frames.
9202 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9203 Do not save frames with non-nil `desktop-dont-save' parameter.
9204 Filter out deleted frames.
a1c80d9d
JB
9205 (desktop--find-frame): Use cl-find-if.
9206 (desktop--select-frame): Use cl-(first|second|third) to access values
9207 of desktop-mini.
9208 (desktop--make-frame): Use cl-delete-if.
9209 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9210 (desktop-restore-frames): Use cl-(first|second|third) to access values
9211 of desktop-mini. Look for visible frame at the end, not while
9212 restoring frames.
9213
70f1b5e8
JB
9214 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9215 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9216 Use string-match-p, looking-at-p (bug#14927).
9217
728dc3cc
JB
92182013-07-21 Juanma Barranquero <lekktu@gmail.com>
9219
56bc453c
JB
9220 * desktop.el (desktop-saved-frame-states):
9221 Rename from desktop--saved-states; all users changed.
9222 (desktop-save-frames): Rename from desktop--save-frames.
9223 Do not save state to desktop file.
9224 (desktop-save): Save desktop-saved-frame-states to desktop file
9225 and reset to nil.
9226 (desktop-restoring-frames-p): New function.
9227 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9228 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9229 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9230
728dc3cc
JB
9231 * desktop.el: Correctly restore iconified frames.
9232 (desktop--filter-iconified-position): New function.
9233 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9234
862f1c9c
GM
92352013-07-20 Glenn Morris <rgm@gnu.org>
9236
c4074c9f
GM
9237 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9238 Let `message' do the formatting.
9239 (def-gdb-preempt-display-buffer): Add explicit format.
9240
d828e5f9
GM
9241 * image-dired.el (image-dired-track-original-file):
9242 Use with-current-buffer.
9243 (image-dired-track-thumbnail): Use with-current-buffer.
9244 Avoid changing point of wrong window.
9245
862f1c9c
GM
9246 * image-dired.el (image-dired-track-original-file):
9247 Avoid changing point of wrong window. (Bug#14909)
9248
f0398ec1 92492013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9250
9251 * progmodes/gdb-mi.el (gdb-done-or-error):
9252 Guard against "%" in gdb output. (Bug#14127)
9253
1451928f
AS
92542013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9255
763a086d
JB
9256 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9257 (Bug#14826)
f7a03897 9258
1451928f
AS
9259 * international/mule.el (coding-system-iso-2022-flags): Fix last
9260 change.
9261
99107004
KH
92622013-07-20 Kenichi Handa <handa@gnu.org>
9263
763a086d
JB
9264 * international/mule.el (coding-system-iso-2022-flags):
9265 Add `8-bit-level-4'. (Bug#8522)
99107004 9266
48494e06
LMI
92672013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
8ba8eec5
LMI
9269 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9270 (bug#14815).
9271
dfbc66e3
LMI
9272 * net/eww.el (eww-process-text-input): Allow inputting when the
9273 point is at the start of the line, as the properties aren't
9274 front-sticky.
9275
48494e06
LMI
9276 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9277 degenerate widths.
9278
77c92cb9
RS
92792013-07-19 Richard Stallman <rms@gnu.org>
9280
aec7da77
RS
9281 * epa.el (epa-popup-info-window): Doc fix.
9282
77c92cb9
RS
9283 * subr.el (split-string): New arg TRIM.
9284
945c5bb1
JB
92852013-07-18 Juanma Barranquero <lekktu@gmail.com>
9286
9287 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9288 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9289
e06ec67f
MA
92902013-07-18 Michael Albinus <michael.albinus@gmx.de>
9291
c7064f05 9292 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9293 `file-notify-support'. Do not autoload. Adapt all uses.
9294 (file-notify-supported-p): New defun.
9295
c7064f05
JB
9296 * autorevert.el (auto-revert-use-notify):
9297 Use `file-notify-supported-p' instead of `file-notify-support'.
9298 Adapt docstring.
e06ec67f
MA
9299 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9300
9301 * net/tramp.el (tramp-file-name-for-operation):
9302 Add `file-notify-supported-p'.
9303
9304 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9305 New defun.
9306 (tramp-sh-file-name-handler-alist): Add it as handler for
9307 `file-notify-supported-p '.
9308
9309 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9310 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9311 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9312 Add `ignore' as handler for `file-notify-*' functions.
9313
5dc8a629
EZ
93142013-07-17 Eli Zaretskii <eliz@gnu.org>
9315
9316 * simple.el (line-move-partial, line-move): Don't start vscroll or
9317 scroll-up if the current line is not taller than the window.
9318 (Bug#14881)
9319
77aea2fb
DG
93202013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9321
9322 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9323 highlight question marks in the method names as strings.
ac72c08d
DG
9324 (ruby-block-beg-keywords): Inline.
9325 (ruby-font-lock-keyword-beg-re): Extract from
9326 `ruby-font-lock-keywords'.
77aea2fb 9327
18c26d81
JD
93282013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9329
9330 * frame.el (blink-cursor-blinks): New defcustom.
9331 (blink-cursor-blinks-done): New defvar.
9332 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9333 (blink-cursor-timer-function): Check if number of blinks has been
9334 done on X and NS.
9335 (blink-cursor-suspend, blink-cursor-check): New defuns.
9336
da48522e
GM
93372013-07-15 Glenn Morris <rgm@gnu.org>
9338
9339 * edmacro.el (edmacro-format-keys): Fix previous change.
9340
0463c1ef
PE
93412013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9342
9343 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9344 The hack didn't work outside English locales anyway.
9345
b43f6451
JB
93462013-07-15 Juanma Barranquero <lekktu@gmail.com>
9347
9348 * simple.el (define-alternatives): Rename from alternatives-define,
9349 per RMS' suggestion.
9350
b958c0ad
JB
93512013-07-14 Juanma Barranquero <lekktu@gmail.com>
9352
9353 * desktop.el (desktop-restore-frames): Change default to t.
9354 (desktop-restore-in-current-display): Now offer more options.
9355 (desktop-restoring-reuses-frames): New customization option.
9356 (desktop--saved-states): Doc fix.
9357 (desktop-filter-parameters-alist): New variable, renamed and expanded
9358 from desktop--excluded-frame-parameters.
9359 (desktop--target-display): New variable.
9360 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9361 (desktop--filter-tty*, desktop--filter-*-color)
9362 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9363 (desktop--filter-save-desktop-parm)
9364 (desktop-restore-in-original-display-p): New functions.
9365 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9366 (desktop--save-minibuffer-frames): New function, inspired by a similar
9367 function from Martin Rudalics.
9368 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9369 (desktop--restore-in-this-display-p): Remove.
9370 (desktop--find-frame): Rename from desktop--find-frame-in-display
9371 and add predicate argument.
9372 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9373 (desktop--reuse-list): New variable.
9374 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9375 New functions.
9376 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9377
f6dd8b36
MA
93782013-07-14 Michael Albinus <michael.albinus@gmx.de>
9379
9380 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9381
2ce3c565
DG
93822013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9383
763a086d
JB
9384 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9385 Highlight conversion methods on Kernel.
2ce3c565 9386
2cdb7698
AM
93872013-07-13 Alan Mackenzie <acm@muc.de>
9388
9389 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9390 and comment it out. This out-commenting enables certain C++
9391 declarations to be parsed correctly.
9392
1a67b811
EZ
93932013-07-13 Eli Zaretskii <eliz@gnu.org>
9394
1b796d6b
EZ
9395 * international/mule.el (define-coding-system): Doc fix.
9396
1a67b811
EZ
9397 * simple.el (default-font-height): Don't call font-info if the
9398 frame's default font didn't change since the frame was created.
9399 (Bug#14838)
9400
58fbe886
LL
94012013-07-13 Leo Liu <sdl.web@gmail.com>
9402
9403 * ido.el (ido-read-file-name): Guard against non-symbol value.
9404
1f0480d4
FEG
94052013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9406
9407 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9408 in nested defuns.
9409
97ead0e5
LL
94102013-07-13 Leo Liu <sdl.web@gmail.com>
9411
9412 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9413 ido-set-matches call. (Bug#6852)
9414
0880a952
DG
94152013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9416
35e951cd 9417 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9418 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9419 Ruby 2.0.
9420 (ruby-font-lock-keywords): Distinguish calls to functions with
9421 module-like names from module references. Highlight character
9422 literals.
9423
a7d8babb
SDJ
94242013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9425
9426 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9427 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9428
acfcc8c5
JB
94292013-07-12 Juanma Barranquero <lekktu@gmail.com>
9430
9431 * desktop.el (desktop--v2s): Remove unused local variable.
9432 (desktop-save-buffer): Make defvar-local; adjust docstring.
9433 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9434 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9435
051f2775
AS
94362013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9437
9438 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9439
f24e7572
GM
94402013-07-12 Eli Zaretskii <eliz@gnu.org>
9441
9442 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9443 (Bug#14842)
9444
539a920c
GM
94452013-07-12 Glenn Morris <rgm@gnu.org>
9446
9447 * doc-view.el: Require cl-lib at runtime too.
9448 (doc-view-remove-if): Remove.
9449 (doc-view-search-next-match, doc-view-search-previous-match):
9450 Use cl-remove-if.
9451
9452 * edmacro.el: Require cl-lib at runtime too.
9453 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9454 (edmacro-mismatch, edmacro-subseq): Remove.
9455
9456 * shadowfile.el: Require cl-lib.
9457 (shadow-remove-if): Remove.
9458 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9459 Use cl-remove-if.
9460
9461 * wid-edit.el: Require cl-lib.
9462 (widget-choose): Use cl-remove-if.
9463 (widget-remove-if): Remove.
9464
9465 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9466 (ebrowse-delete-if-not): Remove.
9467 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9468 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9469 Use cl-delete-if-not.
9470
1048af7c
JB
94712013-07-12 Juanma Barranquero <lekktu@gmail.com>
9472
9473 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9474 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9475
6c0674ee
LL
94762013-07-12 Leo Liu <sdl.web@gmail.com>
9477
9478 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9479
a19b3c2d
GM
94802013-07-11 Glenn Morris <rgm@gnu.org>
9481
4582a01c
GM
9482 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9483 (edebug-gensym-index, edebug-gensym):
9484 Remove reimplementation of cl-gensym.
9485 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9486
9487 * thumbs.el: Require cl-lib at run-time too.
9488 (thumbs-gensym-counter, thumbs-gensym):
9489 Remove reimplementation of cl-gensym.
9490 (thumbs-temp-file): Use cl-gensym.
9491
a19b3c2d
GM
9492 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9493 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9494 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9495 (ert--union, ert--gensym-counter, ert--gensym-counter)
9496 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9497 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9498 (ert-make-test-unbound, ert--expand-should-1)
9499 (ert--expand-should, ert--should-error-handle-error)
9500 (should-error, ert--explain-equal-rec)
9501 (ert--plist-difference-explanation, ert-select-tests)
9502 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9503 Use cl-lib functions rather than reimplementations.
9504
88f6a933
MA
95052013-07-11 Michael Albinus <michael.albinus@gmx.de>
9506
9507 * net/tramp.el (tramp-methods): Extend docstring.
9508 (tramp-connection-timeout): New defcustom.
9509 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9510 (with-tramp-progress-reporter): Simplify.
9511 (tramp-process-actions): Improve messages.
9512
9513 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9514 * net/tramp-sh.el (tramp-maybe-open-connection):
9515 Use `tramp-connection-timeout'.
afe1e4c8 9516 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9517 (Bug#14808)
9518
a43d577e
LL
95192013-07-11 Leo Liu <sdl.web@gmail.com>
9520
9521 * ido.el (ido-read-file-name): Conform to the requirements of
9522 read-file-name. (Bug#11861)
9523 (ido-read-directory-name): Conform to the requirements of
9524 read-directory-name.
9525
d77974bf
JB
95262013-07-11 Juanma Barranquero <lekktu@gmail.com>
9527
9528 * subr.el (delay-warning): New function.
9529
35cb8a3e
EZ
95302013-07-10 Eli Zaretskii <eliz@gnu.org>
9531
9532 * simple.el (default-line-height): New function.
9533 (line-move-partial, line-move): Use it instead of computing the
9534 line height inline.
9535 (line-move-partial): Always compute ROWH. If the last line is
9536 partially-visible, but its text is completely visible, allow
9537 cursor to enter such a partially-visible line.
9538
525c5c77
MA
95392013-07-10 Michael Albinus <michael.albinus@gmx.de>
9540
9541 Improve error messages. (Bug#14808)
9542
9543 * net/tramp.el (tramp-current-connection): New defvar, moved from
9544 tramp-sh.el.
0ac26976 9545 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9546 needed anymore.
0ac26976
SM
9547 (tramp-error-with-buffer): Show message in minibuffer.
9548 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9549 (with-tramp-progress-reporter): Improve messages.
9550 (tramp-process-actions): Use progress reporter. Delete process in
9551 case of error. Improve messages.
9552
763a086d
JB
9553 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9554 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9555 (tramp-current-connection): Remove.
525c5c77
MA
9556 (tramp-maybe-open-connection): The car of
9557 `tramp-current-connection' are the first 3 slots of the vector.
9558
c7a4d368
TZ
95592013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9560
9561 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9562 inside continued strings.
9563
954b166e
PE
95642013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9565
9566 Timestamp fixes for undo (Bug#14824).
9567 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9568
56973319
LL
95692013-07-10 Leo Liu <sdl.web@gmail.com>
9570
9571 * files.el (require-final-newline): Allow safe local value.
9572 (Bug#14834)
9573
5550a72c
LL
95742013-07-09 Leo Liu <sdl.web@gmail.com>
9575
9576 * ido.el (ido-read-directory-name): Handle fallback.
9577 (ido-read-file-name): Update DIR to ido-current-directory.
9578 (Bug#1516)
c28b9050 9579 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9580
70c46b28
DG
95812013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9582
9583 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9584 "autoload". Remove "warn lower camel case" section, previously
9585 commented out. Highlight negation char. Do not highlight the
9586 target in singleton method definitions.
9587
0b64b838
SM
95882013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9589
7fd72e2c
SM
9590 * faces.el (tty-setup-hook): Declare the hook.
9591
0b64b838
SM
9592 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9593 and detect when a guard/pred depends on local vars (bug#14773).
9594 (pcase--u1): Adjust caller.
9595
ab49d60b
EZ
95962013-07-08 Eli Zaretskii <eliz@gnu.org>
9597
9598 * simple.el (line-move-partial, line-move): Account for
9599 line-spacing.
701d79aa
EZ
9600 (line-move-partial): Avoid setting vscroll when the last
9601 partially-visible line in window is of default height.
ab49d60b 9602
2d756ae0
LMI
96032013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9604
9605 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9606 been used a while.
9607
ed095bd7
JB
96082013-07-07 Juanma Barranquero <lekktu@gmail.com>
9609
9610 * subr.el (read-quoted-char): Remove unused local variable `char'.
9611
f1e6674b
MK
96122013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9613
584ee3fc
GM
9614 * ediff.el (ediff-version): Version update.
9615 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9616 (ediff-merge-with-ancestor-command, ediff-directories-command)
9617 (ediff-directories3-command, ediff-merge-directories-command)
9618 (ediff-merge-directories-with-ancestor-command): New functions.
9619 All are command-line interfaces to ediff: to facilitate calling
9620 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9621
9622 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9623 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9624
584ee3fc
GM
9625 * viper.el (viper-version): Version update.
9626 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9627
584ee3fc
GM
96282013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9631 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9632 (viper-intercept-ESC-key): Simplify.
9633 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9634 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9635 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9636 (viper-setup-ESC-to-escape): New functions.
9637 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9638 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9639
9aff9b38
EZ
96402013-07-07 Eli Zaretskii <eliz@gnu.org>
9641
5165d44a
JB
9642 * simple.el (default-font-height, window-screen-lines):
9643 New functions.
9aff9b38
EZ
9644 (line-move, line-move-partial): Use them instead of
9645 frame-char-height and window-text-height. This makes scrolling
9646 text smoother when the buffer's default face uses a font that is
9647 different from the frame's default font.
9648
1afb1d07
JD
96492013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9650
9651 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9652 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9653
23de972a
EZ
96542013-07-06 Eli Zaretskii <eliz@gnu.org>
9655
9656 * simple.el (line-move-partial): Adjust the row returned by
9657 posn-at-point for the current window-vscroll. (Bug#14567)
9658
54a42486
MA
96592013-07-06 Michael Albinus <michael.albinus@gmx.de>
9660
35e951cd 9661 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9662 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9663 spaces.
9664
34ada5f4
MR
96652013-07-06 Martin Rudalics <rudalics@gmx.at>
9666
9667 * window.el (window-state-put-stale-windows): New variable.
9668 (window--state-put-2): Save list of windows without matching buffer.
9669 (window-state-put): Remove "bufferless" windows if possible.
9670
11e03d89
JB
96712013-07-06 Juanma Barranquero <lekktu@gmail.com>
9672
9673 * simple.el (alternatives-define): Remove leftover :group keyword.
9674 Tweak docstring.
9675
3504a4be
LL
96762013-07-06 Leo Liu <sdl.web@gmail.com>
9677
9678 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9679 (ido-enable-virtual-buffers): New variable.
9680 (ido-buffer-internal, ido-toggle-virtual-buffers)
9681 (ido-make-buffer-list): Use it.
9682 (ido-exhibit): Support turning on and off virtual buffers
9683 automatically.
9684
61e56e2c
JB
96852013-07-06 Juanma Barranquero <lekktu@gmail.com>
9686
9687 * simple.el (alternatives-define): New macro.
9688
321e1a9c
SM
96892013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * subr.el (read-quoted-char): Use read-key.
9692 (sit-for): Let read-event decode tty input (bug#14782).
9693
d610f6dd
SB
96942013-07-05 Stephen Berman <stephen.berman@gmx.net>
9695
9696 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9697 mode command and externally. Fix various related bugs.
9698 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9699 (todo-delete-file): New command.
9700 (todo-check-file): New function.
9701 (todo-show): Handle external deletion of the file we're trying to
9702 show (bug#14688). Replace called-interactively-p by an optional
9703 prefix argument to avoid problematic interaction with catch form
9704 when byte compiled (bug#14702).
9705 (todo-quit): Handle external deletion of the archive's todo file.
9706 Make sure the buffer that was visiting the archive file is still
9707 live before trying to bury it.
9708 (todo-category-completions): Handle external deletion of any
9709 category completion files.
9710 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9711 of todo files, in case of external deletion.
9712 (todo-add-file): Replace unnecessary setq by let-binding.
9713 (todo-find-archive): Check whether there are any archives.
9714 Replace unnecessary setq by let-binding.
9715 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9716 archive buffer whether or not the archive already exists.
9717 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9718 check if the archive is new; if it is, update list of archives.
9719 (todo-default-todo-file): Allow nil to be a valid value for when
9720 there are no todo files.
9721 (todo-reevaluate-default-file-defcustom): Use corrected definition
9722 of todo-default-todo-file.
9723 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9724 (todo-delete-category, todo-show-categories-table)
9725 (todo-category-number): Clarify comment.
9726 (todo-filter-items): Clarify documentation string.
9727 (todo-show-current-file, todo-display-as-todo-file)
9728 (todo-reset-and-enable-done-separator): Tweak documentation string.
9729 (todo-done-separator): Make separator length window-width, since
9730 bug#2749 is now fixed.
9731
ddbdfd6f
MA
97322013-07-05 Michael Albinus <michael.albinus@gmx.de>
9733
321e1a9c
SM
9734 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9735 Support both "gvfs-monitor-dir" and "inotifywait".
9736 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9737 `tramp-sh-file-notify-process-filter'.
9738 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9739 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9740
96eb829a
LL
97412013-07-05 Leo Liu <sdl.web@gmail.com>
9742
9743 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9744
cf13177e
YM
97452013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9746
9747 * frame.el (display-pixel-height, display-pixel-width)
9748 (display-mm-height, display-mm-width): Mention behavior on
9749 multi-monitor setups in docstrings.
9750 (w32-display-monitor-attributes-list): Declare function.
9751 (display-monitor-attributes-list): Use it.
9752
864c58ca
MA
97532013-07-04 Michael Albinus <michael.albinus@gmx.de>
9754
9755 * filenotify.el: New package.
9756
9757 * autorevert.el (top): Require filenotify.el.
9758 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9759 instead.
9760 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9761 (auto-revert-notify-handler): Use `file-notify-*' functions.
9762
9763 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9764
321e1a9c
SM
9765 * net/tramp.el (tramp-file-name-for-operation):
9766 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9767
9768 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9769 for `file-notify-add-watch' and `file-notify-rm-watch'.
9770 (tramp-process-sentinel): Improve trace.
9771 (tramp-sh-handle-file-notify-add-watch)
9772 (tramp-sh-file-notify-process-filter)
9773 (tramp-sh-handle-file-notify-rm-watch)
9774 (tramp-get-remote-inotifywait): New defuns.
9775
96673afe
JL
97762013-07-03 Juri Linkov <juri@jurta.org>
9777
9778 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9779 call of `occur-read-primary-args' to interactive spec.
9780
9781 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9782 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9783
924494f4
MM
97842013-07-03 Matthias Meulien <orontee@gmail.com>
9785
9786 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9787 `Buffer-menu-multi-occur'. Add it to the menu.
9788 (Buffer-menu-mode): Document it in docstring.
9789 (Buffer-menu-multi-occur): New command. (Bug#14673)
9790
56f75efc
DG
97912013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9792
9793 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9794 keywords and built-ins.
9795
9b057d61
GM
97962013-07-03 Glenn Morris <rgm@gnu.org>
9797
208dee4d
GM
9798 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9799
9b057d61
GM
9800 Make info-xref checks case-sensitive by default
9801 * info.el (Info-find-node, Info-find-in-tag-table)
9802 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9803 Add option for exact case matching of nodes.
9804 * info-xref.el (info-xref): New custom group.
9805 (info-xref-case-fold): New option.
9806 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9807
e01aa29c
LL
98082013-07-03 Leo Liu <sdl.web@gmail.com>
9809
9810 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9811
3086ca2e
DG
98122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9813
9814 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9815 middle of block statement initially, lower the depth. Remove
9816 FIXME comment, not longer valid. Remove middle of block statement
9817 detection, no need to do that anymore since we've been using
9818 `ruby-parse-region' here.
9819
a3b49114
JD
98202013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9821
9822 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9823
08e5c823 98242013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9825
9826 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9827
2addf922
JB
98282013-07-01 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9831 (desktop-restore-in-current-display): New customization option.
9832 (desktop--excluded-frame-parameters): Add `font'.
9833 (desktop--save-frames): Rename from desktop--save-windows.
9834 (desktop--restore-in-this-display-p): New function.
9835 (desktop--make-full-frame): Remove unwanted width/height from
9836 full(width|height) frames.
9837 (desktop--restore-frames): Rename from desktop--restore-windows.
9838 Obey desktop-restore-current-display. Do not delete old frames or
9839 select a new frame unless we were able to restore at least one frame.
9840
ef099a94
MN
98412013-06-30 Michal Nazarewicz <mina86@mina86.com>
9842
9843 * files.el (find-file-noselect): Simplify conditional expression.
9844
a12bf61e 9845 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9846 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9847
9848 Add `remember-notes' function to store random notes across Emacs
9849 restarts.
3fcfc4ee
JB
9850 * textmodes/remember.el (remember-data-file): Add :set callback to
9851 affect notes buffer (if any).
ef099a94
MN
9852 (remember-notes): New command.
9853 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9854 New defcustoms for the `remember-notes' function.
9855 (remember-notes-save-and-bury-buffer): New command.
9856 (remember-notes-mode-map): New variable.
9857 (remember-mode): New minor mode.
9858 (remember-notes--kill-buffer-query): New function.
9859 * startup.el (initial-buffer-choice): Add notes to custom type.
9860
0865d506
EZ
98612013-06-30 Eli Zaretskii <eliz@gnu.org>
9862
0ba54312
EZ
9863 * bindings.el (right-char, left-char): Don't call sit-for, this is
9864 no longer needed. Use arithmetic comparison only for numerical
9865 arguments.
9866
ef099a94
MN
9867 * international/mule-cmds.el (select-safe-coding-system):
9868 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9869
2fae38e5
LMI
98702013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9871
9872 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9873 progression on degenerate tables.
ef099a94 9874 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9875
a47cbd64
JB
98762013-06-30 Juanma Barranquero <lekktu@gmail.com>
9877
9878 Some fixes and improvements for desktop frame restoration.
9879 It is still experimental and disabled by default.
9880 * desktop.el (desktop--save-windows): Put the selected frame at
9881 the head of the list.
9882 (desktop--make-full-frame): New function.
9883 (desktop--restore-windows): Try to re-select the frame that was
9884 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9885 just show an error message and continue. Set up maximized frames
9886 so they have default non-maximized dimensions.
a47cbd64 9887
6dbafa30
DG
98882013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9889
ef099a94
MN
9890 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9891 Don't start heredoc inside a string or comment.
6dbafa30 9892
4c672a0f
EZ
98932013-06-29 Eli Zaretskii <eliz@gnu.org>
9894
9895 * bindings.el (visual-order-cursor-movement): New defcustom.
9896 (right-char, left-char): Provide visual-order cursor motion by
9897 calling move-point-visually. Update the doc strings.
9898
50960f36
KH
98992013-06-28 Kenichi Handa <handa@gnu.org>
9900
9901 * international/mule.el (define-coding-system): New coding system
9902 properties :inhibit-null-byte-detection,
9903 :inhibit-iso-escape-detection, and :prefer-utf-8.
9904 (set-buffer-file-coding-system): If :charset-list property of
9905 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9906 appropriate for setting.
9907
c1ea3abf
JB
9908 * international/mule-cmds.el (select-safe-coding-system):
9909 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9910 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9911
9912 * international/mule-conf.el (prefer-utf-8): New coding system.
9913 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9914 files.
9915
75dbaf9d
IK
99162013-06-28 Ivan Kanis <ivan@kanis.fr>
9917
eadb6068
IK
9918 * net/shr.el (shr-render-region): New function.
9919
75dbaf9d
IK
9920 * net/eww.el: Autoload `eww-browse-url'.
9921
9ea5cf9f
DG
99222013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9923
c1ea3abf
JB
9924 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9925 Adapt to `package-desc-version' being a list.
9926 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9927 archive element.
9928
39c0e36f
JB
99292013-06-27 Juanma Barranquero <lekktu@gmail.com>
9930
9931 New experimental feature to save&restore window and frame setup.
9932 * desktop.el (desktop-save-windows): New defcustom.
9933 (desktop--saved-states): New var.
9934 (desktop--excluded-frame-parameters): New defconst.
9935 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9936 (desktop--restore-windows, desktop--save-windows): New functions.
9937 (desktop-save): Call `desktop--save-windows'.
9938 (desktop-read): Call `desktop--restore-windows'.
9939
7f13406b
LMI
99402013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9941
ef099a94 9942 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9943
1e072639
SB
99442013-06-27 Stephen Berman <stephen.berman@gmx.net>
9945
9946 * info.el (Info-try-follow-nearest-node): Move search for footnote
9947 above search for node name to prevent missing a footnote (bug#14717).
9948
f3e2cbde
SB
99492013-06-27 Stephen Berman <stephen.berman@gmx.net>
9950
9951 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9952
99906aa0
LL
99532013-06-27 Leo Liu <sdl.web@gmail.com>
9954
9955 * net/eww.el (eww-read-bookmarks): Check file size.
9956
539f75f4
SM
99572013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9958
9959 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9960 advice--pending if newdef is nil or an autoload (bug#13820).
9961 (advice-mapc): New function.
9962
843571cb
LMI
99632013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9964
9965 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9966 probably.
23a75d7f 9967 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9968 (eww-add-bookmark): New command.
9969 (eww-bookmark-mode): New mode and commands.
a285ce99 9970 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9971 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9972
f2136e1e
GM
99732013-06-26 Glenn Morris <rgm@gnu.org>
9974
eab35f39
GM
9975 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9976 (hfy-size): Handle ttys. (Bug#14668)
9977
f2136e1e
GM
9978 * info-xref.el: Update for Texinfo 5 change in *note format.
9979 (info-xref-node-re, info-xref-note-re): New constants.
9980 (info-xref-check-buffer): Use info-xref-note-re.
9981
a49ff80c
SM
99822013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9983
a343d218
SM
9984 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9985
a49ff80c
SM
9986 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9987 nil terminate the loop (bug#14718).
9988
8308f184
LMI
99892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9990
9991 * net/eww.el: Rework history traversal. When going forward/back,
9992 put these actions into the history, too, so that they can be
9993 replayed.
26bf2b82 9994 (eww-render): Move the history reset to the correct buffer.
8308f184 9995
ec64c273
JL
99962013-06-25 Juri Linkov <juri@jurta.org>
9997
9998 * files-x.el (modify-dir-local-variable): Change the header comment
9999 in the file with directory local variables. (Bug#14692)
10000
e080a9d7
JL
10001 * files-x.el (read-file-local-variable-value): Add `default'.
10002 (Bug#14710)
10003
bfbc93a1
IK
100042013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005
10006 * net/eww.el (eww-make-unique-file-name): Create a unique file
10007 name before saving to entering `y' accidentally asynchronously.
10008
100092013-06-25 Ivan Kanis <ivan@kanis.fr>
10010
10011 * net/eww.el (eww-download): New command and keystroke.
10012
16f74f10
LMI
100132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10014
a49ff80c 10015 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
10016
10017 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10018 be more consistent with Info and dired.
10019
10020 * net/eww.el (eww-mode-map): Ditto.
10021
12059709
SM
100222013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10025 packages from archives.
10026 (package-archive-contents): Change format; include obsolete packages.
10027 (package-desc): Use `dir' to mark builtin packages.
10028 (package--from-builtin): Set the `dir' field to `builtin'.
10029 (generated-autoload-file, version-control): Declare.
10030 (package-compute-transaction): Change first arg and return value to be
10031 lists of package-descs. Adjust to new package-archive-contents format.
10032 (package--add-to-archive-contents): Adjust to new
10033 package-archive-contents format.
10034 (package-download-transaction): Arg is now a list of package-descs.
10035 (package-install): If `pkg' is a package name, pass it as
10036 a requirement, so it is subject to the usual (e.g. disabled) checks.
10037 (describe-package): Accept package-desc as well.
10038 (describe-package-1): Describe a specific package-desc. Add links to
10039 other package-descs for the same package name.
10040 (package-menu-describe-package): Pass the actual package-desc.
10041 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10042 works correctly.
10043 (package-desc-status): New function.
10044 (package-menu--refresh): New function, extracted
10045 from package-menu--generate.
10046 (package-menu--generate): Use it.
10047 (package-delete): Update package-alist.
10048 (package-menu-execute): Don't call package-initialize.
10049
10050 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10051 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10052 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10053 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10054 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10055 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10056
8bbdea0f
MR
100572013-06-25 Martin Rudalics <rudalics@gmx.at>
10058
10059 * window.el (window--state-get-1): Workaround for bug#14527.
10060 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10061
e82b0991
LMI
100622013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10063
10064 * net/eww.el (eww-back-url): Implement the history by stashing all
10065 the data into a list.
d3f0f918 10066 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10067
c763842b
SM
100682013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10069
10070 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10071 for values and use read--expression for expressions (bug#14710).
10072 (read-file-local-variable): Avoid setq.
10073 (read-file-local-variable-mode): Use minor-mode-list.
10074
bceff189
RW
100752013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10076
864c58ca 10077 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
10078 for DOI URLs.
10079
45f431c6
RW
100802013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10081
864c58ca 10082 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
10083 Update imenu-support when dialect changes.
10084
f42d8237
LL
100852013-06-25 Leo Liu <sdl.web@gmail.com>
10086
10087 * ido.el (ido-read-internal): Allow forward slash on windows.
10088
be549ce6
LMI
100892013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10090
10091 * net/eww.el (eww): Start of strings is \\`, not ^.
10092
71d4c19d
IK
100932013-06-24 Ivan Kanis <ivan@kanis.fr>
10094
5196f88a
IK
10095 * net/shr.el (shr-browse-url): Fix interactive spec.
10096
71d4c19d
IK
10097 * net/eww.el (eww): Add a trailing slash to domain names.
10098
ae36ca55
JB
100992013-06-24 Juanma Barranquero <lekktu@gmail.com>
10100
10101 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10102
0ebd92a3
LMI
101032013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10104
bdaa086b
LMI
10105 * net/shr.el (shr-browse-url): Use an external browser if given a
10106 prefix.
10107
c763842b 10108 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 10109
b89fc156
IK
101102013-06-24 Ivan Kanis <ivan@kanis.fr>
10111
10112 * net/eww.el (eww): Work more correctly for file: URLs.
10113 (eww-detect-charset): Allow quoted charsets.
10114 (eww-yank-page-url): New command and keystroke.
10115
18eb4bca
DU
101162013-06-24 Daiki Ueno <ueno@gnu.org>
10117
10118 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10119 file name of gpg executable.
10120 (epg-context-program): New function.
10121 (epg-context-home-directory): New function.
10122 (epg-context-set-program): New function.
10123 (epg-context-set-home-directory): New function.
10124 (epg--start): Use `epg-context-program' instead of
10125 'epg-gpg-program'.
10126 (epg--list-keys-1): Likewise.
10127
6c6268c8
LL
101282013-06-24 Leo Liu <sdl.web@gmail.com>
10129
10130 * ido.el (ido-read-internal): Fix bug#14620.
10131
5e400cb3
JB
101322013-06-23 Juanma Barranquero <lekktu@gmail.com>
10133
10134 * faces.el (face-documentation): Simplify.
10135 (read-face-attribute, tty-find-type, x-resolve-font-name):
10136 Use `string-match-p'.
10137 (list-faces-display): Use `string-match-p'. Simplify.
10138 (face-spec-recalc): Check face to avoid face alias loops.
10139 (read-color): Use `string-match-p' and non-capturing parenthesis.
10140
f3f9606c
LMI
101412013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10142
10143 * net/shr.el (shr-rescale-image): Use the new
10144 :max-width/:max-height functionality.
10145
a3ca09b9
IK
101462013-06-23 Ivan Kanis <ivan@kanis.fr>
10147
10148 * net/eww.el (eww-search-prefix): New variable.
10149 (eww): Use it.
f865b474
IK
10150 (eww-external-browser): New variable.
10151 (eww-mode-map): New keystroke.
10152 (eww-browse-with-external-browser): New command.
a3ca09b9 10153
e854cfc7
IK
10154 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10155
18bb9e21
JB
101562013-06-23 Juanma Barranquero <lekktu@gmail.com>
10157
10158 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10159 Don't skip aligning the next header field when padding is 0;
10160 otherwise, field width is not respected unless the title is as
10161 wide as the field.
10162
5b165ade
SM
101632013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10164
10165 * emacs-lisp/package.el (package-el-version): Remove.
10166 (package-process-define-package): Fix inf-loop.
10167 (package-install): Allow symbols as arguments again.
10168
12adebe9
DG
101692013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10170
10171 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10172 add some more keyword-like methods.
10173 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10174
388573ee
JB
101752013-06-22 Juanma Barranquero <lekktu@gmail.com>
10176
10177 * bs.el (bs-buffer-show-mark): Make defvar-local.
10178 (bs-mode): Use setq-local.
10179
10180 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10181 (emacs-lock--try-unlocking): Make defvar-local.
10182
4582a01c 101832013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10184
2663dd23
GM
10185 * play/cookie1.el (cookie-apropos): Minor simplification.
10186
3d94f3ad
GM
10187 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10188
f72e2fdb
DG
101892013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10190
10191 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10192 `regexp-opt', it breaks the build during dumping.
10193
73eab938
DG
101942013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10195
c763842b
SM
10196 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10197 Highlight keyword-like methods on Kernel and Module with
73eab938 10198 font-lock-builtin-face.
5cf8176d
DG
10199 (auto-mode-alist): Consolidate different entries into one regexp
10200 and add more *file-s.
73eab938 10201
d26255f6
SB
102022013-06-21 Stephen Berman <stephen.berman@gmx.net>
10203
10204 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10205
10206 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10207 (diary-entry): Use it in the action of this button type instead of
10208 diary-goto-entry.
10209
10210 * calendar/todo-mode.el: New version.
10211 (todo-add-category): Append new category to end of file and give
10212 it the highest number, instead of putting it at the beginning and
10213 giving it 0. Incorporate noninteractive functionality.
10214 (todo-forward-category): Adapt to 1-based category numbering.
10215 Allow skipping over archived categories.
10216 (todo-backward-category): Derive from todo-forward-category.
10217 (todo-backward-item, todo-forward-item): Make noninteractive and
10218 delegate interactive part to new commands. Make sensitive to done items.
10219 (todo-categories): Make value an alist of category names and
10220 vectors of item counts.
10221 (todo-category-beg): Make a defconst.
10222 (todo-category-number): Use 1 instead of 0 as initial value.
10223 (todo-category-select): Make sensitive to overlays, optional item
10224 highlighting and done items.
10225 (todo-delete-item): Make sensitive to overlays and marked and done items.
10226 (todo-edit-item): Make sensitive to overlays and editing of
10227 date/time header optional. Add format checks.
10228 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10229 no-op if point is not on an item. Advertise using todo-edit-quit.
10230 (todo-edit-mode): Make sensitive to new format, font-locking, and
10231 multiple todo files.
10232 (todo-insert-item, todo-insert-item-here): Derive from
10233 todo-basic-insert-item and extend functionality.
10234 (todo-item-end, todo-item-start): Make sensitive to done items.
10235 (todo-item-string): Don't return text properties. Restore point.
10236 (todo-jump-to-category): Make sensitive to multiple todo files and
10237 todo archives. Use extended category completion.
10238 (todo-lower-item, todo-raise-item): Rename to *-priority and
10239 derive from todo-set-item-priority.
10240 (todo-mode): Derive from special-mode. Make sensitive to new
10241 format, font-locking and multiple todo files. Make read-only.
10242 (todo-mode-map): Don't suppress digit keys, so they can supply
10243 prefix arguments. Add many new key bindings.
10244 (todo-prefix): Insert as an overlay instead of file text.
10245 Change semantics from diary date expression to purely visual mark.
10246 (todo-print): Rename to todo-print-buffer. Make buffer display
10247 features printable. Remove option to restrict number of items
10248 printed. Add option to print to file.
10249 (todo-print-function): Rename to todo-print-buffer-function.
10250 (todo-quit): Extend to handle exiting new todo modes.
10251 (todo-remove-item): Make sensitive to overlays.
10252 (todo-save): Extend to buffers of filtered items.
10253 (todo-show): Make sensitive to done items, multiple todo files and
10254 new todo modes. Offer to convert legacy todo file before creating
10255 first new todo file.
10256 (todo-show-priorities): Rename to todo-top-priorities.
10257 Change semantics of value 0.
10258 (todo-top-priorities): Rename to todo-filter-top-priorities,
10259 derive from todo-filter-items and extend functionality.
10260 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10261 and extend functionality to other types of filtered items.
10262 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10263 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10264 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10265 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10266 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10267 (todo-edit-mode-hook, todo-entry-prefix-function)
10268 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10269 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10270 (todo-initials, todo-insert-threshold, todo-item-string-start)
10271 (todo-line-string, todo-menu, todo-mode-hook)
10272 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10273 (todo-print-priorities, todo-remove-separator)
10274 (todo-save-top-priorities-too, todo-string-count-lines)
10275 (todo-string-multiline-p, todo-time-string-format)
10276 (todo-tmp-buffer-name): Remove.
10277 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10278 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10279 (todo-edit-category-diary-inclusion)
10280 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10281 (todo-edit-file, todo-edit-item-date-day)
10282 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10283 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10284 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10285 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10286 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10287 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10288 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10289 (todo-filter-top-priorities-multifile, todo-find-archive)
10290 (todo-find-filtered-items-file, todo-go-to-source-item)
10291 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10292 (todo-jump-to-archive-category, todo-lower-category)
10293 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10294 (todo-move-category, todo-move-item, todo-next-button)
10295 (todo-next-item, todo-padded-string, todo-powerset)
10296 (todo-previous-button, todo-previous-item)
10297 (todo-print-buffer-to-file, todo-raise-category)
10298 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10299 (todo-set-category-number, todo-set-item-priority)
10300 (todo-set-top-priorities-in-category)
10301 (todo-set-top-priorities-in-file, todo-show-categories-table)
10302 (todo-sort-categories-alphabetically-or-numerically)
10303 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10304 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10305 (todo-toggle-item-header, todo-toggle-item-highlighting)
10306 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10307 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10308 (todo-unarchive-items, todo-unmark-category): New commands.
10309 (todo-absolute-file-name, todo-add-to-buffer-list)
10310 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10311 (todo-basic-insert-item, todo-category-completions)
10312 (todo-category-number, todo-category-string-matcher-1)
10313 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10314 (todo-check-format, todo-clear-matches)
10315 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10316 (todo-current-category, todo-date-string-matcher)
10317 (todo-define-insertion-command, todo-diary-expired-matcher)
10318 (todo-diary-goto-entry, todo-diary-item-p)
10319 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10320 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10321 (todo-done-item-section-p, todo-done-separator)
10322 (todo-done-string-matcher, todo-files, todo-filter-items)
10323 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10324 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10325 (todo-insert-category-line, todo-insert-item-from-calendar)
10326 (todo-insert-sort-button, todo-insert-with-overlays)
10327 (todo-insertion-command-name, todo-insertion-key-bindings)
10328 (todo-label-to-key, todo-longest-category-name-length)
10329 (todo-make-categories-list, todo-mode-external-set)
10330 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10331 (todo-modes-set-3, todo-multiple-filter-files)
10332 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10333 (todo-read-category, todo-read-date, todo-read-dayname)
10334 (todo-read-file-name, todo-read-time)
10335 (todo-reevaluate-category-completions-files-defcustom)
10336 (todo-reevaluate-default-file-defcustom)
10337 (todo-reevaluate-filelist-defcustoms)
10338 (todo-reevaluate-filter-files-defcustom)
10339 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10340 (todo-reset-done-separator, todo-reset-done-separator-string)
10341 (todo-reset-done-string, todo-reset-global-current-todo-file)
10342 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10343 (todo-reset-prefix, todo-set-categories)
10344 (todo-set-date-from-calendar, todo-set-show-current-file)
10345 (todo-set-top-priorities, todo-short-file-name)
10346 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10347 (todo-total-item-counts, todo-update-buffer-list)
10348 (todo-update-categories-display, todo-update-categories-sexp)
10349 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10350 New functions.
10351 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10352 New major modes.
10353 (todo-categories, todo-display, todo-edit, todo-faces)
10354 (todo-filtered): New defgroups.
10355 (todo-archived-only, todo-button, todo-category-string, todo-date)
10356 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10357 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10358 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10359 (todo-add-item-if-new-category, todo-always-add-time-string)
10360 (todo-categories-align, todo-categories-archived-label)
10361 (todo-categories-category-label, todo-categories-diary-label)
10362 (todo-categories-done-label, todo-categories-number-separator)
10363 (todo-categories-todo-label, todo-categories-totals-label)
10364 (todo-category-completions-files, todo-completion-ignore-case)
10365 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10366 (todo-done-separator-string, todo-done-string)
10367 (todo-files-function, todo-filter-done-items, todo-filter-files)
10368 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10369 (todo-initial-category, todo-initial-file, todo-item-mark)
10370 (todo-legacy-date-time-regexp, todo-mode-line-function)
10371 (todo-nondiary-marker, todo-number-prefix)
10372 (todo-print-buffer-function, todo-show-current-file)
10373 (todo-show-done-only, todo-show-first, todo-show-with-done)
10374 (todo-skip-archived-categories, todo-top-priorities-overrides)
10375 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10376 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10377 New defcustoms.
10378 (todo-category-done, todo-date-pattern, todo-date-string-start)
10379 (todo-diary-items-buffer, todo-done-string-start)
10380 (todo-filtered-items-buffer, todo-item-start)
10381 (todo-month-abbrev-array, todo-month-name-array)
10382 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10383 (todo-top-priorities-buffer): New defconsts.
10384 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10385 (todo-categories-with-marks, todo-category-string-face)
10386 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10387 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10388 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10389 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10390 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10391 (todo-font-lock-keywords, todo-global-current-todo-file)
10392 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10393 (todo-insertion-commands-args)
10394 (todo-insertion-commands-args-genlist)
10395 (todo-insertion-commands-names, todo-insertion-map)
10396 (todo-key-bindings-t, todo-key-bindings-t+a)
10397 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10398 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10399 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10400 (todo-visited): New variables.
10401
cad5d1cb
GM
104022013-06-21 Glenn Morris <rgm@gnu.org>
10403
10404 * play/cookie1.el (cookie-apropos): Add optional display argument.
10405 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10406 (psychoanalyze-pinhead): Use cookie-doctor.
10407
9e277302
JB
104082013-06-21 Juanma Barranquero <lekktu@gmail.com>
10409
10410 * emacs-lisp/package.el (tar-get-file-descriptor)
10411 (tar--extract): Declare.
10412
c5b0993e
EW
104132013-06-21 Eduard Wiebe <usenet@pusto.de>
10414
10415 Extend flymake's warning predicate to be a function (bug#14217).
10416 * progmodes/flymake.el (flymake-warning-predicate): New.
10417 (flymake-parse-line): Use it.
10418 (flymake-warning-re): Make obsolete alias to
10419 `flymake-warning-predicate'.
10420
a7d2d465
SM
104212013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10422
10423 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10424 (package-obsolete-list): Remove.
10425 (package-activate): Remove min-version argument. Add `force' argument.
10426 Adjust to new package-alist format.
10427 (package-mark-obsolete): Remove.
10428 (package-unpack): Force reload of the package's autoloads.
10429 (package-installed-p): Check builtins if the installed package is not
10430 recent enough.
10431 (package-initialize): Don't reset package-obsolete-list.
10432 Don't specify which package version to activate.
10433 (package-process-define-package, describe-package-1)
10434 (package-menu--generate): Adjust to new package-alist format.
10435
cedf5c9d
JB
104362013-06-21 Juanma Barranquero <lekktu@gmail.com>
10437
10438 * allout-widgets.el (allout-widgets-mode-off)
10439 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10440 (allout-widgets-post-command-business)
10441 (allout-widgets-after-copy-or-kill-function)
10442 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10443 (allout-decorate-item-and-context)
10444 (allout-graphics-modification-handler): Fix typos in docstrings.
10445 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10446
10447 * cmuscheme.el (scheme-start-file): Doc fix.
10448 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10449 (scheme-input-filter): Use `string-match-p'.
10450
10451 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10452
10453 * dired-x.el: Use Dired consistently in docstrings.
10454
10455 * dired.el: Use Dired consistently in docstrings.
10456 (dired-readin, dired-mode): Use `setq-local'.
10457 (dired-switches-alist): Make defvar-local.
10458 (dired-buffers-for-dir): Use `zerop'.
10459 (dired-safe-switches-p, dired-switches-escape-p)
10460 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10461 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10462 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10463 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10464 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10465 (dired-toggle-marks, dired-mark-files-containing-regexp)
10466 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10467 (dired-flag-auto-save-files, dired-flag-backup-files):
10468 Use `looking-at-p'.
10469 (dired-mark-files-regexp, dired-build-subdir-alist):
10470 Use `string-match-p', `looking-at-p'.
10471
10472 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10473 (direct-print-region-helper): Use `string-match-p'.
10474
aed838b5
LL
104752013-06-21 Leo Liu <sdl.web@gmail.com>
10476
cedf5c9d
JB
10477 * comint.el (comint-redirect-results-list-from-process):
10478 Fix infinite loop.
aed838b5 10479
d80a808f
LMI
104802013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10481
10482 * net/eww.el (eww-update-header-line-format): Quote % characters.
10483
e7a526e3
GM
104842013-06-21 Glenn Morris <rgm@gnu.org>
10485
10486 * play/cookie1.el (cookie): New custom group.
10487 (cookie-file): New option.
10488 (cookie-check-file): New function.
10489 (cookie): Make it interactive. Make start and end messages optional.
10490 Interactively, display the result. Default to cookie-file.
10491 (cookie-insert): Default to cookie-file.
10492 (cookie-snarf): Make start and end messages optional.
10493 Default to cookie-file. Use with-temp-buffer.
10494 (cookie-read): Rename from read-cookie.
10495 Make start and end messages optional. Default to cookie-file.
10496 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10497 Do not autoload it.
e7a526e3
GM
10498 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10499 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10500
62efb35e
LL
105012013-06-21 Leo Liu <sdl.web@gmail.com>
10502
10503 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10504
21e3f963
GM
105052013-06-21 Glenn Morris <rgm@gnu.org>
10506
10507 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10508
fd846ab4
SM
105092013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10510 Daniel Hackney <dan@haxney.org>
10511
10512 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10513 Consolidate the single-file vs tarball code.
10514 (package-desc-suffix): New function.
10515 (package-desc-full-name): Don't bother inlining it.
10516 (package-load-descriptor): Return the new package-desc.
10517 (package-mark-obsolete): Remove unused arg `package'.
10518 (package-unpack): Make it work for single files as well.
10519 Make it update package-alist.
10520 (package--make-autoloads-and-stuff): Rename from
10521 package--make-autoloads-and-compile. Don't compile any more.
10522 (package--compile): New function.
10523 (package-generate-description-file): New function, extracted from
10524 package-unpack-single.
10525 (package-unpack-single): Remove.
10526 (package--with-work-buffer): Add indentation and debugging info.
10527 (package-download-single): Remove.
10528 (package-install-from-archive): Rename from package-download-tar, make
10529 it take a pkg-desc, and make it work for single files as well.
10530 (package-download-transaction): Simplify.
10531 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10532 external tar program.
10533 (package-install-from-buffer): Remove `pkg-desc' argument.
10534 Use package-tar-file-info for tar-mode buffers.
10535 (package-install-file): Simplify accordingly.
10536 (package-archive-base): Change to take a pkg-desc.
10537 * tar-mode.el (tar--check-descriptor): New function, extracted from
10538 tar-get-descriptor.
10539 (tar-get-descriptor): Use it.
10540 (tar-get-file-descriptor): New function.
10541 (tar--extract): New function, extracted from tar-extract.
10542 (tar--extract): Use it.
10543 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10544 case the summary uses non-ascii. Adjust to new calling convention of
10545 package-tar-file-info.
10546
b7deae5e
LL
105472013-06-21 Leo Liu <sdl.web@gmail.com>
10548
fd846ab4
SM
10549 * comint.el (comint-redirect-results-list-from-process):
10550 Fix random delay. (Bug#14681)
b7deae5e 10551
7a65a0b2
JB
105522013-06-21 Juanma Barranquero <lekktu@gmail.com>
10553
10554 * profiler.el (profiler-format-number): Use log, not log10.
10555
1493c2af
JB
105562013-06-20 Juanma Barranquero <lekktu@gmail.com>
10557
10558 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10559
aff6371e
SM
105602013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10561
10562 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10563 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10564 yet available.
10565 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10566 (AUTOGENEL): ... here.
10567 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10568 (cl--defsubst-expand): Use it.
10569
89561f72
PE
105702013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10571
10572 * subr.el (log10): Move here from C code, and declare as obsolete.
10573 All uses of (log10 X) replaced with (log X 10).
10574
47199123
JB
105752013-06-20 Juanma Barranquero <lekktu@gmail.com>
10576
10577 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10578 Declare with `defvar-local'.
10579 (tabulated-list-use-header-line, tabulated-list-entries)
10580 (tabulated-list-padding, tabulated-list-printer)
10581 (tabulated-list-sort-key): Declare with `defvar-local'.
10582 (tabulated-list-init-header, tabulated-list-print-fake-header):
10583 Use `setq-local'.
10584
4a172eab
MA
105852013-06-20 Michael Albinus <michael.albinus@gmx.de>
10586
47199123
JB
10587 * arc-mode.el (archive-mode): Add `archive-write-file' to
10588 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10589
5fc0acc0
JB
105902013-06-20 Juanma Barranquero <lekktu@gmail.com>
10591
d5b27848
JB
10592 * cus-edit.el (custom-commands): Fix typos.
10593 (custom-display): Fix tooltip text.
10594 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10595 Fix typos in docstrings.
10596 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10597 (custom-unlispify-menu-entry, custom-magic-value-create)
10598 (custom-add-see-also, custom-group-value-create): Use ?\s.
10599 (custom-guess-type, customize-apropos, editable-field)
10600 (custom-face-value-create): Use `string-match-p'.
10601 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10602
10603 * custom.el (custom-load-symbol): Use `string-match-p'.
10604
a5c581d8
JB
10605 * ansi-color.el: Convert to lexical binding.
10606 (ansi-colors): Fix URL.
10607 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10608 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10609 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10610
970ad972
G
106112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10612
10613 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10614
10615 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10616
106172013-06-19 Tom Tromey <tromey@redhat.com>
10618
10619 * net/eww.el (eww-top-url): Remove.
10620 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10621 (eww-render): Set new variables. Don't set eww-top-url.
10622 (eww-handle-link): Handle "prev", "home", and "contents".
10623 Downcase the rel text.
10624 (eww-top-url): Choose best top URL.
10625
106262013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10627
10628 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10629 relying in widget.el. Using widget.el leads to too many
10630 user interface inconsistencies.
10631 (eww-self-insert): Implement entering commands in text fields.
10632 (eww-process-text-input): New function to make text input field editing
10633 work.
10634 (eww-submit): Rewrite to use the new-style form methods.
10635 (eww-select-display): Display the correct selected item.
10636 (eww-change-select): Implement changing the select value.
10637 (eww-toggle-checkbox): Implement radio/checkboxes.
10638 (eww-update-field): Fix compilation error.
10639 (eww-tag-textarea): Implement <textarea>.
10640
10641 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10642 we don't shadow mode-specific bindings.
10643
10644 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10645 nothing to push.
10646
10647 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10648
4582a01c 106492013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10650
10651 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10652
15b263dc
MA
106532013-06-19 Michael Albinus <michael.albinus@gmx.de>
10654
10655 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10656 not needed.
10657
10658 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10659
8f5297f7
LMI
106602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10661
10662 * net/browse-url.el (browse-url-browser-function):
10663 `eww-browse-url' has the right calling signature, `eww' does not.
10664
011c4552
GM
106652013-06-19 Glenn Morris <rgm@gnu.org>
10666
2285bd27
GM
10667 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10668 Only eval autoloaded macros.
10669 (byte-compile-autoload): Only give the macro warning for macros.
10670
1d653303
GM
10671 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10672 (ps-underlined-faces): Declare.
10673
bdd779ec
GM
10674 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10675 (speedbar-add-supported-extension): Declare.
10676
011c4552
GM
10677 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10678 Don't include a date stamp in the header of the generated file;
10679 it leads to needless differences between output files.
10680
e59dfb0e
MA
106812013-06-19 Michael Albinus <michael.albinus@gmx.de>
10682
c763842b
SM
10683 * net/secrets.el (secrets-struct-secret-content-type):
10684 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10685 Some servers do not offer introspection.
e59dfb0e 10686
102626e2
SM
106872013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10688
10689 * electric.el (electric-pair-mode): Improve interaction with
10690 electric-layout-mode.
10691 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10692 (electric-pair-syntax): Use text-mode-syntax-table in comments
10693 and strings.
10694 (electric-pair--insert): New function.
10695 (electric-pair-post-self-insert-function): Use it and
10696 electric--after-char-pos.
10697
ad528125
LL
106982013-06-19 Leo Liu <sdl.web@gmail.com>
10699
10700 * progmodes/octave.el (octave-help): Fix regexp.
10701
924d6997
G
107022013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10703
10704 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10705 (shr-table-horizontal-line): Allow nil as a value, and change the
10706 default.
10707 (shr-insert-table-ruler): Respect the nil value.
10708
107092013-06-18 Tom Tromey <tromey@barimba>
10710
10711 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10712 New defvars.
10713 (eww-open-file): New defun.
10714 (eww-render): Initialize new variables.
10715 (eww-display-html): Handle "link" and "a".
10716 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10717 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10718 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10719 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10720 New defuns.
924d6997 10721
d1bbba4f
DG
107222013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10723
10724 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10725 Distinguish ternary operator tokens from slash symbol and slash
10726 char literal.
10727
14dd22d2
JB
107282013-06-18 Juanma Barranquero <lekktu@gmail.com>
10729
10730 Convert symbol prettification into minor mode and global minor mode.
10731
10732 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10733 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10734 (prettify-symbols--keywords): Rename from
10735 `prog-prettify-symbols-alist' and make a local defvar.
10736 (prettify-symbols--compose-symbol): Rename from
10737 `prog--prettify-font-lock-compose-symbol'.
10738 (prettify-symbols--make-keywords): Rename from
10739 `prog-prettify-font-lock-symbols-keywords' and simplify.
10740 (prog-prettify-install): Remove.
10741 (prettify-symbols-mode): New minor mode, based on
10742 `prog-prettify-install'.
10743 (turn-on-prettify-symbols-mode): New function.
10744 (global-prettify-symbols-mode): New globalized minor mode.
10745
10746 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10747 * progmodes/cfengine.el (cfengine3-mode):
10748 * progmodes/perl-mode.el (perl-mode): Don't call
10749 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10750
292c880c
JL
107512013-06-18 Juri Linkov <juri@jurta.org>
10752
10753 * files-x.el (modify-file-local-variable-message): New function.
10754 (modify-file-local-variable)
10755 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10756 and call `modify-file-local-variable-message' when it's non-nil.
10757 (add-file-local-variable, delete-file-local-variable)
10758 (add-file-local-variable-prop-line)
10759 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10760 and use it. (Bug#9820)
10761
0950aa27
JL
107622013-06-18 Juri Linkov <juri@jurta.org>
10763
10764 * emulation/vi.el (vi-shell-op):
10765 * emulation/vip.el (vip-execute-com, ex-command):
10766 * emulation/viper-cmd.el (viper-exec-bang):
10767 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10768 the call of `shell-command-on-region'. (Bug#14637)
10769
10770 * simple.el (shell-command-on-region): Doc fix.
10771
8fbcca16
SM
107722013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10775 (bug#14633).
10776
dd7426ea
GM
107772013-06-18 Glenn Morris <rgm@gnu.org>
10778
4ba54f7d
GM
10779 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10780
dd7426ea
GM
10781 * newcomment.el (comment-search-forward, comment-search-backward):
10782 Doc fix. (Bug#14376)
10783
58aa805b
JB
107842013-06-18 Juanma Barranquero <lekktu@gmail.com>
10785
10786 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10787 (buffer-face-mode-invoke): Doc fix.
10788
9a08a617
MM
107892013-06-18 Matthias Meulien <orontee@gmail.com>
10790
10791 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10792 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10793
f2f426ca
GM
107942013-06-18 Glenn Morris <rgm@gnu.org>
10795
9445f99b
GM
10796 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10797 Replace obsolete function generic-make-keywords with its expansion.
10798
e0df2d14
GM
10799 * progmodes/python.el (ffap-alist): Declare.
10800
f2f426ca
GM
10801 * textmodes/reftex.el (bibtex-mode-map): Declare.
10802
f7f9a720
SM
108032013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10806 (package-unpack, package-unpack-single): Return the pkg-dir.
10807 (package-download-transaction): Use it to update package-alist.
10808
57ff04e0
LMI
108092013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10810
10811 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10812 possible choice.
10813
c048c022
JL
108142013-06-17 Juri Linkov <juri@jurta.org>
10815
10816 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10817
b5bcaee5
DG
108182013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10819
a020afb9
JB
10820 * emacs-lisp/package.el (package-load-descriptor):
10821 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10822 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10823
551e07e5
JB
108242013-06-17 Juanma Barranquero <lekktu@gmail.com>
10825
10826 * startup.el (command-line): Expand package name returned by
10827 `package--description-file' (bug#14639).
10828
d363bffb
DG
108292013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10830
10831 * emacs-lisp/package.el (package-load-descriptor): Do not call
10832 `emacs-lisp-mode', just use its syntax table.
10833
f612933b
JB
108342013-06-17 Juanma Barranquero <lekktu@gmail.com>
10835
10836 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10837 `font-lock-extra-managed-props' if any prettifying keyword is added.
10838 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10839 (prog-mode): Use `setq-local'.
10840
db3b7db5
SM
108412013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * international/characters.el (standard-case-table): Set syntax of ?»
10844 and ?« to punctuation.
10845
f3d674df
JB
108462013-06-16 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10849 Save relevant match data before calling `syntax-ppss' (bug#14595).
10850
31489a32
JL
108512013-06-15 Juri Linkov <juri@jurta.org>
10852
10853 * files-x.el (modify-file-local-variable-prop-line): Add local
10854 variables to the end of the existing comment on the first line.
10855 Use `file-auto-mode-skip' to skip interpreter magic line,
10856 and also skip XML declaration.
10857
66bd25ab
SM
108582013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * startup.el (package--builtin-versions): New var.
10861 (package-subdirectory-regexp): Remove.
10862 (package--description-file): Hard code its value instead.
10863
10864 * emacs-lisp/package.el: Don't activate packages older than builtin.
10865 (package-obsolete-list): Rename from package-obsolete-alist, and make
10866 it into a simple list of package-desc.
10867 (package-strip-version): Remove.
10868 (package-built-in-p): Use package--builtin-versions.
10869 (package-mark-obsolete): Simplify.
10870 (package-process-define-package): Mark it obsolete if older than the
10871 builtin version.
10872 (package-handle-response): Use line-end-position.
10873 (package-read-archive-contents, package--download-one-archive):
10874 Simplify.
10875 (package--add-to-archive-contents): Skip if older than the builtin or
10876 installed version.
10877 (package-menu-describe-package): Fix last change.
10878 (package-list-unversioned): New var.
10879 (package-menu--generate): Use it.
10880
10881 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10882 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10883 (autoload-builtin-package-versions): New variable.
10884 (autoload-generate-file-autoloads): Use them.
10885 Remove the list of autoloaded functions/macros from the
10886 (autoload...) comments.
10887
10888 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10889
9583ec36
EZ
108902013-06-15 Eli Zaretskii <eliz@gnu.org>
10891
10892 * simple.el (line-move-partial): Don't jump to the next screen
10893 line as soon as it becomes visible. Instead, continue enlarging
10894 the vscroll until the portion of a tall screen line that's left on
10895 display is about the height of the frame's default font.
10896 (Bug#14567)
10897
f0100d8a
GM
108982013-06-15 Glenn Morris <rgm@gnu.org>
10899
b86a85ca
GM
10900 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10901 compilation-error-regexp-alist void, or local while let-bound.
10902
f0100d8a
GM
10903 * progmodes/make-mode.el (makefile-mode-syntax-table):
10904 Treat "=" as punctuation. (Bug#14614)
10905
05e7ce90
JB
109062013-06-15 Juanma Barranquero <lekktu@gmail.com>
10907
10908 * help-fns.el (describe-variable):
10909 Add extra line for permanent-local variables.
10910
12e5e86e
SH
109112013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10912
10913 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10914 Add export, import, library. (Bug#9164)
10915 (library): Set indent function.
10916
230dcbaf
GM
109172013-06-14 Glenn Morris <rgm@gnu.org>
10918
10919 * term/xterm.el (xterm--query):
10920 Stop after first matching handler. (Bug#14615)
10921
e36b2d20 109222013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10923
10924 Add support for dired in saveplace.
10925 * dired.el (dired-initial-position-hook): New variable.
10926 (dired-initial-position): Call hook to place cursor position.
10927 * saveplace.el (save-place-to-alist): Add dired position.
10928 (save-place-dired-hook): New function.
10929
0b31660d
SM
109302013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10931
bf1e6ae8
SM
10932 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10933 through a symbol rather than letrec.
10934
1b8dff23
SM
10935 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10936 (package-desc): Add `dir' field.
10937 (package-desc-full-name): New function.
10938 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10939 (package-maybe-load-descriptor): Remove.
10940 (package-load-all-descriptors): Just call package-load-descriptor.
10941 (package--disabled-p): New function.
10942 (package-desc-vers, package-desc-doc): Remove aliases.
10943 (package--dir): Remove function.
10944 (package-activate): Check if a package is disabled.
10945 (package-process-define-package): New function, extracted from
10946 define-package.
10947 (define-package): Turn into a place holder.
10948 (package-unpack-single, package-tar-file-info):
10949 Use package--description-file.
10950 (package-compute-transaction): Use package--disabled-p.
10951 (package-download-transaction): Don't call
10952 package-maybe-load-descriptor since they're all loaded anyway.
10953 (package-install): Change argument to be a pkg-desc.
10954 (package-delete): Use a single pkg-desc argument.
10955 (describe-package-1): Use package-desc-dir instead of package--dir.
10956 Use package-desc property instead of package-symbol.
10957 (package-install-button-action): Adjust accordingly.
10958 (package--push): Rewrite.
10959 (package-menu--print-info): Adjust accordingly. Change the ID format
10960 to be a pkg-desc.
10961 (package-menu-describe-package, package-menu-get-status)
10962 (package-menu--find-upgrades, package-menu-mark-upgrades)
10963 (package-menu-execute, package-menu--name-predicate):
10964 Adjust accordingly.
10965 * startup.el (package--description-file): New function.
10966 (command-line): Use it.
10967 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10968 Use package-desc-version.
10969
0b31660d
SM
10970 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10971 (byte-compile-preprocess): Use it.
10972 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10973 can't quite recognize.
10974 (byte-compile-add-to-list): Remove.
10975 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10976 (cconv-closure-convert): Add assertion.
10977
10978 * emacs-lisp/map-ynp.el: Use lexical-binding.
10979 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10980 Factor out some repeated code.
10981
de0503df
SM
109822013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * subr.el (with-eval-after-load): New macro.
10985 (eval-after-load): Allow form to be a function.
10986 take advantage of lexical-binding.
10987 (do-after-load-evaluation): Use dolist and adjust to new format.
10988 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10989
bc5c8c5a
JL
109902013-06-13 Juri Linkov <juri@jurta.org>
10991
10992 * replace.el (perform-replace): Display "symbol " and other search
10993 modes from `isearch-message-prefix' in the *Help* buffer.
10994
10995 * isearch.el (isearch-query-replace): Add " symbol" and other
10996 possible search modes from `isearch-message-prefix' to the prompt.
10997 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10998 when reading a regexp to collect.
10999
a22289f7
JL
110002013-06-13 Juri Linkov <juri@jurta.org>
11001
11002 * isearch.el (word-search-regexp): Match whitespace if the search
11003 string begins or ends in whitespace. The LAX arg is applied to
11004 both ends of the search string. Use `regexp-quote' and explicit
11005 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11006 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11007 boundaries are replaced with symbol boundaries, and characters
11008 between symbols match non-word non-symbol syntax. (Bug#14602)
11009
cb89acab
JL
110102013-06-13 Juri Linkov <juri@jurta.org>
11011
11012 * isearch.el (isearch-del-char): Don't exceed the length of
11013 `isearch-string' by the prefix arg. (Bug#14563)
11014
6e8cfc81
JL
110152013-06-13 Juri Linkov <juri@jurta.org>
11016
11017 * isearch.el (isearch-yank-word, isearch-yank-line)
11018 (isearch-char-by-name, isearch-quote-char)
11019 (isearch-printing-char, isearch-process-search-char):
11020 Add optional count prefix arg. (Bug#14563)
11021
11022 * international/isearch-x.el
11023 (isearch-process-search-multibyte-characters):
11024 Add optional count prefix arg.
11025
c23d55f4
VS
110262013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11027
11028 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11029 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11030 lexical-binding.
11031
110322013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11033
11034 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11035
ba947bc4
GM
110362013-06-13 Glenn Morris <rgm@gnu.org>
11037
8baeb37a
GM
11038 * startup.el (tty-handle-args):
11039 Don't just discard "--" and anything after. (Bug#14608)
11040
ba947bc4
GM
11041 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11042
9abefce4
MA
110432013-06-13 Michael Albinus <michael.albinus@gmx.de>
11044
11045 Implement changes in Secret Service API. Make it backward compatible.
11046 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11047 (secrets-create-item): Use it. Prefix properties with interface.
11048
5755011f
MH
110492013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11050
11051 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11052 (term-emulate-terminal): Respect term-suppress-hard-newline.
11053
1261d2da
S
110542013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11055
11056 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11057 Only remove a `thumb-file' overlay. (Bug#14548)
11058
868490bb
GJ
110592013-06-12 Grégoire Jadi <daimrod@gmail.com>
11060
11061 * mail/reporter.el (reporter-submit-bug-report):
11062 Handle missing package-name. (Bug#14600)
11063
79d7167f
TH
110642013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11065
11066 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11067 (reftex-citation-prompt, reftex-default-bibliography)
11068 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11069 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11070 (reftex-bib-sort-author, reftex-bib-sort-year)
11071 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11072 (reftex-extract-bib-entries-from-thebibliography)
11073 (reftex-get-bibkey-default, reftex-get-bib-names)
11074 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11075 (reftex-format-bib-entry, reftex-parse-bibitem)
11076 (reftex-format-bibitem, reftex-do-citation)
11077 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11078 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11079 (reftex-insert-bib-matches, reftex-format-citation)
11080 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11081 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11082 existing comments into docstrings.
11083
5f9dbd7a
XF
110842013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11085
11086 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11087
94df41ab
AS
110882013-06-12 Andreas Schwab <schwab@suse.de>
11089
11090 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11091 for auto-save files.
11092
a7f3fecc
GM
110932013-06-12 Glenn Morris <rgm@gnu.org>
11094
001809f6
GM
11095 * ido.el (ido-delete-ignored-files): Remove.
11096 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11097 Go back to calling ido-ignore-item-p directly.
a7f3fecc 11098
834b5ded
EL
110992013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11100
08c73ed2
EL
11101 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11102
834b5ded
EL
11103 * ido.el (ido-delete-ignored-files): New function,
11104 split from ido-make-file-list-1.
11105 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11106 (ido-make-file-list-1): Use ido-delete-ignored-files.
11107
daabf15a
LL
111082013-06-12 Leo Liu <sdl.web@gmail.com>
11109
11110 * progmodes/octave.el (inferior-octave-startup)
11111 (inferior-octave-completion-table)
11112 (inferior-octave-track-window-width-change)
11113 (octave-eldoc-function-signatures, octave-help)
11114 (octave-find-definition): Use single quoted strings.
11115 (inferior-octave-startup-args): Change default value.
11116 (inferior-octave-startup): Do not hard code "-i" and
11117 "--no-line-editing".
11118 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11119 (inferior-octave-directory-tracker): Use it.
11120 (octave-goto-function-definition): Robustify.
11121 (octave-help): Support highlighting operators in 'See also'.
11122 (octave-find-definition): Find subfunctions only in Octave mode.
11123
cf4e5178
SM
111242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11125
11126 * help-fns.el (help-fns--compiler-macro): If the handler function is
11127 named, then put a link to it.
11128 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11129 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11130 (cl-typep): Use it.
11131 (cl-eval-when): Simplify debug spec.
11132 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11133 compiler-macro function instead of setting `compiler-macro-file'.
11134
99c81280 111352013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
11136
11137 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11138 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11139
f56be016
SM
111402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11141 Daniel Hackney <dan@haxney.org>
11142
11143 First part of Daniel Hackney's patch to package.el.
11144 * emacs-lisp/package.el: Use defstruct.
11145 (package-desc): New, main struct.
11146 (package--bi-desc, package--ac-desc): New structs, used to describe the
11147 format in external files.
11148 (package-desc-vers): Replace with package-desc-version accessor.
11149 (package-desc-doc): Replace with package-desc-summary accessor.
11150 (package-activate-1): Remove `package' arg since the pkg-vec now
11151 includes the name.
11152 (define-package): Use package-desc-from-define.
11153 (package-unpack-single): Change file-name arg to be a symbol.
11154 (package--add-to-archive-contents): Use package-desc-create and new
11155 accessor functions to package--ac-desc.
11156 (package-buffer-info, package-tar-file-info): Return a package-desc.
11157 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11158 arg to be a package-desc.
11159 (package-install-file): Adjust accordingly. Use \' to match EOS.
11160 (package--from-builtin): New function.
11161 (describe-package-1, package-menu--generate): Use it.
11162 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11163 (package-generate-autoloads): Idem and return the name of the file.
11164 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11165 Change pkg-info arg to be a package-desc.
11166 Use package-make-ac-desc.
11167 (package-upload-file): Use \' to match EOS.
11168 * finder.el (finder-compile-keywords): Use package-make-builtin.
11169
31119d63
SM
111702013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11171
931a2762
SM
11172 * vc/vc.el (vc-deduce-fileset): Change error message.
11173 (vc-read-backend): New function.
11174 (vc-next-action): Use it.
11175
5a3eb0c6
SM
11176 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11177
e3eb1bb7
SM
11178 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11179 (prolog-font-lock-keywords): Use regexp-opt instead.
11180 Don't manually highlight strings.
11181 (prolog-mode-variables): Simplify comment-start-skip.
11182 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11183
31119d63
SM
11184 * emacs-lisp/generic.el (generic--normalise-comments)
11185 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11186 (generic-mode-set-comments): Use them.
11187 (generic-bracket-support): Use setq-local.
11188 (generic-make-keywords-list): Declare obsolete.
11189
7de135d0
GM
111902013-06-11 Glenn Morris <rgm@gnu.org>
11191
11192 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11193 Prettify after setting font-lock-defaults. (Bug#14574)
11194
fa6bc6fd
JB
111952013-06-11 Juanma Barranquero <lekktu@gmail.com>
11196
11197 * replace.el (query-replace, occur-read-regexp-defaults-function)
11198 (replace-search):
11199 * subr.el (declare-function, number-sequence, local-set-key)
11200 (substitute-key-definition, locate-user-emacs-file)
11201 (with-silent-modifications, split-string, eval-after-load):
11202 Fix typos, remove unneeded backslashes and reflow some docstrings.
11203
cf1f9b9a
SM
112042013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11205
11206 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11207 default for Elisp files.
11208
56602a4b
GM
112092013-06-11 Glenn Morris <rgm@gnu.org>
11210
11211 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11212 although define-derived-mode was doing this anyway. (Bug#14583)
11213
30ae0b2c
JB
112142013-06-10 Juanma Barranquero <lekktu@gmail.com>
11215
11216 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11217 Fix make-variable-buffer-local call to refer to the correct variable.
11218
fa472906
AG
112192013-06-10 Aidan Gauland <aidalgol@amuri.net>
11220
11221 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11222 (eshell-visual-subcommands, eshell-visual-options):
11223 Add summary line to docstrings. Add cross-references.
fa472906 11224
ff4871b9
GM
112252013-06-10 Glenn Morris <rgm@gnu.org>
11226
11227 * epa.el (epa-read-file-name): New function. (Bug#14510)
11228 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11229
04fcf1b0
AG
112302013-06-09 Aidan Gauland <aidalgol@amuri.net>
11231
11232 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11233 output redirection to be ignored with visual commands.
11234
88b00caa
AG
112352013-06-09 Aidan Gauland <aidalgol@amuri.net>
11236
11237 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11238 (eshell-term-initialize): Move long lambda to separate function
11239 eshell-visual-command-p.
27821a89 11240 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11241 * eshell/em-script.el (eshell-script-initialize):
11242 Add missing #' to lambda.
88b00caa 11243
fda74125
LL
112442013-06-08 Leo Liu <sdl.web@gmail.com>
11245
11246 * progmodes/octave.el (octave-add-log-current-defun): New function.
11247 (octave-mode): Set add-log-current-defun-function.
11248 (octave-goto-function-definition): Do not move point if not found.
11249 (octave-find-definition): Enhance to try subfunctions first.
11250
467f3b33
GM
112512013-06-08 Glenn Morris <rgm@gnu.org>
11252
11253 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11254 (byte-compile-backward-char, byte-compile-backward-word):
11255 Improve previous change, to handle non-explicit nil.
11256
544badc3
SM
112572013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11260 (smie--opener/closer-at-point): New function.
11261 (smie--matching-block-data): Use it. Don't match from right after an
11262 opener or right before a closer. Obey smie-blink-matching-inners.
11263 Don't signal a mismatch for repeated inners like "switch..case..case".
11264
a175bf33
LL
112652013-06-07 Leo Liu <sdl.web@gmail.com>
11266
11267 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11268 to t. (Bug#14303)
ce8209d4
LL
11269 (octave-function-header-regexp): Fix. (Bug#14570)
11270 (octave-help-mode-finish-hook, octave-help-mode-finish):
11271 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11272
11273 * newcomment.el (comment-search-backward): Revert last change.
11274 (Bug#14434)
11275
11276 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11277
a822acff
EZ
112782013-06-07 Eli Zaretskii <eliz@gnu.org>
11279
11280 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11281 through xargs, to avoid failure due to MS-Windows limitations on
11282 command-line length.
11283
961166f5
GM
112842013-06-06 Glenn Morris <rgm@gnu.org>
11285
d0341459
GM
11286 * font-lock.el (lisp-font-lock-keywords-2):
11287 Treat user-error like error.
11288
961166f5
GM
11289 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11290 (byte-compile-backward-char, byte-compile-backward-word):
11291 Handle explicit nil arguments. (Bug#14565)
11292
80fa505f
AM
112932013-06-05 Alan Mackenzie <acm@muc.de>
11294
11295 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11296 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11297 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11298 (Bug#9706)
80fa505f 11299
fccdc796
SM
113002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * autorevert.el (auto-revert-notify-handler): Use memq.
11303 Hide assertion failure.
11304
11305 * skeleton.el: Use cl-lib.
11306 (skeleton-further-elements): Use defvar-local.
11307 (skeleton-insert): Use cl-progv.
11308
9bfff84b
TZ
113092013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11310
11311 * progmodes/prog-mode.el (prog-prettify-symbols)
11312 (prog-prettify-install): Update docstrings.
11313
55577e7c
SM
113142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11315
11316 * simple.el: Move all the prog-mode code to prog-mode.el.
11317 * progmodes/prog-mode.el: New file.
11318 * loadup.el: Add prog-mode.el.
11319
8fc57765
TZ
113202013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11321
11322 * simple.el (prog-prettify-symbols): Add version.
11323 (prog-prettify-install): Add convenience function to prettify symbols.
11324
11325 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11326 (perl--augmented-font-lock-keywords-1)
11327 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11328 variables and use it.
11329
11330 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11331 (cfengine3-mode): Remove unneeded variable and use it.
11332
11333 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11334 (lisp--augmented-font-lock-keywords-1)
11335 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11336 Remove unneeded variables and use it.
11337
650645d5 113382013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11339
11340 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11341 to point when opening the connection. (Bug#14380)
28f5da6d 11342
781b4af6
SM
113432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * subr.el (load-history-regexp, load-history-filename-element)
11346 (eval-after-load, after-load-functions, do-after-load-evaluation)
11347 (eval-next-after-load, display-delayed-warnings)
11348 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11349 definition of save-match-data.
11350 (overriding-local-map): Remove accidental obsolescence declaration.
11351
11352 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11353
3ca0d0b4
TZ
113542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11355
11356 Generalize symbol prettify support to prog-mode and implement it
11357 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11358 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11359 (prog--prettify-font-lock-compose-symbol)
11360 (prog-prettify-font-lock-symbols-keywords): New variables and
11361 functions to support symbol prettification.
11362 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11363 (lisp--augmented-font-lock-keywords-1)
11364 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11365 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11366 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11367 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11368 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11369 * progmodes/perl-mode.el (perl-prettify-symbols)
11370 (perl--font-lock-compose-symbol)
11371 (perl--font-lock-symbols-keywords): Move to prog-mode.
11372 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11373 (perl-font-lock-keywords-1)
11374 (perl-font-lock-keywords-2): Remove explicit prettify support.
11375 (perl--augmented-font-lock-keywords)
11376 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11377 (perl--augmented-font-lock-keywords-2, perl-mode):
11378 Implement prettify support.
3ca0d0b4 11379
976cb066
LL
113802013-06-05 Leo Liu <sdl.web@gmail.com>
11381
27821a89 11382 Re-implement SMIE matching block highlight using
976cb066
LL
11383 show-paren-data-function. (Bug#14395)
11384 * emacs-lisp/smie.el (smie-matching-block-highlight)
11385 (smie--highlight-matching-block-overlay)
11386 (smie--highlight-matching-block-lastpos)
11387 (smie-highlight-matching-block)
11388 (smie-highlight-matching-block-mode): Remove.
11389 (smie--matching-block-data-cache): New variable.
11390 (smie--matching-block-data): New function.
11391 (smie-setup): Use smie--matching-block-data for
11392 show-paren-data-function.
11393
11394 * progmodes/octave.el (octave-mode-menu): Fix.
11395 (octave-find-definition): Skip garbage lines.
11396
208d0342
SM
113972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 Fix compilation error with simultaneous dynamic+lexical scoping.
11400 Add warning when a defvar appears after the first let-binding.
11401 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11402 (byte-compile-close-variables): Initialize it.
11403 (byte-compile--declare-var): New function.
11404 (byte-compile-file-form-defvar)
11405 (byte-compile-file-form-define-abbrev-table)
11406 (byte-compile-file-form-custom-declare-variable): Use it.
11407 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11408 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11409 (byte-compile-bind): Handle dynamic bindings that shadow
11410 lexical bindings.
11411 (byte-compile-unbind): Make arg non-optional.
11412 (byte-compile-let): Simplify.
11413 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11414 (cconv--analyse-function, cconv-analyse-form): Populate it.
11415 Protect byte-compile-bound-variables to limit the scope of defvars.
11416 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11417 Remove unneeded rule for `declare'.
11418
11419 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11420 so as to avoid depending on cl-adjoin at run-time.
11421 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11422
11423 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11424 (macroexp--warn-and-return): Use it.
11425
1ac2891e
GM
114262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11427
a12bf61e 11428 * subr.el: Convert to lexical binding.
1ac2891e
GM
11429 (overriding-local-map): Make obsolete.
11430 (add-to-list): Doc fix. Add compiler macro.
11431 (read-key): Swap values of local maps.
11432
2587b005
LL
114332013-06-05 Leo Liu <sdl.web@gmail.com>
11434
11435 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11436
f1da3c88
LL
114372013-06-04 Leo Liu <sdl.web@gmail.com>
11438
11439 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11440 (compilation-auto-jump): Suppress the "Mark set" message to give
11441 way to exit message.
11442
3caa391f
AM
114432013-06-04 Alan Mackenzie <acm@muc.de>
11444
11445 Remove faulty optimisation from indentation calculation.
11446 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11447 search limit based on 2000 characters back from indent-point.
11448
068922a2
TH
114492013-06-03 Tassilo Horn <tsdh@gnu.org>
11450
11451 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11452
1f8fdd53
SM
114532013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11454
bbcc4d97
SM
11455 * emacs-lisp/lisp.el: Use lexical-binding.
11456 (lisp--local-variables-1, lisp--local-variables): New functions.
11457 (lisp--local-variables-completion-table): New var.
208d0342 11458 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11459
1f8fdd53
SM
11460 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11461 eagerly (bug#14422).
11462
c9628c79
MA
114632013-06-03 Michael Albinus <michael.albinus@gmx.de>
11464
11465 * autorevert.el (auto-revert-notify-enabled)
11466 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11467 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11468 (auto-revert-notify-handler): Handle also gfilenotify.
11469
e7b41c4c 11470 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11471 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11472 Remove.
c9628c79 11473
e5e4a942
JL
114742013-06-03 Juri Linkov <juri@jurta.org>
11475
11476 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11477 `M-s h .'. (Bug#14427)
11478
11479 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11480 command `hi-lock-face-symbol-at-point'.
11481 (hi-lock-face-symbol-at-point): New command.
11482 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11483 (hi-lock-menu): Add `highlight-symbol-at-point'.
11484 (hi-lock-mode): Doc fix.
11485
11486 * isearch.el (isearch-forward-symbol-at-point): New command.
11487 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11488 (isearch-highlight-regexp): Add a regexp which matches
11489 words/symbols for word/symbol mode.
11490
11491 * subr.el (find-tag-default-bounds): New function with the body
11492 mostly moved from `find-tag-default'.
11493 (find-tag-default): Move most code to `find-tag-default-bounds',
11494 call it and apply `buffer-substring-no-properties' afterwards.
11495
26b3353a
TH
114962013-06-03 Tassilo Horn <tsdh@gnu.org>
11497
781b4af6
SM
11498 * eshell/em-term.el (eshell-term-initialize):
11499 Use `cl-intersection' rather than `intersection'.
26b3353a 11500
51b60f53
XF
115012013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11502
fe054b63 11503 * vc/log-view.el: Doc fix.
d3ffe17c 11504 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11505
a0eb10b3 115062013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11507
11508 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11509 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11510 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11511 (eieio-unbound, eieio-default-superclass)
11512 (eieio--define-field-accessors, method-static, method-before)
11513 (method-primary, method-after, method-num-lists)
11514 (method-generic-before, method-generic-primary)
11515 (method-generic-after, method-num-slots)
11516 (eieio-specialized-key-to-generic-key)
11517 (eieio--check-type, class-v, class-p)
11518 (eieio-class-name, define-obsolete-function-alias)
11519 (eieio-class-parents-fast, eieio-class-children-fast)
11520 (same-class-fast-p, class-constructor, generic-p)
11521 (generic-primary-only-p, generic-primary-only-one-p)
11522 (class-option-assoc, class-option, eieio-object-p)
11523 (class-abstract-p, class-method-invocation-order)
11524 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11525 (eieio-class-un-autoload, eieio-defclass)
11526 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11527 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11528 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11529 (eieio-defgeneric-reset-generic-form)
11530 (eieio-defgeneric-form-primary-only)
11531 (eieio-defgeneric-reset-generic-form-primary-only)
11532 (eieio-defgeneric-form-primary-only-one)
11533 (eieio-defgeneric-reset-generic-form-primary-only-one)
11534 (eieio-unbind-method-implementations)
11535 (eieio--defmethod, eieio--typep)
11536 (eieio-perform-slot-validation, eieio-validate-slot-value)
11537 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11538 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11539 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11540 (eieio-slot-name-index, eieio-class-slot-name-index)
11541 (eieio-set-defaults, eieio-initarg-to-attribute)
11542 (eieio-attribute-to-initarg, eieio-c3-candidate)
11543 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11544 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11545 (eieio-class-precedence-list, eieio-generic-call-methodname)
11546 (eieio-generic-call-arglst, eieio-generic-call-key)
11547 (eieio-generic-call-next-method-list)
11548 (eieio-pre-method-execution-functions, eieio-generic-call)
11549 (eieio-generic-call-primary-only, eieiomt-method-list)
11550 (eieiomt-optimizing-obarray, eieiomt-install)
11551 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11552 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11553 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11554 (defclass): Remove `eval-and-compile' from macro.
11555 (call-next-method, shared-initialize): Instead of using
11556 `scoped-class' variable, use new eieio--scoped-class, and
11557 eieio--with-scoped-class.
11558 (initialize-instance): Rename local variable 'scoped-class' to
11559 'this-class' to remove ambiguitity from old global.
11560
11561 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11562 eieio.el.
4f405069
JB
11563 (eieio--scoped-class-stack): New variable.
11564 (eieio--scoped-class): New fcn.
890f7890
DE
11565 (eieio--with-scoped-class): New scoping macro.
11566 (eieio-defclass): Use pushnew instead of add-to-list.
11567 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11568 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11569 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11570 `scoped-class' variable, use new eieio--scoped-class, and
11571 eieio--with-scoped-class.
11572
11573 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11574
d105b0e2
TH
115752013-06-02 Tassilo Horn <tsdh@gnu.org>
11576
11577 * eshell/esh-ext.el (eshell-external-command): Pass args to
11578 `eshell-find-interpreter'.
11579 (eshell-find-interpreter): Add new second parameter ARGS.
11580
11581 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11582 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11583
11584 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11585 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11586
11587 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11588 (eshell-visual-options): New defcustom.
11589 (eshell-escape-control-x): Adapt docstring.
11590 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11591 `eshell-visual-options' in addition to `eshell-visual-commands'.
11592 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11593
f46305c8 115942013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11595
11596 * progmodes/python.el (python-indent-block-enders): Add break,
11597 continue and raise keywords.
11598
d870df21
GM
115992013-06-01 Glenn Morris <rgm@gnu.org>
11600
9133b82e
GM
11601 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11602
02c992ec 11603 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11604 * progmodes/cc-cmds.el (delete-forward-p):
11605 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11606 * progmodes/cc-engine.el (buffer-syntactic-context):
11607 * progmodes/cc-fonts.el (face-property-instance):
11608 * progmodes/cc-mode.el (set-keymap-parents):
11609 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11610 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11611 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11612 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11613 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11614
31e7b090
GM
11615 * progmodes/cc-vars.el (other): Emacs has this widget since
11616 at least 21.1, so don't (re)define it.
11617
d870df21
GM
11618 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11619 Replace the obsolete alias pcomplete-arg-quote-list.
11620
c75c93c7
LL
116212013-06-01 Leo Liu <sdl.web@gmail.com>
11622
11623 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11624 punctuation syntax.
11625 (inferior-octave-minimal-columns)
11626 (inferior-octave-last-column-width): New variables.
11627 (inferior-octave-track-window-width-change): New function.
11628 (inferior-octave-mode): Adjust column width so that Octave output,
11629 for example from 'ls', can fit into the window nicely.
11630
973d1e12
DG
116312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11632
11633 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11634 Highlight expansions inside regexp literals.
11635
0888c286
GM
116362013-05-31 Glenn Morris <rgm@gnu.org>
11637
e26aac1f
GM
11638 * obsolete/sym-comp.el (symbol-complete):
11639 Replace obsolete completion-annotate-function.
11640
0888c286
GM
11641 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11642
19bb8e62
DG
116432013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11644
781b4af6
SM
11645 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11646 New function, checks if point is inside a literal that allows
19bb8e62
DG
11647 expression expansion.
11648 (ruby-syntax-propertize-expansion): Use it.
11649 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11650 around the body.
11651
01dea85f
JL
116522013-05-30 Juri Linkov <juri@jurta.org>
11653
11654 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11655 to "\M-si".
11656 (isearch-invisible): New variable.
11657 (isearch-forward): Doc fix.
11658 (isearch-mode): Set `isearch-invisible'
11659 to the value of `search-invisible'.
11660 (isearch-toggle-case-fold): Doc fix.
11661 (isearch-toggle-invisible): New command.
11662 (isearch-query-replace): Let-bind `search-invisible'
11663 to the value of `isearch-invisible'.
11664 (isearch-search): Use `isearch-invisible' instead of
11665 `search-invisible'. Let-bind `search-invisible'
11666 to the value of `isearch-invisible'. (Bug#11378)
11667
ab1bdce5
JL
116682013-05-30 Juri Linkov <juri@jurta.org>
11669
11670 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11671 call when `query-flag' is nil and `search-invisible' is non-nil.
11672 (Bug#11746)
11673
d6d236e2
GM
116742013-05-30 Glenn Morris <rgm@gnu.org>
11675
8accd027
GM
11676 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11677
2a8bed1c
GM
11678 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11679 (cc-require): Suppress spurious "noruntime" warnings.
11680 (cc-require-when-compile): Use fboundp, for sake of compiler.
11681
d6d236e2
GM
11682 * progmodes/cc-mode.el: Move load of cc-vars before that of
11683 cc-langs (which in turn loads cc-vars), to quieten compiler.
11684
9190b35b
SM
116852013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11686
11687 * paren.el: Simplify the code.
11688 (show-paren-mode): Always start the timer.
11689 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11690 (show-paren--overlay, show-paren--overlay-1): Rename from
11691 show-paren-overlay and show-paren-overlay-1, and initialize to an
11692 overlay rather than to nil.
11693 (show-paren-function): Misc cleanup and simplifications.
11694
4f8d1cf6
SM
116952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * paren.el (show-paren-data-function): New hook.
11698 (show-paren--default): New function, extracted from show-paren-function.
11699 (show-paren-function): Use show-paren-data-function.
11700
02d844b5
GM
117012013-05-30 Glenn Morris <rgm@gnu.org>
11702
d209d4a9
GM
11703 * ielm.el (ielm-map, ielm-complete-symbol):
11704 Use completion-at-point rather than obsolete functions.
11705 (inferior-emacs-lisp-mode): Doc fix.
11706 Set completion-at-point-functions, rather than
11707 comint-dynamic-complete-functions.
11708
2082faa6
GM
11709 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11710 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11711 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11712
dd8620de
GM
11713 * image.el (image-animated-p): Tweak definition.
11714
ceca95b1
GM
11715 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11716 (rlogin-process-connection-type): Tweak default. Add set-after.
11717 (rlogin-host): Doc fix.
11718 (rlogin): Tweak prompt.
11719 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11720
ee9f1acc
GM
11721 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11722 * progmodes/tcl.el (inferior-tcl-mode-map):
11723 Use completion-at-point rather than obsolete alias.
11724
45ce222e
GM
11725 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11726
02d844b5
GM
11727 * minibuffer.el (read-file-name-completion-ignore-case):
11728 Move before completion--in-region, for eager macro expansion.
11729
ac44d6c1
JL
117302013-05-29 Juri Linkov <juri@jurta.org>
11731
11732 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11733 for total count of matching lines. Add `global-matches' for total
11734 count of matches. Rename `matches' to `lines' for count of
11735 matching lines. Add `matches' for count of matches.
11736 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11737 to `prev-line' for line number of prev match endpt.
11738 Increment `matches' for every match. Print the number of
11739 matching lines in the header.
11740 (occur-context-lines): Rename `lines' to `curr-line'.
11741 Rename `prev-lines' to `prev-line'. (Bug#14017)
11742
3c9c9d38
JL
117432013-05-29 Juri Linkov <juri@jurta.org>
11744
11745 * replace.el (perform-replace): Add `skip-read-only-count',
11746 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11747 Increment them for corresponding conditions and report the number
11748 of skipped occurrences in the final message. (Bug#11746)
11749 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11750 (replace-string, replace-regexp): Doc fix.
11751
33e249a2
SM
117522013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11753
8e399682
SM
11754 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11755
33e249a2 11756 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11757 prog-mode-map (bug#14504).
33e249a2 11758
f236dd84
LL
117592013-05-29 Leo Liu <sdl.web@gmail.com>
11760
11761 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11762 (octave-help): Small simplification.
11763
11764 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11765 off the highlight first.
11766
3694d13f
GM
117672013-05-29 Glenn Morris <rgm@gnu.org>
11768
03983bdc
GM
11769 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11770 Handle idlwave-last-system-routine-info-cons-cell being nil.
11771
bc74a74a
GM
11772 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11773 (idlwave-write-paths): Simplify via with-temp-buffer.
11774
8b394200
GM
11775 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11776 * emulation/cua-rect.el: Also load cua-base at run time.
11777
3694d13f
GM
11778 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11779 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11780 (cperl-imenu-on-info): Require imenu.
11781
336d7284
AM
117822013-05-28 Alan Mackenzie <acm@muc.de>
11783
11784 Handle "capitalised keywords" correctly.
33e249a2 11785 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11786
cb29c582
AG
117872013-05-28 Aidan Gauland <aidalgol@amuri.net>
11788
781b4af6 11789 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11790
690e44b2
GM
117912013-05-28 Glenn Morris <rgm@gnu.org>
11792
e658d75c
GM
11793 * vc/vc-arch.el (vc-exec-after): Declare.
11794 (vc-switches): Autoload.
11795 * vc/vc-bzr.el: No need to require vc when compiling.
11796 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11797 (vc-resynch-buffer, vc-dir-refresh): Declare.
11798 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11799 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11800 (vc-resynch-buffer): Declare.
11801 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11802 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11803 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11804 (grep-read-regexp, grep-read-files, grep-expand-template)
11805 (vc-dir-refresh): Declare.
11806 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11807 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11808 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11809 * vc/vc-mtn.el (vc-exec-after): Declare.
11810 (vc-switches): Autoload.
11811 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11812 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11813 (vc-file-tree-walk): Declare.
712b9732
GM
11814 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11815 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11816 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11817 * vc/vc-svn.el (vc-exec-after): Declare.
11818 (vc-switches, vc-setup-buffer): Autoload.
11819 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11820 Autoload.
11821 (vc-resynch-buffer): Declare.
11822
98e87fb3
GM
11823 * obsolete/fast-lock.el (byte-compile-warnings):
11824 Don't warn about obsolete features in this obsolete file.
11825
f5379553
GM
11826 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11827 Move definition before use.
11828
7a20ef83
GM
11829 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11830 (dun-unix-verbs): Remove dun-zippy.
11831 (dun-zippy): Remove function.
11832
690e44b2
GM
11833 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11834
3a52ccf7
JL
118352013-05-27 Juri Linkov <juri@jurta.org>
11836
11837 * replace.el (replace-search): New function with code moved out
11838 from `perform-replace'.
11839 (replace-highlight, replace-dehighlight): Move function definitions
11840 up closer to `replace-search'. (Bug#11746)
11841
d289938a
JL
118422013-05-27 Juri Linkov <juri@jurta.org>
11843
11844 * replace.el (perform-replace): Ignore invisible matches.
11845 In addition to checking `query-replace-skip-read-only', also
11846 filter out matches by calling `run-hook-with-args-until-failure'
11847 on `isearch-filter-predicates', and also check `search-invisible'
11848 for t or call `isearch-range-invisible'.
11849 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11850
66fc57e3
JL
118512013-05-27 Juri Linkov <juri@jurta.org>
11852
11853 * isearch.el (isearch-filter-predicates): Rename from
11854 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11855 (isearch-message-prefix): Display text from the property
11856 `isearch-message-prefix' of the currently active filters.
11857 (isearch-search): Don't compare `isearch-filter-predicate' with
11858 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11859 on `isearch-filter-predicates'. Also check `search-invisible' for t
11860 or call `isearch-range-invisible'.
11861 (isearch-filter-visible): Make obsolete.
11862 (isearch-lazy-highlight-search):
11863 Call `run-hook-with-args-until-failure' on
11864 `isearch-filter-predicates' and use `isearch-range-invisible'.
11865
11866 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11867 `isearch-filter-predicates' instead of `funcall'ing
11868 `isearch-filter-predicate'.
11869 (Info-mode): Set `Info-isearch-filter' to
11870 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11871
11872 * dired-aux.el (dired-isearch-filter-predicate-orig):
11873 Remove variable.
11874 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11875 (dired-isearch-filenames-end): Add and remove
11876 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11877 instead of changing the value of `isearch-filter-predicate'.
11878 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11879 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11880 Put property `isearch-message-prefix' to "filename " on
11881 `dired-isearch-filter-filenames'.
11882
11883 * wdired.el (wdired-change-to-wdired-mode):
11884 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11885 locally instead of changing `isearch-filter-predicate'.
11886 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11887
f1a60a0f
DG
118882013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11889
11890 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11891 return the commit hash (Bug#14459). Also set the
11892 `vc-git-detached' property.
11893 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11894 (vc-git-mode-line-string): Use the same help-echo format whether
11895 in detached mode or not, because we know the actual revision now.
11896 When in detached mode, shorten the revision to 7 chars.
11897
7f17cc40
SM
118982013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * emacs-lisp/easy-mmode.el (define-minor-mode):
11901 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11902 mode hook and provide a docstring.
11903
25c8401c
AM
119042013-05-27 Alan Mackenzie <acm@muc.de>
11905
11906 Remove spurious syntax-table text properties inserted by C-y.
11907 * progmodes/cc-mode.el (c-after-change): Also clear hard
11908 syntax-table property with value nil.
11909
dde84790
MA
119102013-05-27 Michael Albinus <michael.albinus@gmx.de>
11911
11912 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11913 when reading the events; the buffer layout shall not be changed.
11914
837fd9af
LL
119152013-05-27 Leo Liu <sdl.web@gmail.com>
11916
11917 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11918 New variable.
11919 (inferior-octave-directory-tracker): Automatically re-sync
11920 default-directory.
11921 (octave-help): Improve handling of 'See also'.
11922
4fd996b3
SM
119232013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11924
416f1802
SM
11925 * doc-view.el: Minor naming convention tweaks.
11926 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11927
4fd996b3
SM
11928 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11929 even if there's no `display' property yet (bug#14435).
11930
a052ef3b
EZ
119312013-05-25 Eli Zaretskii <eliz@gnu.org>
11932
4fd996b3 11933 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11934
11935 * Makefile.in (custom-deps, finder-data, autoloads)
11936 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11937 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11938 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11939
c9023370
SM
119402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11943 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11944 Don't burp at EOB.
c9023370 11945
24d699fa
LL
119462013-05-25 Leo Liu <sdl.web@gmail.com>
11947
11948 * comint.el (comint-previous-matching-input): Do not flood the
11949 *Messages* buffer with trivial messages.
11950
17e5c0cc
SM
119512013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11952
11953 * progmodes/flymake.el (flymake-nop): Don't return a string.
11954 (flymake-set-at): Fix typo.
11955
11956 * simple.el (read--expression): New function, extracted from
11957 eval-expression. Set completion-at-point-functions (bug#14465).
11958 (eval-expression, eval-minibuffer): Use it.
11959
5d028165
XF
119602013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11961
11962 * progmodes/flymake.el (flymake-save-buffer-in-file)
11963 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11964 (flymake-selected-frame, flymake-log, flymake-ins-after)
11965 (flymake-set-at, flymake-get-buildfile-from-cache)
11966 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11967 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11968 Refine the doc string.
11969 (flymake-get-file-name-mode-and-masks): Reformat.
11970 (flymake-get-real-file-name-function): Fix a minor bug.
11971
7a1d7ba7
JL
119722013-05-24 Juri Linkov <juri@jurta.org>
11973
11974 * progmodes/grep.el (grep-mode-font-lock-keywords):
11975 Support =linenumber= format used by git-grep for lines with
11976 function names. (Bug#13549)
11977
650cff3d
SM
119782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11979
11980 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11981 0 after a semi-colon; it works better for smie-auto-fill.
11982 (octave--indent-new-comment-line): New function.
11983 (octave-indent-new-comment-line): Use it (indirectly).
11984 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11985 modify comment-line-break-function.
11986
11987 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11988 (smie-setup): Use add-function to set it.
11989
9631677d
SS
119902013-05-24 Sam Steingold <sds@gnu.org>
11991
11992 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11993 argument (before the `interactive' argument).
11994
50105835
SM
119952013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * image-mode.el (image-mode-winprops): Add winprops to
11998 image-mode-winprops-alist before running
11999 image-mode-new-window-functions.
12000 * doc-view.el (doc-view-new-window-function): Don't delay
12001 doc-view-goto-page via timers (bug#14435).
12002
57b9823e
TH
120032013-05-24 Tassilo Horn <tsdh@gnu.org>
12004
12005 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12006 (doc-view-desktop-save-buffer): New function.
12007 (doc-view-restore-desktop-buffer): New function.
50105835
SM
12008 (desktop-buffer-mode-handlers):
12009 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
12010 handler.
12011 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12012 `desktop-save-buffer' function.
12013
91aafa16
MA
120142013-05-24 Michael Albinus <michael.albinus@gmx.de>
12015
12016 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12017 (tramp-gvfs-file-name-handler): Raise a user error when
12018 `tramp-gvfs-enabled' is nil.
12019 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12020 Do not raise a user error when loading package. (Bug#14447)
12021
ec076379
MA
12022 * net/xesam.el: Move to obsolete/.
12023
db785726
GM
120242013-05-24 Glenn Morris <rgm@gnu.org>
12025
af5c7606
GM
12026 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12027
e5d1916a
GM
12028 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12029
ded62b08
GM
12030 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12031 (Info-find-node, Man-getpage-in-background): Declare.
12032
9e614a3f
GM
12033 * mail/unrmail.el (unrmail):
12034 Replace obsolete detect-coding-with-priority.
12035
892f8ca3
GM
12036 * net/socks.el (socks-split-string): Use this rather than split-string.
12037 (socks-nslookup-host): Update for above change.
12038 (dynamic-choice, s5-dynamic-choice-match)
12039 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12040 Comment out unused code.
12041
3c291973
GM
12042 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12043 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12044 (gud-tooltip-echo-area): Make obsolete.
12045 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12046
43cc956b
GM
12047 * progmodes/js.el (js--optimize-arglist): Declare.
12048
dab49a3b
GM
12049 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12050
36b9d085
GM
12051 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12052 (ediff-window-C): Declare.
12053
e354ae76
GM
12054 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12055 Tweak requires to silence compiler.
12056
b8e57bf4
GM
12057 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12058 (he-search-string, he-tried-table, he-expand-list)
12059 (he-init-string, he-string-member, he-substitute-string)
12060 (he-reset-string): Declare.
12061
db785726
GM
12062 * obsolete/options.el (list-options): Use custom-variable-p,
12063 rather than obsolete alias.
12064
b3531901
SS
120652013-05-23 Sam Steingold <sds@gnu.org>
12066
12067 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12068 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12069 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12070
bdda4c66
SM
120712013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * emacs-lisp/smie.el (smie-indent-forward-token)
12074 (smie-indent-backward-token): Handle string tokens (bug#14381).
12075
c43d45f9
TH
120762013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12077
fe1eb856
RS
12078 * ielm.el (ielm-menu): New menu.
12079 (inferior-emacs-lisp-mode): Set comment-start.
96172128 12080
fe1eb856
RS
120812013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12082
a12bf61e 12083 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
12084 Fix deactivate action.
12085
a12bf61e 12086 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 12087 Add cleveref macros.
074dd971 12088
a12bf61e 12089 * textmodes/reftex-parse.el
c43d45f9
TH
12090 (reftex-locate-bibliography-files): Accept options for
12091 bibliography commands.
a12bf61e 12092 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
12093 Add addbibresource. Basic Biblatex support.
12094
7764286e
MA
120952013-05-23 Michael Albinus <michael.albinus@gmx.de>
12096
12097 * net/tramp-gvfs.el (top):
12098 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12099 when loading package. (Bug#14447)
12100
d361bc10
GM
121012013-05-23 Glenn Morris <rgm@gnu.org>
12102
8fa23984
GM
12103 * progmodes/js.el: No need to load comint when compiling.
12104 (ring-insert, comint-send-string, comint-send-input)
12105 (comint-last-input-end, ido-chop): Declare.
12106
a5c7df1a
GM
12107 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12108 * vc/ediff-mult.el: Adjust requires.
12109 (ediff-directories-internal, ediff-directory-revisions-internal)
12110 (ediff-patch-file-internal): Declare.
12111 * vc/ediff-ptch.el: Adjust requires.
12112 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12113 (ediff-find-file): Autoload.
12114 * vc/ediff-util.el: No need to load ediff when compiling.
12115 (ediff-regions-internal): Declare.
12116 * vc/ediff-wind.el: Adjust requires.
12117 (ediff-compute-toolbar-width): Define when compiling.
12118 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12119 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12120 (dired-get-filename, dired-get-marked-files)
12121 (ediff-last-dir-patch, ediff-patch-default-directory)
12122 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12123 (ediff-patch-buffer-internal): Declare.
12124
e2aec513
GM
12125 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12126 (ispell-process, ispell-buffer-local-words, lm-summary)
12127 (lm-section-start, lm-section-end): Declare.
12128 (checkdoc-ispell-init): Simplify.
12129
e68bbd7c
GM
12130 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12131 (he-string-member, he-reset-string, he-substitute-string): Declare.
12132
7efe0991
GM
12133 * eshell/em-ls.el: Adjust requires.
12134 (eshell-glob-regexp): Declare.
f87b1284
GM
12135 * eshell/em-tramp.el: Adjust requires.
12136 (eshell-parse-command): Autoload.
12137 * eshell/em-xtra.el: Adjust requires.
12138 (eshell-parse-command): Autoload.
12139 * eshell/esh-ext.el: Adjust requires.
12140 (eshell-parse-command, eshell-close-handles): Autoload.
12141 * eshell/esh-io.el: Adjust requires.
12142 (eshell-output-filter): Autoload.
12143 * eshell/esh-util.el: No need to load tramp when compiling.
12144 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12145 Declare.
12146 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12147 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12148 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12149 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12150 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12151 * eshell/esh-opt.el, eshell/esh-proc.el:
12152 * eshell/esh-var.el: Adjust requires.
12153 * eshell/eshell.el: Do not require esh-util twice.
12154 (eshell-add-input-to-history): Declare.
12155 (eshell-command): Check history module is active before using it.
12156
d361bc10
GM
12157 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12158
85d090a9
LL
121592013-05-22 Leo Liu <sdl.web@gmail.com>
12160
12161 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12162
5d0acd9d
MA
121632013-05-22 Michael Albinus <michael.albinus@gmx.de>
12164
12165 * autorevert.el (auto-revert-notify-add-watch)
12166 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12167 it indicates changes in file modification time.
12168
0cdffd7d
GM
121692013-05-22 Glenn Morris <rgm@gnu.org>
12170
ca5995ec
GM
12171 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12172 Always delete the autoloaded function from the noruntime and
12173 unresolved functions lists.
12174
6450907e
GM
12175 * allout.el: No need to load epa, epg, overlay when compiling.
12176 (epg-context-set-passphrase-callback, epg-list-keys)
12177 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12178 (epg-key-user-id-list): Declare.
12179
9c6906f6
GM
12180 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12181 (viper-set-parsing-style-toggling-macro)
12182 (viper-set-emacs-state-searchstyle-macros):
12183 Use called-interactively-p on Emacs.
12184 (viper-looking-back): Make it an obsolete alias. Update callers.
12185 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12186 Use looking-back rather than viper-looking-back.
12187 (viper-tmp-insert-at-eob, viper-enlarge-region)
12188 (viper-read-string-with-history, viper-register-to-point)
12189 (viper-append-to-register, viper-change-state-to-vi)
12190 (viper-backward-char-carefully, viper-forward-char-carefully)
12191 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12192 (viper-change-state-to-emacs): Declare.
12193 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12194 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12195 * emulation/viper-mous.el: Do not load viper-cmd.
12196 (viper-backward-char-carefully, viper-forward-char-carefully)
12197 (viper-forward-word, viper-adjust-window): Declare.
12198
5f70c169
GM
12199 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12200
b1b7f300
GM
12201 * progmodes/idlw-help.el (idlwave-help-fontify):
12202 Use called-interactively-p.
12203
f6ebbb46
GM
12204 * term/w32console.el (w32-get-console-codepage)
12205 (w32-get-console-output-codepage): Declare.
12206
0cdffd7d
GM
12207 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12208 Remove unnecessary declarations.
12209 (dframe-message): Doc fix.
12210
12211 * info.el (dframe-select-attached-frame, dframe-current-frame):
12212 Declare.
12213
12214 * speedbar.el (speedbar-message): Make it an obsolete alias.
12215 Update all callers.
12216 (speedbar-with-attached-buffer)
12217 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12218 (speedbar-with-writable): Use backquote.
12219 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12220 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12221 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12222 rather than speedbar- aliases.
12223 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12224 (speedbar-make-specialized-keymap, speedbar-insert-button)
12225 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12226 (speedbar-do-function-pointer): Declare.
12227 (rmail-speedbar-button, rmail-speedbar-find-file)
12228 (rmail-speedbar-move-message):
12229 Use dframe-with-attached-buffer rather than speedbar- alias.
12230 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12231 (dframe-message, speedbar-make-specialized-keymap)
12232 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12233 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12234 (speedbar-insert-button, dframe-select-attached-frame)
12235 (dframe-maybee-jump-to-attached-frame)
12236 (speedbar-change-initial-expansion-list)
12237 (speedbar-previously-used-expansion-list-name): Declare.
12238 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12239 Use dframe-message, dframe-with-attached-buffer rather than
12240 speedbar- aliases.
12241 (gud-sentinel): Silence compiler.
12242 * progmodes/vhdl-mode.el (speedbar-refresh)
12243 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12244 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12245 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12246 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12247 (speedbar-file-lists, speedbar-make-tag-line)
12248 (speedbar-line-directory, speedbar-goto-this-file)
12249 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12250 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12251 (speedbar-make-button, speedbar-reset-scanners)
12252 (speedbar-files-item-info, speedbar-line-text)
12253 (speedbar-find-file-in-frame, speedbar-set-timer)
12254 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12255 (speedbar-with-writable): Do not (re)define it.
12256 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12257 rather than speedbar- alias.
12258
ee44b62a
LL
122592013-05-21 Leo Liu <sdl.web@gmail.com>
12260
12261 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12262 menu items.
12263 (octave-mode): Tweak fill-nobreak-predicate.
12264 (inferior-octave-startup): Check process to avoid infinite loop.
12265 (inferior-octave): Pop to buffer first to show abornmal process
12266 exit information.
12267
640f050f
GM
122682013-05-21 Glenn Morris <rgm@gnu.org>
12269
79458038
GM
12270 * printing.el (pr-menu-bar): Define when compiling.
12271
9cc3e83f
LL
122722013-05-21 Leo Liu <sdl.web@gmail.com>
12273
12274 * progmodes/octave.el (octave-auto-fill): Remove.
12275 (octave-indent-new-comment-line): Improve.
12276 (octave-mode): Use auto fill mode through
4f405069 12277 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12278 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12279 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12280 (octave-help): Show parent directory.
12281
f440830d
GM
122822013-05-21 Glenn Morris <rgm@gnu.org>
12283
12284 * files.el (dired-unmark):
12285 * progmodes/gud.el (gdb-input): Update declarations.
12286
12287 * calculator.el (electric, ehelp): No need to load when compiling.
12288 (Electric-command-loop, electric-describe-mode): Declare.
12289
12290 * doc-view.el (doc-view-current-converter-processes): Move before use.
12291
12292 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12293 Move MODE-set-explicitly definition before use.
12294
12295 * international/mule-diag.el (mule-diag):
12296 Don't use obsolete window-system-version.
12297
12298 * mail/feedmail.el (smtpmail): No need to load when compiling.
12299 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12300
12301 * mail/mail-utils.el (rfc822): No need to load when compiling.
12302 (rfc822-addresses): Autoload it.
12303 (mail-strip-quoted-names): Trivial simplification.
12304
12305 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12306 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12307
12308 * net/snmp-mode.el (tempo): Don't duplicate requires.
12309
12310 * progmodes/prolog.el (info): No need to load when compiling.
12311 (comint): Require before shell requires it.
12312 (Info-goto-node): Autoload it.
12313 (Info-follow-nearest-node): Declare.
12314 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12315
12316 * textmodes/artist.el (picture-mode-exit): Declare.
12317
12318 * textmodes/reftex-parse.el (reftex-parse-from-file):
12319 Trivial rewrite so the compiler can parse it better.
12320
b4da2cbb
LL
123212013-05-20 Leo Liu <sdl.web@gmail.com>
12322
12323 * progmodes/octave.el (octave-help-mode-map)
12324 (octave-help-mode-finish-hook): New variables.
12325 (octave-help-mode, octave-help-mode-finish): New functions.
12326 (octave-help): Use octave-help-mode.
12327
33c0f65b
GM
123282013-05-20 Glenn Morris <rgm@gnu.org>
12329
12330 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12331
1a0a0a8a
DG
123322013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12333
12334 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12335 start at point, so that expansion starting right after opening
12336 slash in a regexp is recognized.
12337 (ruby-syntax-before-regexp-re): New defvar, extracted from
12338 ruby-syntax-propertize-function. Since the value of this regexp
12339 is looked up at runtime now, we should be able to turn
12340 `ruby-syntax-methods-before-regexp' into a defcustom later.
12341 (ruby-syntax-propertize-function): Split regexp matching into two
12342 parts, for opening and closing slashes. That allows us to skip
12343 over string interpolations and support multiline regexps.
12344 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12345 for them, which calls `ruby-syntax-propertize-expansion'.
12346 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12347 call to `ruby-syntax-propertize-function'.
12348 (ruby-syntax-propertize-expansion): Extracted from
12349 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12350 (ruby-syntax-propertize-percent-literal): Leave point right after
12351 the percent symbol, so that the expression expansion rule can
12352 propertize the contents.
462388b6
DG
12353 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12354 heredoc openers.
12355 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12356
c1a6c0a4
JL
123572013-05-18 Juri Linkov <juri@jurta.org>
12358
12359 * man.el (Man-default-man-entry): Remove `-' from the end
12360 of the default value. (Bug#14400)
12361
8051fccd
GM
123622013-05-18 Glenn Morris <rgm@gnu.org>
12363
12364 * comint.el (comint-password-prompt-regexp):
12365 Allow "password for XXX" where XXX contains colons (eg https://...).
12366
5e80b74f
LL
123672013-05-18 Leo Liu <sdl.web@gmail.com>
12368
12369 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12370 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12371 (octave-source-directories): Don't check process.
12372 (octave-source-directories, octave-find-definition): Doc fix.
12373
521a54c5
GM
123742013-05-18 Glenn Morris <rgm@gnu.org>
12375
86a94b05
GM
12376 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12377 Remove backspace/delete bindings. (Bug#14392)
12378
521a54c5
GM
12379 * cus-dep.el (custom-make-dependencies): Sort the output.
12380 (custom-versions-load-alist): Convert comment to doc.
12381
42caeb89
LL
123822013-05-17 Leo Liu <sdl.web@gmail.com>
12383
12384 * newcomment.el (comment-search-backward): Stricter in finding
12385 comment start. (Bug#14303)
12386
12387 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12388 (octave-comment-start-skip): Properly anchored.
12389
e219dd97
LL
123902013-05-17 Leo Liu <sdl.web@gmail.com>
12391
fe1eb856
RS
12392 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12393 Clean up when turned off. (Bug#14395)
e219dd97
LL
12394 (smie--highlight-matching-block-overlay): No longer buffer-local.
12395 (smie-highlight-matching-block): Adjust.
12396
dc5dcb4b
PE
123972013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12398
12399 Doc string fix for "nanoseconds" (Bug#14406).
12400 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12401 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12402
1db165f0
JB
124032013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12404
12405 * calc/calc-units.el (math-extract-units): Preserve powers
12406 of units.
12407
c7a8fcac
LL
124082013-05-17 Leo Liu <sdl.web@gmail.com>
12409
12410 * subr.el (delete-consecutive-dups): New function.
12411 * ido.el (ido-set-matches-1): Use it.
12412 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12413 * ido.el (ido-remove-consecutive-dups): Remove.
12414
f678b18a
SM
124152013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12416
12417 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12418 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12419 regexp-opt's `words'.
12420
ebfe68e8
LL
124212013-05-16 Leo Liu <sdl.web@gmail.com>
12422
12423 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12424 (smie--highlight-matching-block-overlay)
12425 (smie--highlight-matching-block-lastpos)
12426 (smie--highlight-matching-block-timer): New variables.
12427 (smie-highlight-matching-block): New function.
12428 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12429 (smie-setup): Conditionally enable smie-blink-matching-open.
12430
bc8bc17d
WS
124312013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12432
12433 Sync with upstream verilog-mode r840.
12434 * progmodes/verilog-mode.el (verilog-mode-version)
12435 (verilog-mode-release-date): Update.
12436 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12437 (verilog-sig-tieoff): Fix string error on
12438 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12439 (verilog-read-decls): Fix parameters confusing
12440 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12441
df065a0b
EZ
124422013-05-16 Eli Zaretskii <eliz@gnu.org>
12443
12444 * subr.el (reveal-filename): New function.
12445
12446 * loadup.el: Compute Emacs executable versions on MS-Windows,
12447 where executables have the .exe extension. Add a hard link
12448 emacs-XX.YY.ZZ.exe on MS-Windows.
12449
12450 * Makefile.in (XARGS_LIMIT): New variable.
12451 (custom-deps, finder-data, autoloads)
12452 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12453 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12454 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12455 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12456
2d4bf34b
LL
124572013-05-16 Leo Liu <sdl.web@gmail.com>
12458
12459 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12460 (octave-mode-menu, octave-mode-map): Remove its uses.
12461
6b9c2d85
RZ
124622013-05-16 Reto Zimmermann <reto@gnu.org>
12463
12464 Sync with upstream vhdl mode v3.34.2.
12465 * progmodes/vhdl-mode.el: Use `push' throughout.
12466 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12467 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12468 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12469 (vhdl-actual-generic-name): New option to derive actual generic name.
12470 (vhdl-port-paste-signals): Replace formal by actual generics.
12471 (vhdl-beautify): New name for old group vhdl-align. Update users.
12472 (vhdl-beautify-options): New option.
12473 (vhdl-last-input-event): New compat alias. Use throughout.
12474 (vhdl-goto-line): Replace user level function `goto-line'.
12475 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12476 vhdl-fix-statement-buffer.
12477 (vhdl-create-mode-menu): Add some entries.
12478 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12479 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12480 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12481 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12482 to force statements on one line.
12483 (vhdl-remove-trailing-spaces-region):
12484 New, split from vhdl-remove-trailing-spaces.
12485 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12486 Respect vhdl-beautify-options.
12487 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12488 (vhdl-update-sensitivity-list): Not add with index if exists without.
12489 Not include array index with signal. Ignore keywords in comments.
12490 (vhdl-get-visible-signals): Regexp tweaks.
12491 (vhdl-template-component-inst): Handle empty library.
12492 (vhdl-template-type): Add template for 'enum' type.
12493 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12494 Use vhdl-replace-string.
12495 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12496 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12497 (vhdl-speedbar-initialize): Update for above name change.
12498 (vhdl-compose-wire-components): Fix in handling of constants.
12499 (vhdl-error-regexp-emacs-alist): New variable.
12500 (vhdl-error-regexp-add-emacs): New function;
12501 adds support for new compile.el (Emacs 22+)
12502 (vhdl-generate-makefile-1): Change target order for single lib. units.
12503 Allow use of absolute file names.
12504
9df4ec5e
LL
125052013-05-16 Leo Liu <sdl.web@gmail.com>
12506
12507 * simple.el (prog-indent-sexp): Indent enclosing defun.
12508
f5ba00a6
GM
125092013-05-15 Glenn Morris <rgm@gnu.org>
12510
ed8be7ff
GM
12511 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12512 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12513 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12514 (whitespace-highlight): Move to whitespace group.
12515
12516 * comint.el (comint-source):
12517 * pcmpl-linux.el (pcmpl-linux):
12518 * shell.el (shell-faces):
12519 * eshell/esh-opt.el (eshell-opt):
12520 * international/ccl.el (ccl): Remove empty custom groups.
12521
12522 * completion.el (dynamic-completion-mode):
12523 * jit-lock.el (jit-lock-debug-mode):
12524 * minibuffer.el (completion-in-region-mode):
12525 * type-break.el (type-break-mode-line-message-mode)
12526 (type-break-query-mode):
12527 * emulation/tpu-edt.el (tpu-edt-mode):
12528 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12529 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12530 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12531
12532 * term/xterm.el (xterm): Change parent group to terminals.
12533
12534 * master.el (master): Remove empty custom group.
12535 (master-mode): Remove unused :group argument.
12536 * textmodes/refill.el (refill): Remove empty custom group.
12537 (refill-mode): Remove unused :group argument.
12538
12539 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12540
82a7c41b
GM
12541 * cus-dep.el: Provide a feature.
12542 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12543 Don't mistakenly ignore files whose basenames match a basename
12544 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12545 Add a fallback method for getting :group.
f5ba00a6 12546
6d65486d
JL
125472013-05-15 Juri Linkov <juri@jurta.org>
12548
da547b32
JL
12549 * isearch.el (isearch-char-by-name): Rename from
12550 `isearch-insert-char-by-name'. Doc fix.
12551 (isearch-forward): Mention `isearch-char-by-name' in
12552 the docstring. (Bug#13348)
12553
6d65486d
JL
12554 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12555 `exit-minibuffer' instead of
12556 `isearch-nonincremental-exit-minibuffer'.
12557 (isearch-edit-string): Remove mention of
12558 `isearch-nonincremental-exit-minibuffer' from docstring.
12559 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12560 (isearch-forward-exit-minibuffer)
12561 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12562
c9990474
SM
125632013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12564
6e911150
SM
12565 * loadup.el: Just use unversioned DOC.
12566
c9990474
SM
12567 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12568 literals as extending to EOB.
12569 (nxml-last-fontify-end): Remove unused variable.
12570 (nxml-after-change1): Use with-silent-modifications.
12571 (nxml-extend-after-change-region): Simplify.
12572 (nxml-extend-after-change-region1): Remove function.
12573 (nxml-after-change1): Don't adjust for dependent regions.
12574 (nxml-fontify-matcher): Simplify.
12575 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12576 (xmltok-add-dependent): Remove function.
12577 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12578 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12579 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12580 unclosed <[[, <?, comment, and other literals as extending to EOB.
12581 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12582 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12583 Remove functions.
12584 (rng-do-some-validation-1): Don't mark dependent regions.
12585 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12586 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12587 (nxml-clear-dependent-regions): Remove functions.
12588 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12589 (nxml-ensure-scan-up-to-date):
12590 Don't clear&mark dependent regions.
12591
e3772e98
LL
125922013-05-15 Leo Liu <sdl.web@gmail.com>
12593
c9990474
SM
12594 * progmodes/octave.el (octave-goto-function-definition):
12595 Improve and fix callers.
e3772e98 12596
5ac2eb34
SM
125972013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12598
c46c57b0
SM
12599 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12600 the setter (bug#14387).
12601
5ac2eb34
SM
12602 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12603 surrounding group (bug#14402).
12604
180ed218
JL
126052013-05-14 Juri Linkov <juri@jurta.org>
12606
12607 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12608 (Bug#14390)
12609
0ac0fecb
GM
126102013-05-14 Glenn Morris <rgm@gnu.org>
12611
12612 * progmodes/f90.el (f90-imenu-generic-expression):
12613 Fix typo in 2013-05-08 change. (Bug#14402)
12614
2e78e6a7
JPG
126152013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12616
5ac2eb34
SM
12617 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12618 Remove signals for which replies are never received.
2e78e6a7 12619
53267cca
JPG
126202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12621
12622 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12623 (gdb-handler-alist, gdb-handler-number): Remove variables.
12624 (gdb-handler-list): New variable.
12625 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12626 (gdb-pending-handler-p, gdb-handle-reply)
12627 (gdb-remove-all-pending-triggers): New functions.
12628 (gdb-discard-unordered-replies): New defcustom.
12629 (gdb-handler): New defstruct.
12630 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12631 instead of gdb-pending-triggers. Update docstring.
12632 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12633 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12634 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12635 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12636 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12637 (gdb-frame-handler): Pending triggers are now automatically managed.
12638 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12639 Remove argument.
12640 (gdb-input): Automatically handles pending triggers. Update docstring.
12641 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12642 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12643 Update comments.
12644 (gdb-done-or-error): Now use gdb-handle-reply.
12645
d04ce803
JPG
126462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12647
12648 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12649 gdb-debug-log.
12650
0114073a
GM
126512013-05-14 Glenn Morris <rgm@gnu.org>
12652
12653 * subr.el (user-emacs-directory-warning): New option.
12654 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12655
4d25fd7e
LL
126562013-05-14 Leo Liu <sdl.web@gmail.com>
12657
12658 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12659 during redisplay.
12660 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12661 (octave-font-lock-texinfo-comment): Fix invalid search bound
12662 error: wrong side of point.
4d25fd7e 12663
27c8b6eb
GM
126642013-05-14 Glenn Morris <rgm@gnu.org>
12665
61aaeb01
GM
12666 * progmodes/flymake.el (flymake-xml-program): New option.
12667 (flymake-xml-init): Use it.
12668
5bf90bc5
GM
12669 * term/xterm.el: Provide a feature.
12670
12671 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12672
f4c7dfd2
GM
126732013-05-13 Glenn Morris <rgm@gnu.org>
12674
12675 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12676 Add compat aliases as a hack workaround. (Bug#14384)
12677
2aeb3a1d
LL
126782013-05-13 Leo Liu <sdl.web@gmail.com>
12679
b0e069c2
LL
12680 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12681 ###, and %!.
f5a9432f
LL
12682 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12683 C-M-q.
b0e069c2
LL
12684 (octave-comment-start-skip): Include %!.
12685 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12686
30ea8374
LL
126872013-05-12 Leo Liu <sdl.web@gmail.com>
12688
12689 * progmodes/octave.el (inferior-octave-startup): Store the value
12690 of __octave_srcdir__ for octave-source-directories.
12691 (inferior-octave-check-process): New function refactored out of
12692 inferior-octave-send-list-and-digest.
12693 (octave-source-directories)
12694 (octave-find-definition-filename-function): New variables.
12695 (octave-source-directories)
12696 (octave-find-definition-default-filename): New functions.
12697 (octave-find-definition): Improve to find functions implemented in C++.
12698
472a3834
GM
126992013-05-12 Glenn Morris <rgm@gnu.org>
12700
12701 * calendar/diary-lib.el (diary-outlook-format-1):
12702 Don't include dayname in the output. (Bug#14349)
12703
3191b52f
GM
127042013-05-11 Glenn Morris <rgm@gnu.org>
12705
0060ac73
GM
12706 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12707
3191b52f
GM
12708 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12709 Treat cc-provide like provide.
12710
e065ba74
KR
127112013-05-11 Kevin Ryde <user42@zip.com.au>
12712
12713 * cus-dep.el (custom-make-dependencies):
12714 Use generated-autoload-load-name for the sake of files such
12715 such cedet/semantic/bovine/c.el, where the base file name
12716 is not in load-path. (Bug#5277)
12717
36f84c37
GM
127182013-05-11 Glenn Morris <rgm@gnu.org>
12719
12720 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12721 Provide features.
12722
c8730c3a
LL
127232013-05-11 Leo Liu <sdl.web@gmail.com>
12724
12725 * progmodes/octave.el (octave-indent-comment): Improve.
12726 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12727 (octave-eldoc-function-signatures, octave-eldoc-function):
12728 New functions.
c8730c3a
LL
12729 (octave-mode, inferior-octave-mode): Add eldoc support.
12730
212e29f2
RS
127312013-05-11 Richard Stallman <rms@gnu.org>
12732
12733 * epa.el (epa-decrypt-file): Take output file name as argument
12734 and read it using `interactive'.
12735
083fe0d7
LL
127362013-05-11 Leo Liu <sdl.web@gmail.com>
12737
12738 * progmodes/octave.el (octave-beginning-of-line)
12739 (octave-end-of-line): Check before using up-list because it jumps
12740 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12741 (octave-indent-comment): New function.
12742 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12743 (octave-begin-keywords, octave-end-keywords)
12744 (octave-reserved-words, octave-smie-bnf-table)
12745 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12746
8582e4c4
GM
127472013-05-11 Glenn Morris <rgm@gnu.org>
12748
f20def1f
GM
12749 * faces.el (internal-face-x-get-resource):
12750 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12751 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12752 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12753 Fix declarations.
f20def1f 12754
445f95e2
GM
12755 * calc/calc-menu.el: Make it loadable in isolation.
12756
12757 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12758 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12759 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12760 (eudc-bbdb-query-internal): Require 'bbdb.
12761
99fb2756
GM
12762 * lpr.el (lpr-headers-switches):
12763 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12764
12765 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12766
0da7ad96
GM
12767 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12768
8582e4c4
GM
12769 * term.el (term-set-escape-char): Make it idempotent.
12770
f71c50d0
LL
127712013-05-10 Leo Liu <sdl.web@gmail.com>
12772
5ac2eb34
SM
12773 * progmodes/octave.el (inferior-octave-completion-table):
12774 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12775 completion due to bug#11906.
12776 (octave-beginning-of-defun): Re-write to be more general.
12777
d5837773
GM
127782013-05-10 Glenn Morris <rgm@gnu.org>
12779
12780 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12781
027c0f75
SM
127822013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * comint.el (comint-redirect-send-command-to-process): Use :around
12785 rather than :override for comint-redirect-filter.
12786 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12787 Call it instead of comint-redirect-original-filter-function (which
12788 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12789
4465bfb4
JD
127902013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12791
12792 * frame.el (display-monitor-attributes-list): Add NS case.
12793 (ns-display-monitor-attributes-list): Declare.
12794
2d809ffa 127952013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12796
12797 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12798
e54eeb9b
GM
127992013-05-09 Glenn Morris <rgm@gnu.org>
12800
56cd351d
GM
12801 * international/fontset.el (vertical-centering-font-regexp):
12802 Set standard-value.
12803
d84b6108
GM
12804 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12805
a931698a
GM
12806 * bookmark.el (bookmark-search-delay):
12807 * cus-start.el (vertical-centering-font-regexp):
12808 * ps-mule.el (ps-mule-font-info-database-default):
12809 * ps-print.el (ps-default-fg, ps-default-bg):
12810 * type-break.el (type-break-good-break-interval):
12811 * whitespace.el (whitespace-indentation-regexp)
12812 (whitespace-space-after-tab-regexp):
12813 * emacs-lisp/testcover.el (testcover-1value-functions)
12814 (testcover-noreturn-functions, testcover-progn-functions)
12815 (testcover-prog1-functions):
12816 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12817 * eshell/em-glob.el (eshell-glob-translate-alist):
12818 * play/tetris.el (tetris-tty-colors):
12819 * progmodes/cpp.el (cpp-face-default-list):
12820 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12821 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12822 (idlwave-help-browser-generic-args):
12823 * progmodes/make-mode.el (makefile-special-targets-list):
12824 * progmodes/python.el (python-shell-virtualenv-path):
12825 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12826 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12827 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12828 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12829 * textmodes/reftex-vars.el (reftex-format-label-function):
12830 * textmodes/remember.el (remember-diary-file): Fix custom types.
12831
e54eeb9b
GM
12832 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12833 Add :version.
12834
455851dd
LL
128352013-05-09 Leo Liu <sdl.web@gmail.com>
12836
12837 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12838 Restore file completion. (Bug#14300)
455851dd
LL
12839 (inferior-octave-startup): Fix incorrect highlighting for the
12840 first prompt.
12841
a9e4425b
SM
128422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12843
12844 * progmodes/ruby-mode.el: First cut at SMIE support.
12845 (ruby-use-smie): New var.
12846 (ruby-smie-grammar): New constant.
12847 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12848 (ruby-smie--forward-token, ruby-smie--backward-token)
12849 (ruby-smie-rules): New functions.
12850 (ruby-mode-variables): Setup SMIE if applicable.
12851
060ca408
EZ
128522013-05-08 Eli Zaretskii <eliz@gnu.org>
12853
12854 * simple.el (line-move-visual): Signal beginning/end of buffer
12855 only if vertical-motion moved less than it was requested. Avoids
12856 silly incorrect error messages when there are display strings with
12857 multiple newlines at EOL.
12858
1d5963cc
SM
128592013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12860
12861 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12862 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12863 (prolog-char-quote-workaround):
12864 * progmodes/cperl-mode.el (cperl-under-as-char):
12865 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12866 Mark as obsolete.
12867 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12868 their declaration.
12869 (vhdl-mode-syntax-table-init): Remove.
12870
c9990474
SM
12871 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12872 last change.
1d5963cc
SM
12873
12874 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12875 syntax for "_".
12876 (ld-script-font-lock-keywords):
12877 Change regexps to use things like \_< and \_>.
12878
12879 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12880 Change all regexps to use things like \_< and \_>.
12881
12882 * progmodes/autoconf.el (autoconf-definition-regexp)
12883 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12884 Handle a _ with symbol syntax.
12885 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12886
c9990474
SM
12887 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12888 Consolidate declaration.
1d5963cc
SM
12889 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12890 the declaration.
12891 (ada-create-syntax-table): Remove.
12892 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12893 already has the right syntax nowadays.
12894 (ada-goto-next-word): Don't change the syntax of "_".
12895
12896 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12897 with-wrapper-hook.
12898
72d3cfca
SS
128992013-05-08 Sam Steingold <sds@gnu.org>
12900
12901 * thingatpt.el (thing-at-point): Accept optional second argument
12902 NO-PROPERTIES to strip the text properties from the return value.
12903 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12904 to `thing-at-point' instead of stripping the properties ourselves.
12905 Also, when `thing-at-point' fails to find a url, prepend "http://"
12906 to the filename at point on the assumption that the user is
12907 pointing at something like gnu.org/gnu.
12908
5cb15713
JB
129092013-05-08 Juanma Barranquero <lekktu@gmail.com>
12910
12911 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12912 * faces.el (crm-separator):
12913 Silence byte-compiler.
12914
12915 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12916 (tool-bar-map): Remove unneeded defvars.
12917
ea78b95b
LL
129182013-05-08 Leo Liu <sdl.web@gmail.com>
12919
12920 Re-work a fix for bug#10994 based on Le Wang's patch.
12921 * ido.el (ido-remove-consecutive-dups): New helper.
12922 (ido-completing-read): Use it.
12923 (ido-chop): Revert fix for bug#10994.
12924
dc7466df
AS
129252013-05-08 Adam Spiers <emacs@adamspiers.org>
12926
12927 * cus-edit.el (custom-save-variables):
12928 Pretty-print long values. (Bug#14187)
12929
9ecf672a
GM
129302013-05-08 Glenn Morris <rgm@gnu.org>
12931
12932 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12933 (m4-mode-syntax-table): Init in the defvar.
12934 (m4-mode-abbrev-table): Let define-derived-mode define it.
12935
3f555be8
TT
129362013-05-08 Tom Tromey <tromey@redhat.com>
12937
12938 * progmodes/m4-mode.el (m4-mode-syntax-table):
12939 Do not treat "_" as word constituent. (Bug#14167)
12940
7cc8ae06
GM
129412013-05-07 Glenn Morris <rgm@gnu.org>
12942
4f58bc06
GM
12943 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12944 Remove explicit eshell-isearch-cancel-map.
12945
7cc8ae06
GM
12946 * progmodes/f90.el (f90-smart-end-names): New option.
12947 (f90-smart-end): Doc fix.
12948 (f90-end-block-optional-name): New constant.
12949 (f90-block-match): Respect f90-smart-end-names.
12950
ceb57e59
SM
129512013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12954 about implicit semi-colons (bug#14218).
12955
4e3f9230
YM
129562013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12957
12958 * frame.el (display-monitor-attributes-list)
12959 (frame-monitor-attributes): New functions.
12960
203a5572
LL
129612013-05-06 Leo Liu <sdl.web@gmail.com>
12962
12963 * progmodes/octave.el (octave-syntax-propertize-function): Change
12964 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12965 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12966 (octave-completion-at-point): Rename from
203a5572
LL
12967 octave-completion-at-point-function.
12968 (inferior-octave-directory-tracker): Robustify.
12969 (octave-text-functions): Remove and fix its uses. No such things
12970 any more.
12971
ee6cff99
SM
129722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12973
12974 * emacs-lisp/trace.el (trace--display-buffer): New function.
12975 (trace-make-advice): Use it.
12976
32985194
JL
129772013-05-06 Juri Linkov <juri@jurta.org>
12978
12979 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12980 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12981 Doc fix.
12982 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12983 in the help string. (Bug#12985)
12984
a1c700de
KD
129852013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12986
12987 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12988
c67c0839
SM
129892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12990
323885fd
SM
12991 * progmodes/perl-mode.el: Add support for here documents.
12992 (perl-syntax-propertize-function): Match here-doc markers.
12993 (perl-syntax-propertize-special-constructs): Find their end.
12994 (perl-imenu-generic-expression): Use [:alnum:].
12995
c67c0839
SM
12996 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12997 (advice--add-function): Refresh the advice if already present
12998 (bug#14317).
12999
d491e7a8
IA
130002013-05-06 Ivan Andrus <darthandrus@gmail.com>
13001
13002 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13003
ddf9925e
GM
130042013-05-06 Glenn Morris <rgm@gnu.org>
13005
7cc3af27
GM
13006 * w32-fns.el (w32-charset-info-alist): Declare.
13007
16e343d6
GM
13008 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13009 of its defcustom properties.
13010 (eshell-cmpl-initialize): No need to load pcomplete.
13011
7d889a47
GM
13012 * generic-x.el: No need to require comint when compiling.
13013
ddf9925e
GM
13014 * net/eudc-export.el: Make it loadable without bbdb.
13015 (top-level): Use require rather than load-library.
13016 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13017 (eudc-batch-export-records-to-bbdb)
13018 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13019 Require bbdb.
13020
1e2c18df
SM
130212013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13022
13023 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13024 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13025 some tweaks, instead.
13026
02502a5f
LL
130272013-05-05 Leo Liu <sdl.web@gmail.com>
13028
13029 * progmodes/octave.el (octave-font-lock-keywords)
13030 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13031 (inferior-octave-send-list-and-digest): Improve error message.
13032 (octave-mode, inferior-octave-mode): Use setq-local.
13033 (octave-help): Set info-lookup-mode.
13034
0dc04f42
RS
130352013-05-05 Richard Stallman <rms@gnu.org>
13036
6c54491c
RS
13037 * vc/compare-w.el (compare-windows-whitespace):
13038 Treat no-break space as whitespace.
13039
0dc04f42
RS
13040 * mail/rmailsum.el (rmail-summary-rmail-update):
13041 Detect empty summary and don't change selected message.
13042 (rmail-summary-goto-msg): Likewise.
13043
df8f35df
RS
13044 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13045 Doc fixes, rename args.
13046
5356e1a3
AM
130472013-05-05 Alan Mackenzie <acm@muc.de>
13048
13049 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13050
d44014cb
JL
130512013-05-05 Juri Linkov <juri@jurta.org>
13052
13053 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13054 to not add the length of the summary segment to the return value.
13055 (Bug#14125)
13056
c129b51f
LL
130572013-05-05 Leo Liu <sdl.web@gmail.com>
13058
13059 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13060 (inferior-octave-output-filter): Remove.
13061 (octave-send-region, inferior-octave-startup): Fix callers.
13062 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13063 (octave-binary-file-extensions): New user variable.
13064 (octave-find-definition): Confirm if opening binary files.
13065 (octave-help-file): Use octave-find-definition to get the binary
13066 confirmation.
13067 (octave-help): Adjust for octave-help-file change.
13068
aa7dab97
SM
130692013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13070
13071 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13072 Merge the two entries that handle function definitions.
13073 (pascal--syntax-propertize): New const.
13074 (pascal-mode): Use it. Use setq-local.
13075
fd3a9a6b
GM
130762013-05-04 Glenn Morris <rgm@gnu.org>
13077
13078 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13079 (diary-from-outlook): Respect diary-from-outlook-function.
13080
30c7e542
SM
130812013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13084 Move the declaration from C.
13085 (read-minibuffer, eval-minibuffer): Move from C.
13086 (completion-setup-function): Avoid minibuffer-completion-contents.
13087
b54f978b
LL
130882013-05-03 Leo Liu <sdl.web@gmail.com>
13089
13090 * progmodes/octave.el (octave-font-lock-keywords): Do not
13091 dehighlight 'end' in comments or strings.
30c7e542
SM
13092 (octave-completing-read, octave-goto-function-definition):
13093 New helpers.
d4d0f9b3
LL
13094 (octave-help-buffer): New user variable.
13095 (octave-help-file, octave-help-function): New button types.
13096 (octave-help): New command and bind it to C-h ;.
13097 (octave-find-definition): New command and bind it to M-.
d74a1581 13098 (user-error): Alias to error if not defined.
b54f978b 13099
27135018
LL
131002013-05-02 Leo Liu <sdl.web@gmail.com>
13101
13102 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13103 for \. (bug#14332)
13104 (octave-font-lock-keywords): Include [ and {.
13105
0d634d3a
LL
131062013-05-02 Leo Liu <sdl.web@gmail.com>
13107
13108 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13109 (inferior-octave): Remove calling comint-mode and return the buffer.
13110 (inferior-octave-startup): Cosmetic changes.
13111
b4c8295e
LL
131122013-05-02 Leo Liu <sdl.web@gmail.com>
13113
30c7e542
SM
13114 * progmodes/octave.el (octave-syntax-propertize-function):
13115 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 13116
f12ad6ec
GM
131172013-05-02 Glenn Morris <rgm@gnu.org>
13118
13119 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13120 * desktop.el (vc-dir-mode): Just autoload it here.
13121
30cac1e0
AM
131222013-05-02 Alan Mackenzie <acm@muc.de>
13123
13124 Eliminate variable c-standard-font-lock-fontify-region-function.
13125 * progmodes/cc-mode.el
13126 (c-standard-font-lock-fontify-region-function): Remove.
13127 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13128
d8ef28b1
LL
131292013-05-01 Leo Liu <sdl.web@gmail.com>
13130
2640d52e 13131 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 13132 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 13133 variables were removed from Octave in 2007.
d8ef28b1
LL
13134 (inferior-octave-startup): Fix uses.
13135 (comint-line-beginning-position): Remove compatibility code for
13136 emacs 21.
13137
ac63ec89
JL
131382013-05-01 Juri Linkov <juri@jurta.org>
13139
13140 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13141
9e9be37c
JL
131422013-05-01 Juri Linkov <juri@jurta.org>
13143
13144 * comint.el (comint-previous-matching-input): Don't print message
13145 "History item: %d" when `isearch-mode' is active.
13146 (comint-history-isearch-message): Print message "History item: %d"
13147 when `comint-input-ring-index' is not empty and this function is
13148 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13149
9b92c13b
LL
131502013-05-01 Leo Liu <sdl.web@gmail.com>
13151
13152 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13153 definitions. Use completion-at-point to insert keywords.
13154 (octave-abbrev-start): Remove.
13155 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13156
b12d33d7
LL
131572013-04-30 Leo Liu <sdl.web@gmail.com>
13158
13159 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13160 change.
13161
3d1c39fa
AM
131622013-04-30 Alan Mackenzie <acm@muc.de>
13163
13164 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13165 * progmodes/cc-engine.el (c-back-over-member-initializers):
13166 new function.
3d1c39fa
AM
13167 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13168 (most) member init lists.
13169
5147fc17
RS
131702013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13171
13172 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13173 variable.
13174
5b78d7fc
LL
131752013-04-30 Leo Liu <sdl.web@gmail.com>
13176
13177 * progmodes/octave.el (octave-variables): Remove. No builtin
13178 variables any more. All converted to functions.
13179 (octave-font-lock-keywords, octave-completion-at-point-function):
13180 Fix uses.
13181 (octave-font-lock-texinfo-comment): New user variable.
13182 (octave-texinfo-font-lock-keywords): New variable for texinfo
13183 comment block.
13184 (octave-function-comment-block): New face.
13185 (octave-font-lock-texinfo-comment): New function.
13186 (octave-mode): Font lock texinfo comment block.
13187
38d8527b
LL
131882013-04-29 Leo Liu <sdl.web@gmail.com>
13189
13190 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13191 indexing expression.
13192 (octave-continuation-string): Do not use \.
13193 (inferior-octave-complete-impossible): Remove.
13194 (inferior-octave-completion-table)
13195 (inferior-octave-completion-at-point): Remove its uses.
13196 (inferior-octave-startup): completion_matches was introduced to
13197 Octave in 1996 so safe to assume it.
13198 (octave-function-file-comment): Improve to follow how Octave does it.
13199 (octave-update-function-file-comment): Tweak.
13200
2ec12cb0
LL
132012013-04-29 Leo Liu <sdl.web@gmail.com>
13202
13203 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13204 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13205 (octave-function-file-comment): Fix typo.
13206 (octave-sync-function-file-names): Use read-char-choice.
13207
6eaed048
JB
132082013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13209
13210 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13211 to t for the less important warnings.
13212
3ffa2d4f
DH
132132013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13214
13215 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13216
685c9501
GM
132172013-04-27 Glenn Morris <rgm@gnu.org>
13218
13219 * vc/log-view.el (log-view-current-entry):
13220 Treat "---" separator lines as part of the following rev. (Bug#14169)
13221
0208ede7
JL
132222013-04-27 Juri Linkov <juri@jurta.org>
13223
13224 * subr.el (read-number): Doc fix about using it by interactive
13225 code letter `n'. (Bug#14254)
13226
5db9dace
JL
132272013-04-27 Juri Linkov <juri@jurta.org>
13228
13229 * desktop.el (desktop-auto-save-timeout): New option.
13230 (desktop-file-checksum): New variable.
13231 (desktop-save): Add optional arg `auto-save' and don't auto-save
13232 if nothing changed.
13233 (desktop-auto-save-timer): New variable.
13234 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13235 (after-init-hook): Call `desktop-auto-save-set-timer'.
13236 Suggested by Reuben Thomas <rrt@sc3d.org> in
13237 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13238
b7260dd4
LL
132392013-04-27 Leo Liu <sdl.web@gmail.com>
13240
13241 * progmodes/octave.el (octave-function-file-p)
13242 (octave-skip-comment-forward, octave-function-file-comment)
13243 (octave-update-function-file-comment): New functions.
13244 (octave-mode-map): Bind C-c ; to
13245 octave-update-function-file-comment.
13246 (octave-mode-menu): Add octave-update-function-file-comment.
13247 (octave-mode, inferior-octave-mode): Fix doc-string.
13248 (octave-insert-defun): Conform to Octave's coding convention.
13249 (Bug#14285)
13250
13251 * files.el (basic-save-buffer): Don't let errors in
13252 before-save-hook prevent saving buffer.
13253
c46da669
RW
132542013-04-20 Roland Winkler <winkler@gnu.org>
13255
13256 * faces.el (read-face-name): Use completing-read if arg multiple
13257 is nil.
13258
a81ee1eb
IL
132592013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13260
13261 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13262 displayed, move point to after the totals line.
13263 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13264 for the details.
13265
4fac34ce
SM
132662013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13267
13268 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13269 Add current dir to the load-path.
13270 (package-generate-autoloads): Don't rely on
13271 autoload-ensure-default-file.
13272
f6bfc063
RT
132732013-04-26 Reuben Thomas <rrt@sc3d.org>
13274
d40ab5cf
BG
13275 * textmodes/remember.el (remember-store-in-files): Document that
13276 the file name format is passed to `format-time-string'.
f6bfc063 13277
e55d3b04
LL
132782013-04-26 Leo Liu <sdl.web@gmail.com>
13279
13280 * progmodes/octave.el (octave-sync-function-file-names): New function.
13281 (octave-mode): Use it in before-save-hook.
13282
e53052d3
SM
132832013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13284
140ef50c
SM
13285 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13286 (bug#14274).
13287
e53052d3
SM
13288 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13289 \n and comment, even if it's not an implicit ; (bug#14218).
13290
af80458d 132912013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13292
13293 * subr.el (read-number): Once more use `read' rather than
13294 `string-to-number', to trap non-numeric input. (Bug#14254)
13295
af80458d 132962013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13297
13298 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13299 Use `syntax-multiline' text property consistently instead of
8a621d53 13300 `font-lock-multiline'. (Bug#14237)
70203c2e 13301
e6ea1f6c
GM
133022013-04-26 Glenn Morris <rgm@gnu.org>
13303
13304 * emacs-lisp/shadow.el (list-load-path-shadows):
13305 No longer necessary to check for duplicate simple.el, since
13306 2012-07-07 change to init_lread to not include installation lisp
13307 directories in load-path when running uninstalled. (Bug#14270)
13308
070ccca4
LL
133092013-04-26 Leo Liu <sdl.web@gmail.com>
13310
13311 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13312 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13313 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13314 octave-in-string-or-comment-p.
13315 (octave-in-comment-p, octave-in-string-p)
13316 (octave-in-string-or-comment-p): Replace defsubst with defun.
13317
9d1c5fb6
PE
133182013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13319
13320 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13321
c034abda
BG
133222013-04-25 Bastien Guerry <bzg@gnu.org>
13323
13324 * textmodes/remember.el (remember-data-directory)
13325 (remember-directory-file-name-format): Fix custom types.
13326
584ea277
LL
133272013-04-25 Leo Liu <sdl.web@gmail.com>
13328
e53052d3
SM
13329 * progmodes/octave.el (octave-completion-at-point-function):
13330 Make use of inferior octave process.
584ea277
LL
13331 (octave-initialize-completions): Remove.
13332 (inferior-octave-completion-table): New function.
13333 (inferior-octave-completion-at-point): Use it.
13334 (octave-completion-alist): Remove.
13335
1693b06a
SM
133362013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13337
13338 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13339 (opascal-mode-syntax-table): New var.
13340 (opascal-literal-kind, opascal-is-literal-end)
13341 (opascal-literal-token-at): Rewrite.
13342 (opascal--literal-start-re, opascal-font-lock-keywords)
13343 (opascal--syntax-propertize): New constants.
13344 (opascal-font-lock-defaults): Adjust.
13345 (opascal-mode): Use them. Set comment-<foo> variables as well.
13346 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13347 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13348 (delphi-other-face, opascal-other-face): Remove face variables.
13349 (opascal-save-state): Remove macro.
13350 (opascal-fontifying-progress-step): Remove constant.
13351 (opascal--ignore-changes): Remove var.
13352 (opascal-set-token-property, opascal-parse-next-literal)
13353 (opascal-is-stable-literal, opascal-complete-literal)
13354 (opascal-is-literal-start, opascal-face-of)
13355 (opascal-parse-region, opascal-parse-region-until-stable)
13356 (opascal-fontify-region, opascal-after-change)
13357 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13358 (opascal-debug-parse-region, opascal-debug-parse-window)
13359 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13360 (opascal-debug-fontify-buffer): Remove.
13361 (opascal-debug-mode-map): Adjust accordingly.
13362
be64c05d
LL
133632013-04-25 Leo Liu <sdl.web@gmail.com>
13364
13365 Merge octave-mod.el and octave-inf.el into octave.el with some
13366 cleanups.
13367 * progmodes/octave.el: New file renamed from octave-mod.el.
13368 * progmodes/octave-inf.el: Merged into octave.el.
13369 * progmodes/octave-mod.el: Renamed to octave.el.
13370
d79d37bd
TH
133712013-04-25 Tassilo Horn <tsdh@gnu.org>
13372
13373 * textmodes/reftex-vars.el
13374 (reftex-label-ignored-macros-and-environments): New defcustom.
13375
13376 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13377
ced3fc5d
SM
133782013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13379
13380 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13381 (smie-indent-keyword): Improve the check to ensure that the next
13382 comment is really on the same line.
13383 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13384
13385 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13386 semi-colons if the line is not otherwise empty (bug#14218).
13387
1c141dad
GM
133882013-04-25 Glenn Morris <rgm@gnu.org>
13389
13390 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13391
5058062a
SM
133922013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13393
13394 * progmodes/opascal.el (opascal-set-token-property): Rename from
13395 opascal-set-text-properties and only set `token' (bug#14134).
13396 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13397 (opascal-literal-text-properties): Remove.
13398 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13399 Adjust callers.
13400
5db9dace 134012013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13402
13403 * textmodes/remember.el (remember-handler-functions): Add an
13404 option for a new handler `remember-store-in-files'.
13405 (remember-data-directory, remember-directory-file-name-format):
13406 New options.
13407 (remember-store-in-files): New function to store remember notes
13408 as separate files within a directory.
13409
4391916c
MH
134102013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13411
13412 * progmodes/compile.el (compilation-next-error-function):
13413 Pass "formats" to compilation-find-file (bug#11777).
13414
bb7cdf58
GM
134152013-04-24 Glenn Morris <rgm@gnu.org>
13416
3b8fe752 13417 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13418 * vc/vc-hg.el (vc-hg-print-log):
13419 * vc/vc-svn.el (vc-svn-print-log):
13420 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13421
bb7cdf58
GM
13422 * vc/vc-bzr.el (vc-bzr-print-log):
13423 * vc/vc-cvs.el (vc-cvs-print-log):
13424 * vc/vc-git.el (vc-git-print-log):
13425 * vc/vc-hg.el (vc-hg-print-log):
13426 * vc/vc-mtn.el (vc-mtn-print-log):
13427 * vc/vc-rcs.el (vc-rcs-print-log):
13428 * vc/vc-sccs.el (vc-sccs-print-log):
13429 * vc/vc-svn.el (vc-svn-print-log):
13430 * vc/vc.el (vc-print-log-internal): Doc fixes.
13431
b46a056e
GM
134322013-04-23 Glenn Morris <rgm@gnu.org>
13433
13434 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13435 Remove venerable code attempting to avoid substitute-command-keys.
13436
0aecf718
TH
134372013-04-23 Tassilo Horn <tsdh@gnu.org>
13438
4391916c
MH
13439 * textmodes/reftex-vars.el (reftex-label-regexps):
13440 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13441
117f94cf
SM
134422013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13443
4391916c 13444 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13445 Use lexical-binding.
13446 (jit-lock-force-redisplay): Use markers, check buffer's continued
13447 existence and beware narrowed buffers.
13448 (jit-lock-fontify-now): Adjust call accordingly.
13449
1d829c64
SM
134502013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13451
13452 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13453 to avoid misleading the user.
13454
72d548a9
LL
134552013-04-22 Leo Liu <sdl.web@gmail.com>
13456
13457 * info-look.el: Prefer latex2e.info. (Bug#14240)
13458
d0853629
MA
134592013-04-22 Michael Albinus <michael.albinus@gmx.de>
13460
13461 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13462
13463 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13464 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13465 (tramp-set-completion-function, tramp-parse-putty):
13466 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13467 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13468 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13469 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13470 (tramp-call-local-coding-command): Use `tramp-call-process'
13471 instead of `tramp-compat-call-process'.
13472
13473 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13474 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13475 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13476 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13477 (tramp-maybe-send-script): Check for Perl binary.
13478 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13479
38cc0210
DU
134802013-04-22 Daiki Ueno <ueno@gnu.org>
13481
13482 * epg.el (epg-context-pinentry-mode): New function.
13483 (epg-context-set-pinentry-mode): New function.
13484 (epg--start): Pass --pinentry-mode option to gpg command.
13485
cc641ee1
XF
134862013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13487
02d844b5 13488 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13489 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13490 `completion-at-point'. (Bug#13774)
5d4e5c31 13491
cc641ee1
XF
13492 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13493 default key binding for `describe-distribution' has been moved to
13494 `C-h C-o'. (Bug#13970)
13495
1b42ee43
GM
134962013-04-21 Glenn Morris <rgm@gnu.org>
13497
13498 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13499 Add doc strings.
13500 (vc-print-log): Clarify interactive prompt.
13501
a6d63d97
GM
135022013-04-20 Glenn Morris <rgm@gnu.org>
13503
13504 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13505 No longer include timestamp etc information.
13506
d7f5c16f
RW
135072013-04-20 Roland Winkler <winkler@gnu.org>
13508
13509 * faces.el (read-face-name): Bug fix, return just one face if arg
13510 multiple is nil. (Bug#14209)
13511
bcd7a0a4
SM
135122013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13515 (remove-function): Autoload.
13516
13517 * comint.el (comint-redirect-original-filter-function): Remove.
13518 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13519 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13520 (vc-cvs-annotate-command):
bcd7a0a4
SM
13521 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13522 * progmodes/prolog.el (prolog-consult-compile):
13523 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13524 Use add/remove-function instead.
13525 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13526 (gud-tooltip-process-output, gud-tooltip-tips):
13527 Use add/remove-function instead.
13528 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13529 (scheme-interaction-mode, exit-scheme-interaction-mode):
13530 Use add/remove-function instead.
13531
13532 * vc/vc-dispatcher.el: Use lexical-binding.
13533 (vc--process-sentinel): Rename from vc-process-sentinel.
13534 Change last arg to be the code to run. Don't use vc-previous-sentinel
13535 and vc-sentinel-commands any more.
13536 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13537 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13538
e36b2d20 135392013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13540
bcd7a0a4 13541 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13542 Handle function names with a single character. (Bug#14111)
4d3268ba 13543
27821a89 135442013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13545
13546 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13547 for subroutines defined in an eval (bug#14182).
13548
7d688336
TV
135492013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13550
13551 * bookmark.el (bookmark-completing-read): Improve handling of empty
13552 string (bug#14176).
13553
31dcede0
SM
135542013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13557
adc31213
FEG
135582013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13559
13560 New faster Imenu implementation (bug#14058).
13561 * progmodes/python.el:
13562 (python-imenu-prev-index-position):
13563 (python-imenu-format-item-label-function)
13564 (python-imenu-format-parent-item-label-function)
13565 (python-imenu-format-parent-item-jump-label-function):
13566 New vars.
13567 (python-imenu-format-item-label)
13568 (python-imenu-format-parent-item-label)
13569 (python-imenu-format-parent-item-jump-label)
13570 (python-imenu--put-parent, python-imenu--build-tree)
13571 (python-imenu-create-index, python-imenu-create-flat-index)
13572 (python-util-popn): New functions.
13573 (python-mode): Set imenu-create-index-function to
13574 python-imenu-create-index.
13575
cdca8255
SM
135762013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13577
13578 * winner.el (winner-active-region): Use region-active-p, activate-mark
13579 and deactivate-mark (bug#14225).
13580
13581 * simple.el (deactivate-mark): Don't inline it.
13582
beb42340
MA
135832013-04-18 Michael Albinus <michael.albinus@gmx.de>
13584
13585 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13586
fc7f4d7e
TH
135872013-04-18 Tassilo Horn <tsdh@gnu.org>
13588
13589 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13590 file extensions from the archive-mode entry in order to prefer
13591 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13592
29f47822
LL
135932013-04-18 Leo Liu <sdl.web@gmail.com>
13594
13595 * bindings.el (help-event-list): Add ?\?.
13596
d36ed1c8
SM
135972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13598
13599 * subr.el (with-wrapper-hook): Declare obsolete.
13600 * simple.el (filter-buffer-substring-function): New hook.
13601 (filter-buffer-substring): Use it.
13602 (filter-buffer-substring-functions): Mark obsolete.
13603 * minibuffer.el (completion-in-region-function): New hook.
13604 (completion-in-region): Use it.
13605 (completion-in-region-functions): Mark obsolete.
13606 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13607 * abbrev.el (abbrev-expand-function): New hook.
13608 (expand-abbrev): Use it.
13609 (abbrev-expand-functions): Mark obsolete.
13610 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13611 and :filter-return.
13612
04754d36
FEG
136132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13614
13615 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13616 and do not care about match data.
13617
dd8791e9
SM
136182013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13619
13620 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13621 completion tables when completing error conditions and
13622 `declare' arguments.
13623 (lisp-complete-symbol, field-complete): Mark as obsolete.
13624 (check-parens): Unmatched parens are user errors.
13625 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13626
ffe54a13
AM
136272013-04-17 Michal Nazarewicz <mina86@mina86.com>
13628
dd8791e9
SM
13629 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13630 command changed buffer (ie. `flyspell-pre-buffer' is not current
13631 buffer), which prevents making decisions based on invalid value of
13632 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13633 cause an error when `flyspell-pre-point' was nil after switching
13634 buffers.
13635 (flyspell-post-command-hook): No longer needs to change buffers when
13636 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13637
ec7e39f2
AM
136382013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13639
13640 * textmodes/ispell.el (ispell-add-per-file-word-list):
13641 Fix `flyspell-correct-word-before-point' error when accepting
13642 words and `coment-padding' is an integer by using
13643 `comment-normalize-vars' (Bug #14214).
13644
083850a6
FEG
136452013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13646
13647 New defun movement commands.
13648 * progmodes/python.el (python-nav--syntactically)
13649 (python-nav--forward-defun, python-nav-backward-defun)
13650 (python-nav-forward-defun): New functions.
13651
619ed6e1
FEG
136522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13653
13654 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13655 (python-syntax-context): Use named compiler-macro for backwards
13656 compatibility with Emacs 24.x.
13657
7a1beb6c
LL
136582013-04-17 Leo Liu <sdl.web@gmail.com>
13659
13660 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13661 octave-hide-process-buffer.
13662
2d3fa3e5
SM
136632013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13664
13665 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13666 (bug#14216).
13667
7ce5be54
JPG
136682013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13669
13670 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13671 Fix adjustment of offset when receiving incomplete responses from GDB
13672 (bug#14129).
13673
351edece
SM
136742013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13677 python-mode-abbrev-table.
13678 (python-skeleton-define): Adjust accordingly.
13679 (python-mode-abbrev-table): New table that inherits from it so that
13680 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13681
13682 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13683 (abbrev-symbol): Use it.
13684 (abbrev--before-point): Use it since we already handle inheritance.
13685
613f9481
LL
136862013-04-16 Leo Liu <sdl.web@gmail.com>
13687
13688 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13689 binding to info-lookup-symbol.
13690
51646b62
JB
136912013-04-16 Juanma Barranquero <lekktu@gmail.com>
13692
13693 * minibuffer.el (completion--twq-all):
13694 * term/ns-win.el (ns-initialize-window-system):
13695 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13696
efb3f01d
SM
136972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13698
36c0a301
SM
13699 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13700 global bindings.
13701
efb3f01d
SM
13702 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13703
fb549d64
DG
137042013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13705
13706 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13707 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13708 to nil.
13709 (ruby-end-of-defun): Remove the unused arg, change the docstring
13710 to reflect that this function is only used as the value of
13711 `end-of-defun-function'.
13712 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13713 to reflect an earlier change that beginning/end-of-defun functions
13714 jump between methods in a class definition, as well as top-level
13715 functions.
13716
21e8fe2f
SM
137172013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * minibuffer.el (minibuffer-complete): Don't just scroll
13720 a *Completions* that's been iconified.
13721 (minibuffer-force-complete): Make sure repetitions do cycle when going
13722 through completion-in-region -> minibuffer-complete.
13723
20e527d0
AM
137242013-04-15 Alan Mackenzie <acm@muc.de>
13725
13726 Correct the placement of c-cpp-delimiters when there're #s not at
13727 col 0.
13728
13729 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13730 place a submatch around the #.
21e8fe2f
SM
13731 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13732 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13733 on the #, not BOL.
13734
dabefae5
SM
137352013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13736
13737 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13738 (advice--member-p): New arg `name'.
13739 (advice--add-function, advice-member-p): Use it (bug#14202).
13740
85c9ab64
AM
137412013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13742
13743 Reformulate java imenu-generic-expression.
13744 The old expression contained ill formed regexps.
13745
13746 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13747 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13748 (cc-imenu-java-method-arg-regexp): New defconsts.
13749 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13750 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13751 handling of spaces in the regexp.
13752
0f821d99
AM
137532013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13754
13755 * textmodes/ispell.el (ispell-command-loop): Remove
13756 flyspell highlight of a word when ispell accepts it (bug #14178).
13757
eb922adf
MA
137582013-04-15 Michael Albinus <michael.albinus@gmx.de>
13759
13760 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13761 uses code from the previous `ange-ftp-run-real-handler'.
13762 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13763 only in case that function exist. This is needed for proper
13764 unloading of Tramp.
13765
4d9a0979
TH
137662013-04-15 Tassilo Horn <tsdh@gnu.org>
13767
13768 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13769
13770 * textmodes/reftex.el (reftex-compile-variables): Use it.
13771
a829b0dc
SM
137722013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13773
91e8293c
SM
13774 * files.el (normal-mode): Only use default major-mode if no other mode
13775 was specified.
13776
830aed4d
SM
13777 * emacs-lisp/trace.el (trace-values): New function.
13778
a829b0dc
SM
13779 * files.el: Allow : in local variables (bug#14089).
13780 (hack-local-variable-regexp): New var.
13781 (hack-local-variables-prop-line, hack-local-variables): Use it.
13782
7ae9f0fb
RW
137832013-04-13 Roland Winkler <winkler@gnu.org>
13784
13785 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13786 data before it gets modified by bibtex-beginning-of-entry.
13787
6646e848
RW
137882013-04-13 Roland Winkler <winkler@gnu.org>
13789
13790 * textmodes/bibtex.el (bibtex-url): Doc fix.
13791
137922013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13793
13794 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13795 does not visit a BibTeX file, exclude it from the list of buffers
13796 returned by bibtex-initialize.
13797
0aa3616e
SB
137982013-04-13 Stephen Berman <stephen.berman@gmx.net>
13799
13800 * window.el (split-window): Remove interactive form, since as a
13801 command this function is a special case of split-window-below.
13802 Correct doc string.
13803
011cddd6
RW
138042013-04-12 Roland Winkler <winkler@gnu.org>
13805
13806 * faces.el (read-face-name): Do not override value of arg default.
13807 Allow single faces and strings as default values. Remove those
13808 elements from return value that are not faces.
13809 (describe-face): Simplify.
13810 (face-at-point): New optional args thing and multiple so that this
13811 function can provide the same functionality previously provided by
13812 read-face-name.
13813 (make-face-bold, make-face-unbold, make-face-italic)
13814 (make-face-unitalic, make-face-bold-italic, invert-face)
13815 (modify-face, read-face-and-attribute): Use face-at-point.
13816
13817 * cus-edit.el (customize-face, customize-face-other-window)
13818 * cus-theme.el (custom-theme-add-face)
13819 * face-remap.el (buffer-face-set)
13820 * facemenu.el (facemenu-set-face): Use face-at-point.
13821
f24e0036
MA
138222013-04-12 Michael Albinus <michael.albinus@gmx.de>
13823
13824 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13825
da3cda2d
TH
138262013-04-10 Tassilo Horn <tsdh@gnu.org>
13827
13828 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13829 off leading { and trailing } from field values.
13830
15e54145
SM
138312013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13832
78ce603d
SM
13833 * emacs-lisp/timer.el (timer--check): New function.
13834 (timer--time, timer-set-function, timer-event-handler): Use it.
13835 (timer-set-idle-time): Simplify.
13836 (timer--activate): CSE.
13837 (timer-event-handler): Give more info in error message.
13838 (internal-timer-start-idle): New function, moved from C.
13839
15e54145
SM
13840 * mpc.el (mpc-proc): Add `restart' argument.
13841 (mpc-proc-cmd): Use it.
13842 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13843 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13844 less often.
13845
7144c627
MY
138462013-04-10 Masatake YAMATO <yamato@redhat.com>
13847
13848 * progmodes/sh-script.el: Implement `sh-mode' own
13849 `add-log-current-defun-function' (bug#14112).
13850 (sh-current-defun-name): New function.
13851 (sh-mode): Use the function.
13852
b39792eb
BG
138532013-04-09 Bastien Guerry <bzg@gnu.org>
13854
13855 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13856
8acdeb71
SM
138572013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13858
6fcdab68
SM
13859 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13860
8acdeb71
SM
13861 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13862 timer (bug#14156).
13863
e3e7b504
NF
138642013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13865
13866 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13867 declaration.
13868
201bb296
LL
138692013-04-07 Leo Liu <sdl.web@gmail.com>
13870
13871 * pcmpl-x.el: New file.
13872
ebb19708
DA
138732013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13874
13875 Do not set x-display-name until X connection is established.
13876 This is needed to prevent from weird situation described at
13877 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13878 * frame.el (make-frame): Set x-display-name after call to
13879 window system initialization function, not before.
13880 * term/x-win.el (x-initialize-window-system): Add optional
13881 display argument and use it.
13882 * term/w32-win.el (w32-initialize-window-system):
13883 * term/ns-win.el (ns-initialize-window-system):
13884 * term/pc-win.el (msdos-initialize-window-system):
13885 Add compatible optional display argument.
13886
33bb237a
EZ
138872013-04-06 Eli Zaretskii <eliz@gnu.org>
13888
13889 * files.el (normal-backup-enable-predicate): On MS-Windows and
13890 MS-DOS compare truenames of temporary-file-directory and of the
13891 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13892 don't fail comparison by compare-strings. Also, compare file
13893 names case-insensitively on MS-Windows and MS-DOS.
13894
134abf1f
SM
138952013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13896
13897 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13898 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13899
d695cb94
DG
139002013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13901
e3e7b504
NF
13902 * whitespace.el (whitespace-color-on, whitespace-color-off):
13903 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13904
f4ad7ea1 139052013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13906
13907 * ispell.el (ispell-set-spellchecker-params):
13908 Really set `ispell-args' for all equivs.
13909
632556e4
SM
139102013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * ido.el (ido-completions): Use extra elements of ido-decorations
13913 (bug#14143).
13914 (ido-decorations): Update docstring.
13915
2a417372
MA
139162013-04-05 Michael Albinus <michael.albinus@gmx.de>
13917
13918 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13919 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13920 nil during initialization, in order not to miss changes since the
13921 file was opened. (Bug#14140)
13922
fc164b0c
LL
139232013-04-05 Leo Liu <sdl.web@gmail.com>
13924
13925 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13926
0ccecc08
JB
139272013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13928
13929 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13930
51af1aa2
GM
139312013-04-04 Glenn Morris <rgm@gnu.org>
13932
13933 * electric.el (electric-pair-inhibit-predicate): Add :version.
13934
b208ebc6
SM
139352013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13938 when a package is required several times (bug#14082).
13939
f3d3eaf0
RW
139402013-04-04 Roland Winkler <winkler@gnu.org>
13941
13942 * faces.el (read-face-name): Behave as promised by the docstring.
13943 Assume that arg default is a list of faces.
13944 (describe-face): Call read-face-name with list of default faces.
13945
2575da50
TV
139462013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13947
13948 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13949 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13950 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13951 the header.
13952 (bookmark-exit-hook-internal): Save even if list is empty.
13953
397703b4
YH
139542013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13955
13956 * emacs-lisp/package.el (package-pinned-packages): New var.
13957 (package--add-to-archive-contents): Obey it (bug#14118).
13958
691e26ae
AM
139592013-04-03 Alan Mackenzie <acm@muc.de>
13960
8a621d53
JB
13961 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13962 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13963
13964 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13965 parameter `not-in-delimiter'. Handle being inside comment opener.
13966 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13967 character in case we're typing a '*' after a '/'.
13968 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13969 instead by passing the parameter to c-state-pp-to-literal.
13970
13971 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13972 for elt. 7 of a parse state.
13973
4b725a70
PE
139742013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13975
13976 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13977 * international/latin1-disp.el, international/mule-util.el:
13978 * language/cyril-util.el, language/european.el, language/ind-util.el:
13979 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13980 * language/tibetan.el, language/viet-util.el:
13981 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13982
15c579f0
SM
139832013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13984
13985 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13986 (electric-pair-post-self-insert-function): Use it.
13987 (electric-pair-default-inhibit): New function, extracted from
13988 electric-pair-post-self-insert-function.
13989
a77e2924
RW
139902013-03-31 Roland Winkler <winkler@gnu.org>
13991
13992 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13993
2bd8a4a8
SM
139942013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13997
8d3655be 139982013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13999
14000 Un-indent after "pass" and "return" statements (Bug#13888)
14001 * progmodes/python.el (python-indent-block-enders): New var.
14002 (python-indent-calculate-indentation): Use it.
14003
8d3655be 140042013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
14005
14006 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14007 defun. Defining it as defalias could introduce too eager
14008 byte-compiler optimization. (Bug#14030)
14009
8d3655be 140102013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
14011
14012 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14013
0b1619da
LL
140142013-03-30 Leo Liu <sdl.web@gmail.com>
14015
14016 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14017 (kmacro-execute-from-register): Pass the keyboard macro to
14018 kmacro-call-macro or repeating won't work correctly.
14019
0b938190
TZ
140202013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14021
14022 * progmodes/subword.el: Back to using `forward-symbol'.
14023
14024 * subr.el (forward-whitespace, forward-symbol)
14025 (forward-same-syntax): Move from thingatpt.el.
14026
35710234
LL
140272013-03-29 Leo Liu <sdl.web@gmail.com>
14028
14029 * kmacro.el (kmacro-to-register): New command.
14030 (kmacro-execute-from-register): New function.
14031 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14032
efc0bb73
SM
140332013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 * mpc.el: Use defvar-local and setq-local.
14036 (mpc--proc-connect): Connection failures are not bugs.
14037 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14038 (mpc-volume-map): Bind to the up-events.
14039
75a2f981
TZ
140402013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14041
14042 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14043 instead of `forward-symbol'.
14044
17c781d1
SM
140452013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14046
14047 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14048 (edebug--recursive-edit): Use it.
14049 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14050 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14051
f67bfbcf
LL
140522013-03-28 Leo Liu <sdl.web@gmail.com>
14053
14054 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14055
b59f639d
EZ
140562013-03-27 Eli Zaretskii <eliz@gnu.org>
14057
14058 * facemenu.el (list-colors-callback): New defvar.
14059 (list-colors-redisplay): New function.
14060 (list-colors-display): Install list-colors-redisplay as the
14061 revert-buffer-function. (Bug#14063)
14062
f557c1b1
SM
140632013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14064
b1da2957
SM
14065 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14066 and suffixes don't overlap (bug#14061).
14067
f557c1b1
SM
14068 * case-table.el: Use lexical-binding.
14069 (case-table-get-table): New function.
14070 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14071
002668e1
TZ
140722013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14073
14074 * progmodes/subword.el: Add `superword-mode' to do word motion
14075 over symbol_words (parallels and leverages `subword-mode' which
14076 does word motion inside MixedCaseWords).
14077
73572c72
AG
140782013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14079
78b8f320 14080 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 14081 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 14082
69b2c07e
SM
140832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14084
14085 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14086 Change return value to be a sexp. Delay `get-buffer' to after
14087 restoring the desktop (bug#13951).
14088
08bb5ee2
LL
140892013-03-26 Leo Liu <sdl.web@gmail.com>
14090
14091 * register.el: Move semantic tag handling back to
14092 cedet/semantic/senator.el. (Bug#14052)
14093
8d4c974e
SM
140942013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14095
14096 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14097 into the prompt either (bug#13963).
14098
b234d92c
SM
140992013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14100
14101 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14102 part of "(error-foo)".
14103
ddfa3cb4
JL
141042013-03-24 Juri Linkov <juri@jurta.org>
14105
14106 * replace.el (list-matching-lines-prefix-face): New defcustom.
14107 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14108 `occur-engine' if `face-differs-from-default-p' returns t.
14109 (occur-engine): Add `,' inside backquote construct to evaluate
14110 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14111 Pass `prefix-face' to the functions `occur-context-lines' and
14112 `occur-engine-add-prefix'.
14113 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14114 `prefix-face' and propertize the prefix with `prefix-face'.
14115 (Bug#14017)
14116
7b0e2f85
LL
141172013-03-24 Leo Liu <sdl.web@gmail.com>
14118
14119 * nxml/rng-valid.el (rng-validate-while-idle)
14120 (rng-validate-quick-while-idle): Guard against deleted buffer.
14121 (Bug#13999)
14122
14123 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14124 is the last entry in kill-buffer-hook.
14125
14126 * files.el (kill-buffer-hook): Doc fix.
14127
b3082f49
DG
141282013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14129
b234d92c
SM
14130 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14131 Make it safe-local.
bde73d27 14132
b3082f49
DG
14133 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14134
a320a2db
LL
141352013-03-23 Leo Liu <sdl.web@gmail.com>
14136
7e74b0fb
LL
14137 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14138 Remove.
14139
14140 * nxml/rng-valid.el (rng-validate-mode)
14141 (rng-after-change-function, rng-do-some-validation):
14142 * nxml/rng-maint.el (rng-validate-buffer):
14143 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14144 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14145 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14146 (nxml-extend-after-change-region): Use with-silent-modifications.
14147
a320a2db
LL
14148 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14149 timer-idle-list.
14150
14151 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14152 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14153 timer-idle-list. (Bug#13999)
14154
e38e6780
JL
141552013-03-23 Juri Linkov <juri@jurta.org>
14156
14157 * info.el (info-index-match): New face.
14158 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14159 main pattern and add text properties with the new face to matches
14160 in index entries relative to the beginning of the index entry.
14161 (Bug#14015)
14162
e8cc7880
DE
141632013-03-21 Eric Ludlam <zappo@gnu.org>
14164
39c87140 14165 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14166 Inhibit read only while inserting objects.
14167
9bb0d822
TZ
141682013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14169
14170 * progmodes/cfengine.el: Update docs to mention
14171 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14172 symbol motion. Remove "_" from the word syntax.
14173
aa703640
TZ
141742013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14175
14176 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14177 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14178
afff09d0
JL
141792013-03-20 Juri Linkov <juri@jurta.org>
14180
14181 * info.el (Info-next-reference-or-link)
14182 (Info-prev-reference-or-link): New functions.
14183 (Info-next-reference, Info-prev-reference): Use them.
14184 (Info-try-follow-nearest-node): Handle footnote navigation.
14185 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14186
9a1ff164
SM
141872013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14188
14189 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14190 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14191
2667d15d
PE
141922013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14193
14194 Suppress unnecessary non-ASCII chatter during build process.
14195 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14196 (batch-skkdic-convert): Suppress most of the chatter.
14197 It's not needed so much now that machines are faster,
14198 and its non-ASCII component was confusing; see Dmitry Gutov in
14199 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14200
438b0579
LL
142012013-03-20 Leo Liu <sdl.web@gmail.com>
14202
14203 * ido.el (ido-chop): Fix bug#10994.
14204
c128ab07
DG
142052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14206
14207 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14208 Remove vars.
9a1ff164
SM
14209 (whitespace-color-on, whitespace-color-off):
14210 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14211
0e6008c5
SM
142122013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14213
14214 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14215 remapping in mode-line.
14216 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14217
627b52b0
DG
142182013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14219
14220 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14221 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14222 (whitespace-font-lock-keywords): Change description.
14223 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14224 the constructed keywords instead.
14225 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14226
50c3a20b
LL
142272013-03-19 Leo Liu <sdl.web@gmail.com>
14228
14229 * progmodes/compile.el (compilation-display-error): New command.
14230 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14231 C-o. (Bug#13992)
14232
2aa2157b
PE
142332013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14234
14235 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14236
e477dbfa
JD
142372013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14238
14239 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14240
64ab82d1
MA
142412013-03-18 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14244
14245 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14246 * net/tramp-gvfs.el (top):
14247 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14248 (tramp-handle-shell-command): Use it.
14249 (tramp-dissect-file-name): Raise an error when hostname is a
14250 method name, and neither method nor user is specified.
14251
14252 * net/trampver.el: Update release number.
14253
33cef733
LL
142542013-03-18 Leo Liu <sdl.web@gmail.com>
14255
14256 Make sure eldoc can be turned off properly.
14257 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14258 eldoc-mode.
14259 (eldoc-display-message-p): Revert last change.
14260 (eldoc-display-message-no-interference-p)
14261 (eldoc-print-current-symbol-info): Tweak.
14262
2167b7b2
TH
142632013-03-18 Tassilo Horn <tsdh@gnu.org>
14264
14265 * doc-view.el (doc-view-new-window-function): Check the new window
14266 overlay's display property instead the char property of the
14267 buffer's first char. Use `with-selected-window' instead of
14268 `save-window-excursion' with `select-window'.
14269 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14270 display property instead the char property of the buffer's first char.
2167b7b2 14271
982efbcd
PE
142722013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14273
14274 Automate the build of ja-dic.el (Bug#13984).
14275 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14276 from the input, rather than assume that it's been done for us by the
14277 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14278 the current date into a ja-dic.el comment, as that complicates
14279 regression testing.
14280
2fcc7665
SM
142812013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14282
14283 * whitespace.el: Fix double evaluation.
14284 (whitespace-space, whitespace-hspace, whitespace-tab)
14285 (whitespace-newline, whitespace-trailing, whitespace-line)
14286 (whitespace-space-before-tab, whitespace-indentation)
14287 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14288 obsolete defvars.
14289 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14290 (whitespace-color-on): Use a single font-lock-add-keywords call.
14291 Fix double-evaluation of face variables.
14292
67c0a6e6
MA
142932013-03-17 Michael Albinus <michael.albinus@gmx.de>
14294
2fcc7665
SM
14295 * net/tramp-adb.el (tramp-adb-parse-device-names):
14296 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14297 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14298
69489f1d
LL
142992013-03-17 Leo Liu <sdl.web@gmail.com>
14300
14301 Extend eldoc to display info in the mode-line. (Bug#13978)
14302 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14303 (eldoc-mode-line-string): New variable.
14304 (eldoc-minibuffer-message): New function.
14305 (eldoc-message-function): New variable.
14306 (eldoc-message): Use it.
14307 (eldoc-display-message-p)
2fcc7665
SM
14308 (eldoc-display-message-no-interference-p):
14309 Support eldoc-post-insert-mode.
69489f1d
LL
14310
14311 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14312 (eval-expression): Run it.
14313
9c44569e
RW
143142013-03-17 Roland Winkler <winkler@gnu.org>
14315
14316 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14317 strings in the list of return values.
14318
327f1f6f
JB
143192013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14320
14321 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14322 radix before checking for HMS forms.
14323
67ed8fcd
LL
143242013-03-16 Leo Liu <sdl.web@gmail.com>
14325
14326 * progmodes/scheme.el: Add indentation and font-locking for λ.
14327 (Bug#13975)
14328
78be8b64 143292013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14330
14331 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14332 token before point (bug#13942).
14333
78be8b64 143342013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14335
95b43468 14336 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14337
98e775e6
EZ
143382013-03-16 Eli Zaretskii <eliz@gnu.org>
14339
14340 * startup.el (command-line-normalize-file-name): Fix handling of
14341 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14342 <xfq.free@gmail.com> in
14343 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14344
2edd6029
MA
143452013-03-15 Michael Albinus <michael.albinus@gmx.de>
14346
14347 Sync with Tramp 2.2.7.
14348
14349 * net/trampver.el: Update release number.
14350
d35f5864
TH
143512013-03-14 Tassilo Horn <tsdh@gnu.org>
14352
e903c210 14353 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14354 (doc-view-insert-image): Don't modify overlay associated to
14355 non-live windows, and implement horizontal centering of image in
14356 case it's smaller than the window.
14357 (doc-view-new-window-function): Force redisplay of new windows on
14358 doc-view buffers.
d35f5864 14359
1c4a85ed
KF
143602013-03-13 Karl Fogel <kfogel@red-bean.com>
14361
14362 * saveplace.el (save-place-alist-to-file): Don't sort
14363 `save-place-alist', just pretty-print it (bug#13882).
14364
85b66a21
MA
143652013-03-13 Michael Albinus <michael.albinus@gmx.de>
14366
a020afb9
JB
14367 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14368 Check whether `default-file-name-coding-system' is bound.
14369 It isn't in XEmacs.
85b66a21 14370
175600da
SM
143712013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14372
e7f7cb1a
SM
14373 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14374 backquotes for `obsolete' (bug#13929).
14375
175600da
SM
14376 * international/mule.el (find-auto-coding): Include file name in
14377 obsolescence warning (bug#13922).
14378
ca68a22e
TZ
143792013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14380
14381 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14382 for CFEngine 3-specific indentation.
14383 (cfengine3-indent-line): Use it. Fix up category regex.
14384 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14385
940e5099
SM
143862013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14387
14388 * type-break.el (type-break-file-name):
14389 * textmodes/remember.el (remember-data-file):
14390 * strokes.el (strokes-file):
14391 * shadowfile.el (shadow-initialize):
14392 * saveplace.el (save-place-file):
14393 * ps-bdf.el (bdf-cache-file):
14394 * progmodes/idlwave.el (idlwave-config-directory):
14395 * net/quickurl.el (quickurl-url-file):
14396 * international/kkc.el (kkc-init-file-name):
14397 * ido.el (ido-save-directory-list-file):
14398 * emulation/viper.el (viper-custom-file-name):
14399 * emulation/vip.el (vip-startup-file):
14400 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14401 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14402
cc725808
PE
144032013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14404
14405 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14406 * language/thai-word.el: Switch to UTF-8.
14407
a020afb9 14408See ChangeLog.16 for earlier changes.
e3d51b27
MR
14409
14410;; Local Variables:
14411;; coding: utf-8
e3d51b27
MR
14412;; End:
14413
ba318903 14414 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14415
14416 This file is part of GNU Emacs.
14417
14418 GNU Emacs is free software: you can redistribute it and/or modify
14419 it under the terms of the GNU General Public License as published by
14420 the Free Software Foundation, either version 3 of the License, or
14421 (at your option) any later version.
14422
14423 GNU Emacs is distributed in the hope that it will be useful,
14424 but WITHOUT ANY WARRANTY; without even the implied warranty of
14425 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14426 GNU General Public License for more details.
14427
14428 You should have received a copy of the GNU General Public License
14429 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.