Merge from Gnus git master
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7a31038f
G
12014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * calendar/parse-time.el (parse-time-iso8601-regexp)
4 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
5 it more generally.
6
72014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
8
9 * net/dns.el (network-interface-list): Define for XEmacs.
10
112014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
12
13 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
14 the network interfaces changed.
15 (dns-query): Use it to flush the data.
16
835af719
JB
172014-03-23 Juanma Barranquero <lekktu@gmail.com>
18
19 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
20
6ddc4422
DC
212014-03-23 Daniel Colascione <dancol@dancol.org>
22
23 Change subword-mode to use `find-word-boundary-function-table' and
24 replace `capitalized-words-mode'. Also, convert to lexical
25 binding.
26
27 * progmodes/cap-words.el: Delete now-obsolete file.
28 * progmodes/subword.el: Reimplement using
29 `find-word-boundary-function-table'.
30 (subword-mode-map): Hollow out.
31 (capitalized-words-mode): Define as obsolete alias for
32 `subword-mode'.
33 (subword-mode,superword-mode): Tweak documentation to reflect new
34 implementation; call `subword-setup-buffer'.
35 (subword-forward,subword-capitalize): Add underscore to indicate
36 unused variable.
37 (subword-find-word-boundary-function-table): New constant.
38 (subword-empty-char-table): New constant.
39 (subword-setup-buffer): New function.
40 (subword-find-word-boundary): New function.
41
c6b0fbe7
DC
422014-03-23 Daniel Colascione <dancol@dancol.org>
43
44 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
45 list to look for keyword arguments instead of `memq', fixing
46 (Bug#3647) --- unfortunately, only for freshly-compiled code.
47 Please make bootstrap.
48
5076d275
GM
492014-03-22 Glenn Morris <rgm@gnu.org>
50
5dbc3244
GM
51 * dired.el (dired-read-regexp): Make obsolete.
52 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
53 (dired-flag-files-regexp):
54 * dired-aux.el (dired-mark-read-regexp):
55 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
56
00156f95
GM
57 * startup.el (fancy-startup-text):
58 * help.el (describe-gnu-project): Visit online info about GNU project.
59
f9c81e7b
GM
60 * help-fns.el (help-fns--interactive-only): New function.
61 (help-fns-describe-function-functions): Add the above function.
62 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
63 (next-line, previous-line): Remove hand-written interactive-only
64 information from doc strings, it is auto-generated now.
65 * bookmark.el (bookmark-write):
66 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
67 (epa-mail-import-keys): Mark interactive-only,
68 and remove hand-written interactive-only information from doc strings.
69 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
70 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
71 * files.el (not-modified):
72 * simple.el (mark-whole-buffer): Mark interactive-only.
73
5076d275
GM
74 * emacs-lisp/byte-run.el (defun-declarations-alist):
75 Add interactive-only. Doc tweak.
76 (macro-declarations-alist): Doc tweak.
77 * subr.el (declare): Doc tweak (add xref to manual).
78 * comint.el (comint-run):
79 * files.el (insert-file-literally, insert-file):
80 * replace.el (replace-string, replace-regexp):
81 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
82 (delete-forward-char, goto-line, insert-buffer, next-line)
83 (previous-line): Set interactive-only via declare.
84
1197f2e6
DG
852014-03-22 Dmitry Gutov <dgutov@yandex.ru>
86
87 * emacs-lisp/package.el (package-desc): Use the contents of the
88 quoted form, not its cdr. (Bug#16873)
89
aac06179
JB
902014-03-22 Juanma Barranquero <lekktu@gmail.com>
91
92 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
93 benefit of doc.c; change parameter profile to match the X function.
94
3e7bc044
LL
952014-03-22 Leo Liu <sdl.web@gmail.com>
96
97 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
98 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
99
59271b3e
RS
1002014-03-21 Richard Stallman <rms@gnu.org>
101
8266cd88
RS
102 * battery.el (battery-linux-sysfs): Search for each field
103 from the beginning of the buffer.
104
16ec0742
RS
105 * subr.el (set-transient-map): Clear out function and value
106 of the temporary symbol when we're done with it.
107
59271b3e
RS
108 * mail/rmailsum.el (rmail-summary-delete-forward):
109 Optimize case of reaching end and handling count.
110 (rmail-summary-mark-deleted): Optimize when N is current msg.
111 Don't create new summary line.
112 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
113 (rmail-summary-undelete-many): Rewrite for speed.
114 (rmail-summary-msg-number): New function.
115
116 * mail/rmail.el (rmail-delete-message): Update summary.
117 (rmail-undelete-previous-message): Handle repeat count arg.
118 (rmail-delete-backward, rmail-delete-forward): Likewise.
119
0d8ac93e
DC
1202014-03-21 Daniel Colascione <dancol@dancol.org>
121
122 * mail/emacsbug.el (report-emacs-bug): Include memory usage
123 information in bug reports.
124
1e92a8a3
MA
1252014-03-21 Michael Albinus <michael.albinus@gmx.de>
126
127 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
128 and `tramp-copy-env'.
129
130 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
131 (tramp-maybe-open-connection): Handle `tramp-login-env'.
132
78540c42
GM
1332014-03-21 Glenn Morris <rgm@gnu.org>
134
135 * electric.el (electric-indent-post-self-insert-function): Add doc.
136
1fc8f655
DG
1372014-03-21 Dmitry Gutov <dgutov@yandex.ru>
138
dcf78667
DG
139 * emacs-lisp/package.el (package-compute-transaction):
140 Use `version-list-<=' to compare the requirement version against
141 the version of package already to be installed. Update the error
142 message. (Bug#16826)
143
1fc8f655
DG
144 * progmodes/ruby-mode.el (ruby-smie-rules):
145 Add indentation rule for ` @ '. (Bug#17050)
146
dada060d
JB
1472014-03-21 Juanma Barranquero <lekktu@gmail.com>
148
149 * align.el (align-regexp): Remove superfluous backslash.
150
151 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
152 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
153 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
154 Fix docstring typos.
155 (ffap-next): Use C-u in docstring.
156 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
157 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
158 Remove superfluous backslashes.
159 (ffap-string-at-point): Reflow docstring.
160
161 * server.el (server-host): Reflow docstring.
162 (server-unload-function): Fix docstring typo.
163 (server-eval-at): Remove superfluous backslash.
164
165 * skeleton.el (skeleton-insert): Remove superfluous backslash.
166 (skeleton-insert): Doc fix.
167 (skeleton-insert): Reflow docstring.
168
169 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
170 (tty-color-approximate, tty-color-by-index, tty-color-values)
171 (tty-color-desc): Remove superfluous backslashes.
172
f428101f
GM
1732014-03-21 Glenn Morris <rgm@gnu.org>
174
26e91130
GM
175 * cus-start.el (history-length): Bump :version.
176
aa3a7b51
GM
177 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
178 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
179 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
180 Don't set `make-backup-files'.
181
f428101f
GM
182 * info.el (info--prettify-description): New function,
183 to give info-finder descriptions consistent case, punctuation.
184 (Info-finder-find-node): Use it. Sort packages.
185 Refer to "description" rather than "commentary".
186
6ce1b56e
JB
1872014-03-21 Juanma Barranquero <lekktu@gmail.com>
188
189 * frameset.el (frameset--print-register): New function.
190 (frameset-to-register): Use it.
191
b730af26
JB
1922014-03-20 Juanma Barranquero <lekktu@gmail.com>
193
45393801
JB
194 * progmodes/hideif.el (hif-string-to-number): New function.
195 (hif-tokenize): Use it to understand non-decimal floats.
196
814e26fa
JB
197 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
198
b730af26
JB
199 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
200
049fac7c
SM
2012014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
202
494ec1e7
SM
203 * electric.el (electric-newline-and-maybe-indent): New command.
204 Bind it globally to C-j.
205 (electric-indent-mode): Don't mess with the global map any more.
206 Don't drop the post-self-insert-hook is some buffer is still using it
207 (bug#16770).
208 * bindings.el (global-map): Remove C-j binding.
209
049fac7c
SM
210 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
211 the docstring of functions advised before dumping (bug#16993).
212
f15ec1ba 2132014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
214
215 * ps-print.el (ps-generate-postscript-with-faces):
216 Explicitly deactivate the mark (bug#16866).
217 * simple.el (deactivate-mark): Update region highlight.
218
f88bdc45
JB
2192014-03-19 Juanma Barranquero <lekktu@gmail.com>
220
221 * emacs-lisp/package.el (describe-package-1):
222 Decode commentary (bug#16733).
223
6b88e570
JB
2242014-03-18 Juanma Barranquero <lekktu@gmail.com>
225
226 * custom.el (defcustom): Doc fix: recommend avoiding destructive
227 modification of the value argument of :set (bug#16755).
228
ac9b4703
SM
2292014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * simple.el (newline-and-indent): Do autofill (bug#17031).
232
2b7858ec
DG
2332014-03-18 Dmitry Gutov <dgutov@yandex.ru>
234
235 * newcomment.el (comment-normalize-vars): Only add escaping check
236 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
237 (comment-beginning): Use `narrow-to-region' instead of moving back
238 one character.
239 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
240 (comment-start-skip): Update the docstring.
241
11eff3ae
RS
2422014-03-18 Richard Stallman <rms@gnu.org>
243
244 * dired.el (dired-display-file): Force use of other window.
245
07f44fdb
JB
2462014-03-18 Daniel Colascione <dancol@dancol.org>
247
248 * startup.el (tty-handle-args): Remove debug message from 2007.
249
2502014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
251
252 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
253 (advice--make-interactive-form): Use it to avoid (auto)loading function.
254 (advice--make-1, advice-add, advice-remove):
255 Remove braindead :advice-pending hack.
256
61debe4a
GM
2572014-03-17 Glenn Morris <rgm@gnu.org>
258
259 * calendar/calendar.el (calendar-generate-month): Apply weekend
260 face to the right days; fixes 2013-08-06 change. (Bug#17028)
261
8273986b
MA
2622014-03-17 Michael Albinus <michael.albinus@gmx.de>
263
264 * net/tramp.el (tramp-action-out-of-band): Read pending output.
265 (tramp-call-process): Trace also DESTINATION.
266
267 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
268 Quote file names when they are local. Remove superfluous trace.
269
4f8aeb84
DG
2702014-03-17 Dmitry Gutov <dgutov@yandex.ru>
271
218feefc
DG
272 * newcomment.el (comment-beginning): If `comment-start-skip'
273 doesn't match, move back one char and try again. (Bug#16971)
274
6c187ef5
SM
275 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
276 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
277 Set `comment-start-skip' to a simpler value that doesn't try to
278 check if the semicolon is escaped (this is handled by
279 `syntax-ppss' now). (Bug#16971)
280
281 * progmodes/scheme.el (scheme-mode-variables): Same.
282
b92631bf
MR
2832014-03-16 Martin Rudalics <rudalics@gmx.at>
284
285 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
286 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
287 current (Bug#16816, Bug#17007).
288 (with-current-buffer-window): New macro doing the same as
289 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
290 * help.el (help-print-return-message): Warn in doc-string to not
291 use this in `with-help-window'.
292 (describe-bindings-internal): Call `describe-buffer-bindings'
293 from within help buffer. See Juanma's scenario in (Bug#16816).
294 (with-help-window): Update doc-string.
295 * dired.el (dired-mark-pop-up):
296 * files.el (save-buffers-kill-emacs):
297 * register.el (register-preview): Use `with-current-buffer-window'
298 instead of `with-temp-buffer-window'.
299
57348c4d
JB
3002014-03-16 Juanma Barranquero <lekktu@gmail.com>
301
302 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
303 Implement inserting into current buffer, documented in their docstrings.
304 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
305 (rst-section-tree-point, rst-forward-section, rst-indent)
306 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
307 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
308 (rst-font-lock-handle-adornment-pre-match-form)
309 (rst-repeat-last-character): Reflow docstrings.
310 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
311 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
312 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
313 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
314 Fix docstring typos.
315 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
316 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
317 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
318
fd16b061
JB
3192014-03-15 Juanma Barranquero <lekktu@gmail.com>
320
a2403e3d
JB
321 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
322 for compatibility with other ports.
323 (ns-initialize-window-system): Use it. It is set in term/common-win.el
324 from the -xrm command line argument, but in the Nextstep port its value
325 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
326
fd16b061
JB
327 * progmodes/python.el (defconst, python-syntax-count-quotes)
328 (python-indent-region, python-indent-shift-right)
329 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
330 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
331 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
332 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
333 (inferior-python-mode, python-shell-make-comint, run-python-internal)
334 (python-shell-buffer-substring, python-shell-send-buffer)
335 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
336 (python-completion-complete-at-point, python-fill-docstring-style)
337 (python-eldoc-function, python-imenu-format-item-label)
338 (python-imenu-format-parent-item-label)
339 (python-imenu-format-parent-item-jump-label)
340 (python-imenu--build-tree, python-imenu-create-index)
341 (python-imenu-create-flat-index): Fix docstring typos.
342 (python-indent-context, python-shell-prompt-regexp, run-python):
343 Remove superfluous backslashes.
344 (python-indent-line, python-nav-beginning-of-defun)
345 (python-shell-get-buffer, python-shell-get-process)
346 (python-info-current-defun, python-info-current-line-comment-p)
347 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
348 (python-indent-post-self-insert-function, python-shell-send-file)
349 (python-shell-completion-get-completions)
350 (python-shell-completion-complete-or-indent)
351 (python-eldoc--get-doc-at-point): Reflow docstrings.
352
e94807f0
GM
3532014-03-14 Glenn Morris <rgm@gnu.org>
354
88103345
GM
355 * emacs-lisp/package.el (package-menu-mode-map):
356 Replace use of obsolete function alias. Tweak menu item text.
357
f2dd4ba8
GM
358 * info.el (Info-finder-find-node):
359 Ignore the `emacs' metapackage. (Bug#10813)
360
ac0f82ef
GM
361 * finder.el (finder-list-matches): Include unversioned packages
362 in the result of a keyword search.
363
e94807f0
GM
364 * finder.el (finder--builtins-descriptions): New constant.
365 (finder-compile-keywords): Use finder--builtins-descriptions.
366
50d434d1
DG
3672014-03-14 Dmitry Gutov <dgutov@yandex.ru>
368
369 * simple.el (blink-matching-paren): Describe the new value,
370 `jump', enabling the old behavior.
371 (blink-matching-open): Use that value. (Bug#17008)
372
56759cf1
GM
3732014-03-14 Glenn Morris <rgm@gnu.org>
374
459d74ef
GM
375 * finder.el (finder-no-scan-regexp): Add leim-list.
376 (finder-compile-keywords):
377 Don't skip files with same basename. (Bug#14010)
378 * Makefile.in (setwins_finder): New, excluding leim.
379 (finder-data): Use setwins_finder.
380
56759cf1
GM
381 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
382 (help-function-arglist, help-make-usage): Move from here...
383 * help.el (help-split-fundoc, help-add-fundoc-usage)
384 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
385 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
386
7644aa97
JB
3872014-03-14 Juanma Barranquero <lekktu@gmail.com>
388
389 * net/socks.el (socks, socks-override-functions)
fd16b061 390 (socks-find-services-entry):
7644aa97
JB
391 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
392 (hif-find-ifdef-block):
393 * progmodes/modula2.el (m2-indent): Fix docstring typos.
394
395 * net/tls.el (tls-program): Reflow docstring.
396
397 * progmodes/pascal.el (pascal-mode-abbrev-table)
398 (pascal-imenu-generic-expression, pascal-auto-endcomments)
399 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
400 (pascal-outline-mode): Fix docstring typos.
401 (pascal-mode): Let define-derived-mode document mode hook.
402 (pascal-uncomment-area): Reflow.
403 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
404
405 * progmodes/opascal.el (opascal-compound-block-indent)
406 (opascal-case-label-indent): Fix docstring typos.
407 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
408
1f44df94
DG
4092014-03-13 Dmitry Gutov <dgutov@yandex.ru>
410
07f44fdb
JB
411 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
412 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 413
0d71dfb3
TW
4142014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
415
416 * emacs-lisp/package.el (package--prepare-dependencies):
417 Accept requirements without explicit version (bug#14941).
418
d27a1a7b
JB
4192014-03-12 Juanma Barranquero <lekktu@gmail.com>
420
a5765a3d
JB
421 * register.el (register-separator, copy-to-register): Doc fixes.
422 (register-preview-default): Remove unnecessary call to concat.
423
d27a1a7b
JB
424 * frameset.el (frameset-restore): When checking for a visible frame,
425 use the action map instead of calling visible-frame-list.
426
08dfa0b7
JB
4272014-03-12 Jonas Bernoulli <jonas@bernoul.li>
428
429 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
430
8960529e
MR
4312014-03-12 Martin Rudalics <rudalics@gmx.at>
432
433 * window.el (fit-frame-to-buffer): Get maximum width from
434 display's width instead of height.
435
8a51e8e4
GM
4362014-03-12 Glenn Morris <rgm@gnu.org>
437
46456005
GM
438 * desktop.el (desktop-restore-frames)
439 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
440 (desktop-restore-reuses-frames): Doc tweaks.
441
8a51e8e4
GM
442 * electric.el (electric-indent-mode): Doc fix.
443
5983b317
JB
4442014-03-12 Juanma Barranquero <lekktu@gmail.com>
445
446 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
447 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
448 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
449 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
450 (cvs-dired-use-hook): Fix docstring typos.
451 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
452 Doc fixes.
453
454 * vc/pcvs-defs.el (cvs-auto-remove-handled)
455 (cvs-auto-remove-directories, cvs-default-ignore-marks)
456 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
457 (cvs-execute-single-dir): Fix docstring typos.
458
459 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
460 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
461
462 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
463
464 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
465 Fix docstring typos.
466
13c00cf0
JB
4672014-03-12 Juanma Barranquero <lekktu@gmail.com>
468
469 * frameset.el (frameset--jump-to-register): Add autoload; it could be
470 called from jump-to-register after unloading the frameset package.
471
536a17e3
SM
4722014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
475 (bug#16975). Deactivate the mark before setting it to nil.
476 (activate-mark): Do nothing if region is already active.
477
baf8d0ac
JB
4782014-03-11 Juanma Barranquero <lekktu@gmail.com>
479
480 * frameset.el (frameset--target-display): Remove definition; declare.
481 (frameset-save, frameset-restore): Let-bind frameset--target-display.
482
1ea22560
SM
4832014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
486 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
487 when the advice is pending.
488 (advice-remove): Remove this marker when not needed any more.
489
4538c058
JB
4902014-03-11 Juanma Barranquero <lekktu@gmail.com>
491
492 * frameset.el: Separate options for reusing frames and cleaning up.
493 (frameset--reuse-list): Remove definition; declare.
494 (frameset--action-map): Declare.
495 (frameset--find-frame-if): Doc fix.
496 (frameset--restore-frame): Cache frame action.
497 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
498 how to clean up the frame list after restoring. Remove cleaning
499 options from REUSE-FRAMES. Change all keyword values to symbols.
500 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
501
502 * desktop.el (desktop-restore-forces-onscreen)
503 (desktop-restore-reuses-frames): Use non-keyword values.
504 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
505
ba1a5c78
GM
5062014-03-10 Glenn Morris <rgm@gnu.org>
507
776aa432
GM
508 * files.el (find-file): Doc fix: update info node name.
509
ba1a5c78
GM
510 * emacs-lisp/advice.el (ad-add-advice, defadvice):
511 Doc fix: remove references to deleted info nodes.
512
183d706e
MA
5132014-03-10 Michael Albinus <michael.albinus@gmx.de>
514
515 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
516 Do not add `nil' to the environment, when there's no remote `locale'.
517 (tramp-find-inline-encoding): Check, that the remote host has
518 installed perl, before sending scripts.
519
6f0f96e7
LL
5202014-03-10 Leo Liu <sdl.web@gmail.com>
521
536a17e3
SM
522 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
523 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 524
ca70fe78
SM
5252014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
528 (bug#14430).
529
eb67db41
JL
5302014-03-09 Juri Linkov <juri@jurta.org>
531
532 * ansi-color.el (ansi-color-names-vector): Copy default colors
533 from `xterm-standard-colors' that look well on the default white
534 background (and also on the black background) to avoid illegible
8cf07e5a 535 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
536 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
537
e7db5447
JB
5382014-03-08 Juanma Barranquero <lekktu@gmail.com>
539
540 * frameset.el (frameset-restore): When no frame is visible, do not
541 generate a list of frames, just make visible the selected one.
542
f0a4c8d7
DG
5432014-03-08 Dmitry Gutov <dgutov@yandex.ru>
544
545 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
546 it only contains the repository root. (Bug#16897)
547
e50772e3
MA
5482014-03-07 Michael Albinus <michael.albinus@gmx.de>
549
550 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
551 only when `remote-file-name-inhibit-cache' is nil.
552 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
553
cac0a1d6
MR
5542014-03-06 Martin Rudalics <rudalics@gmx.at>
555
556 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
557 Fix doc-strings.
558 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
559 fit-frame-to-buffer variable. Fix doc-string.
560 (fit-window-to-buffer): Set ONLY argument in call of
561 fit-frame-to-buffer. Fix doc-string.
562
fa965cbf
MA
5632014-03-06 Michael Albinus <michael.albinus@gmx.de>
564
565 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
566 (tramp-action-password): Clear password cache if needed.
567 (tramp-read-passwd): Do not clear password cache.
568
569 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
570 cache unless it is the first password request.
571
c94e6ee4
GM
5722014-03-06 Glenn Morris <rgm@gnu.org>
573
03bc753e
GM
574 * simple.el (newline): Doc tweak.
575
c94e6ee4
GM
576 * emacs-lisp/shadow.el (load-path-shadows-find):
577 Ignore dir-locals. (Bug#12357)
578
bd2d43dc
GM
5792014-03-05 Glenn Morris <rgm@gnu.org>
580
581 * files.el (interpreter-mode-alist):
582 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
583
9284000e
JB
5842014-03-05 Juanma Barranquero <lekktu@gmail.com>
585
586 * frameset.el (frameset--initial-params): Filter out null entries.
587
e1a2cb1c
MR
5882014-03-05 Martin Rudalics <rudalics@gmx.at>
589
27821a89
JB
590 * window.el (window-min-height, window-min-width):
591 Rewrite doc-strings.
e1a2cb1c
MR
592 (window-body-size): Add PIXELWISE argument to make it consistent
593 with its callees.
594
6bf67038
JB
5952014-03-05 Juanma Barranquero <lekktu@gmail.com>
596
597 * finder.el (finder-mode-map, finder-mode-syntax-table):
598 Revert part of 2014-02-28 change.
599
90f04e4c
LI
6002014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
601
602 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
603 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
604 (eww-textarea-map): [tab] doesn't work on tty.
605 Reported by Mario Lang.
6952100d
LI
606
607 * net/shr.el (shr-map): Ditto.
90f04e4c 608
3106d59b
GM
6092014-03-04 Glenn Morris <rgm@gnu.org>
610
611 * minibuffer.el (completion-hilit-commonality):
612 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
613
f604dfdc
JB
6142014-03-04 Juanma Barranquero <lekktu@gmail.com>
615
616 * hilit-chg.el (hilit-chg-unload-function): New function.
617 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
618 (hilit-chg-map-changes): Prefer cardinal number to digit.
619 (hilit-chg-display-changes): Reflow docstring.
620 (highlight-changes-rotate-faces): Remove superfluous backslash.
621
5dc65319
MA
6222014-03-04 Michael Albinus <michael.albinus@gmx.de>
623
624 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
625 `tramp-send-command-and-check'.
626
4242d21d
JB
6272014-03-04 Juanma Barranquero <lekktu@gmail.com>
628
b01fa838
JB
629 * hexl.el (hexl-address-region, hexl-ascii-region)
630 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
631 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
632 (hexl-forward-word, hexl-previous-line, hexl-next-line):
633 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
634 (hexl-mode): Doc fix.
635 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
636 (hexl-mode-ruler): Fix typos in docstrings.
637
4242d21d
JB
638 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
639 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
640 Remove superfluous backslashes.
641 (strokes-last-stroke, strokes-global-map, strokes-mode):
642 Reflow docstrings.
643 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
644 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
645 (strokes-distance-squared, strokes-global-set-stroke)
646 (strokes-global-set-stroke-string): Doc fixes.
647 (strokes-help): Fix typos; reflow docstring.
648
87132570
MR
6492014-03-04 Martin Rudalics <rudalics@gmx.at>
650
651 * window.el (window-in-direction): Fix doc-string.
652
d82e752c
GM
6532014-03-04 Glenn Morris <rgm@gnu.org>
654
655 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
656 Explicit error if no grammar.
657 (smie-config-save): Doc fix. Fix quote typo.
658
62528af0
SM
6592014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
660
8d4901dc
SM
661 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
662 electric-indent-mode-hook if we obey electric-indent-mode.
663 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
664 decide whether we obey electric-indent-mode.
665 (c-change-set-fl-decl-start, c-extend-after-change-region):
666 Silence warnings.
667 (c-electric-indent-mode-hook): Assume we do want to obey
668 electric-indent-mode.
669
670 * electric.el (electric-indent-mode-has-been-called): Remove.
671 (electric-indent-mode): Fix accordingly.
672
092c12b2
SM
673 * files.el (hack-local-variables): Mention file name in warning.
674
62528af0
SM
675 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
676
5b87d0d9
MN
6772014-03-04 Michal Nazarewicz <mina86@mina86.com>
678
679 * binding.el: Add comment describing why C-d binds to `delete-char'.
680 * simple.el (delete-forward-char): Mark as interactive-only.
681
542a3840
JB
6822014-03-03 Juanma Barranquero <lekktu@gmail.com>
683
f2d2402e
GM
684 * icomplete.el (icomplete-completions):
685 Follow-up to 2014-03-01 change.
d11320e5
JB
686
687 * icomplete.el: Miscellaneous doc fixes.
688 Use Icomplete everywhere instead of icomplete for consistency.
689 (icomplete-max-delay-chars): Fix typo.
690 (icomplete-mode): Use \[].
691 (icomplete-tidy, icomplete-exhibit): Reflow.
692 (icomplete-minibuffer-setup-hook, icomplete-completions):
693 Remove superfluous backlashes.
694
695 * ido.el: Miscellaneous doc fixes.
696 Use Ido everywhere instead of ido or `ido' for consistency.
697 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
698 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
699 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
700 (ido-separator): Extract obsolescence info from docstring and declare
701 with make-obsolete-variable.
702 (ido-minibuffer-setup-hook): Simplify example.
703 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
704 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
705 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
706 (ido-everywhere): Reflow docstring.
707 (ido-toggle-vc): Doc fix.
708 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
709 of long list of keybindings.
710
7ebd57e9
GM
7112014-03-03 Glenn Morris <rgm@gnu.org>
712
713 * frame.el (display-pixel-height, display-pixel-width)
714 (display-mm-dimensions-alist, display-mm-height)
715 (display-mm-width): Doc tweaks.
716
35e951cd 7172014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
718
719 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
720 case of undo in region.
721
b923819c
MR
7222014-03-02 Martin Rudalics <rudalics@gmx.at>
723
724 * window.el (fit-window-to-buffer): Fix argument in window-size
725 call when window is horizontally combined.
726
b6e443c5
JB
7272014-03-02 Juanma Barranquero <lekktu@gmail.com>
728
729 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 730 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 731
1850913d
DG
7322014-03-01 Dmitry Gutov <dgutov@yandex.ru>
733
35e951cd
JB
734 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
735 Highlight regexp options. (Bug#16914)
1850913d 736
04b577b6
MR
7372014-03-01 Martin Rudalics <rudalics@gmx.at>
738
739 * window.el (window--max-delta-1): Round down when calculating
740 how many lines/columns we can get from a window.
741
b829360f
GM
7422014-03-01 Glenn Morris <rgm@gnu.org>
743
2501c912
GM
744 * isearch.el (search-invisible): Doc fix.
745
b829360f
GM
746 * minibuffer.el (completion-hilit-commonality):
747 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
748 * comint.el (comint-dynamic-list-completions): Doc fix.
749 * comint.el (comint-dynamic-list-completions):
750 * filecache.el (file-cache-minibuffer-complete):
751 * tempo.el (tempo-display-completions):
752 * eshell/em-hist.el (eshell-list-history):
753 Replace use of obsolete argument of display-completion-list.
754
9a155058
JB
7552014-03-01 Juanma Barranquero <lekktu@gmail.com>
756
757 * icomplete.el (icomplete-completions):
758 Revert back to using "..." when ?… cannot be displayed.
759
53f6cda8
JB
7602014-02-28 Juanma Barranquero <lekktu@gmail.com>
761
762 * finder.el (finder-unload-function): New function.
763
43977c23
JB
7642014-02-28 Juanma Barranquero <lekktu@gmail.com>
765
766 * dframe.el (dframe-detach):
767 * find-dired.el (find-dired, find-name-dired):
768 * finder.el (finder-mode-map, finder-mode-syntax-table)
769 (finder-headmark, finder-select, finder-mouse-select):
770 Fix docstring typos.
771
9dda75ad
MR
7722014-02-28 Martin Rudalics <rudalics@gmx.at>
773
774 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
775 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
776 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
777 Fix doc-string based on a suggestion by Nicolas Richard
778 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
779 * help.el (with-help-window): Fix doc-string.
780
8a73034e
IK
7812014-02-28 Ivan Kanis <ivan@kanis.fr>
782
b70257b0
GM
783 * net/shr.el (shr-image-animate): New option.
784 (shr-put-image): Respect shr-image-animate.
8a73034e 785
245aa73e
MA
7862014-02-28 Michael Albinus <michael.albinus@gmx.de>
787
788 * net/tramp-adb.el (tramp-adb-parse-device-names):
789 Use `accept-process-output'.
790 (tramp-adb-handle-file-truename): Cache the localname only.
791 (tramp-adb-handle-make-directory)
792 (tramp-adb-handle-delete-directory): Flush file properties correctly.
793 (tramp-adb-handle-set-file-modes): Do not raise an error when file
794 modes cannot be changed.
795
796 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
797 file properties of symlinks.
798
48e15d64
PS
7992014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
800
801 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
802 required/optional fields to match development biblatex. (Bug#16781)
803
65b77347
AS
8042014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
805
806 * saveplace.el (toggle-save-place):
807 Fix argument handling. (Bug#16673)
808
5e618aba
GM
8092014-02-28 Glenn Morris <rgm@gnu.org>
810
811 * minibuffer.el (completions-first-difference)
812 (completions-common-part, completion-hilit-commonality): Doc fixes.
813
6deb314e
KB
8142014-02-28 Karl Berry <karl@gnu.org>
815
816 * info.el (Info-mode-map): Add H for describe-mode,
817 to synchronize with standalone Info.
818
289996f5
EL
8192014-02-28 Emilio C. Lopes <eclig@gmx.net>
820
821 * progmodes/sql.el (sql-interactive-mode):
822 Avoid setting global comint-input-ring-separator. (Bug#16814)
823
79fc1191
MA
8242014-02-27 Michael Albinus <michael.albinus@gmx.de>
825
826 * net/dbus.el (dbus--init-bus): Declare function.
827 (dbus-path-local, dbus-interface-local): New defconst.
828 (dbus-init-bus): Use them.
829 (dbus-return-values-table): Extend doc.
830 (dbus-handle-bus-disconnect): Extend error message.
831
298520df
JB
8322014-02-27 Juanma Barranquero <lekktu@gmail.com>
833
834 * subr.el (y-or-n-p): Fix double space issue in message.
835
c22c1614
MA
8362014-02-27 Michael Albinus <michael.albinus@gmx.de>
837
838 * net/tramp.el (tramp-call-process): Improve trace message.
839 (tramp-handle-insert-file-contents): Trace error case.
840
841 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
842 <insert-directory>: Use `tramp-handle-insert-directory'.
843 (tramp-adb-handle-insert-directory): Remove function.
844 (tramp-adb-send-command-and-check): New defun, replacing
845 `tramp-adb-command-exit-status'. Change all callees.
846 (tramp-adb-handle-file-attributes)
847 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
848 (tramp-adb-ls-output-name-less-p):
849 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
850 (tramp-adb-handle-delete-directory): Flush also file properties of
851 the truename of directory.
852 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
853 (tramp-adb-handle-file-local-copy): Make the local copy readable.
854 (tramp-adb-handle-write-region): Implement APPEND.
855 (tramp-adb-handle-rename-file): Make it more robust. Flush file
856 properties correctly.
857 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
858 variables. Check for connected devices only when needed.
859
d9263618
GM
8602014-02-27 Glenn Morris <rgm@gnu.org>
861
ea7826ba
GM
862 * minibuffer.el (completion-table-dynamic)
863 (completion-table-with-cache): Doc fixes.
864
d9263618
GM
865 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
866 (completing-read-multiple): Doc fixes.
867
eff3168a
DC
8682014-02-27 Daniel Colascione <dancol@dancol.org>
869
51f213c3
DC
870 * minibuffer.el (completion--nth-completion): Fix indentation.
871
eff3168a
DC
872 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
873 explicit tramp path is empty.
874
b77cfcd7
GM
8752014-02-27 Glenn Morris <rgm@gnu.org>
876
877 * emacs-lisp/crm.el (completing-read-multiple):
878 Empower help-enable-auto-load.
879
9577b569
GM
8802014-02-26 Glenn Morris <rgm@gnu.org>
881
259887e8
GM
882 * startup.el (command-line): Don't init the tty in daemon mode.
883
1d491ef2
GM
884 Avoid calling tty-setup-hook twice, eg if a term file
885 explicitly calls tty-run-terminal-initialization. (Bug#16859)
886 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
887 (tty-create-frame-with-faces): Use it.
888 * startup.el (command-line): Pass run-hook argument
889 to tty-run-terminal-initialization.
890
9577b569
GM
891 * dired.el (dired-restore-desktop-buffer): Demote errors;
892 eg in case a glob match fails. (Bug#16884)
893
40ff7f86
DG
8942014-02-26 Dmitry Gutov <dgutov@yandex.ru>
895
b2388336
DG
896 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
897 error from `read-from-string'. (Bug#16850)
898
40ff7f86
DG
899 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
900 result of `completing-read' in the interactive form. (Bug#16854)
901
98bd6b32
GM
9022014-02-25 Glenn Morris <rgm@gnu.org>
903
f086804c
GM
904 * image.el (image-animate, image-animate-timeout):
905 Stop animating images in dead buffers. (Bug#16878)
906
c107155e
GM
907 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
908
9577b569
GM
909 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
910 Doc fixes.
98bd6b32
GM
911 * startup.el (term-setup-hook): Doc fix. Make obsolete.
912 * term/sun.el (sun-raw-prefix-hooks):
913 Use tty-setup-hook instead of term-setup-hook.
914 (terminal-init-sun): Construct message from bytecomp plist.
915 * term/wyse50.el (enable-arrow-keys): Doc fix.
916
9c9e18e8
JB
9172014-02-24 Juanma Barranquero <lekktu@gmail.com>
918
919 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
920 Fix docstring typos.
921
c848881f
MA
9222014-02-24 Michael Albinus <michael.albinus@gmx.de>
923
924 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
925
0e38ae05
NR
9262014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
927
928 * minibuffer.el (completion--try-word-completion):
929 Fix error when completing M-x commands (bug#16808).
930
8ee4c296
LL
9312014-02-24 Leo Liu <sdl.web@gmail.com>
932
933 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
934
7d4bd627
JB
9352014-02-24 Juanma Barranquero <lekktu@gmail.com>
936
937 * apropos.el (apropos-print): Avoid formatting error when
938 apropos-do-all and apropos-compact-layout are both t.
939
e918e27f
JB
9402014-02-23 Juanma Barranquero <lekktu@gmail.com>
941
942 * apropos.el (apropos-property, apropos-all-words-regexp)
943 (apropos-true-hit, apropos-variable, apropos-print):
944 Fix docstring typos, and remove obsolete comment.
945
85c01f80
MA
9462014-02-23 Michael Albinus <michael.albinus@gmx.de>
947
948 * net/tramp-sh.el (tramp-sh-handle-file-truename):
949 Preserve trailing "/". (Bug#16851)
950
62f95022
DG
9512014-02-23 Dmitry Gutov <dgutov@yandex.ru>
952
953 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
954 after `=>' (bug#16811).
dfdb365c
DG
955 (ruby-smie-rules): Handle the inconsistent second element of the
956 list returned by `smie-indent--parent'.
957 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
958 method call.
62f95022 959
025f2c81
JB
9602014-02-23 Juanma Barranquero <lekktu@gmail.com>
961
962 * elec-pair.el (electric-pair-text-syntax-table)
963 (electric-pair-syntax-info, electric-pair--syntax-ppss)
964 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
965 (electric-pair--looking-at-unterminated-string-p): Doc fix.
966 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
967
123c84f9
GM
9682014-02-22 Glenn Morris <rgm@gnu.org>
969
612c3e46
GM
970 * imenu.el (imenu--generic-function): Doc fix.
971
123c84f9
GM
972 * register.el (frame-configuration-to-register): Make obsolete.
973
e59fa9ad
JB
9742014-02-22 Juanma Barranquero <lekktu@gmail.com>
975
976 * desktop.el (desktop-save-buffer-p): Do not fail when
977 desktop-files-not-to-save is nil. Return t for true result
978 as the doc says.
979
4e652634
DC
9802014-02-22 Daniel Colascione <dancol@dancol.org>
981
27821a89 982 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
983 Check that attribute values are strings, avoiding the construction
984 of invalid dbus messages.
4e652634 985
f35affb6
JB
9862014-02-21 Juanma Barranquero <lekktu@gmail.com>
987
988 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
989 defun-declarations-alist.
990
3d136b1b
SM
9912014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
994 (bug#16829).
995
612ddfc0
JB
9962014-02-21 Juanma Barranquero <lekktu@gmail.com>
997
998 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
999 (whitespace-newline, whitespace-trailing, whitespace-line)
1000 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1001 (whitespace-space-after-tab): Fix typo in docstrings.
1002
c8481b1b
DG
10032014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1004
cb8f50a7
DG
1005 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1006
c8481b1b
DG
1007 * electric.el (electric-indent-functions-without-reindent):
1008 Add `yaml-indent-line'.
1009
bed5126f
JB
10102014-02-21 Juanma Barranquero <lekktu@gmail.com>
1011
34b71457
JB
1012 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1013 It has done nothing for years; should be removed after the release.
1014
bed5126f
JB
1015 * simple.el (choose-completion): Fix docstring typo.
1016 (read-quoted-char-radix): Remove unneeded * in docstring.
1017 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1018 Don't escape parentheses unnecessarily in docstrings.
1019
8dd3e94f
MR
10202014-02-21 Martin Rudalics <rudalics@gmx.at>
1021
1022 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1023 * window.el (window--dump-window, window--dump-frame):
1024 New functions.
1025 (window--min-size-1): Account for window dividers.
1026 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
1027 sum of the window components has been calculated.
1028 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1029 nil make sure at least one text line and two text columns remain
1030 fully visible.
1031 (window-resize): Signal an error when window-resize-apply fails.
1032 (window--resize-child-windows): Fix calculation of by how many
1033 pixels a window can still be shrunk via window-new-normal.
1034 (adjust-window-trailing-edge): Call window--resizable with
1035 correct TRAIL argument.
1036
2ed94e04
MR
1037 (with-temp-buffer-window): Don't evaluate BODY within
1038 with-current-buffer (Bug#16816).
1039
0e5324c4
MA
10402014-02-21 Michael Albinus <michael.albinus@gmx.de>
1041
1042 * net/tramp.el (tramp-check-cached-permissions):
1043 Call `file-attributes' with `suffix' being a symbol but a string.
1044
48198420
DC
10452014-02-21 Daniel Colascione <dancol@dancol.org>
1046
1047 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1048 (dbus-init-bus): New function: call into dbus-init-bus-1
1049 and installs a handler for the disconnect signal.
1050 (dbus-call-method): Rewrite to look for result in cons.
1051 (dbus-call-method-handler): Store result in cons.
1052 (dbus-check-event): Recognize events with nil sender as valid.
1053 (dbus-handle-bus-disconnect): New function. React to bus
1054 disconnection signal by synthesizing dbus error for each
1055 pending synchronous or asynchronous call.
1056 (dbus-notice-synchronous-call-errors): New function.
1057 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1058 is true, not all the time.
1059
99e15133
JB
10602014-02-21 Juanma Barranquero <lekktu@gmail.com>
1061
e48983a6
JB
1062 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1063 Remove obsolescence declarations, these variables do not exist anymore.
1064
fdcfd745
JB
1065 * savehist.el (savehist-save-minibuffer-history)
1066 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1067 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1068 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1069 mostly, refer to "Savehist mode" when talking about the mode,
1070 and not the function.
1071
99e15133
JB
1072 * saveplace.el (save-place): Remove redundant info in docstring.
1073 (save-place-forget-unreadable-files, toggle-save-place)
1074 (save-place-forget-unreadable-files, save-place-dired-hook):
1075 Fix typos and remove unneeded backslashes.
1076
f5bee33b
MA
10772014-02-20 Michael Albinus <michael.albinus@gmx.de>
1078
1079 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1080 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1081
1082 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 1083 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
1084 (tramp-gvfs-handle-insert-directory): Remove function.
1085
1086 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1087 Call `tramp-handle-insert-directory'.
1088
ee0761ca
JB
10892014-02-20 Juanma Barranquero <lekktu@gmail.com>
1090
1091 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1092 before the start of buffer/region (bug#16799).
1093
4d49cc65
GM
10942014-02-20 Glenn Morris <rgm@gnu.org>
1095
1096 * isearch.el (search-invisible): Doc fix.
1097
eee0d650
TK
10982014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1099
1100 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1101 (bug#16657).
1102
94e5e202
JB
11032014-02-19 Juanma Barranquero <lekktu@gmail.com>
1104
1105 * frameset.el (frameset-restore): Delay removing an old frame's
1106 duplicate id until the new frame has been correctly created.
1107
50bfdd5d
MA
11082014-02-19 Michael Albinus <michael.albinus@gmx.de>
1109
1110 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1111 (tramp-check-cached-permissions): Call `file-attributes' if the
1112 cache is empty.
1113
1114 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1115 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1116
1117 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1118 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1119 (tramp-gvfs-maybe-open-connection): Set always connection
1120 properties, even if target is mounted already.
1121
1122 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1123 Set tramp-autoload cookie.
1124 (tramp-get-remote-touch): New defun.
1125 (tramp-sh-handle-set-file-times): Use it.
1126 (tramp-sh-handle-directory-files-and-attributes):
1127 Use `tramp-handle-directory-files-and-attributes' if neither stat
1128 nor perl are available on the remote host.
1129
1130 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1131 "/". Write long listing only when "l" belongs to the switches.
1132
1133 * net/trampver.el: Update release number.
1134
f097a3d2
JB
11352014-02-19 Juanma Barranquero <lekktu@gmail.com>
1136
1137 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1138
8e009b78
MR
11392014-02-19 Martin Rudalics <rudalics@gmx.at>
1140
1141 * window.el (window-state-put): Allow WINDOW to refer to an
1142 internal window (Bug#16793).
1143
95160c90
GM
11442014-02-19 Glenn Morris <rgm@gnu.org>
1145
1146 * textmodes/remember.el: Move provide statement to end.
1147 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1148 (remember-notes): Doc fixes.
1149
b28df58c
SM
11502014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * delsel.el (delete-char): Restore incorrectly erased property
1153 (bug#16795).
1154
7108e1c0
JB
11552014-02-18 Juanma Barranquero <lekktu@gmail.com>
1156
1157 * frameset.el (frameset--restore-frame): When a frame is being reused
1158 and its root window is not alive, delete all the frame's windows before
1159 restoring the window state. This works around the issue in bug#16793.
1160
c863b6ad
GM
11612014-02-18 Glenn Morris <rgm@gnu.org>
1162
a73fae1f
GM
1163 * textmodes/remember.el (remember-data-directory)
1164 (remember-directory-file-name-format, remember-store-in-files)
1165 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1166 (remember-notes-save-and-bury-buffer)
1167 (remember-notes--kill-buffer-query): Doc fixes.
1168
c863b6ad
GM
1169 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1170
29238d28
AM
11712014-02-17 Alan Mackenzie <acm@muc.de>
1172
1173 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1174 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1175 to electric-indent-{,local-}-mode.
b28df58c
SM
1176 (c-basic-common-init): Set electric-indent-inhibit.
1177 Initialise c-electric-flag from electric-indent-mode.
29238d28 1178 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1179 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1180
1181 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1182 hit, toggle electric-indent-local-mode.
29238d28 1183
b28df58c
SM
1184 * electric.el (electric-indent-mode-has-been-called):
1185 New variable.
29238d28 1186
c6463340
JB
11872014-02-17 Juanma Barranquero <lekktu@gmail.com>
1188
1189 * frameset.el (frameset-cfg-id): New function.
1190 (frameset--reuse-frame, frameset-restore): Use it.
1191 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1192
94912b88
SM
11932014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * ido.el (ido-file-internal): Remove unused var `d'.
1196 Use \` for to match BoS. Fit within 80n columns.
1197
26ea164c
DC
11982014-02-17 Daniel Colascione <dancol@dancol.org>
1199
1200 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1201 dbus-call-method check for completion using a busy-wait loop with
1202 gradual backoff.
1203
dd7691b7
MA
12042013-10-02 Michael Albinus <michael.albinus@gmx.de>
1205
1206 Sync with Tramp 2.2.9.
1207
1208 * net/trampver.el: Update release number.
1209
17d1b51b
DG
12102014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1211
1212 * ido.el (ido-file-internal): Don't add the name of an existing
1213 directory twice. (Bug#16747)
1214
5bcad689
GM
12152014-02-16 Glenn Morris <rgm@gnu.org>
1216
1217 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1218 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1219
12202014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1221
1222 * progmodes/sql.el: Version 3.4
1223 (sql-oracle-options): New default value ("-L").
94912b88 1224 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1225 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1226 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1227 (sql-login-delay): New variable.
1228 (sql-product-interactive): Use it.
1229
285f1858
JB
12302014-02-15 Juanma Barranquero <lekktu@gmail.com>
1231
1232 * frameset.el (frameset--jump-to-register): Check that buffer is live
1233 (bug#16749).
1234
5d645ea4
GM
12352014-02-15 Glenn Morris <rgm@gnu.org>
1236
1237 * info.el (info-initialize): Revert 2014-01-10 change.
1238
48c4f9b1
GM
12392014-02-14 Glenn Morris <rgm@gnu.org>
1240
b8630261
GM
1241 * replace.el (map-query-replace-regexp)
1242 (read-regexp-defaults-function, read-regexp): Doc fixes.
1243
b2bf2a25
GM
1244 * dired.el (dired-read-regexp):
1245 * faces.el (list-faces-display):
1246 * misearch.el (multi-isearch-read-matching-buffers)
1247 (multi-isearch-read-matching-files):
1248 * play/cookie1.el (cookie-apropos):
1249 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1250
48c4f9b1
GM
1251 * textmodes/remember.el (remember): Use frameset-to-register
1252 rather than frame-configuration-to-register.
1253
2804e0bd
JB
12542014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1255
1256 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1257 incorrect keybinding.
1258
0b87142f
DC
12592014-02-13 Daniel Colascione <dancol@dancol.org>
1260
1261 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1262 when adding overlays so that line numbers from compiler match line
1263 numbers we use.
1264
47a73eb0
GM
12652014-02-13 Glenn Morris <rgm@gnu.org>
1266
8abcfd51
GM
1267 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1268
47a73eb0
GM
1269 * jit-lock.el (jit-lock-mode): Doc fix.
1270
c9b6b262
JB
12712014-02-13 Juanma Barranquero <lekktu@gmail.com>
1272
1273 * apropos.el (apropos-read-pattern): When the user passes an empty
1274 string, give a more helpful error message than "Wrong type
1275 argument: stringp, nil".
1276
eb4c6947
SM
12772014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1278
1279 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1280
0dab5068
GM
12812014-02-13 Glenn Morris <rgm@gnu.org>
1282
1283 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1284
59075dcf
SM
12852014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1288 shift-select commands.
1289
5af9fbad
DG
12902014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1291
1292 * progmodes/js.el (js-indent-line): Don't widen.
1293 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1294
a215930c
GM
12952014-02-12 Glenn Morris <rgm@gnu.org>
1296
a8cb4247
GM
1297 * icomplete.el (icomplete): Add info-link to defgroup.
1298 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1299 (icomplete-minibuffer-map, icomplete-mode)
1300 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1301
a215930c
GM
1302 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1303 (package-menu-filter): Rename from package-menu-filter-interactive.
1304 Doc fix.
1305
26c5ecd9
JB
13062014-02-11 Juanma Barranquero <lekktu@gmail.com>
1307
1308 * frameset.el (frameset--jump-to-register): Select the required
1309 window and buffer before restoring position (bug#16696).
1310
fcd58a02
LI
13112014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1312
1313 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1314
bacb3380
GM
13152014-02-10 Glenn Morris <rgm@gnu.org>
1316
1317 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1318
881329dc
EZ
13192014-02-10 Eli Zaretskii <eliz@gnu.org>
1320
02328db9
EZ
1321 * w32-common-fns.el (x-get-selection): Doc fix.
1322 * select.el (x-get-selection): Doc fix. (Bug#15109)
1323
881329dc
EZ
1324 * face-remap.el (face-remap-add-relative)
1325 (face-remap-remove-relative, face-remap-reset-base)
1326 (face-remap-set-base): Call force-mode-line-update to redisplay
1327 the current buffer due to potential change in faces. (Bug#16709)
1328
c7db4c06
MA
13292014-02-10 Michael Albinus <michael.albinus@gmx.de>
1330
1331 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1332 script more robustly.
1333
6abe4589
LI
13342014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1335
7602b5c3
LI
1336 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1337
e3692ee0
LI
1338 * simple.el (choose-completion): Doc fix (bug#14160).
1339
41015524
LI
1340 * subr.el (event-start): Say what a nil EVENT value means.
1341
87c79dcb
LI
1342 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1343 (bug#14197).
1344
3ab49e2c
LI
1345 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1346
f3c60241
LI
1347 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1348
3bd1d8a8
LI
1349 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1350
6abe4589
LI
1351 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1352 predicate function (bug#15455).
1353
a11463de
DG
13542014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * ielm.el (inferior-emacs-lisp-mode): Instead of
1357 `comment-use-global-state', set `comment-use-syntax'.
1358
2ab0ad85
GM
13592014-02-10 Glenn Morris <rgm@gnu.org>
1360
1361 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1362
411141fb
AM
13632014-02-09 Alan Mackenzie <acm@muc.de>
1364
1365 Fix c-invalidate-state-cache on narrowed buffers.
1366 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1367 Widen when setting and clearing the CPP delimiter properties.
1368
d6d5fdf8
LI
13692014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1370
92c70367
LI
1371 * help.el (describe-bindings): Doc fix (bug#9888).
1372
468ef484
LI
1373 * files.el (save-buffer): Use ARG as the parameter name for
1374 consistency (bug#10346).
7e34193f 1375 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1376
fc2b1ffa 1377 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1378 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1379 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1380
790aceec
LI
1381 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1382
a54a7552 1383 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1384 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1385
dd163123
LI
1386 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1387 meaning of the parameter (bug#12282).
1388
9e108fe6
LI
1389 * files.el (find-file-noselect): Clarify prompt when changing
1390 readedness (bug#13261).
5a836f58
LI
1391 (locate-file): Suffixes aren't returned, so don't say that they
1392 are (bug#12674).
2356b316 1393 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1394
20dda930
LI
1395 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1396 before we actually start to delete things (bug#16331).
1397
d6d5fdf8
LI
1398 * subr.el (event-start): Doc fix (bug#14228).
1399 (event-end): Ditto.
1400
2abd71e5
GM
14012014-02-09 Glenn Morris <rgm@gnu.org>
1402
1403 * emacs-lisp/warnings.el (lwarn):
1404 Empower help-enable-auto-load. (Bug#15940)
1405
c1b5900b
AS
14062014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1407
1408 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1409 (Bug#16690)
1410
429b93bd
MA
14112014-02-08 Michael Albinus <michael.albinus@gmx.de>
1412
1413 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1414 Insert output at end of buffer. (Bug#16120)
1415
b772a699
LI
14162014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1417
18c6aa8c
LI
1418 * simple.el (choose-completion-string-functions): Document new
1419 calling convention (bug#14153).
54dd147a 1420 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1421
dce8463b
LI
1422 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1423
b772a699 1424 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1425 (find-grep-dired): Doc fix (bug#14288).
b772a699 1426
2423c8d5
JL
14272014-02-08 Juri Linkov <juri@jurta.org>
1428
1429 * isearch.el (isearch-quote-char): Check character validity
1430 like in `quoted-insert' (bug#16677).
1431
518f26c2
LI
14322014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1433
893cc908
LI
1434 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1435
9165ffc0
LI
1436 * isearch.el (isearch-hide-immediately): Doc clarification
1437 (bug#14723).
1438
6ef4f3ce
LI
1439 * simple.el (line-move): Document utility function used many
1440 places in the Emacs sources (bug#14843).
1441
be58a238 1442 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1443 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1444 (dired-up-directory): Doc fix (bug#14848).
be58a238 1445
dd7aafbb
LI
1446 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1447
15cb9968
LI
1448 * files.el (file-relative-name): Doc fix (bug#15159).
1449
9788effd
LI
1450 * fringe.el (fringe-styles): Doc fix (bug#15239).
1451
c96411bd
LI
1452 * isearch.el (isearch-filter-predicate): Documentation typo fix
1453 (bug#15474).
1454
ea838c36
LI
1455 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1456
0d8a4ae7
LI
1457 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1458
f7a17bb3
LI
1459 * replace.el (replace-match-maybe-edit): Doc clarification
1460 (bug#15632).
1461
1bde5c3b
LI
1462 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1463
518f26c2
LI
1464 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1465
dd8e49fd
GM
14662014-02-08 Glenn Morris <rgm@gnu.org>
1467
1468 * help-fns.el (describe-variable):
1469 Check {file,dir}-local-variables-alist, and buffer-file-name,
1470 in the correct buffer.
1471
7e088b29
IL
14722014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1473
1474 * help-fns.el (describe-variable): Fix the case where
1475 a value is directory-local with no dir-locals file. (Bug#16635)
1476
41a4a82f
GM
14772014-02-08 Glenn Morris <rgm@gnu.org>
1478
1479 * abbrev.el (edit-abbrevs-mode):
1480 Derive from fundamental-mode. (Bug#16682)
1481
e255a703
JB
14822014-02-07 Juanma Barranquero <lekktu@gmail.com>
1483
1484 * simple.el (quoted-insert): Check character validity (bug#16677).
1485
c99cf5ee
JL
14862014-02-07 Juri Linkov <juri@jurta.org>
1487
1488 * desktop.el (desktop-read): Claim the lock when the owner is not
1489 the current process. (Bug#16157)
1490
7d7a68d8
JL
14912014-02-07 Juri Linkov <juri@jurta.org>
1492
1493 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1494 to "\\` ". (Bug#16651)
1495
2b777cd9
JL
14962014-02-07 Juri Linkov <juri@jurta.org>
1497
1498 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1499 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1500 (desktop-auto-save-cancel-timer): New function with some code from
1501 `desktop-auto-save-set-timer'.
1502 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1503 Instead of setting `desktop-save-mode' to nil, call
1504 `desktop-save-mode' with arg 0. (Bug#16630)
1505
60eabbb9
GM
15062014-02-07 Glenn Morris <rgm@gnu.org>
1507
99cf3859
GM
1508 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1509 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1510 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1511
2b568bc9
GM
1512 * obsolete/iswitchb.el: Move to obsolete/.
1513 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1514 since obsolete/ is not scanned for autoloads.
1515 * emacs-lisp/authors.el (authors-valid-file-names):
1516 Add iswitchb.el.
1517
60eabbb9
GM
1518 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1519 Disable now non-functional find-file-hook.
1520
629de968
MA
15212014-02-06 Michael Albinus <michael.albinus@gmx.de>
1522
1523 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1524 instead of ";" in order to avoid additional prompts. Let heredoc
1525 scripts read from tty. (Bug#16582)
1526 (tramp-send-command): No special handling of heredocs, it isn't
1527 necessary anymore.
1528
29127376
SM
15292014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1532 with a space (bug#16664). Limit the symbols considered to the ones
1533 that are bound or fbound (bug#16646).
1534
79b6e0a9
GM
15352014-02-06 Glenn Morris <rgm@gnu.org>
1536
1537 * epa.el (epa-mail-aliases): Doc fix.
1538
a333e4d2
DG
15392014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1540
29127376
SM
1541 * emacs-lisp/lisp.el (lisp-completion-at-point):
1542 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1543 (bug#16604).
1544
1545 * minibuffer.el (completion-table-merge): New function.
1546
9a83b32b
MA
15472014-02-05 Michael Albinus <michael.albinus@gmx.de>
1548
1549 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1550 (tramp-sh-handle-set-file-acl)
1551 (tramp-sh-handle-start-file-process)
1552 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1553 (tramp-find-executable, tramp-send-command): Use it.
1554
451ea3e6
GM
15552014-02-05 Glenn Morris <rgm@gnu.org>
1556
9a83b32b 1557 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1558
dd27d13b
FEG
15592014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1560
35e951cd 1561 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1562 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1563
08e41897
AL
15642014-02-04 Anders Lindgren <andlind@gmail.com>
1565
1566 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1567 the names (bug#16620).
1568
764ec9e5
MR
15692014-02-03 Martin Rudalics <rudalics@gmx.at>
1570
08e41897
AL
1571 * faces.el (window-divider): New default value. Rewrite doc-string.
1572 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1573
6da8227c
DG
15742014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1575
1576 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1577 `protected' and `public' can also be called without arguments.
1578
6a6b8e40
GM
15792014-02-03 Glenn Morris <rgm@gnu.org>
1580
7bcbca40
GM
1581 * register.el (window-configuration-to-register)
1582 (frame-configuration-to-register): Unadvertise unused argument.
1583 * frameset.el (frameset-to-register): Remove unused argument.
1584
719d965d 1585 * frameset.el (frameset-to-register):
6a6b8e40
GM
1586 * kmacro.el (kmacro-to-register):
1587 * register.el (increment-register):
1588 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1589 (calc-append-to-register, calc-prepend-to-register):
1590 * play/gametree.el (gametree-layout-to-register)
1591 (gametree-apply-register-layout):
1592 * textmodes/picture.el (picture-clear-rectangle-to-register)
1593 (picture-yank-rectangle-from-register):
1594 * vc/emerge.el (emerge-combine-versions-register):
1595 Use register-read-with-preview to read registers.
1596
5dca7759
JT
15972014-02-03 João Távora <joaotavora@gmail.com>
1598
1599 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1600 when at beginning of (possibly narrowed) buffer.
1601
709085b9
DC
16022014-02-02 Daniel Colascione <dancol@dancol.org>
1603
c295fc18 1604 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1605 Also try to display local help from just before point.
709085b9 1606
99f7b0a6
AM
16072014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1608
1609 c-parse-state. Don't "append-lower-brace-pair" in certain
1610 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1611 recognised as a comment.
1612
1613 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1614 as well as normal comment starter.
1615 (c-parse-state-get-strategy): Extra return possibility
1616 'back-and-forward.
1617 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1618 return value list to indicate replacement of a brace-pair cons
1619 with its car.
1620 (c-parse-state-1): With 'back-and-forward, only call
1621 c-append-lower-brace-pair-to state-cache when cons-separated.
1622
f0a10576
JD
16232014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1624
1625 * term/ns-win.el (ns-suspend-error): New function.
1626 (ns-initialize-window-system): Add ns-suspend-error to
1627 suspend-hook (Bug#16612).
1628
b8d552c2
DC
16292014-02-02 Daniel Colascione <dancol@dancol.org>
1630
35e951cd
JB
1631 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1632 Make loading cc-mode silent.
b8d552c2 1633
f2b7d123
DC
16342014-02-02 Daniel Colascione <dancol@dancol.org>
1635
35e951cd
JB
1636 * comint.el (comint-prompt-read-only): Change doc to suggest
1637 remap keybinding.
f2b7d123 1638
4472a196
GM
16392014-02-02 Glenn Morris <rgm@gnu.org>
1640
1641 * register.el (register-read-with-preview, point-to-register)
1642 (window-configuration-to-register, frame-configuration-to-register)
1643 (jump-to-register, number-to-register, view-register, insert-register)
1644 (copy-to-register, append-to-register, prepend-to-register)
1645 (copy-rectangle-to-register): Doc fixes.
1646
70e5a261
SM
16472014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1650 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1651 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1652 * help-fns.el (describe-function-1): Use it.
1653
7c324762
GM
16542014-02-02 Glenn Morris <rgm@gnu.org>
1655
1656 * register.el (register-preview-default): New function,
1657 split from register-preview.
1658 (register-preview-function): Rename from register-preview-functions,
1659 make it not a hook.
1660 (register-preview): Use register-preview-function.
1661 (register-read-with-preview): Error on non-character event. (Bug#16595)
1662
a09beb3d
DG
16632014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1664
1665 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1666 `:' before binary operators (bug#16609). Don't check for `:'
1667 before `[' and `(', or their syntax status. A percent literal
1668 can't end with either.
68e004e0
DG
1669 (ruby-font-lock-keywords): For built-ins that require arguments,
1670 check that they're followed by something that looks like argument
1671 (bug#16610).
a09beb3d 1672
ed4d2875
LI
16732014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1674
1675 * subr.el (butlast): Document what an omitted N means (bug#13437).
1676 (nbutlast): Ditto.
1677
dba6e3ec
LI
16782014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1679
1680 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1681 depth shallower (bug#16587).
cc477daa
LI
1682 (shr-tag-svg): Respect `shr-inhibit-images'.
1683 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1684
e2a67bd0
DG
16852014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1686
1687 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1688 (ruby-smie-grammar): Make "." right-associative. Make its priority
1689 lower than the ternary and all binary operators.
1690 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1691 parent, or the first "." parent at indentation.
1692 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1693 (Bug#16593)
1694
bd21bf41
JL
16952014-01-31 Juri Linkov <juri@jurta.org>
1696
1697 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1698 from `make-hash-table'.
1699
1700 * textmodes/ispell.el (ispell-init-process): Change message format
1701 to be consistent with other messages.
1702
b7e615b9
GM
17032014-01-31 Glenn Morris <rgm@gnu.org>
1704
a69ecd19
GM
1705 * delsel.el (delete-selection-mode): Doc fix.
1706
9997d7e3
GM
1707 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1708 (trace-function-background): Doc fixes.
1709
fbb764b8
GM
1710 * ido.el (ido-use-virtual-buffers): Doc fix.
1711 Reset :version, since the default value has not changed.
1712
da942af1
GM
1713 * register.el (register-preview-delay, register-read-with-preview):
1714 Doc fixes.
1715
b7e615b9
GM
1716 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1717 do not mess with mail-buffer position (fixes 2009-11-03 change).
1718 * progmodes/cc-mode.el (c-submit-bug-report):
1719 Check auto-fill-mode is bound. (Bug#16592)
1720
0a25002d
DH
17212014-01-31 Darren Hoo <darren.hoo@gmail.com>
1722
1723 * startup.el (fancy-splash-image-file): New function,
1724 split from fancy-splash-head.
1725 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1726 so that we are both using the same image. (Bug#16574)
1727
ad78f432
GM
17282014-01-30 Glenn Morris <rgm@gnu.org>
1729
6bbc0c84
GM
1730 * simple.el (eval-expression): Doc fix.
1731
ad78f432
GM
1732 * hexl.el (hexl-mode-hook):
1733 * ielm.el (ielm-mode-hook):
1734 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1735 (lisp-interaction-mode-hook):
1736 * progmodes/cfengine.e (cfengine3-documentation-function):
1737 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1738
7b2f049c
SM
17392014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1742 is a symbol (bug#16584).
1743
0c633f13
GM
17442014-01-30 Glenn Morris <rgm@gnu.org>
1745
1746 * help.el (help-for-help-internal): Add "P" to text.
1747
5e61c1ef
GM
17482014-01-29 Glenn Morris <rgm@gnu.org>
1749
1750 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1751
1dcb169c
MR
17522014-01-28 Martin Rudalics <rudalics@gmx.at>
1753
1754 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1755 height constraints.
1756
a9128931
LL
17572014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1758
1759 * progmodes/hideif.el: Extend to full CPP expression syntax.
1760 (hif-token-alist): Add missing tokens.
1761 (hif-token-regexp): Add support for float/octal/hex immediates.
1762 (hif-string-literal-regexp): New const.
1763 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1764 (hif-exprlist): New function.
1765 (hif-parse-if-exp): Use it.
1766 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1767 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1768 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1769 (hif-logxor, hif-comma): New functions.
1770
a22359a7
GM
17712014-01-28 Glenn Morris <rgm@gnu.org>
1772
793ffe81
GM
1773 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1774
e3bd7eed
GM
1775 * indent.el (tab-stop-list): Doc fix. Add :version.
1776
a22359a7
GM
1777 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1778 (cvs-append-to-ignore): Add compatibility alias.
1779
52695556 17802014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1781
bac524e0
GM
1782 * dired.el (dired-hide-details-mode): Don't autoload it,
1783 since it cannot be used outside Dired buffers anyway.
1784
52695556 1785 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1786
52695556
GM
1787 * dired.el (dired-hide-details-hide-symlink-targets)
1788 (dired-hide-details-hide-information-lines)
1789 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1790
1791 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1792 * strokes.el (strokes-file): Doc fix. Bump :version.
1793 (strokes-help): Doc fix.
1794 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1795 * emulation/viper.el (viper): Doc fix for custom group.
1796 (top-level): Remove oh-so-no-longer-relevant text about vip.
1797 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1798
1799 * ido.el (ido-save-directory-list-file):
1800 * saveplace.el (save-place-file):
1801 * calendar/timeclock.el (timeclock-file):
1802 * net/quickurl.el (quickurl-url-file):
1803 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1804 * progmodes/idlwave.el (idlwave-config-directory):
1805 * textmodes/remember.el (remember-data-file):
1806 Bump :version.
1807
169d6004
GM
18082014-01-26 Glenn Morris <rgm@gnu.org>
1809
de6a923b
GM
1810 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1811 Doc fix. Make obsolete.
1812 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1813
169d6004
GM
1814 * sort.el (delete-duplicate-lines): Doc fix.
1815
ed85dee6
RS
18162014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1817
1818 * progmodes/ada-mode.el (ada):
1819 * woman.el (woman): Link to info manual and Commentary section.
1820
1821 * progmodes/flymake.el (flymake):
1822 * nxml/nxml-mode.el (nxml):
1823 * net/eww.el (eww):
1824 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1825 * htmlfontify.el (htmlfontify):
1826 * ses.el (ses):
1827 * epa.el (epa):
1828 * ido.el (ido): Link to info manual.
1829
e0c67e1d
LL
18302014-01-25 Leo Liu <sdl.web@gmail.com>
1831
1832 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1833
35408b1a
AS
18342014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1835
1836 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1837 (bug#16537).
1838
11eff3ae 1839>>>>>>> MERGE-SOURCE
76c3fa95
JB
18402014-01-24 Juanma Barranquero <lekktu@gmail.com>
1841
f77c7a99
JB
1842 * net/eww.el (eww-download-callback):
1843 Fix reference to eww-download-directory.
1844
76c3fa95
JB
1845 * emacs-lisp/bytecomp.el (byte-compile-file):
1846 Remove unused local variable `file-name'.
1847
1e548e40
GM
18482014-01-24 Glenn Morris <rgm@gnu.org>
1849
03f3b318
GM
1850 * woman.el (woman-default-faces, woman-monochrome-faces):
1851 Fix obsolescence specification.
1852
1e548e40
GM
1853 * subr.el (with-demoted-errors): Doc fix.
1854
d4f0427b
SM
18552014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1858 (cl--macroexp-fboundp): New function.
1859 (cl--make-type-test): Use it.
1860
1670e27f
GM
18612014-01-23 Glenn Morris <rgm@gnu.org>
1862
1863 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1864 * simple.el (eval-expression): Doc fixes.
1865
80efa207
GM
18662014-01-22 Glenn Morris <rgm@gnu.org>
1867
1868 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1869
29afcbab
SM
18702014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * emacs-lisp/package.el: Write files silently.
1873 (package-autoload-ensure-default-file, package--write-file-no-coding)
1874 (package-generate-description-file, package--download-one-archive)
1875 (package-install-from-archive): Tell `write-region' to stay quiet.
1876 (package-menu-mode, package-menu--print-info): Omit the Archive column
1877 if there's only one archive.
1878 (package-all-keywords, package--has-keyword-p): Remove dead code.
1879
2a5bce4f
GM
18802014-01-22 Glenn Morris <rgm@gnu.org>
1881
edace89f
GM
1882 * version.el (emacs-bzr-version-bzr): Fix typo.
1883
2a5bce4f
GM
1884 * version.el (emacs-repository-get-version):
1885 Check either .bzr or .git, but not both.
1886 Make the git case actually use the DIR argument, and return nil
1887 rather than the empty string.
983664c0 1888 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1889
6cb4da45
MR
18902014-01-22 Martin Rudalics <rudalics@gmx.at>
1891
1892 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1893 * window.el (window-total-size, window-size): New argument ROUND.
1894 (window--min-delta-1, window-min-delta, window--max-delta-1):
1895 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1896 columns a window can shrink (Bug#16430).
1897 (fit-window-to-buffer): Simplify code.
1898 * term.el (term-window-width): Call window-body-width again.
1899
cc0f2ece
GM
19002014-01-22 Glenn Morris <rgm@gnu.org>
1901
7b997b14
GM
1902 * image.el (image-format-suffixes): Doc fix.
1903
44e76f9d
GM
1904 * international/quail.el (quail-define-package): Doc fix.
1905
35e951cd 1906 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1907 (authors-renamed-files-alist): Additions.
7bfc1caa 1908
85a5f61f
GM
1909 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1910 reverts 2014-01-09 change. (Bug#16422)
1911
cc0f2ece
GM
1912 * calc/calc-embed.el (thing-at-point-looking-at):
1913 * emacs-lisp/map-ynp.el (x-popup-dialog):
1914 * obsolete/lmenu.el (x-popup-dialog):
1915 * emacs-lisp/package.el (url-recreate-url):
1916 * mail/mailclient.el (clipboard-kill-ring-save):
1917 * subr.el (x-popup-dialog): Update declaration.
1918 * mail/rmail.el (rmail-mime-message-p):
1919 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1920
00d2a6bb
DC
19212014-01-21 Daniel Colascione <dancol@dancol.org>
1922
1923 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1924 Correctly detect when we're inside an arithmetic expansion form
1925 containing nested parenthesis.
c295fc18 1926 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1927 to detect cases where we shouldn't expand "<<" to a heredoc
1928 skeleton.
1929
dd9d2e9d
SM
19302014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1933 (eldoc--message-command-p): New function.
1934 (eldoc-display-message-p): Use it.
1935 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1936 message is not automatically erased for us.
1937 (eldoc-print-current-symbol-info): Erase previous message, if any.
1938
e7d807ca
TH
19392014-01-21 Tassilo Horn <tsdh@gnu.org>
1940
4ff0a0e5
TH
1941 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1942 specify it's an interactive function.
1943
dd9d2e9d
SM
1944 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1945 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1946 citations with optional arguments.
1947
87503791
LL
19482014-01-21 Leo Liu <sdl.web@gmail.com>
1949
1950 * simple.el (read--expression): Don't enable eldoc-mode.
1951
6cc750ee
SM
19522014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * simple.el (move-beginning-of-line): Make sure we don't move forward
1955 (bug#16497).
1956
71f16bda
JL
19572014-01-20 Juri Linkov <juri@jurta.org>
1958
1959 * saveplace.el (toggle-save-place, save-place-to-alist)
1960 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1961 'dired-mode) before checking for dired-directory. (Bug#16477)
1962
3c5a4839
JL
19632014-01-20 Juri Linkov <juri@jurta.org>
1964
1965 * indent.el (indent-line-to): Use backward-to-indentation
1966 instead of back-to-indentation. (Bug#16461)
1967
f952002e
PE
19682014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1969
1970 Revert some of the CANNOT_DUMP fix (Bug#16494).
1971 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1972 but fixing this can wait until after the next release.
1973 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1974
93675500
MA
19752014-01-19 Michael Albinus <michael.albinus@gmx.de>
1976
1977 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1978 Use `password-word-equivalents'.
1979 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1980 to t. (Bug#5664, Bug#13124)
1981
e3af763f
AM
19822014-01-19 Alan Mackenzie <acm@muc.de>
1983
1984 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1985 points.
1986 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1987 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1988 * progmodes/cc-mode.el (c-before-change, c-after-change)
1989 (c-font-lock-fontify-region): Bind it here.
1990
4ff6d92d
MR
19912014-01-19 Martin Rudalics <rudalics@gmx.at>
1992
1993 * term.el (term-window-width): Call window-text-width instead of
1994 window-width (Bug#16470).
1995
9a685cf6
PE
19962014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1997
1998 * simple.el (password-word-equivalents): Remove duplicates.
1999 Sort, to make this easier next time.
2000 Downcase. Omit ": " after "jelszó".
2001
5aa78c2d
JD
20022014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2003
2004 * term/common-win.el (saved-region-selection): Defvar it.
2005 (x-select-text): Set saved-region-selection (Bug#16382).
2006
cabb250c
GM
20072014-01-18 Glenn Morris <rgm@gnu.org>
2008
2009 * emacs-lisp/authors.el (authors-aliases)
2010 (authors-renamed-files-alist): Add some entries.
2011
a1340440
MA
20122014-01-17 Michael Albinus <michael.albinus@gmx.de>
2013
93675500
MA
2014 * net/tramp.el (tramp-password-prompt-regexp):
2015 Use `password-word-equivalents' if available.
a1340440
MA
2016 (tramp-action-password, tramp-process-one-action)
2017 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2018
681ce5d2
CY
20192014-01-17 Chong Yidong <cyd@gnu.org>
2020
2021 * simple.el (password-word-equivalents): New defcustom.
2022 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2023 to 24.4.
2024 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2025 to t. (Bug#13124)
2026
fb3d479c
DG
20272014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2028
2029 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
2030 (ruby-align-to-stmt-keywords): Change the default value.
2031 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
2032 choices.
2033 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2034 keywords, check against the value of `ruby-alignable-keywords'
2035 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2036
0d613483
GM
20372014-01-17 Glenn Morris <rgm@gnu.org>
2038
fc23fe2d
GM
2039 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2040
0d613483 2041 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 2042 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
2043 (authors-ignored-files): Add some entries, remove others.
2044 (authors-ambiguous-files, authors-valid-file-names):
2045 Add some entries.
2046 (authors-renamed-files-alist): Add, remove, and adjust entries.
2047 (authors-renamed-files-regexps): Add some entries.
2048 Remove some very broad ones. Make some entries `lax'.
2049 (authors-lax-changelogs): New constant.
2050 (authors-disambiguate-file-name): Treat top-level specially.
2051 (authors-lax-changelog-p): New function.
2052 (authors-canonical-file-name): Check file as written against
2053 authors-valid-file-names. Do not special-case etc/.
2054 Handle `lax' logs and authors-renamed-files-regexps elements.
2055
2dbf4ffd
DG
20562014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2057
2058 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
2059 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2060 callers.
2dbf4ffd 2061
87b2a7f2
SM
20622014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2065 Assume we're already in the proper buffer.
2066 Inspired by Anders Lindgren <andlind@gmail.com>.
2067 (follow-post-command-hook): Call it from the right buffer.
2068 (follow-comint-scroll-to-bottom): Adjust call.
2069 (follow-all-followers): Use get-buffer-window-list.
2070
93acfb0e
DC
20712014-01-15 Daniel Colascione <dancol@dancol.org>
2072
2073 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2074 `buffer-file-name' in interactive-form so that we don't leave
2075 pathless file names in `file-name-history'.
2076
ccc6b208
JL
20772014-01-15 Juri Linkov <juri@jurta.org>
2078
2079 * indent.el (indent-rigidly): Set deactivate-mark to nil
2080 in transient indentation mode. (Bug#16438)
2081
5c92e00d
DG
20822014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * emacs-lisp/package.el (package-desc-keywords): New function
2085 (Bug#16222).
2086 (describe-package-1, package-all-keywords)
2087 (package--has-keyword-p): Use it.
2088
dac69660
NR
20892014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2090
2091 * simple.el (define-alternatives): When creating the
2092 COMMAND-alternatives variable, assign COMMAND as its definition
2093 name so that `describe-variable' can relocate it.
2094
8b63edf8
ML
20952014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2096
2097 * font-lock.el (font-lock-keywords): Fix typo in docstring
2098 (bug#16307).
2099
c6a0b8eb
AM
21002014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2101
2102 * ispell.el (ispell-region): Reset `in-comment' for new line
2103 instead of wrongly reset `add-coment' (bug#13577).
2104
02bf443d
DU
21052014-01-14 Daiki Ueno <ueno@gnu.org>
2106
2107 * epa-file.el (epa-file-write-region): Encode the region according
2108 to `buffer-file-format'. Problem reported at:
2109 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2110
fd7fde15
SM
21112014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2114 so it applies in the right buffer (bug#16410).
2115
c176054f
DC
21162014-01-13 Daniel Colascione <dancol@dancol.org>
2117
2118 * textmodes/rst.el (rst-define-key): Provide deprecated
2119 keybindings through named functions instead of anonymous ones so
2120 that "??" doesn't appear in describe-mode output.
2121
e3f33e5d
BG
21222014-01-13 Bastien Guerry <bzg@gnu.org>
2123
2124 * simple.el (define-alternatives): Call the selected command
2125 interactively. When setting `COMMAND--implementation' for the
2126 first time, tell the user how to chose another implementation.
2127 Enhance the docstring.
2128
c055d654
SM
21292014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2132 (log-edit--match-first-line): New function.
2133 (log-edit-font-lock-keywords): Use it.
2134 (log-edit-mode): Make jit-lock-defer-multiline work.
2135
d791cc3b
BG
21362014-01-13 Bastien Guerry <bzg@gnu.org>
2137
2138 * rect.el (rectangle-mark-mode): When the region is not active,
2139 display a message saying that the mark as been set and that
2140 rectangle mode is in use.
2141 (rectangle--highlight-for-redisplay): Only put an overlay with a
2142 visible vertical bar when (display-graphic-p) is non-nil.
2143 This partially fixes Bug#16403.
2144
3c0c4562
JL
21452014-01-13 Juri Linkov <juri@jurta.org>
2146
2147 * info.el (Info-find-file): Go to DIR before displaying the error
2148 about a nonexistent file if no previous Info file is visited.
2149 Use `user-error' instead of `error' for "Info file %s does not exist".
2150 (Info-find-node-2): In case of a nonexistent node in unwind forms
2151 go to the Top node if there is no previous node to revert to.
2152 (Bug#16405)
2153
25a700d0
MR
21542014-01-13 Martin Rudalics <rudalics@gmx.at>
2155
2156 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2157 * window.el (fit-frame-to-buffer): Fix doc-string.
2158 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2159 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2160 when avoiding that frame goes partially off-screen.
2161 (fit-window-to-buffer): Respect window-min-height/-width
2162 (Bug#14096).
2163
6ae948d8
SM
21642014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2167 after an empty line.
2168
6137cb82
SM
21692014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * net/shr.el (shr-render-region): Autoload.
2172
e6344e17
XF
21732014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2174
2175 * net/eww.el (eww-download-directory): Rename from
2176 `eww-download-path' (Bug#16419).
2177
3b922c70
LL
21782014-01-12 Leo Liu <sdl.web@gmail.com>
2179
2180 * dired-x.el (dired-mode-map): Fix last change.
2181
2182 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2183
4fa51741
PE
21842014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2185
2186 Spelling fixes.
2187 * emacs-lisp/generic.el (generic--normalize-comments):
2188 Rename from generic--normalise-comments. All uses changed.
35e951cd 2189 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2190 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2191 (bubbles--neighborhood-available)
2192 (bubbles--update-neighborhood-score):
2193 Rename from names with 'neighbourhood'. All uses changed.
2194
9b335362
LL
21952014-01-12 Leo Liu <sdl.web@gmail.com>
2196
2197 Re-implement the feature of showing eldoc info after editing.
2198 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2199 (eldoc-edit-message-commands): New function.
2200 (eldoc-print-after-edit): New variable.
2201 (eldoc-pre-command-refresh-echo-area): Emit message only by
2202 eldoc-message-commands.
2203 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2204 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2205 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2206 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2207
e2a095b1
GM
22082014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2209 Eric S. Raymond <esr@thyrsus.com>
9685190b 2210
841a6d0c 2211 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2212 function works correctly in either a Bazaar or Git repo.
0abf4134 2213
e2a095b1
GM
22142014-01-11 Eric S. Raymond <esr@thyrsus.com>
2215
6137cb82
SM
2216 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2217 Goes with removal of the joke manpages from /etc.
9685190b 2218
c295fc18 22192014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2220
6137cb82
SM
2221 * mail/rmail.el (rmail-get-coding-system):
2222 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2223
d2f16e93
GM
22242014-01-10 Glenn Morris <rgm@gnu.org>
2225
2226 * emacs-lisp/authors.el (authors-fixed-entries):
2227 Update for files that no longer exist.
2228
7e03bb32
ER
22292014-01-10 Eric S. Raymond <esr@thyrsus.com>
2230
2231 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2232 24.3 (Tested).
7e03bb32 2233
dd806710
BB
22342014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2235
2236 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2237 and Podfile.
2238
ed6ec139
EZ
22392014-01-10 Eli Zaretskii <eliz@gnu.org>
2240
2241 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2242
cc33cac9
CY
22432014-01-10 Chong Yidong <cyd@gnu.org>
2244
6137cb82 2245 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2246
d9d836b5
AL
22472014-01-10 Anders Lindgren <andlind@gmail.com>
2248
2249 * follow.el (follow-cache-command-list): Include right-char and
2250 left-char.
2251
06827ec8
PE
22522014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2253
2254 Spelling fixes.
2255 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2256 * woman.el (woman-mark-horizontal-position):
2257 Rename from woman-mark-horizonal-position. Use changed.
2258
458dbf5e
GM
22592014-01-10 Glenn Morris <rgm@gnu.org>
2260
dad6fae7
GM
2261 * info.el (info-initialize): If running uninstalled, ensure our
2262 own info files are always found first, even if INFOPATH is set.
2263
458dbf5e
GM
2264 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2265
05e0afce
DE
22662014-01-09 David Engster <deng@randomsample.de>
2267
2268 * emacs-lisp/eieio-custom.el:
2269 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2270 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2271 * emacs-lisp/eieio.el: Regenerate autoloads.
2272
f29778b3
ER
22732014-01-09 Eric S. Raymond <esr@thyrsus.com>
2274
2275 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2276 following renames. (Bug#8756)
f29778b3 2277
684d44ef
SM
22782014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2281 (bug#16382).
2282 (activate-mark): Add `no-tmm' argument.
2283 (set-mark, push-mark-command): Use it instead of running
2284 activate-mark-hook by hand.
2285
9475054f
ER
22862014-01-08 Eric S. Raymond <esr@thyrsus.com>
2287
2288 In preparation for the move to git, sanitize out some
2289 Bazaar-specific names.
2290
38942b9c
GM
2291 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2292
9475054f 2293 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2294 emacs-repository-version. Obsolete-variable alias made.
9475054f 2295 * loadup.el: Follow through on this name change.
a12bf61e 2296 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2297 assumption about the version control system in use.
2298
0f918d96 22992014-01-08 David Engster <deng@randomsample.de>
abb82152 2300
684d44ef
SM
2301 * help-fns.el (help-fns-describe-function-functions):
2302 New variable to call functions for augmenting help buffers.
abb82152
DE
2303 (describe-function-1): Remove explicit calls to
2304 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2305 `help-fns--obsolete'. Put them in above new variable instead, and
2306 call them through `run-hook-with-args'.
2307 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2308 `eieio-describe-class'. Not meant for interactive use anymore,
2309 but to augment existing help buffers. Remove optional second
684d44ef
SM
2310 argument. Create proper button for file location.
2311 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2312 possible.
2313 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2314 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2315 (describe-method, describe-generic, eieio-describe-method):
2316 Remove aliases.
0f918d96
DE
2317 (eieio-help-constructor, eieio-help-generic): Rename from
2318 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2319 Rewrite to use `insert' in the current buffer and use proper help
2320 buttons.
2321 (eieio-help-find-method-definition)
2322 (eieio-help-find-class-definition): Also accept symbols as
2323 arguments.
2324 (eieio-help-mode-augmentation-maybee): Remove.
2325 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2326 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2327 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2328
136b74c5
PE
23292014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2330
2331 Spelling fixes.
2332 * language/china-util.el (hz-ascii-designation):
2333 Rename from hz-ascii-designnation.
2334 (hz-ascii-designation): Rename from hz-ascii-designnation.
2335 All uses changed.
2336
ec6c7de2
SM
23372014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2340 package-alist.
2341
d6262c7c
BG
23422014-01-08 Bastien Guerry <bzg@gnu.org>
2343
4b9e6087
GM
2344 * emacs-lisp/package.el (package-delete):
2345 Correctly delete the package from package-alist.
d6262c7c 2346
0a3eec32
DU
23472014-01-08 Daiki Ueno <ueno@gnu.org>
2348
2349 * emacs-lisp/package.el (url-recreate-url): Declare.
2350 (url-http-target-url): Declare.
4b9e6087 2351 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2352 (package--check-signature): Don't re-signal errors from
2353 package--with-work-buffer. Suggested by Stefan Monnier.
2354
68f0bb97
BG
23552014-01-07 Bastien Guerry <bzg@gnu.org>
2356
2357 * minibuffer.el (completion--try-word-completion): When both a
2358 hyphen and a space are possible candidates for the character
2359 following a word, display both candidates. (Bug#15980)
2360
7e1899d7
MR
23612014-01-07 Martin Rudalics <rudalics@gmx.at>
2362
2363 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2364 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2365
0030ec15
GM
23662014-01-07 Glenn Morris <rgm@gnu.org>
2367
2368 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2369 (menu-bar-help-menu): Use view-external-packages instead.
2370
2b6b4f20
BG
23712014-01-07 Bastien Guerry <bzg@gnu.org>
2372
2373 * emacs-lisp/package.el (package-delete): Also delete the package
2374 name from `package-alist', not its description only.
2375
e9be0a13
GM
23762014-01-07 Glenn Morris <rgm@gnu.org>
2377
2378 * help.el (view-external-packages):
2379 * menu-bar.el (menu-bar-help-extra-packages):
2380 Visit efaq.info rather than etc/MORE.STUFF.
2381
e4f74da9
JL
23822014-01-07 Juri Linkov <juri@jurta.org>
2383
2384 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2385 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2386
2387 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2388 that shadows RET. (Bug#16342)
2389
de7ce2d1
CY
23902014-01-07 Chong Yidong <cyd@gnu.org>
2391
2392 * isearch.el (isearch-yank-char, isearch-yank-word)
2393 (isearch-yank-line): Doc fix.
2394
6bdd9204
SM
23952014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2398 * emacs-lisp/elint.el (elint-find-builtins):
2399 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2400 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2401 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2402 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2403 * apropos.el (apropos-safe-documentation):
2404 * subr.el (symbol-file): Remove redundant fboundp.
2405 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2406
daccca97
BG
24072014-01-06 Bastien Guerry <bzg@gnu.org>
2408
2409 * hl-line.el (global-hl-line-overlay): Make a local variable.
2410 (global-hl-line-overlays): New variable to store all overlays.
2411 (global-hl-line-mode): Don't delete overlays from the current
2412 buffer when `global-hl-line-sticky-flag' is non-nil.
2413 (global-hl-line-highlight): Add new overlays to
2414 `global-hl-line-overlays'.
2415 (global-hl-line-unhighlight-all): New function to delete all
2416 overlays when turning off `global-hl-line-mode'.
2417 This fixes Bug#16183.
2418
ec00f20f
SM
24192014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * subr.el (set-transient-map): Fix nested case and docstring.
2422
a0031f97
TH
24232014-01-06 Tassilo Horn <tsdh@gnu.org>
2424
2425 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2426 `Texinfo' entry.
2427
bf6a77f3
DC
24282014-01-06 Daniel Colascione <dancol@dancol.org>
2429
2430 Fix defun navigation in vc log view.
2431
2432 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2433 like `beginning-of-defun'.
c295fc18 2434 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2435 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2436 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2437 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2438 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2439
d5081c1e
PE
24402014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2441
2442 Spelling fixes.
2443 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2444 * emacs-lisp/debug.el (cancel-debug-on-entry):
2445 * epg.el (epg-error-to-string):
2446 * files.el (recover-file):
2447 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2448 * mail/emacsbug.el (report-emacs-bug-hook):
2449 * mail/sendmail.el (mail-recover):
2450 * ses.el (ses-yank-resize):
2451 * term/ns-win.el (ns-print-buffer):
2452 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2453 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2454 All uses changed.
2455 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2456
53f6b148
LL
24572014-01-06 Leo Liu <sdl.web@gmail.com>
2458
2459 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2460 to avoid shadowing global key. (Bug#16354)
53f6b148 2461
b82ace2f
DC
24622014-01-06 Daniel Colascione <dancol@dancol.org>
2463
2464 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2465 rst-mode.
2466
3669b636
MR
24672014-01-05 Martin Rudalics <rudalics@gmx.at>
2468
2469 * window.el (balance-windows): Add mising t to fix Bug#16351.
2470
1a29adc2
LMI
24712014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2472
2473 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2474 (bug#16285).
3d95a0f4
LMI
2475 (shr-insert): If we have a word that's longer than `shr-width',
2476 break after it anyway. Otherwise we'll do no breaking once we get
2477 such a long word.
1a29adc2 2478
f4018140
KN
24792014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2480
3fcfc4ee 2481 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2482 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2483 (eww-history-quit): Delete and use quit-window.
2484 (eww-history-kill): Delete, because it doesn't work well and
2485 not necessary.
2486 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2487
4e619754
PE
24882014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2489
73dbf960
PE
2490 Fix misspelling of 'chinese' in rx (Bug#16237).
2491 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2492 chinese-two-byte.
2493
4e619754
PE
2494 Change subword regexps back to vars (Bug#16296).
2495 * progmodes/subword.el (subword-forward-regexp)
2496 (subword-backward-regexp): Change these back to variables.
2497
e18b70fc
SM
24982014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2501 syntax-begin-function (bug#16247).
2502
0d53f628
CY
25032014-01-03 Chong Yidong <cyd@gnu.org>
2504
2505 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2506 (advice--docstring): Delete variable.
2507 (advice--make-1): Leave the docstring empty.
2508 (advice-add): Use function-documentation for advised docstring.
2509
2510 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2511 Ignore function-documentation property when getting documentation.
2512 (ad-activate-advised-definition): Use function-documentation
2513 generate the docstring.
2514 (ad-make-advised-definition): Don't call
2515 ad-make-advised-definition-docstring.
2516 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2517 Delete functions.
2518
2519 * progmodes/sql.el (sql-help): Use function-documentation instead
2520 of dynamic-docstring-function property. No need to autoload now.
2521 (sql--help-docstring): New variable.
2522 (sql--make-help-docstring): Use it.
2523
6f547583
SM
25242014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2525
6ef9aed8
SM
2526 * ielm.el (ielm-tab): Retarget.
2527 (ielm-map): Use ielm-tab for tab.
2528 (ielm-complete-filename): Use comint-filename-completion.
2529 (ielm-complete-symbol): Remove.
2530 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2531 remove ielm-tab from completion-at-point-functions (bug#16224).
2532
6f547583
SM
2533 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2534 Beware signals raised by predicates (bug#16201).
2535
a574edbe
RS
25362014-01-02 Richard Stallman <rms@gnu.org>
2537
e831604d
RS
2538 * dired-aux.el (dired-do-print): Handle printer-name.
2539
6f547583
SM
2540 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2541 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2542 (rmail-epa-decrypt): Turn off mime processing.
2543
3fcfc4ee 2544 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2545 Add parens in message-id.
2546
2547 * mail/rmail.el (rmail-get-coding-function): Variable.
2548 (rmail-get-coding-system): Use it.
2549
04311a16
KH
25502013-12-31 Eli Zaretskii <eliz@gnu.org>
2551
2552 * international/mule-conf.el: Unify the charset indian-is13194.
2553 (indian-is13194): Specify unify-map.
2554
c8d89778
LL
25552013-12-31 Leo Liu <sdl.web@gmail.com>
2556
2557 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2558
e63ace37
DC
25592013-12-30 Daniel Colascione <dancol@dancol.org>
2560
9e0bf19a
DC
2561 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2562 of printing a useless when we resume from sleep.
2563
e63ace37 2564 * progmodes/sh-script.el
c295fc18 2565 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2566 in indentation code. (Bug#16233)
2567
e9d6c46a
JT
25682013-12-28 João Távora <joaotavora@gmail.com>
2569
6f547583
SM
2570 * elec-pair.el (electric-pair-post-self-insert-function):
2571 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2572
bf7bea5d
EZ
25732013-12-28 Eli Zaretskii <eliz@gnu.org>
2574
2575 * frame.el (window-system-for-display): Don't allow to create a
2576 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2577
8449dd1f
GM
25782013-12-28 Glenn Morris <rgm@gnu.org>
2579
9c5a5c77
GM
2580 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2581 Update callers.
2582
2583 * apropos.el (apropos-match-face):
2584 * calculator.el (calculator-displayer):
2585 * dabbrev.el (dabbrev-search-these-buffers-only):
2586 * face-remap.el (buffer-face-mode-face):
2587 * simple.el (yank-handled-properties):
2588 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2589 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2590 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2591 (hashcash-double-spend-database):
2592 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2593 (ruby-deep-indent-paren-style):
2594 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2595 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2596 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2597 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2598 Specify custom types.
2599
bb098075
GM
2600 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2601 * bookmark.el (bookmark-bmenu-use-header-line):
2602 * doc-view.el (doc-view-scale-internally):
2603 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2604 * register.el (register-preview-delay):
2605 * net/shr.el (shr-bullet):
2606 * progmodes/cfengine.el (cfengine-cf-promises)
2607 (cfengine-parameters-indent):
2608 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2609 * textmodes/reftex-vars.el (reftex-label-regexps):
2610 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2611
9c61f806
GM
2612 * net/tls.el (tls-certtool-program): Fix default value.
2613
2614 * desktop.el (desktop-restore-in-current-display):
2615 * newcomment.el (comment-empty-lines):
2616 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2617 (idlwave-pad-keyword):
2618 * progmodes/tcl.el (tcl-tab-always-indent):
2619 * textmodes/reftex-vars.el (reftex-index-default-tag):
2620 * elec-pair.el (electric-pair-skip-whitespace):
2621 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2622
8449dd1f
GM
2623 * emacs-lisp/authors.el (authors-ignored-files)
2624 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2625
fdadeb49
JC
26262013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2627
72140a0f
GM
2628 * shell.el (shell-dynamic-complete-command): Doc fix.
2629 (shell--command-completion-data): Shell completion now matches
2630 executable filenames from the current buffer's directory, on
da5ecfa9 2631 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2632
e572a7d8
LI
26332013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2634
2635 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2636
7514d3f8
SM
26372013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2638
a4151f3b
SM
2639 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2640 (bug#16251).
2641
7514d3f8
SM
2642 * electric.el: Move all electric-pair-* to elec-pair.el.
2643 * elec-pair.el: New file, split from electric.el.
2644
ac5758d1
LI
26452013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2646
2647 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2648 indentation level is larger than the width, because that will
2649 infloop.
2650 (shr-insert): Fill repeatedly long texts, so that Japanese is
2651 formatted correctly (bug#16263).
24a6b65e
LI
2652 (shr-find-fill-point): Off by one error in comparison with the
2653 indentation.
ac5758d1 2654
7514d3f8 26552013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2656
2657 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2658 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2659 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2660 if that keeps or improves their balance in buffers.
2661 (electric-pair-delete-adjacent-pairs): Delete the pair when
2662 backspacing over adjacent matched delimiters.
2663 (electric-pair-open-extra-newline): Open extra newline when
2664 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2665 (electric--sort-post-self-insertion-hook):
2666 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2667 minor-modes are activated.
2668 * simple.el (newline-and-indent): Call newline with interactive
2669 set to t.
2670 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2671 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2672 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2673 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2674 electric-pair-open-newline-between-pairs to nil.
2675
fbcc63a3
FEG
26762013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2677
2678 * progmodes/python.el: Use lexical-binding.
2679 (python-nav-beginning-of-defun): Stop searching ASAP.
2680
ed78d16c
XF
26812013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2682
2683 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2684 Fix interactive spec. Doc fix. (Bug#15754)
2685
38b2c142
KY
26862013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2687
2688 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2689 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2690 Fix edebug spec (bug#16184).
2691
3c856c14
LI
26922013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2693
83fa295c 2694 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2695 (shr-insert): Don't infloop if we can't find a good place to break
2696 the line (bug#16256).
3c856c14 2697
01379221
FEG
26982013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2699
35e951cd 2700 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2701 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2702 python-nav-lisp-forward-sexp-safe.
2703 (python-nav--forward-sexp): New argument SAFE allows switching
2704 forward sexp movement behavior for parens.
2705 (python-nav-forward-sexp): Throw errors on unterminated parens
2706 (Bug#16191).
2707 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2708 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2709 (python-shell-buffer-substring):
2710 Use `python-nav-forward-sexp-safe'.
01379221 2711
99e4926f
LI
27122013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2713
2714 * net/shr.el (shr-find-fill-point): Don't break lines before a
2715 quotation mark.
c6c20584
LI
2716 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2717 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2718 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2719
fec0e828
KN
27202013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2721
2722 * net/eww.el (eww-form-textarea): Use a different face for
2723 textareas than text input since they have different keymaps
2724 (bug#16142).
2725
89c868ad
FEG
27262013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2727
7514d3f8
SM
2728 * progmodes/python.el (python-nav-beginning-of-statement):
2729 Speed up (Bug#15295).
89c868ad 2730
eeef121a
LI
27312013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2732
2733 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2734 the window configuration.
2735
121ea65f
EZ
27362013-12-24 Eli Zaretskii <eliz@gnu.org>
2737
2738 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2739 we run on MS-Windows or MS-DOS.
2740
18cee9ec
MR
27412013-12-24 Martin Rudalics <rudalics@gmx.at>
2742
2743 * window.el (balance-windows-area): Call window-size instead of
2744 window-height and window-width. Bug#16241.
2745
58f2b9a5
LI
27462013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2747
2748 * net/eww.el (eww-bookmark-quit): Remove.
2749 (eww-bookmark-browse): Restore the window configuration when you
2750 choose a bookmark (bug#16144).
2751
d64b6308
DC
27522013-12-24 Daniel Colascione <dancol@dancol.org>
2753
2754 * icomplete.el: Remove redundant :group arguments to `defcustom'
2755 throughout.
2756 (icomplete-show-matches-on-no-input): New customizable variable.
2757 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2758 we have something to show.
7514d3f8 2759 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2760
0da54898
DC
27612013-12-23 Daniel Colascione <dancol@dancol.org>
2762
2763 * icomplete.el: Move `provide' to end of file.
2764
b90aa4f4
TZ
27652013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2766
2767 * net/gnutls.el (gnutls-verify-error): Add version tag.
2768
8cd22a08
CY
27692013-12-23 Chong Yidong <cyd@gnu.org>
2770
2771 * subr.el (set-transient-map): Rename from
2772 set-temporary-overlay-map. Doc fix.
2773
2774 * face-remap.el (text-scale-adjust):
2775 * indent.el (indent-rigidly):
2776 * kmacro.el (kmacro-call-macro):
2777 * minibuffer.el (minibuffer-force-complete):
2778 * repeat.el (repeat):
2779 * simple.el (universal-argument--mode):
2780 * calendar/todo-mode.el (todo-insert-item--next-param):
2781 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2782
7510b021
CY
2783 * indent.el (indent-rigidly): Use substitute-command-keys.
2784
72140a0f 27852013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2786
2787 * net/eww.el (eww-tag-select): Add text-property to jump to next
2788 select field.
e9dc713d 2789 (eww): Add non-supported ftp error.
56890ecd 2790
1f87a56c
DG
27912013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2792
2793 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2794 comments. Handle electric indent after typing `?' and `!'.
2795
dca38cf9
CY
27962013-12-22 Chong Yidong <cyd@gnu.org>
2797
2798 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2799 applicable to a frame, fall back on the defface spec.
2800 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2801
f2351498
DG
28022013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2803
2804 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2805 after `{'. We need it after block openers, and it doesn't seem
2806 to hurt after hash openers.
2807
6cddebc1
DG
28082013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2809
2810 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2811 extracted from `ruby-smie-rules'.
2812 (ruby--electric-indent-chars): New variable.
2813 (ruby--electric-indent-p): New function.
2814 (ruby-mode): Use `electric-indent-functions' instead of
2815 `electric-indent-chars'.
2816
65a1da00
DG
28172013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2818
2819 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2820 docstring.
2821 (ruby-smie-rules): Indent plus one level after `=>'.
2822
b51ad4cf
RS
28232013-12-21 Richard Stallman <rms@gnu.org>
2824
2825 * simple.el (newline): Doc fix.
2826
72140a0f 28272013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2828
e9dc713d 2829 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2830 (eww-history-browse, eww-history-quit, eww-history-kill)
2831 (eww-history-mode-map, eww-history-mode): New command and
2832 functions to list browser histories.
e9dc713d
JB
2833 (eww-form-text): Support text form with disabled
2834 and readonly attributes.
2835 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2836
5e1901c1
RS
28372013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2838
2839 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2840 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2841 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2842 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2843 Use `user-error'.
2844 (eww-bookmark-mode-map): Add menu.
2845 (eww-render, eww-mode): Use `setq-local'.
2846 (eww-tool-bar-map): New variable.
2847 (eww-mode): Set `tool-bar-map'.
2848 (eww-view-source): Check for `html-mode' with `fboundp'.
2849
073d5cfd
LMI
28502013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2851
2852 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2853 elements with text inside. Also remove debugging.
2854
41cf3d11
JD
28552013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2856
2857 * cus-start.el (all): Add ns-use-srgb-colorspace.
2858
aac2b673
CY
28592013-12-21 Chong Yidong <cyd@gnu.org>
2860
2861 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2862 undefined. Thus, theme settings for undefined faces do not take
2863 effect until the faces are defined with defface, the same as with
2864 theme variables.
2865
2866 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2867 (face-spec-reset-face): Don't assign extra properties in temacs.
2868 (face-spec-recalc): Apply X resources too.
2869
bacb0e77
CY
28702013-12-21 Chong Yidong <cyd@gnu.org>
2871
2872 * faces.el (face-spec-set):
2873 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2874 * custom.el (defface): Doc fixes (Bug#16203).
2875
77221051
CY
2876 * indent.el (indent-rigidly-map): Add docstring, and move commands
2877 into named functions.
2878 (indent-rigidly-left, indent-rigidly-right)
2879 (indent-rigidly-left-to-tab-stop)
2880 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2881 indentation direction based on bidi direction, and accumulate
2882 sequential commands in a single undo boundary.
2883 (indent-rigidly--pop-undo): New utility function.
2884
e0eb0550
JB
28852013-12-20 Juanma Barranquero <lekktu@gmail.com>
2886
2887 * faces.el (read-face-name): Require crm.el when using crm-separator.
2888
3282bd2e
DC
28892013-12-20 Daniel Colascione <dancol@dancol.org>
2890
2891 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2892 so that we don't reflow comments into the shebang line.
2893
1d42e5b6
JL
28942013-12-20 Juri Linkov <juri@jurta.org>
2895
2896 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2897 a position when `dired-directory' is non-nil. Check integer
2898 positions with `integerp'.
2899 (toggle-save-place, save-places-to-alist): Add check for
2900 `dired-directory'.
2901 (save-place-find-file-hook): Check integer positions with
2902 `integerp'.
2903 (save-place-dired-hook): Use `dired-goto-file' when
2904 `dired-filename' is found in the assoc list. Check integer
2905 positions with `integerp'.
2906 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2907
2908 * dired.el (dired-initial-position-hook): Rename back from
2909 `dired-initial-point-hook'.
2910 (dired-initial-position): Rename `dired-initial-point-hook' to
2911 `dired-initial-position-hook'.
2912 (dired-file-name-at-point): Doc fix. (Bug#15329)
2913
24da7273
JL
29142013-12-20 Juri Linkov <juri@jurta.org>
2915
2916 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2917 (read-regexp-suggestions): New function.
2918 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2919 Use `read-regexp-suggestions'. Add non-empty default to history
2920 for empty input.
2921 (occur-read-regexp-defaults-function): Remove function.
2922 (occur-read-primary-args): Use `regexp-history-last' instead of
2923 `occur-read-regexp-defaults-function'.
2924
2925 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2926 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2927 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2928 `hi-lock-read-regexp-defaults-function'. Doc fix.
2929 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2930 with `find-tag-default-as-symbol-regexp'. Doc fix.
2931 (hi-lock-read-regexp-defaults): Remove function.
2932 (hi-lock-regexp-okay): Add check for null.
2933
2934 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2935 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2936
2937 * subr.el (find-tag-default-as-symbol-regexp): New function.
2938 (find-tag-default-as-regexp): Move symbol regexp formatting to
2939 `find-tag-default-as-symbol-regexp'.
2940
137f57c8
S
29412013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2942
2943 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2944 (Bug#14179)
2945
f3a66082
SB
29462013-12-20 Stephen Berman <stephen.berman@gmx.net>
2947
2948 * calendar/todo-mode.el: New implementation of item insertion
2949 commands and key bindings.
2950 (todo-key-prompt): New face.
2951 (todo-insert-item): New command.
2952 (todo-insert-item--parameters): New defconst, replacing defvar
2953 todo-insertion-commands-args-genlist.
2954 (todo-insert-item--param-key-alist): New defconst, replacing
2955 defvar todo-insertion-commands-arg-key-list.
2956 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2957 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2958 (todo-insert-item--next-param): New functions.
2959 (todo-insert-item--args, todo-insert-item--argleft)
2960 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2961 New variables.
2962 (todo-key-bindings-t): Change binding of "i" from
2963 todo-insertion-map to todo-insert-item.
2964 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2965 (todo-insertion-command-name, todo-insertion-commands-names)
2966 (todo-define-insertion-command, todo-insertion-commands)
2967 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2968
2f99433b
SB
29692013-12-20 Stephen Berman <stephen.berman@gmx.net>
2970
2971 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2972 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2973 eval-when-compile.
2974 (todo-move-category): Allow choosing a non-existing todo file to
2975 move the category to, and create that file.
2976 (todo-default-priority): New user option.
2977 (todo-set-item-priority): Use it.
2978 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2979 (desktop-restore-file-buffer): Declare.
2980 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2981 (todo-modes-set-2): Locally set desktop-save-buffer to
2982 todo-desktop-save-buffer.
2983 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2984 (auto-mode-alist): Add autoload cookie.
2985
131e4695
BB
29862013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2987
2988 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2989 helpers.el was a poor choice of name.
3cbfb935
BB
2990 (string-remove-prefix): New function.
2991 (string-remove-suffix): New function.
131e4695 2992
c44de18d
MR
29932013-12-20 Martin Rudalics <rudalics@gmx.at>
2994
2995 Fix assignment for new window total sizes.
2996 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2997 (window--pixel-to-total-1, window--pixel-to-total):
2998 Fix calculation of new total sizes.
c44de18d 2999
ca65efcc
VS
30002013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3001
3002 * comint.el (comint-output-filter): Fix rear-nonsticky property
3003 placement (Bug#16010).
3004
a9574eb7
CY
30052013-12-20 Chong Yidong <cyd@gnu.org>
3006
3007 * faces.el (read-color): Minor fix for completion function.
3008
b520f210
DG
30092013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3010
e0eb0550
JB
3011 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3012 New option. (Bug#16182)
b520f210
DG
3013 (ruby-smie--indent-to-stmt-p): Use it.
3014 (ruby-smie-rules): Revert the logic in the handling of `when'.
3015 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3016 (ruby-deep-arglist, ruby-deep-indent-paren)
3017 (ruby-deep-indent-paren-style): Update docstrings to note that the
3018 vars don't have any effect with SMIE.
3019
26b75b45
JB
30202013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3021
3022 * calc/calc.el (calc-enter, calc-pop): Use the variable
3023 `calc-context-sensitive-enter'.
3024
cf91cee7
LMI
30252013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3026
3027 * net/shr.el (shr-insert): Protect against infloops in degenerate
3028 tables.
3029
51d971b4
RS
30302013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3031
3032 * progmodes/octave.el (octave): Add link to manual and octave
3033 homepage.
3034 (octave-mode-menu): Link to octave-mode manual.
3035
8c2e462a
LL
30362013-12-20 Leo Liu <sdl.web@gmail.com>
3037
3038 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3039 insertion using skeleton-end-newline. (Bug#16138)
3040
501158bc
JL
30412013-12-20 Juri Linkov <juri@jurta.org>
3042
3043 * replace.el (occur-engine): Use `add-face-text-property'
3044 to add the face property to matches and titles. (Bug#14645)
3045
3046 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3047 the palette of other hi-lock colors.
3048 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3049
50ab1da6
JL
30502013-12-19 Juri Linkov <juri@jurta.org>
3051
3052 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3053 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3054 (minibuffer-history-symbol): Move variable declaration closer to
3055 its usage.
3056
3057 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3058 (Bug#14785)
3059
3d6e95e7
JL
30602013-12-19 Juri Linkov <juri@jurta.org>
3061
3062 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3063 New function.
3064 (log-edit-hook): Add it to :options. (Bug#16170)
3065
b41594fd
JL
30662013-12-19 Juri Linkov <juri@jurta.org>
3067
3068 * simple.el (eval-expression-print-format): Don't check for
3069 command names and the last command. Always display additional
3070 formats of the integer result in the echo area, and insert them
3071 to the current buffer only with a zero prefix arg.
3072 Display character when char-displayable-p is non-nil.
3073 (eval-expression): With a zero prefix arg, set `print-length' and
3074 `print-level' to nil, and insert the integer values from
3075 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3076
3077 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3078 `eval-last-sexp-arg-internal'. Doc fix.
3079 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3080 `eval-last-sexp-print-value'. Doc fix.
3081 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3082 Set `print-length' and `print-level' to nil when arg is zero.
3083 (eval-last-sexp): Doc fix.
3084 (eval-defun-2): Print the integer values from
3085 `eval-expression-print-format' at the end.
3086
3087 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3088 values from `eval-expression-print-format' at the end.
3089
3090 * ielm.el (ielm-eval-input): Print the integer
3091 values from `eval-expression-print-format' at the end.
3092
8f2be364
TZ
30932013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3094
3095 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3096 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3097
2230a6e3
SM
30982013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3099
3100 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3101 (hl-line-highlight, global-hl-line-highlight): Use it.
3102 (hl-line-overlay): Use defvar-local.
3103
1269a680
JD
31042013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3105
3106 * term/ns-win.el: Require dnd.
3107 (global-map): Remove drag items.
3108 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3109 (ns-set-background-at-mouse):
3110 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3111 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3112 New functions.
1269a680 3113
049638ad
GM
31142013-12-19 Glenn Morris <rgm@gnu.org>
3115
3116 * emacs-lisp/ert.el (ert-select-tests):
3117 Fix string/symbol mixup. (Bug#16121)
3118
ce41edb4
DG
31192013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3120
3121 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3122 keywords to their parent.
3123
7e1549c9
DG
31242013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3125
3126 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3127 first arg to be a string (fixed dead code), or an operator symbol.
3128 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3129 operator symbols.
3130 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3131 did nothing. Don't respond to `(:after ".")', it will be called
3132 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3133 change anything. Only return indentation for binary operators
3134 when they are hanging. De-dent opening paren when its parent is
3135 `.', otherwise it looks bad when the dot is not at bol or eol
3136 (bug#16182).
3137
3ee4cd64
JL
31382013-12-19 Juri Linkov <juri@jurta.org>
3139
3140 * replace.el (query-replace-read-args): Split a non-negative arg
3141 and a negative arg into separate elements.
3142 (query-replace, query-replace-regexp, replace-string)
3143 (replace-regexp): Add arg `backward'. Doc fix.
3144 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3145 move point to the beginning of the match.
3146 (replace-search, replace-highlight): Use new arg `backward'
3147 to set the value of `isearch-forward'.
3148 (perform-replace): Add arg `backward' and use it to perform
3149 replacement backward. (Bug#14979)
3150
3151 * isearch.el (isearch-query-replace): Use a negative prefix arg
3152 to call `perform-replace' with a non-nil arg `backward'.
3153
0cda6b7b
JL
31542013-12-18 Juri Linkov <juri@jurta.org>
3155
3156 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3157 to the default list. Move `log-edit-show-files' to the end.
3158 Add more available functions to options.
3159 (log-edit): Move default specific settings to
3160 `log-edit-insert-message-template'. Don't move point.
3161 (log-edit-insert-message-template): New function.
3162 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3163 (Bug#16170)
3164
b216f0a6
JL
31652013-12-18 Juri Linkov <juri@jurta.org>
3166
3167 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3168 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3169
1d1c55dc
LL
31702013-12-18 Leo Liu <sdl.web@gmail.com>
3171
e9dc713d
JB
3172 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3173 (Bug#16186)
1d1c55dc 3174
64e4c76e
EZ
31752013-12-18 Eli Zaretskii <eliz@gnu.org>
3176
3177 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3178 formats for displaying file sizes when the -s switch is given.
3179 Instead, compute a separate format for displaying the size in
3180 blocks, which is displayed in addition to the "regular" size.
3181 When -h is given in addition to -s, produce size in blocks in
3182 human-readable form as well. (Bug#16179)
3183
b2984e39
TH
31842013-12-18 Tassilo Horn <tsdh@gnu.org>
3185
2230a6e3
SM
3186 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3187 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3188
50ff2e06
CY
31892013-12-18 Chong Yidong <cyd@gnu.org>
3190
0081bc84
CY
3191 * cus-edit.el (custom-magic-alist): Fix "themed" description
3192 (Bug#14348).
3193
a7ee9424
CY
3194 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3195 is non-nil, do not create a new entry in the symbol's theme-value
3196 or theme-face property; update theme-settings only (Bug#14664).
18874304 3197 (custom-available-themes): Doc fix.
a7ee9424 3198
8f942537
CY
3199 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3200 (Bug#15674).
3201
50ff2e06
CY
3202 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3203
83c60f60
KI
32042013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3205
3206 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3207 (Bug#13914).
3208
e0eb0550 32092013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3210
3211 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3212
1f41ee56
GM
32132013-12-18 Glenn Morris <rgm@gnu.org>
3214
3215 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3216 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3217
e82134b1
LW
32182013-12-18 Le Wang <l26wang@gmail.com>
3219
2230a6e3
SM
3220 * comint.el (comint-previous-matching-input-from-input):
3221 Retain point (Bug#13404).
e82134b1 3222
33f5d4c1
CY
32232013-12-18 Chong Yidong <cyd@gnu.org>
3224
3225 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3226
ccc9f6dc
GM
32272013-12-18 Glenn Morris <rgm@gnu.org>
3228
3229 * mail/emacsbug.el (report-emacs-bug):
3230 Only mention enable-multibyte-characters if non-standard.
3231
33dd8e95
JL
32322013-12-17 Juri Linkov <juri@jurta.org>
3233
3234 * arc-mode.el (archive-extract-by-file): Check if directory exists
3235 before deletion to not show irrelevant errors if it doesn't exist.
3236
7a409b30
JL
32372013-12-17 Juri Linkov <juri@jurta.org>
3238
3239 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3240 (Bug#14751)
3241
3242 * net/eww.el (browse-web): Add alias to `eww'.
3243 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3244 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3245
3246 * net/browse-url.el (browse-url-browser-function): Move `eww'
3247 closer to similar functions.
3248
3249 * startup.el (fancy-startup-screen, fancy-about-screen):
3250 Set browse-url-browser-function to eww-browse-url locally.
3251 (Bug#14751)
3252
2d6b6005
SM
32532013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3254
3255 * window.el (window--pixel-to-total): Remove unused `mini' var.
3256 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3257 (split-window): Remove unused `new' var.
3258 (window--display-buffer): Remove unused `frame' and `delta' vars.
3259 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3260 and display-width'.
3261
cf2b7efc
MR
32622013-12-17 Martin Rudalics <rudalics@gmx.at>
3263
3264 * dired.el (dired-mark-pop-up):
3265 * register.el (register-preview): Don't bind
3266 split-height-threshold here since it's now done in
3267 display-buffer-below-selected.
3268
ed3af8a7 32692013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3270
3271 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3272 xterm-rgb-convert-to-16bit.
3273 (rxvt-register-default-colors): Standardize with
3274 xterm-register-default-colors (Bug#14078).
3275
76da3455
DK
32762013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3277
3278 * simple.el (kill-region): Pass mark first, then point, so that
3279 kill-append works right (Bug#12819).
3280 (copy-region-as-kill, kill-ring-save): Likewise.
3281
2b84d763
LL
32822013-12-17 Leo Liu <sdl.web@gmail.com>
3283
3284 * net/rcirc.el (rcirc-add-face):
3285 * eshell/em-prompt.el (eshell-emit-prompt):
3286 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3287 (Bug#16167)
3288
e2f6a0bc
CY
32892013-12-17 Chong Yidong <cyd@gnu.org>
3290
3291 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3292 Suggested by Xue Fuqiao.
3293
35b249a6
DG
32942013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3295
3296 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3297
e9145444
SM
32982013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * net/shr.el (shr-insert-document): Remove unused var
3301 `shr-preliminary-table-render'.
3302 (shr-rescale-image): Remove unused arg `force'.
3303 (shr-put-image): Update calls accordingly.
3304 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3305
5556c0ce
DG
33062013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3307
3308 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3309 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3310 :close-all, to see which indentation method to use (Bug#16116).
3311 (smie-rules-function): Document the method :close-all.
3312
11bade0a
LMI
33132013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3314
1c4b1e61
LMI
3315 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3316
11bade0a
LMI
3317 * net/eww.el (eww-display-html): If we can't find the anchor we're
3318 looking for, then go to point-min.
3319
8fb8c4f3
PE
33202013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3321
3322 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3323 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3324 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3325 Expand dir too, in case it's relative.
3326
6c8e0ae6
JL
33272013-12-16 Juri Linkov <juri@jurta.org>
3328
3329 * desktop.el (desktop-auto-save-timeout): Change default to
3330 `auto-save-timeout'. Doc fix.
3331 (desktop-save): Skip the timestamp in desktop-saved-frameset
3332 when checking for auto-save changes.
3333 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3334 `desktop-auto-save' is called repeatedly by the idle timer.
3335 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3336 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3337 (Bug#15331)
3338
2178e858
JL
33392013-12-16 Juri Linkov <juri@jurta.org>
3340
3341 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3342 (Bug#16035)
3343 (isearch-pre-command-hook): Check `this-command' for symbolp.
3344
39cb42c6
SM
33452013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3348
5b9b750a
TZ
33492013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3350
3351 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3352 (cfengine3--current-function): Bring in the current-function
3353 functionality from `cfengine3--current-word'.
3354 (cfengine3-completion-function): Bring in the
3355 bounds-of-current-word functionality from
3356 `cfengine3--current-word'.
3357
d144ef06
MR
33582013-12-16 Martin Rudalics <rudalics@gmx.at>
3359
39cb42c6
SM
3360 * window.el (display-buffer-below-selected):
3361 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3362
a8bbe298
LL
33632013-12-16 Leo Liu <sdl.web@gmail.com>
3364
3365 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3366 Remove NOMSG arg and all uses changed.
3367
2013a2f9
SM
33682013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3371 (cua--deactivate-rectangle): Don't deactivate the mark.
3372 (cua-set-rectangle-mark): Don't set mark-active since
3373 cua--activate-rectangle already does it for us.
3374 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3375 non-rectangular region.
3376
3377 * emulation/cua-base.el (cua-repeat-replace-region):
3378 Use with-current-buffer.
3379
3380 * net/gnutls.el: Use cl-lib.
3381 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3382
5ae811dd
TZ
33832013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3384
3385 * emacs-lisp/package.el (package-built-in-p): Support both
3386 built-in and the package.el converted package descriptions.
3387 (package-show-package-list): Allow keywords.
3388 (package-keyword-button-action): Use it instead of
3389 `finder-list-matches'.
3390 (package-menu-filter-interactive): Interactive filtering (by
3391 keyword) function.
3392 (package-menu--generate): Support keywords and change keymappings
3393 and headers when they are given.
3394 (package--has-keyword-p): Helper function.
3395 (package-menu--refresh): Use it.
3396 (package--mapc): Helper function.
3397 (package-all-keywords): Use it.
3398 (package-menu-mode-map): Set up menu items and keybindings to
3399 provide a filtering UI.
3400
31b4827e
TZ
34012013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3402
3403 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3404 the behavior when a certificate fails validation. Defaults to
3405 old behavior: never abort, just warn.
3406 (gnutls-negotiate): Use it.
3407
f93cc74f
MR
34082013-12-14 Martin Rudalics <rudalics@gmx.at>
3409
3410 * window.el (display-buffer-below-selected): Never split window
3411 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3412
f77d7d17
TW
34132013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3414
3415 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3416 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3417
7514d3f8
SM
34182013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3419
aa2bddd7 3420 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3421 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3422
276bc333
DG
34232013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3424
3425 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3426 open-paren tokens when preceded by a open-paren, too.
3427 (ruby-smie-rules): Handle virtual indentation after open-paren
3428 tokens specially. If there is code between it and eol, return the
3429 column where is starts (Bug#16118).
3430
d43957f3
TZ
34312013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3432
a5c1ac0c 3433 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3434 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3435 (cfengine3--current-word): Fix parameters.
3436 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3437 (cfengine3-completion-function, cfengine3--current-function):
3438 Use `assq' for symbols.
d43957f3
TZ
3439 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3440
06a4f110
GM
34412013-12-13 Glenn Morris <rgm@gnu.org>
3442
3443 * loadup.el (load-path): Warn if site-load or site-init changes it.
3444 No more need to reset it when bootstrapping.
3445
978a5fda
TZ
34462013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3447
3448 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3449 locations for cf-promises.
3450 (cfengine-mode-syntax-functions-regex): New caching variable.
3451 (cfengine3-fallback-syntax): Fallback syntax for cases where
3452 cf-promises doesn't run.
3453 (cfengine3--current-word): Reimplement using
3454 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3455 (cfengine3-completion-function, cfengine3--current-function):
3456 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3457 (cfengine3-clear-syntax-cache): New function.
3458 (cfengine3-make-syntax-cache): Simplify and create
3459 `cfengine-mode-syntax-functions-regex' on demand.
3460 (cfengine3-format-function-docstring): Don't call
3461 `cfengine3-make-syntax-cache' explicitly.
3462
71e6691e
MR
34632013-12-13 Martin Rudalics <rudalics@gmx.at>
3464
3465 Fix windmove-find-other-window broken after pixelwise resizing
3466 (Bug#16017).
3467 * windmove.el (windmove-other-window-loc): Revert change from
3468 2013-12-04.
3469 (windmove-find-other-window): Call window-in-direction.
3470 * window.el (window-in-direction): New arguments SIGN, WRAP and
3471 MINI to emulate original windmove-find-other-window behavior.
3472
84c73ba0
DG
34732013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3474
3475 * simple.el (blink-matching--overlay): New variable.
3476 (blink-matching-open): Instead of moving point, highlight the
3477 matching paren with an overlay
3478 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3479
3480 * faces.el (paren-showing-faces, show-paren-match)
3481 (show-paren-mismatch): Move from paren.el.
3482
b9e20952
LL
34832013-12-13 Leo Liu <sdl.web@gmail.com>
3484
3485 * indent.el (indent-region): Disable progress reporter in
3486 minibuffer. (Bug#16108)
3487
3488 * bindings.el (visual-order-cursor-movement): Fix version.
3489
ce030451
FEG
34902013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3491
3492 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3493 Also match after beginning of line.
3494 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3495 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3496
4a9c6865
JL
34972013-12-13 Juri Linkov <juri@jurta.org>
3498
3499 * simple.el <Keypad support>: Remove key bindings duplicated
3500 with bindings.el. (Bug#14397)
3501
2bc170c3
JL
35022013-12-13 Juri Linkov <juri@jurta.org>
3503
3504 * comint.el (comint-mode-map): Replace `delete-char' with
3505 `delete-forward-char'. (Bug#16109)
3506
bc9222c9
FEG
35072013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3508
aa2bddd7 3509 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3510 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3511
cb3a1380
SM
35122013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3515 (advice--make): Pay attention to `depth'.
3516 (advice--make-1): Don't autoload commands eagerly.
3517 * emacs-lisp/elp.el (elp-instrument-function):
3518 * emacs-lisp/trace.el (trace-function-internal):
3519 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3520
3521 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3522
01633a17
EZ
35232013-12-12 Eli Zaretskii <eliz@gnu.org>
3524
3525 * term/w32-win.el (w32-handle-dropped-file):
3526 * startup.el (normal-top-level):
3527 * net/browse-url.el (browse-url-file-url):
3528 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3529 decode file names using 'utf-8' rather than
3530 file-name-coding-system.
3531
09faee72
FEG
35322013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3533
3534 * progmodes/python.el (python-indent-context)
3535 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3536 behavior for comment blocks. (Bug#15916)
09faee72 3537
f4f84024 35382013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3539
cb3a1380
SM
3540 * progmodes/python.el (python-indent-calculate-indentation):
3541 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3542 operators when they are just string constituents. (Bug#15812)
3543
d5ccb7be
JL
35442013-12-12 Juri Linkov <juri@jurta.org>
3545
3546 * uniquify.el (uniquify-buffer-name-style): Change default to
3547 `post-forward-angle-brackets'.
3548
3549 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3550 `uniquify'. Change default to `post-forward-angle-brackets'.
3551
7b3f5679
GM
35522013-12-11 Glenn Morris <rgm@gnu.org>
3553
3554 * emacs-lisp/package.el (finder-list-matches):
3555 Autoload rather than falsely declaring.
3556
f4fe8fdd
TZ
35572013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3558
3559 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3560 (eww-mode-map): Use them.
3561
3c29190f
MR
35622013-12-11 Martin Rudalics <rudalics@gmx.at>
3563
3564 * window.el (display-buffer-in-side-window): Fix doc-string
3565 (Bug#16115).
3566
0cd616a2
JB
35672013-12-11 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * vc/vc-git.el: Silence byte-compiler warnings.
3570 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3571 (log-edit-set-header): Declare.
3572
3ef8e0d1
EZ
35732013-12-11 Eli Zaretskii <eliz@gnu.org>
3574
3575 * Makefile.in (custom-deps, finder-data): Run output file names
3576 through unmsys--file-name. (Bug#16099)
3577
afdadaf7
SM
35782013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3579
7ae3ae39 3580 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3581 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3582
5b4f37ab
SM
3583 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3584 instead of deleting the selection "by hand" (bug#16098).
3585 Rely on insert-for-yank to yank rectangles.
3586 (cua-highlight-region-shift-only): Mark obsolete.
3587 (cua-mode): Don't enable/disable transient-mark-mode,
3588 shift-select-mode (cua-mode works both with and without them), and
3589 pc-selection-mode (obsolete).
3590 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3591 (cua--deactivate-rectangle): Deactivate it.
3592
4b72c12b
SM
3593 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3594 (delete-selection-helper): Make sure yank starts at the top of the
3595 deleted region.
3596 (minibuffer-keyboard-quit): Use region-active-p.
3597
e82af72d
SM
3598 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3599
afdadaf7
SM
3600 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3601 to `delete' (bug#16109).
3602
ed4bc201
RS
36032013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3604
3605 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3606 info manual and show keybindings and set `:group' keyword.
3607
bb8097b9
JL
36082013-12-11 Juri Linkov <juri@jurta.org>
3609
3610 * delsel.el (delete-active-region): Let-bind `this-command'
3611 to prevent `kill-region' from changing its original value.
3612 (delete-selection-helper): Handle `overwrite-mode' for the type
3613 `kill' exactly the same way as for the type `t'.
3614 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3615 Support more commands. (Bug#13312)
3616
c1916ff5
JL
36172013-12-11 Juri Linkov <juri@jurta.org>
3618
3619 * bindings.el: Map kp keys to non-kp keys systematically
3620 with basic modifiers control, meta and shift. (Bug#14397)
3621
7514d3f8 36222013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3623
3624 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3625 "Close browser" menu items. Fix wrong function of "List
3626 bookmarks".
3627
4cc51eaf
JL
36282013-12-11 Juri Linkov <juri@jurta.org>
3629
3630 * misearch.el (multi-isearch-buffers): Set the value of
3631 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3632 arg of isearch-forward to t.
3633 (multi-isearch-buffers-regexp): Set the value of
3634 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3635 arg of isearch-forward-regexp to t.
3636 (multi-isearch-files): Set the value of
3637 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3638 arg of isearch-forward to t.
3639 (multi-isearch-files-regexp): Set the value of
c295fc18 3640 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3641 arg of isearch-forward-regexp to t. (Bug#16035)
3642
3643 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3644 arg of isearch-forward to t.
3645 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3646 arg of isearch-forward-regexp to t.
3647 (dired-isearch-filter-filenames): Remove unnecessary check for
3648 `dired-isearch-filenames'.
3649
3650 * comint.el (comint-history-isearch-backward):
3651 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3652 (comint-history-isearch-backward-regexp):
3653 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3654
ceac12b7
EZ
36552013-12-10 Eli Zaretskii <eliz@gnu.org>
3656
3657 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3658 unmsys--file-name. (Bug#16099)
3659
5a565782
TZ
36602013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3661
cb3a1380
SM
3662 * emacs-lisp/package.el (package-keyword-button-action):
3663 Remove finder.el require dependency.
5a565782 3664
a81fc7ba
TZ
36652013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3666
3667 * emacs-lisp/package.el: Require finder.el.
3668 (describe-package-1): Add keyword buttons.
3669 (package-make-button): New convenience function.
3670 (package-keyword-button-action): Keyword button action using
e0eb0550 3671 `finder-list-matches'.
a81fc7ba 3672
6aaca951
EZ
36732013-12-09 Eli Zaretskii <eliz@gnu.org>
3674
3675 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3676 last commit.
3677
a1099a91
MA
36782013-12-09 Michael Albinus <michael.albinus@gmx.de>
3679
3680 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3681 symlinked files.
3682
8212d9c0
DG
36832013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3684
3685 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3686 after the end of a percent literal.
3687
8f48d131
CD
36882013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3689
cb3a1380
SM
3690 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3691 Handle caret-delimited strings (Bug#16079).
8f48d131 3692
ff8c9764
DG
36932013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3694
cb3a1380
SM
3695 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3696 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3697 `ruby-parse-partial' (Bug#16078).
3698
d64643b4
LL
36992013-12-09 Leo Liu <sdl.web@gmail.com>
3700
3701 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3702
47e59c66
DG
37032013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3704
3705 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3706 (js-switch-indent-offset): New option.
3707 (js--proper-indentation): Use it. And handle the case when
3708 "default" is actually a key in an object literal.
3709 (js--same-line): New function.
3710 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3711 (js--indent-in-array-comp, js--array-comp-indentation):
3712 New functions.
47e59c66
DG
3713 (js--proper-indentation): Use them, to handle array comprehension
3714 continuations.
3715
974ebc9c
LL
37162013-12-08 Leo Liu <sdl.web@gmail.com>
3717
3718 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3719 (flymake-make-overlay): Remove arg MOUSE-FACE.
3720 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3721
27262e39
SM
37222013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3725 New function.
3726 (redisplay-highlight-region-function): Use it.
3727
3728 * emulation/cua-base.el (cua--explicit-region-start)
3729 (cua--last-region-shifted): Remove.
3730 (cua--deactivate): Use deactivate-mark.
3731 (cua--pre-command-handler-1): Don't handle shift-selection.
3732 (cua--post-command-handler-1): Don't change transient-mark-mode.
3733 (cua--select-keymaps): Use region-active-p rather than
3734 cua--explicit-region-start or cua--last-region-shifted.
3735 (cua-mode): Enable shift-select-mode.
3736
6407822c
LL
37372013-12-08 Leo Liu <sdl.web@gmail.com>
3738
27262e39
SM
3739 * progmodes/flymake.el (flymake-popup-current-error-menu):
3740 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3741 (flymake-posn-at-point-as-event, flymake-popup-menu)
3742 (flymake-make-emacs-menu): Remove. (Bug#16077)
3743
00a2b823
SM
37442013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3745
02033d49
SM
3746 * rect.el (rectangle-mark-mode): Activate mark even if
3747 transient-mark-mode is off (bug#16066).
3748 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3749 is > mark and at bolp.
3750
6f8dfccf
SM
3751 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3752 (region-extract-function): Use it.
3753 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3754 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3755 Delete functions.
3756 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3757 kill-ring-save, kill-region, delete-char, delete-forward-char.
3758 Ignore self-insert-iso.
3759
3760 * emulation/cua-gmrk.el (cua--init-global-mark):
3761 Ignore `self-insert-iso'.
3762
3763 * emulation/cua-base.el (cua--prefix-copy-handler)
3764 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3765 checking cua--rectangle.
3766 (cua-delete-region): Use region-extract-function.
3767 (cua-replace-region): Delete function.
3768 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3769 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3770 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3771 (cua--init-keymaps): Don't remap delete-selection commands.
3772 (cua-mode): Use delete-selection-mode instead of rolling our own
3773 (bug#16085).
3774
3775 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3776 Obey region-extract-function.
3777
00a2b823
SM
3778 Make registers and delete-selection-mode work on rectangles.
3779 * register.el (describe-register-1): Don't modify the register's value.
3780 (copy-to-register): Obey region-extract-function.
3781 * delsel.el (delete-active-region): Obey region-extract-function.
3782
a92fa5f1
LL
37832013-12-08 Leo Liu <sdl.web@gmail.com>
3784
3785 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3786 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3787 (flymake-compilation-prevents-syntax-check)
3788 (flymake-start-syntax-check-on-newline)
3789 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3790 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3791 (flymake-xml-program, flymake-master-file-dirs)
3792 (flymake-master-file-count-limit)
3793 (flymake-allowed-file-name-masks): Relocate.
3794 (flymake-makehash, flymake-float-time)
3795 (flymake-replace-regexp-in-string, flymake-split-string)
3796 (flymake-get-temp-dir): Remove.
3797 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3798 (flymake-current-row, flymake-selected-frame)
3799 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3800 related functions. (Bug#16077)
3801
73c8ceea
BB
38022013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3803
3804 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3805
faec28d9
TH
38062013-12-07 Tassilo Horn <tsdh@gnu.org>
3807
3808 * help-fns.el (describe-function-1): Use new advice-* functions
3809 rather than old ad-* functions. Fix function type description and
3810 source links for advised functions and subrs.
3811
e330b646
LMI
38122013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3813
00a2b823 3814 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3815
4803595d
MA
38162013-12-06 Michael Albinus <michael.albinus@gmx.de>
3817
3818 * progmodes/compile.el (compilation-start):
3819 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3820
3821 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3822 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3823
fa834a93
DG
38242013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3825
00a2b823
SM
3826 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3827 Touch up the last change.
fa834a93 3828
b2856a6f
LL
38292013-12-06 Leo Liu <sdl.web@gmail.com>
3830
3831 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3832 (inferior-octave-startup): Always use "octave> " for prompt.
3833 (octave-goto-function-definition)
3834 (octave-sync-function-file-names)
3835 (octave-find-definition-default-filename): Remove redundant backquotes.
3836
af67e79a
DG
38372013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3838
3839 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3840 syntax for `?'.
3841 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3842 where appropriate already.
3843 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3844 end of method names (Bug#15874).
3845
bf093209
JL
38462013-12-06 Juri Linkov <juri@jurta.org>
3847
3848 * isearch.el (isearch--saved-overriding-local-map):
3849 New internal variable.
3850 (isearch-mode): Set it to the initial value of
3851 `overriding-terminal-local-map'.
3852 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3853 with `isearch--saved-overriding-local-map'. (Bug#16035)
3854
16588fad
DG
38552013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3856
00a2b823
SM
3857 * progmodes/octave.el (inferior-octave-completion-table):
3858 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3859 (Bug#11906). Update all references.
3860
3861 * minibuffer.el (completion-table-with-cache): New function.
3862
bf4906d7
CD
38632013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3864
3865 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3866
ff69c18f
TZ
38672013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3868
3869 * net/eww.el (eww-current-source): New variable to store page
3870 source.
3871 (eww-display-html, eww-mode, eww-save-history)
3872 (eww-restore-history): Use it.
3873 (eww-view-source): New command to view page source.
3874 Opportunistically uses `html-mode' to highlight the buffer.
3875 (eww-mode-map): Install it.
3876
b85eff45
MA
38772013-12-05 Michael Albinus <michael.albinus@gmx.de>
3878
3879 * net/dbus.el (dbus-unregister-service)
3880 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3881 Fix docstring.
3882 (dbus-unregister-service): Skip :serial entries in
3883 `dbus-registered-objects-table'.
3884 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3885
39eb0899
TZ
38862013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3887
3888 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3889 around keywords with extra `split-string' argument.
3890
456760a5
MR
38912013-12-04 Martin Rudalics <rudalics@gmx.at>
3892
3893 * windmove.el (windmove-other-window-loc): Handle navigation
3894 between windows (excluding the minibuffer window - Bug#16017).
3895
81961e4c
MA
38962013-12-04 Michael Albinus <michael.albinus@gmx.de>
3897
3898 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3899 in D-Bus type syntax.
3900 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3901 preserve unibyte strings. (Bug#16048)
3902
8497f938
SM
39032013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3906 Call force-mode-line-update is the proper buffer (bug#16042).
3907
dda61916
DG
39082013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3909
3910 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3911 `log-edit-remember-comment', make argument optional. Adjust all
3912 callers.
3913 (log-edit-mode): Add `log-edit-remember-comment' to
3914 `kill-buffer-hook' locally.
3915 (log-edit-kill-buffer): Don't remember comment explicitly since
3916 the buffer is killed anyway.
3917
c085e5b9
JL
39182013-12-04 Juri Linkov <juri@jurta.org>
3919
3920 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3921 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3922
e0eb0550 39232013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3924
3925 * notifications.el (notifications-close-notification): Call the
81961e4c 3926 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3927
39fa32d6
KY
39282013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3929
3930 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3931
9139632a
JL
39322013-12-03 Juri Linkov <juri@jurta.org>
3933
3934 * progmodes/compile.el (compilation-start): Rename window alist
3935 entry `no-display-ok' to `allow-no-window'.
3936
3937 * simple.el (shell-command): Add window alist entry
3938 `allow-no-window' to `display-buffer'.
3939 (async-shell-command): Doc fix.
3940
3941 * window.el (display-buffer-no-window): New action function.
3942 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3943
0f457a37
DG
39442013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3945
3946 * vc/log-edit.el (log-edit-set-header): Extract from
3947 `log-edit-toggle-header'.
3948 (log-edit-extract-headers): Separate the summary, when extracted
3949 from header, from the rest of the message with an empty line.
3950
3951 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3952 line, if present, to the Summary header.
3953
0962f376
SM
39542013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3955
3956 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3957 in current-buffer (bug#16029).
3958
f345395c
HE
39592013-12-02 Helmut Eller <eller.helmut@gmail.com>
3960
3961 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3962 (debugger-mode-map): Bind it.
3963 (debugger--backtrace-base): New function.
3964 (debugger-eval-expression): Use it.
3965 (debugger-frame-number): Skip local vars when present.
3966 (debugger--locals-visible-p, debugger--insert-locals)
3967 (debugger--show-locals, debugger--hide-locals): New functions.
3968
a8a15d9d
MA
39692013-12-02 Michael Albinus <michael.albinus@gmx.de>
3970
3971 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3972 "LC_ALL".
3973 (tramp-get-remote-locale): New defun.
3974 (tramp-open-connection-setup-interactive-shell): Use it.
3975
0518b057
LL
39762013-12-02 Leo Liu <sdl.web@gmail.com>
3977
3978 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3979
3980 * progmodes/sh-script.el (sh-shell-process):
3981 * progmodes/octave.el (inferior-octave-process-live-p):
3982 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3983 (gdb-inferior-io-sentinel):
3984 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3985
3adc9c6d
DG
39862013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3987
3988 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3989 `save-selected-window' to `log-edit-hide-buf'. This makes
3990 `log-edit-show-files' idempotent.
3991 (log-edit-show-files): Mark the new window as dedicated.
3992
47e8b74e
DG
39932013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3994
3995 * vc/log-edit.el (log-edit-mode-map): Add binding for
3996 `log-edit-kill-biffer'.
3997 (log-edit-hide-buf): Add a FIXME comment.
3998 (log-edit-add-new-comment): New function, extracted from
3999 `log-edit-done'.
4000 (log-edit-done, log-edit-add-to-changelog): Use it.
4001 (log-edit-kill-buffer): New command.
4002
1f6e1bb0
LMI
40032013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4004
4005 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4006 instead of killing the buffer.
4007
fb651d15
SM
40082013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4011
8feacce0
RS
40122013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4013
fb651d15 4014 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 4015 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4016 (eww-form-checkbox, eww-toggle-checkbox):
4017 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4018
e0eb0550 4019 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4020 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4021 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4022 no :src tag was specified.
4023
fb651d15 4024 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4025 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4026 Use \\` to match beginning of string instead of ^.
4027 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 4028 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 4029
177948a5
RS
4030 * net/shr.el (shr-tag-video): Display content for video if no
4031 poster is available.
eb2dd24d 4032 (shr-tag-audio): Add support for <audio> tag.
177948a5 4033
e0eb0550 4034 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
4035 (eww-process-text-input): Treat input types in
4036 `eww-text-input-types' as text.
4037
8feacce0
RS
4038 * net/shr.el (shr-tag-table): Fix comment typo.
4039
513562a1
LMI
40402013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4041
4042 * net/eww.el (eww-follow-link): New command to avoid reloading
4043 pages when we follow #target links (bug#15243).
de8a5633 4044 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 4045
9dd99753
KN
40462013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4047
4048 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4049 forms.
4050
3e9876de
LMI
40512013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4052
4053 * net/eww.el (eww-restore-history): Update the window title after
4054 moving in the history.
ab6dea82 4055 (eww-current-dom): New variable used to save the current DOM.
3e9876de 4056
52789f7f
DG
40572013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4058
4059 * vc/log-edit.el (log-edit-mode-map): Add binding for
4060 `log-edit-beginning-of-line'.
4061 (log-edit-setup-add-author): New user option.
4062 (log-edit-beginning-of-line): New command.
4063 (log-edit): Move major mode call above the contents setup so that
4064 the local variable values are already applied.
4065 (log-edit): Only insert "Author: " when
4066 `log-edit-setup-add-author' is non-nil.
4067 (log-edit): When SETUP is non-nil, position point after ": "
4068 instead of point-min.
4069
2e6710c3
GM
40702013-12-01 Glenn Morris <rgm@gnu.org>
4071
4072 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4073
fadec31f
EZ
40742013-11-30 Eli Zaretskii <eliz@gnu.org>
4075
4076 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 4077 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
4078 visible. (Bug#16014)
4079
10634b40 40802013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
4081
4082 Support resizing frames and windows pixelwise.
4083 * cus-start.el (frame-resize-pixelwise)
4084 (window-resize-pixelwise): New entries.
4085 * emacs-lisp/debug.el (debug): Use window-total-height instead
4086 of window-total-size.
4087 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
4088 * help.el (describe-bindings-internal): Use help-buffer as
4089 argument for with-help-window.
880e6158
MR
4090 (temp-buffer-max-width): New option.
4091 (resize-temp-buffer-window, help-window-setup)
4092 (with-help-window): Rewrite.
4093 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4094 dragging dividers.
4095 * window.el (frame-char-size, window-min-pixel-height)
4096 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4097 (window-min-pixel-width, window-safe-min-pixel-size)
4098 (window-combination-p, window-safe-min-size)
4099 (window-resizable-p, window--size-to-pixel)
4100 (window--pixel-to-size, window--resize-apply-p): New functions.
4101 (window-safe-min-height): Fix doc-string.
4102 (window-size, window-min-size, window--min-size-1)
4103 (window-sizable, window-sizable-p, window--min-delta-1)
4104 (window-min-delta, window--max-delta-1, window-max-delta)
4105 (window--resizable, window--resizable-p, window-resizable)
4106 (window-full-height-p, window-full-width-p, window-at-side-p)
4107 (window--in-direction-2, window-in-direction)
4108 (window--resize-reset-1, window--resize-mini-window)
4109 (window-resize, window-resize-no-error)
4110 (window--resize-child-windows-normal)
4111 (window--resize-child-windows, window--resize-siblings)
4112 (window--resize-this-window, window--resize-root-window)
4113 (window--resize-root-window-vertically)
4114 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4115 (maximize-window, minimize-window, delete-window)
4116 (quit-restore-window, window-split-min-size, split-window)
4117 (balance-windows-2, balance-windows)
4118 (balance-windows-area-adjust, balance-windows-area)
4119 (window--state-get-1, window-state-get, window--state-put-1)
4120 (window--state-put-2, window-state-put)
fb651d15
SM
4121 (display-buffer-record-window, window--display-buffer):
4122 Make functions handle pixelwise sizing of windows.
880e6158 4123 (display-buffer--action-function-custom-type)
fb651d15
SM
4124 (display-buffer-fallback-action):
4125 Add display-buffer-in-previous-window.
880e6158
MR
4126 (display-buffer-use-some-window): Resize window to height it had
4127 before.
4128 (fit-window-to-buffer-horizontally): New option.
4129 (fit-frame-to-buffer): Describe new values.
4130 (fit-frame-to-buffer-bottom-margin): Replace with
4131 fit-frame-to-buffer-margins.
4132 (window--sanitize-margin): New function.
4133 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4134 using window-text-pixel-size.
4135
f9b697dd
GM
41362013-11-30 Glenn Morris <rgm@gnu.org>
4137
3e2fb4db
GM
4138 * emacs-lisp/bytecomp.el (byte-compile-form):
4139 Make the `interactive-only' warning like the `obsolete' one.
4140 * comint.el (comint-run):
4141 * files.el (insert-file-literally, insert-file):
4142 * replace.el (replace-string, replace-regexp):
4143 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4144 (goto-line, insert-buffer, next-line, previous-line):
4145 Tweak `interactive-only' spec.
4146
f9b697dd
GM
4147 Stop keeping (most) generated cedet grammar files in the repository.
4148 * Makefile.in (semantic): New.
4149 (compile-main): Depend on semantic.
4150
da048127
SM
41512013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4152
7784b779
SM
4153 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4154 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4155
4e36a6a6
SM
4156 * uniquify.el (uniquify-buffer-name-style): Change default.
4157
4158 * loadup.el: Preload "uniquify".
4159
e0ba1308
SM
4160 * time.el (display-time-update): Update all mode lines (bug#15999).
4161
da048127
SM
4162 * electric.el (electric-indent-mode): Enable by default.
4163 * loadup.el: Preload "electric".
4164
015b3b3e
BB
41652013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4166
4167 * emacs-lisp/helpers.el (string-empty-p): New function.
4168 (string-blank-p): New function.
4169
7efb806d
AP
41702013-11-29 Andreas Politz <politza@hochschule-trier.de>
4171
4172 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4173 (Bug#14029).
4174
c8f0efc2
AP
41752013-11-29 Andreas Politz <politza@fh-trier.de>
4176 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4177 allow non-lambda lists as functions.
4178 (imenu--in-alist): Don't recurse into non-subalists.
4179 (imenu): Don't pass function itself as an argument (Bug#14029).
4180
bd15d9d1
SM
41812013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * progmodes/python.el (python-mode-map): Remove binding for ":".
4184 (python-indent-electric-colon): Remove command.
4185 (python-indent-post-self-insert-function): Integrate the previous code
4186 of python-indent-electric-colon. Make it conditional on
4187 electric-indent-mode.
4188 (python-mode): Add ?: to electric-indent-chars.
4189 Move python-indent-post-self-insert-function to the end of
4190 post-self-insert-hook.
4191
1b10adb6
SM
41922013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4193
655ab9a3
SM
4194 * doc-view.el (doc-view-goto-page): Update mode-line.
4195
1b10adb6
SM
4196 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4197
7e3bf78c
GM
41982013-11-27 Glenn Morris <rgm@gnu.org>
4199
4200 * international/charprop.el, international/uni-bidi.el:
4201 * international/uni-category.el, international/uni-combining.el:
4202 * international/uni-comment.el, international/uni-decimal.el:
4203 * international/uni-decomposition.el, international/uni-digit.el:
4204 * international/uni-lowercase.el, international/uni-mirrored.el:
4205 * international/uni-name.el, international/uni-numeric.el:
4206 * international/uni-old-name.el, international/uni-titlecase.el:
4207 * international/uni-uppercase.el:
4208 Remove generated files from VCS repository.
4209
fb6a5d68
EZ
42102013-11-27 Eli Zaretskii <eliz@gnu.org>
4211
4212 * filenotify.el (file-notify-add-watch): Don't special-case
4213 w32notify when computing the directory to watch.
4214
cb6c95a3
GM
42152013-11-27 Glenn Morris <rgm@gnu.org>
4216
20372d0c
GM
4217 Make bootstrap without generated uni-*.el files possible again.
4218 * loadup.el: Update command-line-args checking for unidata-gen.
4219 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4220 * composite.el, international/characters.el:
4221 Handle unicode tables being undefined.
4222
52d6635f 4223 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4224 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4225 (compile-main): Depend on leim rule.
4226 (leim): New rule.
4227 * loadup.el: Move leim-list.el to leim/ subdirectory.
4228 * startup.el (normal-top-level): No more leim directory.
4229 * international/ja-dic-cnv.el (skkdic-convert):
4230 Disable version-control and autoloads in output files.
4231 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4232 Disable version-control and autoloads in output files.
4233 * leim/quail: Move here from ../leim.
4234 * leim/quail/hangul.el (hangul-input-method-activate):
4235 Add autoload cookie.
4236 (generated-autoload-load-name): Set file-local value.
4237 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4238 (generated-autoload-load-name): Set file-local value.
4239
7514d3f8 42402013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4241
e0eb0550 4242 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4243 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4244 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4245
0e2c793f
EZ
42462013-11-26 Eli Zaretskii <eliz@gnu.org>
4247
4248 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4249 reading output from Diff on MS-Windows and MS-DOS.
4250
447bdcb8
BB
42512013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4252
4253 * emacs-lisp/helpers.el (string-reverse): New function.
4254
5fbf6856
MA
42552013-11-26 Michael Albinus <michael.albinus@gmx.de>
4256
4257 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4258 names on MS Windows, like "/[::1]:".
4259
4260 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4261 SWITCHES.
4262
624780f0
GM
42632013-11-26 Glenn Morris <rgm@gnu.org>
4264
0bf3f0fa
GM
4265 * progmodes/python.el (python-indent-guess-indent-offset):
4266 Avoid corner-case error. (Bug#15975)
4267
624780f0
GM
4268 Preload leim-list.el. (Bug#4789)
4269 * loadup.el: Load leim-list.el when found.
4270 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4271
4301875e 42722013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4273
4274 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4275
4301875e
BB
4276 * emacs-lisp/helpers.el (string-join): New function.
4277
1633a815 42782013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4279
4280 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4281 Mark as obsolete and replace it with a symbol property.
4282 (byte-compile-form): Use new 'interactive-only property.
4283 * comint.el, files.el, replace.el, simple.el:
4284 Apply new 'interactive-only properly.
4285
00139435
MR
42862013-11-25 Martin Rudalics <rudalics@gmx.at>
4287
4288 * window.el (display-buffer-at-bottom): Make sure that
4289 split-window-sensibly creates the new window on bottom
4290 (Bug#15961).
4291
5f5b128d
DK
42922013-11-23 David Kastrup <dak@gnu.org>
4293
4294 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4295 on the conflict markers when available.
4296 (smerge--get-marker): New function.
4297 (smerge-end-re, smerge-base-re): Add subgroup.
4298
623891e5
SM
42992013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * frame.el (handle-focus-in, handle-focus-out): Add missing
4302 interactive spec.
4303
05ca27d8
MA
43042013-11-25 Michael Albinus <michael.albinus@gmx.de>
4305
4306 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4307 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4308
511fa0d3
SM
43092013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4310
e82ad66c
SM
4311 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4312 (gomoku--last-pos): New var.
4313 (gomoku--intangible-chars): New const.
4314 (gomoku--intangible): New function.
4315 (gomoku-mode): Use it. Derive from special-mode.
4316 (gomoku-move-up): Adjust line count.
4317 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4318 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4319 Simplify accordingly.
4320
511fa0d3
SM
4321 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4322 Remove blink-cursor code.
4323 (blink-cursor-timer-function, blink-cursor-suspend):
4324 Don't special-case GUIs.
4325 (blink-cursor-mode): Use focus-in/out-hook.
4326
6f20dd03
DG
43272013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4328
4329 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4330 work when annotation is invisible (Bug#13886).
4331
431dec31 43322013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4333
4334 * json.el (json-alist-p): Only return non-nil if the alist has
4335 simple keys (Bug#13518).
4336
431dec31 43372013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4338
4339 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4340 when control-statement is the first statement in a buffer (Bug#15956).
4341
ee4f0261
DG
43422013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4343
4344 * imenu.el (imenu-generic-skip-comments-and-strings):
4345 New option (Bug#15560).
4346 (imenu--generic-function): Use it.
4347
c484f866
JS
43482013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4349
e9dc713d
JB
4350 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4351 (Bug#13898)
c484f866 4352
41ce6f70
BB
43532013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4354
b55aea38
BB
4355 * emacs-lisp/helpers.el: Add some string helpers.
4356 (string-trim-left): Removes leading whitespace.
4357 (string-trim-right): Removes trailing whitespace.
4358 (string-trim): Removes leading and trailing whitespace.
4359
41ce6f70
BB
4360 * subr.el (string-suffix-p): New function.
4361
3cfb6af3
GM
43622013-11-23 Glenn Morris <rgm@gnu.org>
4363
4364 * progmodes/python.el (python-shell-send-file):
4365 Add option to delete file when done. (Bug#15647)
4366 (python-shell-send-string, python-shell-send-region): Use it.
4367
c27924b7
IS
43682013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4369
e1b01c7f
IS
4370 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4371 to set buffer-read-only to t, never to nil. (Bug#15938)
4372
c27924b7
IS
4373 * textmodes/tex-mode.el (latex-noindent-environments):
4374 Add safe-local-variable property. (Bug#15936)
4375
17e0445b
GM
43762013-11-23 Glenn Morris <rgm@gnu.org>
4377
92f78ea3
GM
4378 * textmodes/enriched.el (enriched-mode): Doc fix.
4379 * emacs-lisp/authors.el (authors-renamed-files-alist):
4380 Add enriched.doc -> enriched.txt.
4381
17e0445b
GM
4382 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4383
965bb23a
LL
43842013-11-22 Leo Liu <sdl.web@gmail.com>
4385
4386 * progmodes/octave.el (inferior-octave-startup): Spit out error
4387 message.
4388
d19ffd64
BB
43892013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4390
4391 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4392 Improve docstring.
15ba2182
BB
4393 Add :version.
4394 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4395
7a7567d2
LL
43962013-11-22 Leo Liu <sdl.web@gmail.com>
4397
4398 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4399 (Bug#15076)
8c09f64b
LL
4400 (octave-help-mode): Adapt to change to help-mode-finish to use
4401 derived-mode-p on 2013-09-17.
4402 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4403 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4404
724bc265
LL
44052013-11-22 Leo Liu <sdl.web@gmail.com>
4406
4407 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4408 (inferior-octave-startup, inferior-octave-check-process)
4409 (inferior-octave-track-window-width-change)
4410 (octave-completion-at-point, octave-eldoc-function): Use it.
4411 (octave-kill-process): Provide confirmation. (Bug#10564)
4412
38637cca
LL
44132013-11-21 Leo Liu <sdl.web@gmail.com>
4414
511fa0d3
SM
4415 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4416 Fix obsolete variable comment-use-global-state.
38637cca 4417
06e752b4
RS
44182013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4419
511fa0d3
SM
4420 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4421 Add `octave-source-file'.
06e752b4
RS
4422 (octave-source-file): New function. (Bug#15935)
4423
7514d3f8 44242013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4425
4426 * net/eww.el (eww-local-regex): New variable.
4427 (eww): Use it to detect localhost and similar.
4428
b6ffa04a
LL
44292013-11-21 Leo Liu <sdl.web@gmail.com>
4430
4431 Add completion for command `ag'.
2021a200
LL
4432 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4433 (pcomplete/ag): New function.
e9dc713d 4434 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4435
d1a6bccc
SM
44362013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4439 (bug#14646).
4440 (make-obsolete): Remove interactive spec.
4441
2df10228
GM
44422013-11-21 Glenn Morris <rgm@gnu.org>
4443
4444 * startup.el (command-line-1): Use path-separator with -L.
4445
86fd16b6
TZ
44462013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4447
4448 * emacs-lisp/package.el (describe-package-1): Add package archive
4449 to shown fields.
4450
0449d6cd 44512013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4452
4453 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4454 Change default to "# encoding: %s" to differentiate it from the
4455 default Ruby encoding comment template.
4456
dc7e8c17 44572013-11-20 era eriksson <era+emacsbugs@iki.fi>
4458
4459 * ses.el (ses-mode): Doc fix. (Bug#14748)
4460
f0cfa5fe
LL
44612013-11-20 Leo Liu <sdl.web@gmail.com>
4462
4463 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4464
826dc7b6
DN
44652013-11-19 Dan Nicolaescu <dann@gnu.org>
4466
4467 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4468 when rebase or bisect are in progress.
4469
a6e3a5d5
XF
44702013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4471
4472 * filenotify.el (file-notify-add-watch): Doc fix.
4473
f130cb76
LL
44742013-11-19 Leo Liu <sdl.web@gmail.com>
4475
e0855d7d
LL
4476 * obsolete/rcompile.el: Mark obsolete.
4477
f130cb76 4478 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4479 (compilation-goto-locus, compilation-find-file):
4480 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4481 (Bug#13594)
4482
4483 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4484 new parameter no-display-ok. Return either a window or nil
4485 but never a non-window value.
f130cb76 4486
1f35d401
SM
44872013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4488
25158c76
SM
4489 * electric.el (electric-indent-mode-map): Remove.
4490 (electric-indent-mode): Change the global-map instead (bug#15915).
4491
4492 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4493 Use add-function.
1f35d401 4494
9bc67baa
SM
44952013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4496
986545b5
SM
4497 * emacs-lisp/nadvice.el (remove-function): Align with
4498 add-function's behavior.
4499
9bc67baa
SM
4500 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4501 (gdb--string-regexp): New constant.
4502 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4503 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4504 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4505 submatch 1.
4506 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4507 Adjust use accordingly.
4508 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4509
56cd894e
AS
45102013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4511
4512 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4513 interpolation curlies (Bug#15914).
4514
014690de
JB
45152013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4516
4517 * calc/calc.el (calc-context-sensitive-enter): New variable.
4518 (calc-enter): Use `calc-context-sensitive-enter'.
4519
7e26a6c3
TZ
45202013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4521
4522 * progmodes/cfengine.el: Version bump.
4523 (cfengine-cf-promises): New defcustom to locate cf-promises.
4524 (cfengine3-vartypes): Add new "data" type.
4525 (cfengine3--current-word): New function to get current name-like
4526 word or its bounds.
4527 (cfengine3--current-function): New function to look up a CFEngine
4528 function's definition.
4529 (cfengine3-format-function-docstring): New function.
4530 (cfengine3-make-syntax-cache): New function.
4531 (cfengine3-documentation-function): New function: ElDoc glue.
4532 (cfengine3-completion-function): New function: completion glue.
4533 (cfengine3-mode): Set `compile-command',
4534 `eldoc-documentation-function', and add to
4535 `completion-at-point-functions'.
4536
355204dd
MA
45372013-11-16 Michael Albinus <michael.albinus@gmx.de>
4538
4539 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4540 `tramp-current-connection'.
4541
43cebc23
DG
45422013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4543
4544 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4545 nil/self/true/false with "end of symbol".
4546
a3fed6ff
BB
45472013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4548
4549 * subr.el (version-regexp-alist): Fix a typo.
4550
e675b3e4
MA
45512013-11-15 Michael Albinus <michael.albinus@gmx.de>
4552
4553 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4554 "en_US.utf8" and "LC_CTYPE" to "".
4555 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4556 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4557
a1f03e89
LL
45582013-11-15 Leo Liu <sdl.web@gmail.com>
4559
4560 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4561
5d9d9451
SM
45622013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4563
58362662
CS
4564 * progmodes/gud.el (ctl-x-map):
4565 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4566 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4567
6c1bf086
BB
45682013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4569
0d5363c4
BB
4570 * subr.el (version-regexp-alist):
4571 Recognize hg, svn and darcs versions as snapshot versions.
4572
4e9fc48c
BB
4573 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4574 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4575 (ruby--encoding-comment-required-p): Extract from
4576 `ruby-mode-set-encoding'.
4577 (ruby-mode-set-encoding): Add the ability to always insert an
4578 utf-8 encoding comment. Fix and simplify coding comment update
4579 logic.
6c1bf086 4580
2f7e72f8
MA
45812013-11-14 Michael Albinus <michael.albinus@gmx.de>
4582
4583 * net/tramp-gvfs.el (top): Run init code only when
4584 `tramp-gvfs-enabled' is not nil.
4585 (tramp-gvfs-enabled): Check also :system bus.
4586
0f137a73
SM
45872013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 Sync with upstream verilog-mode revision 78e66ba.
4590 * progmodes/verilog-mode.el (verilog-end-of-defun)
4591 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4592 (verilog-get-end-of-defun): Remove unused argument.
4593 (verilog-comment-depth): Remove unused local `e'.
4594 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4595 Don't pass arg to verilog-get-end-of-defun.
4596
1c276bdd
GM
45972013-11-14 Glenn Morris <rgm@gnu.org>
4598
4599 * obsolete/assoc.el (aget): Prefix dynamic variable.
4600
4601 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4602
ff6ec81d
SM
46032013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4604
4605 * widget.el, hfy-cmap.el: Remove bogus package version number.
4606
75f777b6
GM
46072013-11-13 Glenn Morris <rgm@gnu.org>
4608
1d43dba1
GM
4609 * replace.el (replace-eval-replacement):
4610 Try to give more helpful error message. (Bug#15836)
4611
ff4b7bd5
GM
4612 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4613 (archive-7z-update): Avoid custom type mismatches.
4614
75f777b6
GM
4615 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4616
11151a06
MA
46172013-11-13 Michael Albinus <michael.albinus@gmx.de>
4618
e675b3e4 4619 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4620 address can be empty.
4621
4622 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4623 Accept nil SWITCHES.
4624 (tramp-gvfs-handle-write-region): Implement APPEND.
4625
7b08f97e
DG
46262013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4627
4628 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4629 binary "|" operator and closing block args delimiter.
4630 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4631 (ruby-smie--implicit-semi-p): Not after "|" operator.
4632 (ruby-smie--closing-pipe-p): New function.
4633 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4634 (ruby-smie-rules): Indent after "|".
4635
f201cf3a
GM
46362013-11-12 Glenn Morris <rgm@gnu.org>
4637
4638 * ps-print.el (ps-face-attribute-list):
4639 Handle anonymous faces. (Bug#15827)
4640
e6f759f9
MR
46412013-11-12 Martin Rudalics <rudalics@gmx.at>
4642
4643 * window.el (display-buffer-other-frame): Fix doc-string.
4644 (Bug#15868)
4645
ecda65d4
SM
46462013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4649
7ce8fcc3
MA
46502013-11-11 Michael Albinus <michael.albinus@gmx.de>
4651
4652 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4653 (tramp-sh-handle-file-local-copy): Don't write a message when
4654 saving temporary files.
4655
4656 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4657 both directories are remote.
4658 (tramp-smb-handle-directory-files): Do not return double entries.
4659 Do not expand full file names.
4660 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4661 (tramp-smb-handle-write-region): Implement APPEND.
4662 (tramp-smb-get-stat-capability): Fix a stupid bug.
4663
7818df11
SM
46642013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4667
608c2085
NT
46682013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4669
4670 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4671 throwing error over malformed let/let* (bug#15814).
4672
122a7e46
SM
46732013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4674
4675 * iswitchb.el (iswitchb-mode): Mark obsolete.
4676
766284d9
GM
46772013-11-11 Glenn Morris <rgm@gnu.org>
4678
4679 * international/uni-bidi.el, international/uni-category.el:
4680 * international/uni-name.el, international/uni-numeric.el:
4681 Regenerate for Unicode 6.3.0.
4682
7072a4e9
MA
46832013-11-10 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * net/tramp.el (tramp-methods):
4686 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4687 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4688
c9df215b
AS
46892013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4690
608c2085
NT
4691 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4692 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4693
fa47d796
DG
46942013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4695
4696 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4697 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4698 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4699 (ispell-complete-word): Call `ispell-lookup-words' with the value
4700 independent of `ispell-look-p'.
4701
1629a329
DG
47022013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4703
4704 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4705 Not after "||".
4706 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4707 their parent.
4708
ad16897c
SM
47092013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4712 (ruby-font-lock-keywords): Use backquote.
4713
ffa2df72
DG
47142013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4715
4716 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4717 (ruby-smie--backward-token): Only consider full-string matches.
4718
5b97b4c0
JD
47192013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4720
4721 * faces.el (describe-face): Add distant-foreground.
4722
71731c03
BB
47232013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4724
4e9fc48c
BB
4725 * progmodes/ruby-mode.el: Improve encoding comment handling.
4726 (ruby-encoding-magic-comment-style): New option.
4727 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4728 (ruby--insert-coding-comment, ruby--detect-encoding):
4729 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4730 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4731 to control the style of the auto-inserted encoding comment.
71731c03 4732
da3b328d
DG
47332013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4734
ad16897c
SM
4735 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4736 Use `smie-backward-sexp' with token argument.
da3b328d 4737
1606c2d3
MA
47382013-11-08 Michael Albinus <michael.albinus@gmx.de>
4739
4740 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4741 Remove instrumentation code.
4742
b0f4c320
GM
47432013-11-08 Glenn Morris <rgm@gnu.org>
4744
4745 * progmodes/autoconf.el (autoconf-mode):
4746 Tweak comment-start-skip. (Bug#15822)
4747
43668fb1
SM
47482013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4749
4750 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4751 at bobp (bug#15826).
4752 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4753
daddb3fd
DH
47542013-11-08 Darren Hoo <darren.hoo@gmail.com>
4755
4756 * man.el (Man-start-calling): New macro, extracted from
4757 Man-getpage-in-background.
4758 (Man-getpage-in-background): Use it.
4759 (Man-update-manpage): New command.
4760 (Man-mode-map): Bind it.
4761
1f923923
DG
47622013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4763
4764 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4765 of "and", "or", "&&" and "||".
4766 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4767 argument. Prohibit opening curly brace because it could only be a
4768 block opener in that position.
daddb3fd
DH
4769 (ruby-smie--forward-token, ruby-smie--backward-token):
4770 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4771 arguments.
4772 (ruby-smie--indent-to-stmt): New function, seeks the end of
4773 previous statement or beginning of buffer.
4774 (ruby-smie-rules): Use it.
4775 (ruby-smie-rules): Check if there's a ":" before a curly block
4776 opener candidate; if there is, it's a hash.
4777
3220d527
SM
47782013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4781 (cl--block-wrapper): Fix last accidental change.
4782
1eb1f9e0
MA
47832013-11-07 Michael Albinus <michael.albinus@gmx.de>
4784
4785 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4786 Instrument, in order to hunt failure on hydra.
4787
e6e4db3c
NT
47882013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4789
4790 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4791 malformed bindings form (bug#15814).
4792
b420ccfc
DG
47932013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4794
4795 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4796 "." compared to " @ ". This incidentally fixes some indentation
4797 examples with "do".
e6e4db3c 4798 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4799 (ruby-smie-grammar): New tokens: "and" and "or".
4800 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4801 Exclude "and" and "or". Remove "do" in order to work around token
4802 priorities.
4803 (ruby-smie-rules): Add all infix tokens. Handle the case of
4804 beginning-of-buffer.
b420ccfc 4805
6b4ac03e
GM
48062013-11-06 Glenn Morris <rgm@gnu.org>
4807
4808 * Makefile.in (setwins_almost, setwins_for_subdirs):
4809 Avoid accidental matches.
4810
5ca114d1
SM
48112013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * menu-bar.el (popup-menu): Use key-binding.
4814
f72552bd
EZ
48152013-11-06 Eli Zaretskii <eliz@gnu.org>
4816
4817 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4818 menus, support also the menus produced by minor modes.
4819 (Bug#15817)
4820
5d5c701e
LL
48212013-11-06 Leo Liu <sdl.web@gmail.com>
4822
4823 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4824 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4825
0a8b75e2
GM
48262013-11-06 Glenn Morris <rgm@gnu.org>
4827
4828 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4829 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4830 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4831
a35287ea
SM
48322013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4833
feca4e2d
SM
4834 * electric.el (electric-indent-just-newline): New command.
4835 (electric-indent-mode-map): New keymap.
4836 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4837 Re-add :group which weren't redundant.
4838
a35287ea
SM
4839 * electric.el (electric-indent-local-mode): New minor mode.
4840 (electric-indent-functions-without-reindent): New var.
4841 (electric-indent-post-self-insert-function): Use it.
4842 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4843
375761b2
EZ
48442013-11-05 Eli Zaretskii <eliz@gnu.org>
4845
9a6ad735
EZ
4846 * international/quail.el (quail-help): Be more explicit about the
4847 meaning of the labels shown on the keys. (Bug#15800)
4848
375761b2
EZ
4849 * startup.el (normal-top-level): Load the subdirs.el files before
4850 setting the locale environment. (Bug#15805)
4851
520a6e4a
SM
48522013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4853
0acfafef
SM
4854 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4855 via arguments so as to get the right ones (bug#15418).
4856
520a6e4a
SM
4857 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4858
15826261
MA
48592013-11-05 Michael Albinus <michael.albinus@gmx.de>
4860
4861 Fix problems found while writing a test suite.
4862
4863 * net/tramp-compat.el (tramp-compat-load): New defun.
4864 * net/tramp.el (tramp-handle-load): Use it.
4865
4866 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4867 "(numberp ok-if-already-exists)" correctly.
4868
d35f31a4
XF
48692013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4870
4871 * international/characters.el (glyphless-char-display-control):
4872 Add usage note.
4873
ae93bc74
BB
48742013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4875
520a6e4a
SM
4876 * progmodes/python.el (python-mode):
4877 * progmodes/scheme.el (scheme-mode):
4878 * progmodes/prolog.el (prolog-mode):
4879 * progmodes/ruby-mode.el (ruby-mode):
4880 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4881 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4882
0ade65b5
SM
48832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4884
a0d5f7a4
SM
4885 * rect.el (rectangle--highlight-for-redisplay):
4886 * emacs-lisp/smie.el (smie--next-indent-change):
4887 Use buffer-chars-modified-tick.
4888
c93f3f5c
SM
4889 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4890
0ade65b5
SM
4891 * electric.el (electric-indent-post-self-insert-function):
4892 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4893
ef9dd188
HE
48942013-11-04 Helmut Eller <eller.helmut@gmail.com>
4895
4896 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4897
306e7308
NT
48982013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4899
4900 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4901 (bug#15786).
4902
e5afbcac
SM
49032013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4904
1d01ad41
SM
4905 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4906
e5afbcac
SM
4907 * progmodes/python.el: Fix up last change.
4908 (python-shell--save-temp-file): New function.
4909 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4910 `string' comes from the current buffer.
4911 (python-shell-send-string-no-output): Remove `msg' arg.
4912 (python--use-fake-loc): New var.
4913 (python-shell-buffer-substring): Obey it. Try to compensate for the
4914 extra coding line added by python-shell--save-temp-file.
4915 (python-shell-send-region): Use python-shell--save-temp-file and
4916 python-shell-send-file directly. Add `nomain' argument.
4917 (python-shell-send-buffer): Use python-shell-send-region.
4918 (python-electric-pair-string-delimiter): New function.
4919 (python-mode): Use it.
4920
d0065ff1
EZ
49212013-11-04 Eli Zaretskii <eliz@gnu.org>
4922
4923 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4924 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4925 environment and decoding all of the default-directory's to here
4926 from command-line.
4927 (command-line): Decode also argv[0].
4928
4929 * loadup.el: Error out if default-directory is a multibyte string
4930 when we are dumping.
4931
4932 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4933
7397c587
TZ
49342013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4935
4936 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4937 (package-menu--print-info, package-menu--archive-predicate):
4938 Add Archive column to package list.
7397c587 4939
b27cc9fc
MA
49402013-11-04 Michael Albinus <michael.albinus@gmx.de>
4941
4942 Fix problems found while writing a test suite.
4943
4944 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4945 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4946 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4947 to nil when running original file name handler. Otherwise,
4948 there are problems with constructs like "$$FOO".
4949
4950 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4951 for `localname'.
4952
d8c4f18a
BB
49532013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4954
7b530552
BB
4955 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4956
4957 * subr.el (version<, version<=, version=):
4958 Update docstrings with information for snapshot versions.
4959
d8c4f18a
BB
4960 * helpers.el: New library for misc helper functions.
4961 (hash-table-keys): New function returning a list of hash keys.
4962 (hash-table-values): New function returning a list of hash values.
4963
dca01b09
DG
49642013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4965
4966 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4967 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4968
0a749fa0
MN
49692013-11-04 Michal Nazarewicz <mina86@mina86.com>
4970
4971 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4972 checking whether point is after a 1-letter word.
4973
49742013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4975
4976 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4977 Don't infloop when expanding region over `multiline' syntax-type that
4978 begins a line (bug#15778).
4979
4aca7145
SM
49802013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4983 Make it into a proper minor mode.
4984 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4985 (rectangle-mark-mode-map): New keymap.
4986 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4987
a0833f62
GM
49882013-11-04 Glenn Morris <rgm@gnu.org>
4989
4990 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4991
e61845c1
SM
49922013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4995 (ruby-smie-rules): Use smie-rule-parent instead.
4996
4997 * emacs-lisp/smie.el (smie-rule-parent): Always call
4998 smie-indent-virtual rather than only for hanging tokens.
4999 (smie--next-indent-change): New helper command.
5000
62942f89
GM
50012013-11-03 Glenn Morris <rgm@gnu.org>
5002
5003 * Makefile.in (abs_srcdir): Remove.
5004 (emacs): Unset EMACSLOADPATH.
5005
b0b9e592
GM
50062013-11-02 Glenn Morris <rgm@gnu.org>
5007
18ba6a33 5008 * Makefile.in (EMACS): Use a relative filename.
8061810d 5009 (abs_top_builddir): Remove.
18ba6a33
GM
5010 (custom-deps, finder-data, autoloads): Use --chdir.
5011
6a8b929e
GM
5012 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5013
c617f3d0
GM
5014 Use relative filenames in TAGS files.
5015 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5016 (lisptagsfiles4, TAGS): Use relative file names.
5017 (TAGS-LISP): Remove.
5018 (maintainer-clean): No more TAGS-LISP file.
5019
b0b9e592
GM
5020 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5021 (lisptagsfiles4): Use absolute filenames again.
5022 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5023 Remove all *loaddefs files, not just the first. Remove esh-groups.
5024 (maintainer-clean): Delete TAGS, TAGS-LISP.
5025
d1c0ea6a
BB
50262013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5027
e61845c1
SM
5028 * emacs-lisp/package.el (package-version-join):
5029 Recognize snapshot versions.
d1c0ea6a 5030
684d71c6
BB
50312013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5032
5033 * subr.el (version-regexp-alist): Add support for snapshot versions.
5034
3d42b968
DG
50352013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5036
e61845c1
SM
5037 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5038 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
5039 skip over our direct parent if it's an assignment token..
5040 (ruby-smie-rules): Use it.
5041
7ffd3721
DG
50422013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5043
8449dd1f 5044 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
5045 unconditionally. Remove now unnecessary forward declarations.
5046 Remove XEmacs-specific setup.
5047 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5048 (ruby-font-lock-syntactic-keywords)
5049 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5050 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5051 (ruby-here-doc-end-syntax): Remove.
5052 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5053 defined as function.
5054
a3996a2e
BB
50552013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5056
5057 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5058
6f9260e8
BB
50592013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5060
5061 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5062 table and abbrev table, `define-derived-mode' does that for us
5063 anyway.
5064
6014de84
GM
50652013-11-01 Glenn Morris <rgm@gnu.org>
5066
5067 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5068 files is atomic for some time, so no parallel compilation issues).
5069
3c334c14
JD
50702013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5071
5072 * faces.el (face-x-resources): Add :distant-foreground.
5073 (region): Use :distant-foreground for gtk and ns.
5074
9bc236c8
TH
50752013-11-01 Tassilo Horn <tsdh@gnu.org>
5076
5246583b 5077 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
5078 BibTeX.
5079 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5080 (reftex-locate-bibliography-files): Us it.
5081
d14c81ee
CB
50822013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5083
0e7690de
CB
5084 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5085 allow comments in pbm files.
5086
d14c81ee
CB
5087 * term/w32-win.el (dynamic-library-alist): Support newer versions
5088 of libjpeg starting with v7: look only for the DLL from the
5089 version against which Emacs was built.
ac1bf374 5090 Support versions of libpng beyond 1.4.x.
019c8218 5091 Support libtiff v4.x.
d14c81ee 5092
983d0df5
BB
50932013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5094
5095 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5096 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5097 Add property :safe.
5098 (ruby-deep-arglist): Add property :type.
5099
47f58d85
GM
51002013-10-31 Glenn Morris <rgm@gnu.org>
5101
5102 * Makefile.in (custom-deps, finder-data): No need to setq the target
5103 variables, we are in the right directory and the defaults work fine.
5104
4f85b479
GM
51052013-10-30 Glenn Morris <rgm@gnu.org>
5106
ca7dd4cd
GM
5107 * Makefile.in (autoloads): Do not use abs_lisp.
5108
4f85b479
GM
5109 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5110 `newline' does not respect `standard-output', so use `princ'.
5111
cf59e41c
AA
51122013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5113
5114 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5115 * buff-menu.el (Buffer-menu--unmark): New function.
5116 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5117
74cf04fb
GM
51182013-10-30 Glenn Morris <rgm@gnu.org>
5119
b040b60e
GM
5120 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5121
f53d3815
GM
5122 * emacs-lisp/package.el (lm-homepage): Declare.
5123
5413d873
GM
5124 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5125 Fix doc typos.
5126
cecedb36
GM
5127 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5128
74cf04fb
GM
5129 * Makefile.in (finder-data, autoloads, update-subdirs)
5130 (compile-main, compile-clean, compile-always, bootstrap-clean):
5131 Check return value of cd.
5132 (compile-calc): Remove.
5133
195ee2f0
SM
51342013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5135
ae4002ce
SM
5136 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5137
5138 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5139 (byte-compile-and-folded): New function.
5140 (=, <, >, <=, >=): Use it.
5141
5142 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5143 (path-separator, null-device, buffer-file-coding-system)
5144 (lpr-headers-switches): Check system-type before modifying them.
5145 (find-buffer-file-type-coding-system): Mark obsolete.
5146 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5147 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5148 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5149 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5150 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5151 (w32-direct-print-region-helper, w32-direct-print-region-function)
5152 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5153 * startup.el (normal-top-level-add-subdirs-to-load-path):
5154 * ps-print.el (ps-print-region-function):
5155 * lpr.el (print-region-function): Use new name.
5156
53b39e89
SM
5157 * subr.el (custom-declare-variable-early): Remove function.
5158 (custom-declare-variable-list): Remove var.
5159 (error, user-error): Remove `while' loop.
5160 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5161 (user-emacs-directory-warning, locate-user-emacs-file):
5162 Move to files.el.
5163 * simple.el (read-quoted-char-radix, read-quoted-char):
5164 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5165 Move from subr.el.
5166 * custom.el (custom-declare-variable-list): Don't process
5167 custom-declare-variable-list.
5168
195ee2f0
SM
5169 * progmodes/python.el (python-shell-get-buffer): New function.
5170 (python-shell-get-process): Use it.
5171 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5172 Python which encoding was used. Don't split-string since we only care
5173 about the first line. Return the temp-file, if applicable.
5174 (python-shell-send-region): Tell compile.el how to turn locations in
5175 the temp-file into locations in the source buffer.
5176
7e3561ee
SM
51772013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5178
4c9797cb
SM
5179 * subr.el (undefined): Add missing behavior from the C code for
5180 unbound keys.
5181
3472b6c6
SM
5182 * rect.el: Use lexical-binding. Add new rectangular region support.
5183 (rectangle-mark): New command.
5184 (rectangle--region): New var.
5185 (deactivate-mark-hook): Reset rectangle--region.
5186 (rectangle--extract-region, rectangle--insert-for-yank)
5187 (rectangle--highlight-for-redisplay)
5188 (rectangle--unhighlight-for-redisplay): New functions.
5189 (region-extract-function, redisplay-unhighlight-region-function)
5190 (redisplay-highlight-region-function): Use them to handle
5191 rectangular region.
5192 * simple.el (region-extract-function): New var.
5193 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5194 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5195 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5196 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5197 (redisplay-unhighlight-region-function)
5198 (redisplay-highlight-region-function): New vars.
5199 (redisplay--update-region-highlight): New function.
5200 (pre-redisplay-function): Use it.
5201 (exchange-point-and-mark): Don't deactivate the mark before
5202 reactivate-it anyway.
5203 * comint.el (comint-kill-region): Remove yank-handler argument.
5204 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5205 (delete-char): Remove property, since it's now part of their
5206 default behavior.
5207 (self-insert-iso): Remove property since this command doesn't exist.
5208
7e3561ee
SM
5209 * emacs-lisp/package.el (package--download-one-archive)
5210 (describe-package-1): Don't query the user about final newline.
5211
b9bef71f
DC
52122013-10-29 Daniel Colascione <dancol@dancol.org>
5213
5214 * net/tramp.el (tramp-methods): Document new functionality.
5215 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5216 tramp-hostname-checker if method provides one instead of scanning
5217 argument list for "%h" to decide hostname acceptability.
5218
4efc33f0
MA
52192013-10-28 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5222 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5223 Handle COPY-CONTENTS. (Bug#15737)
5224
ed42a877
DU
52252013-10-28 Daiki Ueno <ueno@gnu.org>
5226
5227 * epa-file.el
7e3561ee
SM
5228 (epa-file-cache-passphrase-for-symmetric-encryption):
5229 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5230
18c9f8a2
XF
52312013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5232
35e951cd 5233 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5234
b1e8e010
AM
52352013-10-27 Alan Mackenzie <acm@muc.de>
5236
5237 Indent statements in macros following "##" correctly.
7e3561ee
SM
5238 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5239 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5240
73d40d1e 52412013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5242
5243 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5244
c8c605ac
DG
52452013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5246
5247 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5248 after `=' is probably a new expression.
5249
ca7e59d4
RS
52502013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5251
5252 * man.el (man-imenu-title): New option.
5253 (Man-mode-map): Add menu. (Bug#15722)
5254 (Man-mode): Add imenu to menu.
5255
bae91342
DG
52562013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5257
5258 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5259 specific in what the first arg can be: a non-keyword word,
5260 string/regexp/percent literal opener, opening paren, or unary
5261 operator followed directly by word.
5262
eb89dc14
SM
52632013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5266 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5267 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5268 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5269 Remove vars, they do not apply any more.
5270 (prolog-mode-abbrev-table): Remove redundant declaration.
5271 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5272 (prolog-use-smie): Remove.
5273 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5274 supported by prolog-electric-if-then-else-flag.
5275 (prolog-mode-variables, prolog-menu): Use setq-local.
5276 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5277 Remove binding to `Backspace' since this key doesn't exist anyway.
5278 Remove bindings for electric self-inserting keys.
5279 (prog-mode): Assume it's defined.
5280 (prolog-post-self-insert): New function.
5281 (prolog-mode): Use it.
5282 (prolog-indent-line, prolog-indent-level)
5283 (prolog-find-indent-of-matching-paren)
5284 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5285 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5286 (prolog-goto-next-paren, prolog-in-string-or-comment)
5287 (prolog-tokenize, prolog-inside-mline-comment)
5288 (prolog-find-start-of-mline-comment): Remove functions.
5289 (prolog-find-unmatched-paren, prolog-clause-end)
5290 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5291 (prolog-electric--if-then-else): Rename from
5292 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5293 (prolog-tokenize-searchkey): Remove const.
5294 (prolog-clause-info): Use forward-sexp.
5295 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5296 (prolog-electric-if-then-else): Remove commands.
5297 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5298 for use in post-self-insert-hook.
5299 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5300 for use in post-self-insert-hook.
5301 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5302 for use in post-self-insert-hook.
5303 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5304 adapt it for use in post-self-insert-hook.
5305
3dab0a83
MA
53062013-10-25 Michael Albinus <michael.albinus@gmx.de>
5307
5308 * emacs-lisp/ert.el (ert-run-tests-interactively):
5309 Use `completing-read'. (Bug#9756)
5310
fbfd0e1d
EZ
53112013-10-25 Eli Zaretskii <eliz@gnu.org>
5312
5313 * simple.el (line-move): Call line-move-1 instead of
5314 line-move-visual when the current window hscroll is zero, but
5315 temporary-goal-column indicates we will need to hscroll as result
5316 of the movement. (Bug#15712)
5317
963ce636
DG
53182013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5319
5320 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5321 capitalization. Use :visible instead of :active.
5322 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5323 commands that are used with SMIE.
5324 (ruby-do-end-to-brace): Insert space after `{'.
5325
a0be396a
JA
53262013-10-25 John Anthony <john@jo.hnanthony.com>
5327
f73754c9
JA
5328 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5329
5330 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5331
f5bf77df
GM
53322013-10-25 Glenn Morris <rgm@gnu.org>
5333
5334 * vc/vc.el (vc-print-log): Don't use a working revision unless
5335 one was explicitly specified. (Bug#15322)
5336
37241f62
SM
53372013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * subr.el (add-to-list): Preserve return value in compiler-macro
5340 (bug#15692).
5341
6408a65d
RS
53422013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5343
5344 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5345 result. Ask user to retry using '-all' flag. (Bug#15701)
5346
71e3276b
SM
53472013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * emacs-lisp/smie.el: New smie-config system.
5350 (smie-config): New defcustom.
5351 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5352 (smie-config-guess, smie-config-save): New commands.
5353 (smie-config--mode-local, smie-config--buffer-local)
5354 (smie-config--trace, smie-config--modefuns): New vars.
5355 (smie-config--advice, smie-config--mode-hook)
5356 (smie-config--setter, smie-config-local, smie-config--get-trace)
5357 (smie-config--guess-value, smie-config--guess): New functions.
5358 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5359 text properties. Treat "string fence" syntax like string syntax.
5360
5361 * progmodes/sh-script.el (sh-use-smie): Change default.
5362 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5363 (sh-var-value): Simplify by CSE.
5364 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5365 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5366 is used.
5367 (sh-guess-basic-offset): Use cl-incf.
5368 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5369
60db713e
HE
53702013-10-24 Helmut Eller <eller.helmut@gmail.com>
5371
5372 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5373 (bug#15699).
5374
8b251df6
GM
53752013-10-24 Glenn Morris <rgm@gnu.org>
5376
5377 * Makefile.in (abs_top_srcdir): Remove.
5378 (update-subdirs): Use relative path to update-subdirs.
5379
6be0e22b
EZ
53802013-10-24 Eli Zaretskii <eliz@gnu.org>
5381
5382 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5383 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5384 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5385 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5386
50b5b857
MA
53872013-10-24 Michael Albinus <michael.albinus@gmx.de>
5388
5389 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5390 (ert-test-skipped): New error.
5391 (ert-skip, ert-stats-skipped): New defuns.
5392 (ert--skip-unless): New macro.
5393 (ert-test-skipped): New struct.
5394 (ert--run-test-debugger, ert-test-result-type-p)
5395 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5396 (ert--stats-set-test-and-result, ert-char-for-test-result)
5397 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5398 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5399 Handle skipped tests. (Bug#9803)
50b5b857 5400
6f317c2f
GM
54012013-10-24 Glenn Morris <rgm@gnu.org>
5402
e43817c1
GM
5403 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5404
6f317c2f
GM
5405 * Makefile.in (abs_top_srcdir): New, set by configure.
5406 (update-subdirs): Correct build-aux location.
5407
369bbf71
DG
54082013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5409
8297b2cf
DG
5410 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5411 value, whether we could auto-deduce `backend', or not.
5412
369bbf71
DG
5413 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5414 with parameters" example. Simplify the "is it block or is it
5415 hash" check, but also make it more thorough.
5416
d5f1282f
MF
54172013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5418
5419 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5420
bc4aaa31
SM
54212013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5422
03d44565
SM
5423 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5424 { if it is hanging.
5425
bc4aaa31
SM
5426 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5427 :before ";".
5428
f493ff19
JB
54292013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5430
5431 * progmodes/compile.el (compilation-directory-matcher)
5432 (compilation-page-delimiter):
5433 Support GNU Make-4.0 directory quoting. (Bug#15678)
5434
c744a3b9
LL
54352013-10-23 Leo Liu <sdl.web@gmail.com>
5436
5437 * ido.el (ido-tidy): Handle read-only text.
5438
b8e3b0a9
GM
54392013-10-23 Glenn Morris <rgm@gnu.org>
5440
5441 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5442 (emacs, compile, compile-always):
5443 Quote entities that might contain whitespace.
5444 (custom-deps, finder-data, autoloads): Use abs_lisp.
5445 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5446 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5447 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5448
ee4282cd
DG
54492013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5450
bc4aaa31
SM
5451 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5452 Use `following-char'.
7790a270 5453
ee4282cd 54542013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5455
5456 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5457 * progmodes/ruby-mode.el (ruby-smie-rules):
5458 Remove corresponding workaround. Fix indentation rule of ";" so it
5459 also applies when ";" is the parent.
5460
d40a46d7
XF
54612013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5462
5463 * frame.el (display-screens, display-pixel-height)
5464 (display-pixel-width, display-mm-width, display-backing-store)
5465 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5466 (display-visual-class, display-monitor-attributes-list):
5467 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5468
a0f143c9
MG
54692013-10-22 Michael Gauland <mikelygee@amuri.net>
5470
5471 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5472 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5473
18cacc39
DG
54742013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5475
5476 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5477 TODO. Add "." after " @ ".
5478 (ruby-smie--at-dot-call): New function. Checks if point at method
5479 call with explicit target.
5480 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5481 to the method name tokens when it precedes them.
5482 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5483 (ruby-smie-rules): Add rule for indentation before and after "."
5484 token.
5485
df74c4be
SM
54862013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5487
c6dab55f
SM
5488 * textmodes/remember.el (remember-diary-extract-entries):
5489 Avoid add-to-list.
5490
df74c4be
SM
5491 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5492 an instruction.
5493
8c1ae481
DG
54942013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5495
e9dc713d
JB
5496 * progmodes/ruby-mode.el (ruby-smie-grammar):
5497 Add (almost) all infix operators.
cfef16c0
DG
5498 (ruby-smie--implicit-semi-p): Add new operator chars.
5499
8c1ae481
DG
5500 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5501 `smie-down-list'.
5502 (ruby-smie--args-separator-p): Check that there's no newline
5503 between method call and its arguments.
5504
87756ca9
AM
55052013-10-20 Alan Mackenzie <acm@muc.de>
5506
5507 Allow comma separated lists after Java "implements".
5508
df74c4be
SM
5509 * progmodes/cc-engine.el (c-backward-over-enum-header):
5510 Parse commas.
87756ca9
AM
5511 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5512 from a "disallowed" list in enum fontification.
5513
c25f8957
JB
55142013-10-20 Johan Bockgård <bojohan@gnu.org>
5515
df74c4be 5516 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5517
c25f8957
JB
5518 * progmodes/verilog-mode.el (verilog-mode): Don't set
5519 comment-indent-function globally.
5520
aca5fcdc
JD
55212013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5522
5f161884
JD
5523 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5524 Move Info menu item creation to ns-win.el.
5525
5526 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5527 in menu bar.
5528
a6c4680a 5529 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5530
5531 * term/ns-win.el (ns-initialize-window-system): ... to here.
5532
914b7f98
SM
55332013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * simple.el (newline): Only run post-self-insert-hook when
5536 called interactively.
5537
846ffe77
JB
55382013-10-19 Johan Bockgård <bojohan@gnu.org>
5539
5540 * icomplete.el (icomplete-with-completion-tables): Add :version.
5541
033f22dd
AM
55422013-10-19 Alan Mackenzie <acm@muc.de>
5543
5544 Fix fontification bugs with constructors and const.
5545
5546 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5547 CASE 2) Remove the check for the absence of a suffix construct
5548 after a function declaration with only types (no identifiers) in
5549 the parentheses. Also, accept a function declaration with just a
5550 type inside the parentheses, if this type can be positively
5551 recognised as such, or if a prefix keyword like "explicit" nails
5552 down the construct as a declaration.
5553
58ce0cfc
EZ
55542013-10-19 Eli Zaretskii <eliz@gnu.org>
5555
5556 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5557 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5558 the problem whereby selecting a menu item that leads to a
5559 minibuffer prompt moves the cursor out of the minibuffer window,
5560 making it hard to type at the prompt. Suggested by Stefan Monnier
5561 <monnier@iro.umontreal.ca>.
5562
50e28e7d
JD
55632013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5564
5565 * menu-bar.el: Don't make Services menu.
5566
7deed4bf
RS
55672013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5568
5569 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5570 (ffap-alist): Use ffap-c++-mode for c++-mode.
5571 (ffap-c++-path): New variable.
5572 (ffap-c++-mode): New function.
5573
7bcb455b
JVJ
55742013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5575
5576 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5577
f0ff1cd5
MA
55782013-10-18 Michael Albinus <michael.albinus@gmx.de>
5579
5580 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5581 introduced on 2013-09-08, which results in an infinite loop
5582 requesting a password.
5583
d64da4b7
GM
55842013-10-18 Glenn Morris <rgm@gnu.org>
5585
5586 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5587
ea89ff08
WS
55882013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5589
5590 Sync with upstream verilog-mode revision 1a6ecec7.
5591 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5592 (verilog-mode-release-date): Remove.
5593 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5594 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5595 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5596 (verilog-auto-tieoff-ignore-regexp)
5597 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5598 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5599 (verilog-signals-with, verilog-dir-cache-preserving)
5600 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5601 Doc fixes.
5602 (verilog-case-fold): New option, to control case folding in
5603 regexp searches, bug597.
5604 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5605 (verilog-string-match-fold, verilog-in-paren-count)
5606 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5607 (verilog-at-close-struct-p): New functions.
5608 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5609 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5610 (verilog-leap-to-case-head): Handle "unique0" case.
5611 (verilog-in-constraint-re): New constant.
5612 (verilog-keywords, verilog-type-font-keywords):
5613 Add some SystemVerilog 1800-2012 keywords.
5614 (verilog-label-be): Remove unimplemented argument, bug669.
5615 (verilog-batch-execute-func): When batch expanding clear
5616 create-lockfiles to prevent spurious user locks when a file ends
5617 up not changing.
5618 (verilog-calculate-indent, verilog-calc-1)
5619 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5620 (verilog-do-indent): Fix indentation of nested constraints
5621 and structures.
5622 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5623 (verilog-auto-inst-param): Use verilog-string-match-fold.
5624 (verilog-read-inst-module-matcher):
5625 Fix AUTOINST on gate primitives with #1.
5626 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5627 Reads all user-defined typed variables.
5628 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5629 (verilog-signals-matching-regexp)
5630 (verilog-signals-not-matching-regexp, verilog-auto):
5631 Respect verilog-case-fold.
5632 (verilog-diff-report): Fix line count.
5633 (verilog-auto-assign-modport): Remove unused local `modi'.
5634 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5635 better handle multidimensional arrays.
5636 Fix packed array ports misadding bit index in AUTOINST, bug637.
5637 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5638 to not double-declare existing outputs and inputs, respectively.
5639 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5640 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5641 (verilog-sk-uvm-component): New skeleton.
5642 (verilog-submit-bug-report): Add verilog-case-fold,
5643 remove verilog-mode-release-date.
5644
ef566920
BR
56452013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5646
a12bf61e 5647 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5648 as before.
5649
29df8a0b
RT
56502013-10-18 Reuben Thomas <rrt@sc3d.org>
5651
e0eb0550 5652 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5653 remember buffers (bug#13566).
5654
04a19a79
DC
56552013-10-18 Daniel Colascione <dancol@dancol.org>
5656
5657 When evaluating forms in ielm, direct standard output to ielm
5658 buffer. Add new ielm-return-for-effect command. Remove trailing
5659 whitespace throughout.
5660
5661 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5662 (ielm-return-for-effect): New command.
5663 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5664 (ielm-eval-input): Accept optional `for-effect' parameter.
5665 Bind `standard-output' to stream we create using
04a19a79
DC
5666 `ielm-standard-output-impl'. Suppress printing result when
5667 `for-effect'.
5668 (ielm-standard-output-impl): New function.
5669 (inferior-emacs-lisp-mode): Explain new features in documentation.
5670
4c1f03ef
MA
56712013-10-17 Michael Albinus <michael.albinus@gmx.de>
5672
5673 Code cleanup.
5674
5675 * net/tramp.el (tramp-debug-message): Do not check for connection
5676 buffer.
5677 (tramp-message): Use "vector" connection property.
5678
5679 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5680 (tramp-equal-remote, tramp-eshell-directory-change)
5681 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5682 (tramp-adb-handle-rename-file)
5683 * net/tramp-cmds.el (tramp-list-remote-buffers)
5684 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5685 * net/tramp-compat.el (tramp-compat-process-running-p)
5686 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5687 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5688 (tramp-gvfs-handle-rename-file)
5689 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5690 (tramp-set-file-uid-gid)
5691 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5692 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5693 of `file-remote-p'.
5694
5695 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5696 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5697 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5698 (tramp-gw-open-network-stream): Suppress unrelated traces.
5699
5700 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5701 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5702 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5703 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5704 connection property.
5705
5706 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5707 persistency file.
4c1f03ef
MA
5708
5709 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5710 Refactor common code. Improve debug message.
5711 (tramp-maybe-open-connection)
5712 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5713 connection buffer too early.
5714
5715 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5716 from `tramp-smb-actions-with-acl'.
5717 (tramp-smb-actions-set-acl): New defconst.
5718 (tramp-smb-handle-copy-directory)
5719 (tramp-smb-action-get-acl): New defun, renamed from
5720 `tramp-smb-action-with-acl'.
5721 (tramp-smb-action-set-acl): New defun.
5722 (tramp-smb-handle-set-file-acl): Rewrite.
5723
642eb8b6
GM
57242013-10-17 Glenn Morris <rgm@gnu.org>
5725
5726 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5727
85527ff3
SM
57282013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5729
921c1d62
SM
5730 * skeleton.el (skeleton-newline): Remove.
5731 (skeleton-internal-1): Use (insert "\n") instead.
5732
e333fb10
SM
5733 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5734 let-bindings.
5735
85527ff3
SM
5736 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5737 forward-sexp-function while we redo its job (bug#15613).
5738
c8722a97
JB
57392013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5740
5741 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5742 represented by lists.
5743
7a550bbb
GM
57442013-10-16 Glenn Morris <rgm@gnu.org>
5745
5746 * tmm.el (tmm--history): New dynamic variable.
5747 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5748
f19da8ad
MA
57492013-10-16 Michael Albinus <michael.albinus@gmx.de>
5750
5751 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5752 (tramp-smb-errors): Add error messages.
5753 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5754 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5755 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5756 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5757 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5758 (tramp-smb-get-stat-capability): Fix tests.
5759
a24b9961
DK
57602013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5761
5762 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5763 (bug#15580).
5764
62ad85e6
GM
57652013-10-16 Glenn Morris <rgm@gnu.org>
5766
0283d6b0
GM
5767 * ansi-color.el (ansi-color-drop-regexp):
5768 Add 1J, 1K, 2K. (Bug#15617)
5769
012e2f9f
GM
5770 * files.el (hack-local-variables--warned-lexical): New.
5771 (hack-local-variables):
5772 Warn about misplaced lexical-binding. (Bug#15616)
5773
62ad85e6
GM
5774 * net/eww.el (eww-render): Always set eww-current-url,
5775 and update header line. (Bug#15622)
5776 (eww-display-html): ... Rather than just doing it here.
5777
6456c0ea
EZ
57782013-10-15 Eli Zaretskii <eliz@gnu.org>
5779
5780 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5781 menu navigations commands.
5782
c2de5588
DK
57832013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5784
5785 * progmodes/subword.el (subword-capitalize): Be careful when
5786 the search for [[:alpha:]] fails (bug#15580).
5787
ccd4a783
EZ
57882013-10-14 Eli Zaretskii <eliz@gnu.org>
5789
5790 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5791 to commands that scroll the menu.
5792
1eda1d8d
DG
57932013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5794
c2de5588
DK
5795 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5796 Handle methods ending with `?' and `!'.
1eda1d8d 5797
e70181b8
AM
57982013-10-14 Akinori MUSHA <knu@iDaemons.org>
5799
5800 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5801 `japanese-cp932' to `cp932' to fix the problem where saving a
5802 source file written in Shift_JIS twice would end up having
5803 `coding: japanese-cp932' which Ruby could not recognize.
5804 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5805 in `ruby-encoding-map'.
5806 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5807 doesn't need to be explicitly declared in magic comment.
5808 (ruby-encoding-map): Add type declaration for better customize UI.
5809
9148ee92
GM
58102013-10-13 Glenn Morris <rgm@gnu.org>
5811
a5d38e34
GM
5812 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5813 Occur buffers are read-only. http://bugs.debian.org/720775
5814
9148ee92
GM
5815 * emacs-lisp/authors.el (authors-fixed-entries):
5816 Comment out old alpha stuff.
5817
a9ba094b
DG
58182013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5819
5820 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5821 to `after-save-hook' instead of `before-save-hook'.
5822 (ruby-mode-set-encoding): Use the value of coding system used to
5823 write the file. Call `basic-save-buffer-1' after modifying the
5824 buffer.
5825
7a068717
AM
58262013-10-13 Alan Mackenzie <acm@muc.de>
5827
5828 Fix indentation/fontification of Java enum with
5829 "implements"/generic.
5830
c2de5588
DK
5831 * progmodes/cc-engine.el (c-backward-over-enum-header):
5832 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5833 (c-inside-bracelist-p): Uses new function above.
5834 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5835 function above.
5836 (c-font-lock-enum-tail): Uses new function above.
5837
85b64f02
KH
58382013-10-13 Kenichi Handa <handa@gnu.org>
5839
5840 * international/mule-cmds.el (select-safe-coding-system): Remove a
5841 superfluous condition in chekcing whether a coding system is safe
5842 or not.
5843
fc7f501b
OK
58442013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5845
5846 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5847
fdcb2049
AP
58482013-10-13 Andreas Politz <politza@hochschule-trier.de>
5849
5850 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5851
8c106d17
GM
58522013-10-13 Glenn Morris <rgm@gnu.org>
5853
feab892d
GM
5854 * menu-bar.el (menu-bar-update-buffers):
5855 Unify Buffers menu prompt string. (Bug#15576)
5856
b22d0686
GM
5857 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5858
8c106d17
GM
5859 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5860 Add some entries.
5861 (authors-fixed-entries): Use accented form of name.
5862
1b12c797
SM
58632013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5864
650fa7bf 5865 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5866 method calls (bug#15594).
650fa7bf
SM
5867 (ruby-smie--args-separator-p): New function.
5868 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5869 recognize paren-free method calls.
5870
1b12c797
SM
5871 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5872 internals of universal-argument.
5873
029619c8
EZ
58742013-10-11 Eli Zaretskii <eliz@gnu.org>
5875
5876 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5877 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5878 dropped menu on second mouse click on the menu bar.
029619c8 5879
dd070019
SM
58802013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5883 (explicit-shell-file-name): Declare.
5884 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5885 (sh-completion-at-point-function): New function.
5886 (sh-mode): Use it.
5887 (sh-smie--keyword-p): Remove unused argument.
5888 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5889 vars.
5890 (sh-set-shell): Always setup SMIE, even if we use the
5891 old indentation code.
5892
0922b826
DG
58932013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5894
b68e2926
DG
5895 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5896 cases of ? and =.
5897 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5898 predicate would return nil are almost non-existent.
5899 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5900
0922b826
DG
5901 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5902 cache also after commands that modify the buffer but don't move
5903 point.
5904
ee041f2d
SM
59052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * env.el (substitute-env-in-file-name): New function.
5908 (substitute-env-vars): Extend the meaning of the optional arg.
5909
a5dab159
EZ
59102013-10-10 Eli Zaretskii <eliz@gnu.org>
5911
5912 * term/w32-win.el (dynamic-library-alist): Define separate lists
5913 of GIF DLLs for versions before and after 5.0.0 of giflib.
5914 (Bug#15531)
5915
0449d6cd 59162013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5917
5918 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5919 not locked, use last revision and current source as
5920 defaults. (Bug#15569)
5921
2f6e161e
MY
59222013-10-10 Masatake YAMATO <yamato@redhat.com>
5923
5924 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5925 menu-bar is hidden.
5926
6c8413fc
MR
59272013-10-10 Martin Rudalics <rudalics@gmx.at>
5928
5929 * window.el (pop-to-buffer-same-window): Fix doc-string.
5930 (Bug#15492)
5931
20832de0
SM
59322013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5935
c6e8ae77
AC
59362013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5937
5938 * calendar/icalendar.el (icalendar-import-file):
5939 Fix interactive spec. (Bug#15482)
5940
9db13baf
GM
59412013-10-10 Glenn Morris <rgm@gnu.org>
5942
9271e90e
GM
5943 * desktop.el (desktop-save): Default to saving in .emacs.d,
5944 since PWD is no longer in desktop-path by default. (Bug#15319)
5945
9db13baf
GM
5946 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5947 now that text mode has a menu with the same entry.
5948 (menu-bar-text-mode-auto-fill): Remove now unused func.
5949 * textmodes/text-mode.el (text-mode-map):
5950 Use auto-fill help text from menu-bar.el.
5951
a0be396a 59522013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5953
5954 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5955
2edcd3c7
JL
59562013-10-09 Juri Linkov <juri@jurta.org>
5957
5958 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5959 instead of this-command-keys. Add universal-argument-more and
5960 universal-argument-minus to the list of prefix commands. (Bug#15568)
5961
574411d0
GM
59622013-10-09 Glenn Morris <rgm@gnu.org>
5963
14afa541
GM
5964 * vc/vc-svn.el (vc-svn-create-repo):
5965 Expand paths in file://... url. (Bug#15446)
5966
574411d0
GM
5967 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5968 Add some entries.
5969 (authors): Remove unused local variables.
5970
79804536
SM
59712013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * profiler.el: Create a more coherent calltree from partial backtraces.
5974 (profiler-format): Hide the tail with `invisible' so that C-s can still
5975 find the hidden elements.
5976 (profiler-calltree-depth): Don't recurse so enthusiastically.
5977 (profiler-function-equal): New hash-table-test.
5978 (profiler-calltree-build-unified): New function.
5979 (profiler-calltree-build): Use it.
5980 (profiler-report-make-name-part): Indent the calltree less.
5981 (profiler-report-mode): Add visibility specs for profiler-format.
5982 (profiler-report-expand-entry, profiler-report-toggle-entry):
5983 Expand the whole subtree when provided with a prefix arg.
5984
238150c8
DG
59852013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5986
5987 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5988 iuwu-mod token.
5989 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5990 hanging iuwu-mod token.
5991 (ruby-smie--forward-token): Do not include a dot after a token in
5992 that token.
5993 (ruby-smie--backward-token): Likewise.
5994
b0949cc4
JL
59952013-10-08 Juri Linkov <juri@jurta.org>
5996
5997 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5998 to isearch-other-control-char.
5999 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6000 and isearch-post-command-hook to post-command-hook.
6001 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6002 and isearch-post-command-hook from post-command-hook.
6003 (isearch-unread-key-sequence)
6004 (isearch-reread-key-sequence-naturally)
6005 (isearch-lookup-scroll-key, isearch-other-control-char)
6006 (isearch-other-meta-char): Remove functions.
6007 (isearch-pre-command-hook, isearch-post-command-hook):
6008 New functions based on isearch-other-meta-char rewritten
6009 relying on the new behavior of overriding-terminal-local-map
6010 that does not replace the local keymaps any more. (Bug#15200)
6011
4ed77415
EZ
60122013-10-08 Eli Zaretskii <eliz@gnu.org>
6013
6014 Support menus on text-mode terminals.
6015 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6016 functionality.
6017
6018 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6019
c2de5588
DK
6020 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6021 Move here from mouse.el.
4ed77415
EZ
6022 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6023 and arrow keys.
6024 (tty-menu-navigation-map): New map for TTY menu navigation.
6025
6026 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6027
6028 * frame.el (display-mouse-p): Report text-mode mouse as available
6029 on w32.
6030 (display-popup-menus-p): Report availability if mouse is
6031 available; don't condition on window-system.
6032
6033 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6034 (tty-menu-selected-face): New faces.
6035
b7d5bd82
TL
60362013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6037
06286513
SM
6038 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6039 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6040 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6041 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6042 New constants.
6043 (lisp-mode-variables): New `elisp' argument.
6044 (emacs-lisp-mode): Use it.
6045 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6046 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6047
b7d5bd82
TL
6048 * indent.el: Use lexical-binding.
6049 (indent-region): Add progress reporter.
6050 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6051 last step.
6052 (indent--next-tab-stop): New function to implement this behavior.
6053 (tab-to-tab-stop, move-to-tab-stop): Use it.
6054
60552013-10-08 Teemu Likonen <tlikonen@iki.fi>
6056
6057 * indent.el (indent-rigidly--current-indentation): New function.
6058 (indent-rigidly-map): New var.
6059 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6060
5ea75d23
BG
60612013-10-08 Bastien Guerry <bzg@gnu.org>
6062
f2726fa2 6063 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 6064
cc5da1ec
SM
60652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6066
8ffa1a0b
SM
6067 * progmodes/perl-mode.el: Use lexical-binding.
6068 Remove redundant :group args.
6069 (perl-nochange): Change default to be closer to other major modes's
6070 standard behavior.
6071 (perl-indent-line): Don't consider text on current line as a
6072 valid beginning of function from which to indent.
6073
f2223371
SM
6074 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6075 with more than one argument (bug#15538).
6076
44256060
SM
6077 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6078
cc5da1ec
SM
6079 * vc/pcvs.el: Use lexical-binding.
6080 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6081 environment of `eval'.
6082 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6083 than a list of expressions. Adjust callers.
6084 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6085
0ea1599d
DG
60862013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6087
6088 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 6089 case of the dot in a chained method call being on the following line.
0ea1599d 6090
da3e5ebb
SM
60912013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6092
2abb4e65
SM
6093 * electric.el (electric-indent-inhibit): New var.
6094 (electric-indent-post-self-insert-function): Use it.
6095 * progmodes/python.el (python-mode): Set it.
6096
d2e0e795
SM
6097 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6098 open braces.
6099
6100 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6101
bdc6b4c8
SM
6102 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6103 (css-mode): Use electric-indent-chars.
6104
da3e5ebb
SM
6105 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6106 (font-lock-beg, font-lock-end): Move before first use.
6107 (nxml-mode): Use syntax-propertize-function.
6108 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6109 (nxml-extend-after-change-region): Remove.
6110 * nxml/xmltok.el: Use lexical-binding.
6111 (xmltok-save): Use `declare'.
6112 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6113 * nxml/nxml-util.el: Use lexical-binding.
6114 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6115 Use `declare'.
6116 * nxml/nxml-ns.el: Use lexical-binding.
6117 (nxml-ns-save): Use `declare'.
6118 (nxml-ns-prefixes-for): Avoid add-to-list.
6119 * nxml/rng-match.el: Use lexical-binding.
6120 (rng--ipattern): Use cl-defstruct.
6121 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6122 (rng-cons-group-after, rng-subst-group-after)
6123 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6124 Use closures instead of `(lambda...).
6125
f8f91d5d
MA
61262013-10-07 Michael Albinus <michael.albinus@gmx.de>
6127
6128 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6129 of BEG and END.
6130
da3e5ebb
SM
6131 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6132 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6133 (tramp-gvfs-handle-insert-file-contents): Remove function.
6134
da3e5ebb
SM
6135 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6136 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6137
6138 * net/trampver.el: Update release number.
6139
7ccae3b1
SM
61402013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6141
55ca2c0d
SM
6142 * progmodes/compile.el (compilation-parse-errors):
6143 Use compilation--put-prop.
6144 (compilation--ensure-parse): Check compilation-multiline.
6145
731fc3ae
SM
6146 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6147
da3e5ebb
SM
6148 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6149 lexical-binding.
a5833280 6150
2e7ba2c2
SM
6151 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6152
7ccae3b1
SM
6153 * progmodes/ruby-mode.el: Fix recently added tests.
6154 (ruby-smie-grammar): Add - and +.
6155 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6156 (ruby-smie--backward-id): New functions.
6157 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6158 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6159 any more.
6160
85698d63
LL
61612013-10-07 Leo Liu <sdl.web@gmail.com>
6162
6163 * register.el (register-preview-delay)
6164 (register-preview-functions): New variables.
6165 (register-read-with-preview, register-preview)
6166 (register-describe-oneline): New functions.
6167 (point-to-register, window-configuration-to-register)
6168 (frame-configuration-to-register, jump-to-register)
6169 (number-to-register, view-register, insert-register)
6170 (copy-to-register, append-to-register, prepend-to-register)
6171 (copy-rectangle-to-register): Use register-read-with-preview to
6172 read register. (Bug#15525)
6173
3986af6c
DS
61742013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6175
6176 * net/network-stream.el (network-stream-open-starttls): Don't add
6177 --insecure if it's already present, because that gnutls-cli
6178 rejects getting that parameter twice.
6179
5cd9cda9
DG
61802013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6181
6182 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6183 keyword, too.
6184
da9ea6d9
DG
61852013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6186
6187 * newcomment.el (comment-use-global-state): Change default value
6188 to t, mark obsolete (Bug#15251).
6189 (comment-beginning): In addition to `comment-to-syntax', check the
6190 value of `comment-use-global-state'.
6191
34d1a133
SM
61922013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6195 (ruby-comment-column): Follow the global default, by default.
6196 (ruby-smie-grammar): Add assignment syntax.
6197 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6198 open-paren, a comma, or a \.
6199 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6200 and line continuations.
6201 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6202 followed by implicit semi-colons. Add rule for string concatenation
6203 and for indentation at BOB.
27821a89 6204 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6205
6206 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6207 calling next-sexp, since next-token may have skipped chars which
6208 next-sexp doesn't know should be skipped!
6209
6f6ab820
LL
62102013-10-05 Leo Liu <sdl.web@gmail.com>
6211
34d1a133
SM
6212 * progmodes/octave.el (octave-send-region):
6213 Call compilation-forget-errors.
6f6ab820 6214
34ca0f4c
XF
62152013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6216
6217 * vc/vc-svn.el (vc-svn-find-admin-dir):
6218 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6219 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6220 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6221 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6222
a27c1b72
SM
62232013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6226
258ab3bc
SM
62272013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * subr.el (read-passwd): Hide chars even when called within a context
6230 where after-change-functions is disabled (bug#15501).
6231 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6232 until we removed ourself from overriding-terminal-local-map.
6233
939fb29c
LL
62342013-10-04 Leo Liu <sdl.web@gmail.com>
6235
258ab3bc
SM
6236 * progmodes/octave.el (inferior-octave-mode):
6237 Call compilation-forget-errors.
939fb29c 6238
63bd7f35
XF
62392013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6240
6241 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6242
9e6229fa
MA
62432013-10-04 Michael Albinus <michael.albinus@gmx.de>
6244
6245 * net/secrets.el (secrets-create-collection): Add optional
6246 argument ALIAS. Use proper Label keyword. Append ALIAS as
6247 dbus-call-method argument. (Bug#15516)
6248
1dab32a3
LL
62492013-10-04 Leo Liu <sdl.web@gmail.com>
6250
6251 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6252 (inferior-octave-compilation-font-lock-keywords): New variables.
6253 (compilation-error-regexp-alist)
6254 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6255 (inferior-octave-mode): Use compilation-shell-minor-mode.
6256
6cad7ba3
JS
62572013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6258
6259 * minibuffer.el (completion--replace): Be careful that `end' might be
6260 a marker.
6261
acbadd00
DU
62622013-10-03 Daiki Ueno <ueno@gnu.org>
6263
6264 Add support for package signature checking.
6265 * emacs-lisp/package.el (url-http-file-exists-p)
6266 (epg-make-context, epg-context-set-home-directory)
6267 (epg-verify-string, epg-context-result-for)
6268 (epg-signature-status, epg-signature-to-string)
6269 (epg-check-configuration, epg-configuration)
6270 (epg-import-keys-from-file): Declare.
6271 (package-check-signature): New user option.
6272 (package-unsigned-archives): New user option.
6273 (package-desc): Add `signed' field.
6274 (package-load-descriptor): Set `signed' field if .signed file exists.
6275 (package--archive-file-exists-p): New function.
6276 (package--check-signature): New function.
6277 (package-install-from-archive): Check package signature.
6278 (package--download-one-archive): Check archive signature.
6279 (package-delete): Remove .signed file.
6280 (package-import-keyring): New command.
6281 (package-refresh-contents): Import default keyring.
6282 (package-desc-status): Add "unsigned" status.
6283 (describe-package-1, package-menu--print-info)
6284 (package-menu-mark-delete, package-menu--find-upgrades)
6285 (package-menu--status-predicate): Support "unsigned" status.
6286
adf2aa61
SM
62872013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6290 the new compilation scheme using the new byte-codes.
6291
6292 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6293 (byte-pophandler): New byte codes.
6294 (byte-goto-ops): Adjust accordingly.
6295 (byte-compile--use-old-handlers): New var.
6296 (byte-compile-catch): Use new byte codes depending on
6297 byte-compile--use-old-handlers.
6298 (byte-compile-condition-case--old): Rename from
6299 byte-compile-condition-case.
6300 (byte-compile-condition-case--new): New function.
6301 (byte-compile-condition-case): New function that dispatches depending
6302 on byte-compile--use-old-handlers.
6303 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6304 when we can.
6305
6306 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6307 Optimize under `condition-case' and `catch' if
6308 byte-compile--use-old-handlers is nil.
6309 (disassemble-offset): Handle new bytecodes.
6310
328a8179
SM
63112013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * subr.el (error): Use `declare'.
6314 (decode-char, encode-char): Use advertised-calling-convention instead
6315 of the docstring to discourage use of the `restriction' arg.
6316
15a1e936
DU
63172013-10-03 Daiki Ueno <ueno@gnu.org>
6318
6319 * epg.el (epg-verify-file): Add a comment saying that it does not
6320 notify verification error as a return value nor a signal.
6321 (epg-verify-string): Ditto.
6322
376f862a
KR
63232013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6324
6325 * progmodes/compile.el (compilation-start): Try globbing the arg to
6326 `cd' (bug#15417).
6327
a2f93a5f
MA
63282013-10-02 Michael Albinus <michael.albinus@gmx.de>
6329
6330 Sync with Tramp 2.2.8.
6331
6332 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6333 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6334 * net/trampver.el: Update release number.
6335
0daa0804
JD
63362013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6337
6338 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6339 and default-process-coding-system for darwin only.
6340
abd1ae34
SM
63412013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6344
be4e325d
MH
63452013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6346
6347 * vc/vc-git.el (vc-git-grep): Disable pager.
6348
e9155c4a
DG
63492013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6350
494e898b
DG
6351 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6352 Use :url instead of :homepage, as per
6353 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6354
e9155c4a
DG
6355 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6356 non-nil, use `syntax-ppss' (Bug#15251).
6357
481a8e0f
RS
63582013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6359
be4e325d
MH
6360 * progmodes/octave.el (inferior-octave-startup-file):
6361 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6362
056453c6
DG
63632013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6364
be4e325d
MH
6365 * emacs-lisp/package.el (package-desc-from-define):
6366 Accept additional arguments as plist, convert them to an alist and store
6367 them in the `extras' slot.
056453c6
DG
6368 (package-generate-description-file): Convert extras alist back to
6369 plist and append to the `define-package' form arguments.
6370 (package--alist-to-plist): New function.
6371 (package--ac-desc): Add `extras' slot.
6372 (package--add-to-archive-contents): Check if the archive-contents
6373 vector is long enough, and if it is, pass its `extras' slot value
6374 to `package-desc-create'.
6375 (package-buffer-info): Call `lm-homepage', pass the returned value
6376 to `package-desc-from-define'.
6377 (describe-package-1): Render the homepage button (Bug#13291).
6378
be4e325d
MH
6379 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6380 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6381
832966e5
JD
63822013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6383
6384 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6385 and default-process-coding-system to utf-8-unix (Bug#15402).
6386
6cfe977d
XF
63872013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6388
6389 * subr.el (looking-back): Do not recommend using looking-back.
6390
38de11bd
AM
63912013-09-28 Alan Mackenzie <acm@muc.de>
6392
6393 Fix indentation/fontification of Java enum with "implements".
6394
6395 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6396 regexp which matches "implements", etc., in Java.
6397 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6398 specifier clauses coming after "enum".
6399 * progmodes/cc-fonts.el (c-font-lock-declarations)
6400 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6401 after "enum".
6402
1610938f
JD
64032013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6404
6405 * faces.el (region): Change ns_selection_color to
6406 ns_selection_fg_color, add ns_selection_bg_color.
6407
e090f499
LL
64082013-09-28 Leo Liu <sdl.web@gmail.com>
6409
4d2e94d1
LL
6410 * progmodes/octave.el (inferior-octave-completion-table)
6411 (inferior-octave-completion-at-point): Minor tweaks.
6412
e090f499
LL
6413 * textmodes/ispell.el (ispell-lookup-words): Rename from
6414 lookup-words. (Bug#15460)
6415 (lookup-words): Obsolete.
6416 (ispell-complete-word, ispell-command-loop): All uses changed.
6417
7e138a62
RS
64182013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6419
a12bf61e 6420 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6421 (octave-mode-menu): Add octave-send-buffer.
6422 (octave-send-buffer): New function.
6423
5af5ed08
RS
64242013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6425
a12bf61e 6426 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6427 octave-lookfor.
6428 (octave-mode-menu): Add octave-lookfor.
6429 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6430 octave-lookfor.
6431 (octave-lookfor): New function.
6432
3b7b2692
SM
64332013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6434
35e951cd 6435 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6436 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6437 its convention.
6438 (cl--loop-set-iterator-function): New function.
6439 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6440 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6441 Bind `it' with `let' instead of substituting it with `cl-subst'.
6442 (cl--unused-var-p): New function.
6443 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6444 Eliminate some unused variable warnings (bug#15326).
6445
529fb53f
TH
64462013-09-27 Tassilo Horn <tsdh@gnu.org>
6447
6448 * doc-view.el (doc-view-scale-reset): Rename from
6449 `doc-view-reset-zoom-level'.
6450 (doc-view-scale-adjust): New command.
6451 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6452 `doc-view-scale-adjust'.
6453
0550c95a
TH
64542013-09-26 Tassilo Horn <tsdh@gnu.org>
6455
6456 * doc-view.el (doc-view-reset-zoom-level): New command.
6457 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6458 zoom commands (bug#15466).
6459
6950f152
KH
64602013-09-26 Kenichi Handa <handa@gnu.org>
6461
6462 * international/quail.el (quail-help): Make it not a command.
6463
39587580
LL
64642013-09-26 Leo Liu <sdl.web@gmail.com>
6465
6466 * minibuffer.el (completion-all-sorted-completions): Make args
6467 optional as they are.
6468
00578659
DC
64692013-09-25 Daniel Colascione <dancol@dancol.org>
6470
6471 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6472 specs are and that they're not evaluated.
6473
0c173878
SS
64742013-09-24 Sam Steingold <sds@gnu.org>
6475
6476 * midnight.el (clean-buffer-list-kill-regexps)
6477 (clean-buffer-list-kill-buffer-names): Update for the new Man
6478 buffer naming which includes the object name.
6479
84998447
SM
64802013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6483 (eshell-parse-command, eshell-parse-pipeline): Use it since
6484 eshell-separate-commands requires a dynamic scoped var.
6485 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6486
33215353
LL
64872013-09-23 Leo Liu <sdl.web@gmail.com>
6488
6489 * autoinsert.el (auto-insert-alist): Make the value of
6490 lexical-binding match its file setting.
6491
57b16162
JB
64922013-09-23 Juanma Barranquero <lekktu@gmail.com>
6493
c8af4e67
JB
6494 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6495
57b16162
JB
6496 * autoarg.el (autoarg-kp-digit-argument):
6497 * electric.el (Electric-command-loop):
6498 * kmacro.el (kmacro-step-edit-insert):
6499 Do not set universal-argument-num-events.
6500
7186ba60
LL
65012013-09-22 Leo Liu <sdl.web@gmail.com>
6502
6503 * files.el (interpreter-mode-alist): Add octave.
6504
ece15004
AM
65052013-09-21 Alan Mackenzie <acm@muc.de>
6506
6507 C++: fontify identifier in declaration following "public:" correctly.
6508 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6509 to match "public", etc.
6510 (c-decl-prefix-re): Add ":" into the C++ value.
6511 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6512 bit. Add a check for a ":" preceded by "public", etc.
6513
75d83e22
EZ
65142013-09-21 Eli Zaretskii <eliz@gnu.org>
6515
6516 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6517 recognized by GDB 7.5 and later.
6518
d052d3bd
XF
65192013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6520
6521 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6522
31dca772
R
65232013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6524
6525 * subr.el (internal--call-interactively): New const.
6526 (called-interactively-p): Use it (bug#3984).
6527
98ccf24e
XF
65282013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6529
6530 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6531 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6532 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6533
c39cc7d1
SM
65342013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6537 (eshell-ls-orig-insert-directory): Remove.
6538 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6539 (eshell-ls-use-in-dired): Use advice-add/remove.
6540 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6541 Add `orig-fun' arg for use in :around advice.
6542 Make it check (redundantly) eshell-ls-use-in-dired.
6543
9a0289a2
GM
65442013-09-19 Glenn Morris <rgm@gnu.org>
6545
a2c501b8
GM
6546 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6547
c440407a
GM
6548 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6549
9a0289a2
GM
6550 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6551
85e05915
MA
65522013-09-19 Michael Albinus <michael.albinus@gmx.de>
6553
6554 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6555 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6556 (tramp-get-remote-python): New defuns.
6557 (tramp-get-remote-uid-with-perl)
6558 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6559 contributed by yary <not.com@gmail.com> (tiny change).
6560 (tramp-get-remote-uid-with-python)
6561 (tramp-get-remote-gid-with-python): New defuns. Python code
6562 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6563 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6564
ce503312
GM
65652013-09-19 Glenn Morris <rgm@gnu.org>
6566
f7544773
GM
6567 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6568
72fd2877
GM
6569 * eshell/em-unix.el (eshell-remove-entries):
6570 Rename argument to avoid name-clash with global `top-level'.
6571
336b5a56
GM
6572 * eshell/esh-proc.el (eshell-kill-process-function):
6573 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6574 (eshell-reset-after-proc): Remove unused arg `proc'.
6575
57a3a53d
GM
6576 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6577 (directory-files-and-attributes): Mark unused arg.
6578
3261d4af
GM
6579 * eshell/em-unix.el (eshell-remove-entries):
6580 Remove unused arg `path'. Update callers.
6581
8e51b5d0
GM
6582 * eshell/em-hist.el (eshell-hist-parse-arguments):
6583 Remove unused arg `silent'. Update callers.
6584
ce503312
GM
6585 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6586 Fix (f)boundp mix-up.
6587
6588 * eshell/em-smart.el (eshell-smart-scroll-window)
6589 (eshell-disable-after-change):
336b5a56 6590 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6591
ee3ce8a7
AM
65922013-09-18 Alan Mackenzie <acm@muc.de>
6593
6594 Fix fontification of type when followed by "const".
6595 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6596 "known" types from fontification.
6597
ec9177ba
GM
65982013-09-18 Glenn Morris <rgm@gnu.org>
6599
7bb3e768
GM
6600 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6601 (chart-face-list): Drop Emacsen without display-color-p.
6602
5148da15
GM
6603 * net/eww.el (libxml-parse-html-region): Declare.
6604 (eww-display-html): Explicit error if no libxml2 support.
6605
2f68e157
GM
6606 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6607
9019d095
GM
6608 * image.el (image-type-from-buffer, image-multi-frame-p):
6609 Remove --without-x warning/error.
67645389 6610
5f30349b 6611 * mouse.el (mouse-yank-primary):
45069b2e 6612 * term.el (term-mouse-paste):
5f30349b
GM
6613 Reorder to silence --without-x compilation.
6614
cd8edbbe
GM
6615 * mpc.el (doc-view-mode): Silence --without-x compilation.
6616
8a78544e
GM
6617 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6618 Silence --without-x compilation.
6619
12679bfd
GM
6620 * progmodes/gud.el (gud-find-file, gud-mode):
6621 Silence --without-x compilation.
6622 (tooltip-mode): Declare.
30810a05 6623
f0047cb9
GM
6624 * wdired.el (dired-backup-overwrite): Remove declaration.
6625 (wdired-mode-map): Add doc string.
6626
e740f9d2
GM
6627 * custom.el (x-get-resource): Declare.
6628
92d77c89
GM
6629 * eshell/em-glob.el (ange-cache):
6630 * eshell/em-unix.el (ange-cache): Declare.
6631
76e69577
GM
6632 * faces.el (x-display-list, x-open-connection, x-get-resource):
6633 Declare.
7e58af4b
GM
6634
6635 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6636 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6637 Declare.
76e69577 6638
4bd4c0af 6639 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6640
ffb82dbd
GM
6641 * net/gnutls.el (gnutls-log-level): Declare.
6642
986ed135
GM
6643 * net/shr.el (image-size, image-animate): Declare.
6644
e740f9d2
GM
6645 * simple.el (font-info): Declare.
6646
d2f3e9f8
GM
6647 * subr.el (x-popup-dialog): Declare.
6648
047a1a4c
GM
6649 * term/common-win.el (x-select-enable-primary)
6650 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6651 Declare.
6652
f4a1d572
GM
6653 * term/ns-win.el (x-handle-args): Declare.
6654
e843de77
GM
6655 * term/x-win.el (x-select-enable-clipboard): Declare.
6656
5fa89513
GM
6657 * term/w32-win.el (create-default-fontset): Declare.
6658
38702b5b
GM
6659 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6660 Declare.
6661
e740f9d2
GM
6662 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6663 (fit-frame-to-buffer): Explicit error if --without-x.
6664 (mouse-autoselect-window-select): Silence compiler.
6665
49a053fc
GM
6666 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6667
6668 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6669 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6670 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6671 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6672 Remove unused local variables.
6673
6674 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6675
ec9177ba
GM
6676 * textmodes/two-column.el: Make 2C-split work for --without-x.
6677 (scroll-bar-columns): Autoload.
6678 (top-level): Require fringe when compiling.
6679
9f25cb77
LL
66802013-09-18 Leo Liu <sdl.web@gmail.com>
6681
6682 * subr.el (add-hook): Robustify to handle closure as well.
6683
2b42da98
GM
66842013-09-17 Glenn Morris <rgm@gnu.org>
6685
6686 * simple.el (messages-buffer-mode-map): Unbind "g".
6687
e8b66a6a
SM
66882013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6689
9c0ad4f7
SM
6690 * help-mode.el (help-mode-finish): Use derived-mode-p.
6691 Remove obsolete highlighting.
6692
7a806dfb
SM
6693 * play/life.el (life-mode): Use define-derived-mode. Derive from
6694 special-mode.
6695 (life): Let-bind inhibit-read-only.
6696 (life-setup): Avoid `setq'. Use `life-mode'.
6697
96dbf5a8
SM
6698 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6699 which should not be needed any more.
6700 (package-menu-refresh, package-menu-describe-package): Use user-error.
6701
e8b66a6a
SM
6702 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6703 (eshell-post-rewrite-command-hook): Make obsolete.
6704 (eshell-parse-command): Simplify.
6705 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6706 (eshell--cmd): Declare.
6707 (eshell-parse-pipeline): Remove unused var `final-p'.
6708 Pass a dynvar to eshell-post-rewrite-command-hook.
6709 Implement the new eshell-post-rewrite-command-function.
6710 (eshell-invoke-directly): Remove unused arg `input'.
6711 * eshell/esh-io.el (eshell-io-initialize):
6712 Use eshell-post-rewrite-command-function (bug#15399).
6713 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6714 adjust to new calling convention.
6715 (eshell-create-handles): Rename args to avoid clashing with dynvar
6716 `standard-output'.
6717
90582f05
GM
67182013-09-17 Glenn Morris <rgm@gnu.org>
6719
6720 * simple.el (messages-buffer-mode): New major mode.
6721 (messages-buffer): New function.
6722 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6723 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6724 (ert-run-test): Use `messages-buffer' function.
90582f05 6725 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6726 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6727 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6728
39eb0cb5 67292013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6730
6731 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6732
1d42e5b6 6733 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6734
70568a90
SM
67352013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6736
504a0381
SM
6737 * icomplete.el (icomplete-in-buffer): New var.
6738 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6739 vars and replace them with functions.
6740 (icomplete-minibuffer-setup): Adjust accordingly.
6741 (icomplete--completion-table, icomplete--completion-predicate)
6742 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6743 New functions.
6744 (icomplete-forward-completions, icomplete-backward-completions)
6745 (icomplete-simple-completing-p, icomplete-exhibit)
6746 (icomplete-completions): Use them.
6747 (icomplete--in-region-buffer): New var.
6748 (icomplete--in-region-setup): New function.
6749 (icomplete-mode): Use it.
6750
70568a90
SM
6751 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6752 (bug#15379).
6753 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6754 return args and options.
6755 (eshell-eval-using-options): Use the new return value of
6756 eshell--do-opts to set the options's vars in their scope.
6757 (eshell--set-option): Rename from eshell-set-option.
6758 Add arg `opt-vals'.
6759 (eshell--process-option): Rename from eshell-process-option.
6760 Add arg `opt-vals'.
6761 (eshell--process-args): Use an `opt-vals' alist to store the options's
6762 values during their processing and return them additionally to the
6763 remaining args.
6764
578c21bc
DG
67652013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6766
6767 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6768 continuation character an operator, as far as indentation is
6769 concerned (Bug#15369).
6770
c089653d
MR
67712013-09-15 Martin Rudalics <rudalics@gmx.at>
6772
6773 * window.el (window--state-put-2): Don't process buffer state
6774 when buffer doesn't exist any more (Bug#15382).
6775
1e53bb4b
GM
67762013-09-15 Glenn Morris <rgm@gnu.org>
6777
30753242
GM
6778 * eshell/em-unix.el (eshell/rm):
6779 Make -f ignore missing files. (Bug#15373)
6780
1e53bb4b
GM
6781 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6782 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6783 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6784
0d8863b3
GM
67852013-09-14 Glenn Morris <rgm@gnu.org>
6786
6787 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6788
d3fc6549
GM
67892013-09-13 Glenn Morris <rgm@gnu.org>
6790
6791 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6792 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6793
fcd42c11
DA
67942013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6795
6796 * frame.el (x-focus-frame): Mark as declared in frame.c.
6797
7830899f
SM
67982013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * ls-lisp.el: Use advice-add.
6801 (original-insert-directory): Remove.
6802 (ls-lisp--insert-directory): Rename from insert-directory; add
6803 `orig-fun' argument.
6804 (insert-directory): Advise.
6805
84387cd2
EZ
68062013-09-13 Eli Zaretskii <eliz@gnu.org>
6807
6808 * term.el (term-emulate-terminal): Decode the command string
6809 before passing it to term-command-hook. (Bug#15337)
6810
35ffc6ba
GM
68112013-09-13 Glenn Morris <rgm@gnu.org>
6812
5c3f9bcc
GM
6813 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6814
2ada368a
GM
6815 * eshell/esh-ext.el (eshell-search-path): Declare.
6816
fcef2e13
GM
6817 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6818 Otherwise an error occurs if eshell-dirs module not loaded.
6819
35ffc6ba
GM
6820 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6821
35c3d36e
MA
68222013-09-13 Michael Albinus <michael.albinus@gmx.de>
6823
6824 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6825 `tramp-check-proper-host'. Check for a valid method name.
6826
6827 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6828 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6829 * net/tramp-sh.el (tramp-maybe-open-connection):
6830 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6831
6832 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6833 also for hash values.
6834
ae5e4c48
SM
68352013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6836
379add74
SM
6837 * term/ns-win.el (parameters): Don't declare as dynamic.
6838 (before-make-frame-hook): Don't add ineffective function.
6839
ae5e4c48
SM
6840 * eshell/*.el: Use lexical-binding (bug#15231).
6841
b5623270
KH
68422013-09-12 Kenichi Handa <handa@gnu.org>
6843
ae5e4c48 6844 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6845
30213927
GM
68462013-09-12 Glenn Morris <rgm@gnu.org>
6847
be94d713 6848 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6849 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6850
44915370
GM
6851 * subr.el (do-after-load-evaluation): Also give compiler warnings
6852 when obsolete files are used (except by obsolete files).
6853
a6ae021f
GM
6854 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6855 in the status output, assume `filename' is the first. (Bug#15322)
6856
40e64f0c
GM
6857 * vc/vc.el (vc-deduce-fileset): Doc fix.
6858
16d9f896
GM
6859 * calc/calc-help.el (Info-goto-node):
6860 * progmodes/cperl-mode.el (Info-find-node):
6861 * vc/ediff.el (Info-goto-node): Update declarations.
6862
dea01c6e
GM
6863 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6864
759880bf 6865 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6866 (vc-bzr-pull): Require vc-dispatcher.
6867 * vc/vc-git.el (vc-compilation-mode): Declare.
6868 (vc-git-pull): Require vc-dispatcher.
6869
08d66420
GM
6870 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6871
30b626e9
GM
6872 * progmodes/octave.el (help-button-action): Declare.
6873
8c05cb10
GM
6874 * shell.el (shell-directory-tracker): Output error as a message
6875 rather than just returning it as a string.
6876 (shell-process-pushd): Remove useless use of message.
6877
30213927
GM
6878 * dframe.el (dframe-timer-fn):
6879 * files.el (dir-locals-read-from-file):
6880 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6881 (mpc-format):
6882 * reveal.el (reveal-post-command):
6883 * saveplace.el (load-save-place-alist-from-file):
6884 * shell.el (shell-resync-dirs):
6885 * w32-common-fns.el (x-get-selection-value):
6886 * emacs-lisp/copyright.el (copyright-find-copyright):
6887 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6888 * emulation/tpu-edt.el (tpu-copy-keyfile):
6889 * play/bubbles.el (bubbles--mark-neighbourhood):
6890 * progmodes/executable.el
6891 (executable-make-buffer-file-executable-if-script-p):
6892 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6893
d3b049e6
SM
68942013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6895
170266d0
SM
6896 Cleanup Eshell to rely less on dynamic scoping.
6897 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6898 last-value, and ext-command here. Bind `args' closer to `body'.
6899 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6900 (eshell--args): Declare new dynamic var.
6901 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6902 last-value, and ext-command. Pass `args' to `body'.
6903 (eshell-process-args): Bind eshell--args.
6904 (eshell-set-option): Use eshell--args.
6905 * eshell/eshell.el (eshell): Use derived-mode-p.
6906 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6907 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6908 (eshell-glob-function): Declare.
6909 * eshell/esh-util.el: Require cl-lib.
6910 (eshell-read-hosts-file): Avoid add-to-list.
6911 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6912 `err'.
6913 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6914 Declare.
6915 (eshell/diff): Remove unused var `err'.
6916 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6917 `killflag'.
6918 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6919 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6920 first use.
6921 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6922 Move declaration before first use.
6923 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6924 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6925 rely on cl-return.
6926
56834f3b
GM
69272013-09-12 Glenn Morris <rgm@gnu.org>
6928
6929 * term/ns-win.el (global-map): Remove binding for ispell-next,
6930 deleted 1999-05-29. (Bug#15357)
6931
5c91a2b8
GM
69322013-09-11 Glenn Morris <rgm@gnu.org>
6933
da712f22
GM
6934 * echistory.el (electric-command-history): Remove call to deleted func.
6935
512e4cdc
GM
6936 * play/landmark.el (landmark-mode): Fix typos.
6937
d3506ca5
GM
6938 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6939 Check cvs-sort-ignore-file is bound.
6940
5c91a2b8
GM
6941 * savehist.el: No need for cl when compiling on Emacs.
6942
feeff482
SM
69432013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6944
656bd483
SM
6945 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6946 (bug#15338).
d3b049e6
SM
6947 (eshell-self-insert-command, eshell-send-invisible):
6948 Remove unused argument.
656bd483
SM
6949 (eshell-handle-control-codes): Remove unused var `orig'.
6950 Avoid delete-backward-char.
6951
feeff482
SM
6952 * files.el (set-auto-mode): Simplify a bit further.
6953
2a08047a
GM
69542013-09-11 Glenn Morris <rgm@gnu.org>
6955
6956 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6957 (set-auto-mode): Don't regexp-quote elements.
6958 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6959 * progmodes/cc-mode.el (interpreter-mode-alist):
6960 * progmodes/ruby-mode.el (interpreter-mode-alist):
6961 Revert previous change.
6962
34675540
SM
69632013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6964
1b3b87df
SM
6965 * play/snake.el (snake-mode):
6966 * play/mpuz.el (mpuz-mode):
6967 * play/landmark.el (lm-mode):
6968 * play/blackbox.el (blackbox-mode):
6969 * play/5x5.el (5x5-mode):
6970 * obsolete/options.el (Edit-options-mode):
6971 * net/quickurl.el (quickurl-list-mode):
6972 * net/newst-treeview.el (newsticker-treeview-mode):
6973 * mail/rmailsum.el (rmail-summary-mode):
6974 * mail/mspools.el (mspools-mode):
6975 * locate.el (locate-mode):
6976 * ibuffer.el (ibuffer-mode):
6977 * emulation/ws-mode.el (wordstar-mode):
6978 * emacs-lisp/debug.el (debugger-mode):
6979 * array.el (array-mode):
6980 * net/eudc.el (eudc-mode): Use define-derived-mode.
6981 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6982 Move initialization into declaration.
6983 (mairix-searches-mode): Use define-derived-mode.
6984 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6985 (eudc-edit-hotlist): Use dolist.
6986 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6987 (Man-mode): Use define-derived-mode.
6988 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6989 (Info-edit-mode): Use define-derived-mode.
6990 (Info-cease-edit): Use Info-mode.
6991 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6992 into declaration.
6993 (eshell-mode): Use define-derived-mode.
6994 * chistory.el (command-history-mode-map): Rename from
6995 command-history-map.
6996 (command-history-mode): Use define-derived-mode.
da712f22 6997 (Command-history-setup): Remove function.
1b3b87df
SM
6998 * calc/calc.el (calc-trail-mode-map): New var.
6999 (calc-trail-mode): Use define-derived-mode.
7000 (calc-trail-buffer): Set calc-main-buffer manually.
7001 * bookmark.el (bookmark-insert-annotation): New function.
7002 (bookmark-edit-annotation): Use it.
7003 (bookmark-edit-annotation-mode): Make it a proper major mode.
7004 (bookmark-send-edited-annotation): Use derived-mode-p.
7005 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7006 closer to its ideal place. Use \' to match EOS.
7007
34675540
SM
7008 * profiler.el (profiler-calltree-find): Use function-equal.
7009
6a5c15d9
GM
70102013-09-10 Glenn Morris <rgm@gnu.org>
7011
1af4c220
GM
7012 * files.el (interpreter-mode-alist): Convert to regexps.
7013 (set-auto-mode): Adapt for this. (Bug#15306)
7014 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7015 Comment out unused variable.
7016 * progmodes/cc-mode.el (interpreter-mode-alist):
7017 * progmodes/python.el (interpreter-mode-alist):
7018 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7019 * progmodes/sh-script.el (sh-set-shell):
7020 No longer use interpreter-mode-alist to get list of shells.
7021
6a5c15d9
GM
7022 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7023
8c27f5ff
SM
70242013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7025
02ef6c1a 7026 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7027 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
7028 Bind switch-frame explicitly. Replace universal-argument-minus with
7029 a conditional binding.
7030 (universal-argument-num-events, saved-overriding-map): Remove.
7031 (restore-overriding-map): Remove.
7032 (universal-argument--mode): Rename from save&set-overriding-map,
7033 and rewrite.
7034 (universal-argument, universal-argument-more, negative-argument)
7035 (digit-argument): Adjust accordingly.
7036 (universal-argument-minus): Remove.
7037 (universal-argument-other-key): Remove.
7038
8c27f5ff
SM
7039 * subr.el (with-demoted-errors): Add `format' argument.
7040
6480194c
MA
70412013-09-10 Michael Albinus <michael.albinus@gmx.de>
7042
7043 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7044 `tramp-cleanup-connection'.
7045
7046 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7047 parameters KEEP-DEBUG and KEEP-PASSWORD.
7048
7049 * net/tramp.el (tramp-file-name-handler):
7050 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7051 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7052 (tramp-maybe-open-connection):
8c27f5ff
SM
7053 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7054 Use `tramp-cleanup-connection'.
6480194c 7055
8c27f5ff
SM
7056 * net/tramp-sh.el (tramp-maybe-open-connection):
7057 Catch 'uname-changed inside the progress reporter.
6480194c 7058
e5e916d8
GM
70592013-09-10 Glenn Morris <rgm@gnu.org>
7060
9a2c9b47
GM
7061 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7062
e5e916d8
GM
7063 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7064 returns "alternate access method" in mode (eg "-rw-r--r--.").
7065
144e38fe
GM
70662013-09-08 Glenn Morris <rgm@gnu.org>
7067
7068 * saveplace.el (load-save-place-alist-from-file):
7069 Demote errors. (Bug#15305)
7070
af9ff9e8
MA
70712013-09-08 Michael Albinus <michael.albinus@gmx.de>
7072
7073 Improve compatibility with older Emacsen, and XEmacs.
7074
7075 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7076 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
7077 (with-tramp-progress-reporter): Do not let-bind `result'.
7078 This yields to scoping errors in XEmacs.
af9ff9e8
MA
7079 (tramp-handle-make-auto-save-file-name): New function, moved from
7080 tramp-sh.el.
7081
7082 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7083 for `make-auto-save-file-name'.
8c27f5ff
SM
7084 (tramp-adb--gnu-switches-to-ash):
7085 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7086
7087 * net/tramp-cache.el (tramp-cache-print): Call
7088 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7089
7090 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7091 bound. It isn't for XEmacs.
7092
8c27f5ff
SM
7093 * net/tramp-compat.el (tramp-compat-copy-file):
7094 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7095 (tramp-compat-replace-regexp-in-string): New defun.
7096
7097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7098 for `make-auto-save-file-name'.
7099 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7100 `copy-file'.
7101 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7102 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7103 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7104
8c27f5ff
SM
7105 * net/tramp-gw.el (tramp-gw-open-network-stream):
7106 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7107
8c27f5ff
SM
7108 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7109 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7110 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7111 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7112 (tramp-sh-file-inotifywait-process-filter):
7113 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7114 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7115
7116 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7117 for `make-auto-save-file-name'.
8c27f5ff
SM
7118 (tramp-smb-handle-copy-directory):
7119 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7120 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7121 (tramp-smb-handle-copy-file): Improve error message.
7122 (tramp-smb-handle-rename-file): Rename directly only in case
7123 `newname' does not exist yet. This is a restriction of smbclient.
7124 (tramp-smb-maybe-open-connection): Rerun the function only when
7125 `auth-sources' is non-nil.
7126
0ca754d0
KH
71272013-09-08 Kenichi Handa <handa@gnu.org>
7128
e0eb0550 7129 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7130 more characters.
7131
e8dd0787
AM
71322013-09-07 Alan Mackenzie <acm@muc.de>
7133
7134 Correctly fontify Java class constructors.
7135 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7136 in Java Mode.
7137 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7138 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7139 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7140 "typeless" declaration there.
7141
f2f248e7
RW
71422013-09-07 Roland Winkler <winkler@gnu.org>
7143
7144 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7145 field subtitle for entry type book.
7146
67982e2b
SM
71472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * minibuffer.el: Make minibuffer-complete call completion-in-region
7150 rather than other way around.
7151 (completion--some, completion-pcm--find-all-completions):
7152 Don't delay signals when debugging.
7153 (minibuffer-completion-contents): Beware fields within the
7154 minibuffer contents.
7155 (completion-all-sorted-completions): Use defvar-local.
7156 (completion--do-completion, completion--cache-all-sorted-completions)
7157 (completion-all-sorted-completions, minibuffer-force-complete):
7158 Add args `beg' and `end'.
7159 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7160 (minibuffer-complete): Use completion-in-region.
7161 (completion-complete-and-exit): New fun, extracted from
7162 minibuffer-complete-and-exit.
7163 (minibuffer-complete-and-exit): Use it.
7164 (completion--complete-and-exit): Rename from
7165 minibuffer--complete-and-exit.
7166 (completion-in-region--single-word): New function, extracted from
7167 minibuffer-complete-word.
7168 (minibuffer-complete-word): Use it.
7169 (display-completion-list): Make `common-substring' argument obsolete.
7170 (completion--in-region): Call completion--in-region-1 instead of
7171 minibuffer-complete.
7172 (completion-help-at-point): Pass boundaries to
7173 minibuffer-completion-help as args rather than via an overlay.
7174 (completion-pcm--string->pattern): Use `any-delim'.
7175 (completion-pcm--optimize-pattern): New function.
7176 (completion-pcm--pattern->regex): Handle `any-delim'.
7177 * icomplete.el (icomplete-forward-completions)
7178 (icomplete-backward-completions, icomplete-completions):
7179 Adjust calls to completion-all-sorted-completions and
7180 completion--cache-all-sorted-completions.
7181 (icomplete-with-completion-tables): Default to t.
7182 * emacs-lisp/crm.el (crm--current-element): Rename from
7183 crm--select-current-element. Don't put an overlay but return the
7184 boundaries instead.
7185 (crm--completion-command): Take two new args to bind to the boundaries.
7186 (crm-completion-help): Adjust accordingly.
7187 (crm-complete): Use completion-in-region.
7188 (crm-complete-word): Use completion-in-region--single-word.
7189 (crm-complete-and-exit): Use completion-complete-and-exit.
7190
e17d94a5
SM
71912013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7194 than dynamically.
7195
96727100
JL
71962013-09-06 Juri Linkov <juri@jurta.org>
7197
7198 * info.el (Info-display-images-node): When image file doesn't exist
7199 display text version of the image if it's provided in the Info file.
7200 Otherwise, display the location of missing image from SRC attribute.
7201 Add help-echo text property from ALT attribute. (Bug#15279)
7202
86cf7329
SM
72032013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7206 (edit-abbrevs-mode): Use define-derived-mode.
7207
7208 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7209 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7210 that it's defined.
7211 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7212 Use define-derived-mode.
7213
7214 * epg.el (epg-start-encrypt): Minor CSE simplification.
7215
816244a2
WX
72162013-09-06 William Xu <william.xwl@gmail.com>
7217
7218 * arc-mode.el: Add support for 7za (bug#15264).
7219 (archive-7z-program): New var.
7220 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7221 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7222 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7223
1486fa31
MA
72242013-09-06 Michael Albinus <michael.albinus@gmx.de>
7225
7226 Remove URL syntax.
7227
7228 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7229 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7230 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7231 (tramp-postfix-host-format, tramp-file-name-regexp)
7232 (tramp-completion-file-name-regexp)
7233 (tramp-completion-dissect-file-name)
7234 (tramp-handle-substitute-in-file-name): Remove 'url case.
7235 (tramp-file-name-regexp-url)
7236 (tramp-completion-file-name-regexp-url): Remove constants.
7237
39785324
GM
72382013-09-06 Glenn Morris <rgm@gnu.org>
7239
7240 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7241
1f896cb7
DG
72422013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7243
7244 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7245 keywords" below "here-doc beginnings" (Bug#15270).
7246
c0458e0b
SM
72472013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * subr.el (pop): Use `car-safe'.
7250 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7251 to detect unused `pop' return value.
7252
7253 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7254 var `block-regexp'.
7255 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7256 (python-fill-string): Remove unused var `marker'.
7257 (python-skeleton-add-menu-items): Remove unused var `items'.
7258
7259 * international/mule-cmds.el: Require CL.
7260 (find-coding-systems-for-charsets): Avoid add-to-list.
7261 (sanitize-coding-system-list): New function, extracted from
7262 select-safe-coding-system-interactively.
7263 (select-safe-coding-system-interactively): Use it.
7264 (read-input-method-name): Accept symbols for `default'.
7265
7266 * emacs-lisp/advice.el (defadvice): Add indent rule.
7267
6c42fc3e
DH
72682013-09-05 Daniel Hackney <dan@haxney.org>
7269
7270 * dired-x.el:
7271 * net/ange-ftp.el:
7272 * net/browse-url.el:
7273 * net/dbus.el:
7274 * net/eudc.el:
7275 * net/eudcb-ldap.el:
7276 * net/eww.el:
7277 * net/imap.el:
7278 * printing.el:
7279 * vc/ediff-diff.el:
7280 * vc/ediff-init.el:
7281 * vc/ediff-merg.el:
7282 * vc/ediff-mult.el:
7283 * vc/ediff-util.el:
7284 * vc/ediff-wind.el:
7285 * vc/ediff.el:
7286 * vc/emerge.el:
7287 * vc/pcvs.el:
7288 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7289 byte compiler. Remove some unused let-bound variables.
7290
4c528aab
SM
72912013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7292
7293 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7294 a "ref-cell", since it gets better optimized (bug#14883).
7295
bd15c390
GM
72962013-09-05 Glenn Morris <rgm@gnu.org>
7297
7298 * progmodes/cc-awk.el (c-forward-sws): Declare.
7299
1c3ac2e5
GM
73002013-09-04 Glenn Morris <rgm@gnu.org>
7301
7302 * generic-x.el [rul-generic-mode]: Require cc-mode.
7303 (c++-mode-syntax-table): Declare.
7304 (rul-generic-mode-syntax-table): Init in the defvar.
7305
52b1cc79
SM
73062013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7307
c828af56
SM
7308 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7309 (vc-do-command, vc-set-async-update):
7310 * vc/vc-mtn.el (vc-mtn-dir-status):
7311 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7312 (vc-hg-pull, vc-hg-merge-branch):
7313 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7314 (vc-git-merge-branch):
7315 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7316 (vc-cvs-dir-status-files):
7317 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7318 (vc-bzr-dir-status-files):
7319 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7320 * vc/vc-annotate.el: Use lexical-binding.
7321 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7322 (vc-sentinel-movepoint): Declare.
7323 (vc-annotate): Don't use `goto-line'.
7324 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7325 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7326 (vc-sentinel-movepoint): Declare.
7327 * vc/vc-svn.el: Use lexical-binding.
7328 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7329 * vc/vc-sccs.el:
7330 * vc/vc-rcs.el: Use lexical-binding.
7331
abae272c
SM
7332 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7333 `deleted'. Don't drop errors silently.
7334
52b1cc79
SM
7335 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7336
63191d9f
XF
73372013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7338
7339 * vc/vc.el (vc-ignore): Rewrite.
7340 (vc-default-ignore): New function.
7341 (vc-default-ignore-completion-table): Use find-ignore-file.
7342
7343 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7344 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7345 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7346 Remove. Most code moved to vc.el.
7347
9d3f707c
SM
73482013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7349
abae272c 7350 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7351 * net/tramp-smb.el (tramp-smb-get-file-entries):
7352 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7353 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7354
fde38d49
SM
7355 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7356 Update call to it.
7357 (eww-change-select): Remove unused var `properties'.
7358 (eww-make-unique-file-name): Remove unused var `base'.
7359
7360 * finder.el (finder-compile-keywords): Don't mess with windows.
7361
84032db7
SM
7362 * calculator.el (calculator-funcall): Fix typo in last change.
7363
724f5e41
SM
7364 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7365
14b511d4
SM
7366 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7367 <pkg>-autoloads.el file stop us.
7368
9d3f707c 7369 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7370 warnings, and factor out common code.
9d3f707c 7371
88527bc0
DG
73722013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7373
7374 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7375 two-character operators and whether the character preceding them
7376 changes their meaning (Bug#15208).
7377
96edb677
FEG
73782013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7379
7380 Format code sent to Python shell for robustness.
9d3f707c
SM
7381 * progmodes/python.el (python-shell-buffer-substring):
7382 New function.
96edb677
FEG
7383 (python-shell-send-region, python-shell-send-buffer): Use it.
7384
95beaef3
MA
73852013-09-02 Michael Albinus <michael.albinus@gmx.de>
7386
7387 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7388 * net/tramp.el (tramp-user-error): ... here.
7389 (tramp-find-method, tramp-check-proper-host)
7390 (tramp-dissect-file-name, tramp-debug-message)
7391 (tramp-handle-shell-command):
7392 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7393 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7394
7395 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7396
f167c27b
MR
73972013-09-02 Martin Rudalics <rudalics@gmx.at>
7398
7399 * avoid.el (mouse-avoidance-point-position)
7400 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7401 returns nil.
7402
cd16c5f1
FEG
74032013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7404
7405 * progmodes/python.el (python-shell-completion-get-completions):
7406 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7407 (python-nav-if-name-main): New command.
cd16c5f1 7408
e73c3a0d
GM
74092013-09-01 Glenn Morris <rgm@gnu.org>
7410
f8ccce03
GM
7411 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7412 Avoid leading space in $wins. Otherwise the sed command used by
7413 eg compile-main ends up containing "/*.el". (Bug#15170)
7414
e73c3a0d
GM
7415 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7416
415f808e
GM
74172013-08-30 Glenn Morris <rgm@gnu.org>
7418
7419 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7420 Fix is-this-a-directory logic. (Bug#15220)
7421
f069bba8
SM
74222013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7423
112798c1
SM
7424 * textmodes/css-mode.el: Use SMIE.
7425 (css-smie-grammar): New var.
7426 (css-smie--forward-token, css-smie--backward-token)
7427 (css-smie-rules): New functions.
7428 (css-mode): Use them.
7429 (css-navigation-syntax-table): Remove var.
7430 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7431 (css-indent-calculate, css-indent-line): Remove functions.
7432
7433 Misc changes to reduce use of `(lambda...); and other cleanups.
7434 * cus-edit.el: Use lexical-binding.
7435 (customize-push-and-save, customize-apropos)
7436 (custom-buffer-create-internal): Use closures.
7437 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7438 * progmodes/ada-xref.el: Use setq.
7439 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7440 * dframe.el: Use lexical-binding.
7441 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7442 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7443 * descr-text.el: Use lexical-binding.
7444 (describe-text-widget, describe-text-sexp, describe-property-list):
7445 Use closures.
7446 * comint.el (comint-history-isearch-push-state): Use a closure.
7447 * calculator.el: Use lexical-binding.
7448 (calculator-number-to-string): Make it work with lexical-binding.
7449 (calculator-funcall): Same and use cl-letf.
7450
2da4c3ab
SM
7451 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7452 (lisp--company-doc-string, lisp--company-location): New functions.
7453 (lisp-completion-at-point): Use them to improve Company support.
7454
f069bba8
SM
7455 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7456 params of lambda expressions.
7457 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7458 (ruby-smie--opening-pipe-p): New function.
7459 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7460 symbols and matched |...| for formal params.
7461 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7462 from being treated as hanging. Handle "rescue".
7463
6758b6a8
GM
74642013-08-29 Glenn Morris <rgm@gnu.org>
7465
7466 * progmodes/cc-engine.el (c-pull-open-brace):
7467 Move definition before use.
7468
e8dfd197
SM
74692013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7471 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7472 are immutable. Don't use `unsafe' any more.
7473 (cl--defsubst-expand): Don't substitute at the same time as keeping
7474 a residual unused let-binding. Don't use `unsafe' any more.
7475
cc585c96
GM
74762013-08-29 Glenn Morris <rgm@gnu.org>
7477
ba579ea6
GM
7478 * calendar/cal-china.el (calendar-chinese-year-cache):
7479 Recenter on 2015.
7480
8201a87e
GM
7481 * nxml/nxml-util.el (nxml-debug-clear-inside):
7482 Use cl-loop rather than loop.
7483
6ee877c7
GM
7484 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7485
cc585c96
GM
7486 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7487
27be8d39
GM
74882013-08-28 Glenn Morris <rgm@gnu.org>
7489
397440a1
GM
7490 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7491
2bb762d4
GM
7492 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7493
27be8d39
GM
7494 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7495
2d69b99e
SM
74962013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7497
f663baa7
SM
7498 * simple.el (repeat-complex-command--called-interactively-skip):
7499 New function.
7500 (repeat-complex-command): Use it (bug#14136).
7501
dd4f8b74
SM
7502 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7503 (c-define-abbrev-table): Add `doc' argument.
7504 (c-mode-abbrev-table, c++-mode-abbrev-table)
7505 (objc-mode-abbrev-table, java-mode-abbrev-table)
7506 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7507 (awk-mode-abbrev-table): Use it.
7508 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7509 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7510 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7511 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7512 Move initialization into the declaration; and remove any
7513 autoload cookie.
7514
b58969f7
SM
7515 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7516 and dynamic let binding.
7517
4021d6a6
SM
7518 * vc/smerge-mode.el: Remove redundant :group args.
7519
2d69b99e
SM
7520 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7521 to load-path.
7522
274919fd
JL
75232013-08-28 Juri Linkov <juri@jurta.org>
7524
7525 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7526 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7527 (isearch-other-meta-char): Handle an undefined shifted printing
7528 character by downshifting it. (Bug#15200)
7529
121f8c95
JL
75302013-08-28 Juri Linkov <juri@jurta.org>
7531
7532 * isearch.el (isearch-search): Change regexp error message for
7533 non-regexp searches. (Bug#15166)
7534
50b13cde
PE
75352013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7536
7537 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7538 for portability to hosts where /bin/sh has problems.
7539
95888bca
SM
75402013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7543
bbe558f1
JL
75442013-08-27 Juri Linkov <juri@jurta.org>
7545
7546 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7547 in the keyboard macro. (Bug#15126)
7548
26f98a7d
JL
75492013-08-27 Juri Linkov <juri@jurta.org>
7550
7551 * isearch.el (isearch-quote-char): Comment out converting unibyte
7552 to multibyte, thus syncing with its `quoted-insert' counterpart.
7553 (Bug#15166)
7554
7c97d35e
MR
75552013-08-27 Martin Rudalics <rudalics@gmx.at>
7556
7557 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7558 argument in call of get-largest-window (Bug#15185).
7559 Reported by Stephen Leake.
7c97d35e 7560
a0b5606e 75612013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7562
7563 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7564
9e89d835
SM
75652013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7568 from a matcher-function unless there's no more matches (bug#15161).
7569
78fc2530
MA
75702013-08-26 Michael Albinus <michael.albinus@gmx.de>
7571
7572 * minibuffer.el: Revert change from 2013-08-20.
7573
7574 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7575 with text property `tramp-default', if appropriate.
7576 (tramp-check-proper-host): New defun.
7577 (tramp-dissect-file-name): Do not check hostname. Revert change
7578 of 2013-03-18.
7579 (tramp-backtrace): Make VEC-OR-PROC optional.
7580
7581 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7582 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7583 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7584 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7585 Apply `tramp-check-proper-host'.
78fc2530 7586
edca97cd
TH
75872013-08-26 Tassilo Horn <tsdh@gnu.org>
7588
7589 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7590 lambda expression in order to have `describe-variable' display it.
7591
df54bcbd
MA
75922013-08-26 Michael Albinus <michael.albinus@gmx.de>
7593
7594 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7595 BUF can be optional. (Bug#15186)
7596
eed99101
XF
75972013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7598
7599 * progmodes/flymake.el (flymake-get-real-file-name-function):
7600 Fix broken customization. (Bug#15184)
7601
b5eb9035
AM
76022013-08-25 Alan Mackenzie <acm@muc.de>
7603
8a51e842
AM
7604 Improve indentation of bracelists defined by macros (without "=").
7605
7606 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7607 expansion begins with "{", regard it as bracelist when it doesn't
7608 contain a ";".
7609
869455d4
AM
7610 Parse C++ inher-intro when there's a template split over 2 lines.
7611
7612 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7613 rigorously the search for "class" etc. followed by ":".
7614
7615 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7616 random languages a regexp which never matches rather than nil.
7617
b5eb9035
AM
7618 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7619
7620 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7621 (c-awk-regexp-one-line-possibly-open-char-list-re)
7622 (c-awk-one-line-possibly-open-regexp-re)
7623 (c-awk-one-line-non-syn-ws*-re): Remove.
7624 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7625 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7626 (c-awk-space*-unclosed-regexp-/-re): New constants.
7627 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7628 aren't regexp delimiters.
7629
7630 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7631 handling for a rare situation in AWK Mode involving unterminated
7632 strings/regexps.
7633
61611d54
GM
76342013-08-23 Glenn Morris <rgm@gnu.org>
7635
2d85dc34
GM
7636 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7637
cb8d2612
GM
7638 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7639
bb35f42f
GM
7640 * files.el (create-file-buffer): If the result would begin with
7641 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7642
b9808e77
SM
76432013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7644
e3a66363
SM
7645 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7646 text-properties (bug#15155).
7647
b9808e77
SM
7648 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7649 exist any more.
7650 (calc-keypad-redraw): Remove unused var `pad'.
7651 (calc-keypad-press): Remove unused var `menu'.
7652
7fd5f65e
MR
76532013-08-23 Martin Rudalics <rudalics@gmx.at>
7654
b9808e77
SM
7655 * window.el (display-buffer-pop-up-frame):
7656 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7657 use it as the new frame's buffer (Bug#15133).
7658
8352b530
SM
76592013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 * calendar/timeclock.el: Minor cleanups.
7662 (timeclock-ask-before-exiting, timeclock-use-display-time):
7663 Use `symbol'.
7664 (timeclock-modeline-display): Define as alias before the
7665 actual definition.
7666 (timeclock-mode-line-display): Use define-minor-mode.
7667 (timeclock-day-list-template): Make it a function, add an argument.
7668 (timeclock-day-list-required, timeclock-day-list-length)
7669 (timeclock-day-list-debt, timeclock-day-list-span)
7670 (timeclock-day-list-break): Adjust calls accordingly.
7671
9f7b1925
SM
76722013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7675 Use read--expression so that completion works again.
7676
6e50e983
SS
76772013-08-21 Sam Steingold <sds@gnu.org>
7678
7679 Add rudimentary inferior shell interaction
7680 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7681 (sh-set-shell): Reset it.
9f7b1925
SM
7682 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7683 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7684
dbb0d350
SM
76852013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * align.el: Use lexical-binding.
7688 (align-region): Simplify accordingly.
7689
c88586a9
MA
76902013-08-20 Michael Albinus <michael.albinus@gmx.de>
7691
7692 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7693
7694 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7695 `non-essential' up.
7696
f95527c8
MA
76972013-08-17 Michael Albinus <michael.albinus@gmx.de>
7698
7699 * net/tramp.el:
7700 * net/tramp-adb.el:
7701 * net/tramp-cmds.el:
7702 * net/tramp-ftp.el:
7703 * net/tramp-gvfs.el:
7704 * net/tramp-gw.el:
7705 * net/tramp-sh.el: Don't wrap external variable declarations by
7706 `eval-when-compile'.
7707
4b5fe4ee
LMI
77082013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7709
7710 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7711 now that Emacs supports ImageMagick animations.
7712
13c366c9
MA
77132013-08-16 Michael Albinus <michael.albinus@gmx.de>
7714
7715 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7716 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7717
3dfc5cd6
MR
77182013-08-16 Martin Rudalics <rudalics@gmx.at>
7719
7720 * window.el (mouse-autoselect-window-select): Do autoselect when
7721 mouse pointer is on margin.
7722
4bbb4381
WP
77232013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7724
7725 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7726
3a2ddc2d
GM
77272013-08-16 Glenn Morris <rgm@gnu.org>
7728
e8bedf5a
GM
7729 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7730 Handle "Remote Directory" response of some clients. (Bug#15058)
7731
58c4682f
GM
7732 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7733 Tweak warning. (Bug#14926)
7734
57953f49
GM
7735 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7736 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7737
3a2ddc2d
GM
7738 * image-mode.el (image-mode-map): Add menu items to reverse,
7739 increase, decrease, reset animation speed.
7740 (image--set-speed, image-increase-speed, image-decrease-speed)
7741 (image-reverse-speed, image-reset-speed): New functions.
7742 (image-mode-map): Add bindings for speed commands.
7743
7744 * image.el (image-animate-get-speed, image-animate-set-speed):
7745 New functions.
7746 (image-animate-timeout): Respect image :speed property.
7747
10fa0ed3
SM
77482013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7751 previous line (bug#15101).
7752 (debugger-eval-expression, debugger-record-expression):
7753 Use read--expression (bug#15102).
7754
5d89d9d2
MA
77552013-08-15 Michael Albinus <michael.albinus@gmx.de>
7756
7757 Remove byte compiler warnings, visible when compiling with
7758 `byte-compile-force-lexical-warnings' set to t.
7759
7760 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7761 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7762 (tramp-handle-unhandled-file-name-directory)
7763 (tramp-handle-file-notify-add-watch, tramp-action-login)
7764 (tramp-action-succeed, tramp-action-permission-denied)
7765 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7766 arguments with "_".
7767
7768 * net/tramp-adb.el (tramp-adb-parse-device-names)
7769 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7770 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7771 (tramp-adb-handle-file-truename): Remove unused arguments.
7772
7773 * net/tramp-cache.el (tramp-flush-directory-property)
7774 (tramp-flush-connection-property, tramp-list-connections)
7775 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7776
10fa0ed3
SM
7777 * net/tramp-compat.el (tramp-compat-make-temp-file):
7778 Rename FILENAME to F.
5d89d9d2
MA
7779
7780 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7781 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7782 (tramp-zeroconf-parse-workstation-device-names)
7783 (tramp-zeroconf-parse-webdav-device-names)
7784 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7785
7786 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7787 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7788
7789 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7790 arguments.
7791 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7792 (tramp-sh-handle-insert-file-contents-literally)
7793 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7794 with "_".
7795 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7796 Remove unused variables.
7797
7798 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7799 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7800 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7801
7802 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7803 Make them a defconst.
7804 (tramp-uuencode-region): Remove unused variable.
7805
62f33bae
JB
78062013-08-14 Juanma Barranquero <lekktu@gmail.com>
7807
7808 * frameset.el (frameset--prop-setter): New function.
7809 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7810 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7811 parameter was already set in FILTERED. Doc fix.
7812 (frameset--record-minibuffer-relationships): Allow saving a
7813 minibufferless frame without its corresponding minibuffer frame.
7814 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7815 frame, if the frame id matches.
7816 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7817 frames before orphaned ones.
7818 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7819
c660a885
MR
78202013-08-14 Martin Rudalics <rudalics@gmx.at>
7821
7822 * window.el (window-make-atom): Don't overwrite parameter
7823 already present.
7824 (display-buffer-in-atom-window): Handle special case where we
7825 split an already atomic window.
7826 (window--major-non-side-window, display-buffer-in-side-window)
7827 (window--side-check): Ignore minibuffer window when walking
7828 window tree.
7829 (window-deletable-p): Return 'frame only if no other frame uses
7830 our minibuffer window.
7831 (record-window-buffer): Run buffer-list-update-hook.
7832 (split-window): Make sure window--check-frame won't destroy an
7833 existing atomic window in case the new window gets nested
7834 inside.
7835 (display-buffer-at-bottom): Ignore minibuffer window when
7836 walking window tree. Don't split a side window.
7837 (pop-to-buffer): Don't set-buffer here, the select-window call
7838 should do that.
7839 (mouse-autoselect-window-select): Autoselect only if we are in the
7840 text portion of the window.
7841
8259030d
LMI
78422013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7843
21c58ae2
LMI
7844 * net/shr.el (shr-parse-image-data): New function to grab both the
7845 data itself and the Content-Type.
7846 (shr-put-image): Use it.
7847
7848 * net/eww.el (eww-display-image): Ditto.
7849
8259030d
LMI
7850 * image.el (image-content-type-suffixes): New variable.
7851
ad756449
FEG
78522013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7853
7854 * progmodes/python.el (python-imenu--build-tree)
7855 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7856
f73f4ce6
XF
78572013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7858
7859 * simple.el (backward-word): Mention the optional argument.
7860
1f585e65
SM
78612013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7862
7863 * frameset.el (frameset--make): Rename constructor from make-frameset.
7864 (frameset-p, frameset-valid-p): Don't autoload.
7865 (frameset-valid-p): Use normal accessors.
7866
af1c6c84
GM
78672013-08-13 Glenn Morris <rgm@gnu.org>
7868
55e47f95
GM
7869 * progmodes/compile.el (compile-command): Tweak example in doc.
7870 * obsolete/scribe.el (scribe-mode):
7871 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7872
f0024d8c
GM
7873 * mail/feedmail.el (feedmail-confirm-outgoing)
7874 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7875
7876 * cus-start.el (truncate-partial-width-windows): Fix type.
7877
7878 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7879
af1c6c84
GM
7880 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7881
5514cc4c
SM
78822013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * emacs-lisp/timer.el (timer--time-setter): New function.
7885 (timer--time): Use it as gv-setter.
7886
7887 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7888 setter is not a symbol.
7889
7997a2f1
GJ
78902013-08-12 Grégoire Jadi <daimrod@gmail.com>
7891
7892 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7893 if sending fails. This makes debugging easier.
7894
01f1a9ab
JB
78952013-08-12 Juanma Barranquero <lekktu@gmail.com>
7896
7897 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7898 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7899 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7900
594a4307
EZ
79012013-08-12 Eli Zaretskii <eliz@gnu.org>
7902
7903 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7904
7a22490f 79052013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7906
7907 * format.el (format-annotate-function):
7908 Handle read-only text properties in the source. (Bug#14887)
7909
3e41a054
LMI
79102013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7911
5514cc4c
SM
7912 * net/eww.el (eww-display-html): Ignore coding system errors.
7913 One web site uses "utf-8lias" as the coding system.
3e41a054 7914
7ec326db
JB
79152013-08-11 Juanma Barranquero <lekktu@gmail.com>
7916
7917 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7918
5660113b
JB
79192013-08-10 Juanma Barranquero <lekktu@gmail.com>
7920
9a4ebc74
JB
7921 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7922 (tutorial--detailed-help): Remove unused local variables.
7923 (tutorial--save-tutorial-to): Use ignore-errors.
7924 (help-with-tutorial): Use looking-at-p.
7925
7926 * view.el (view-buffer-other-window, view-buffer-other-frame):
7927 Mark unused arguments.
7928
7929 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7930 (woman-select-symbol-fonts, woman, woman-find-file)
7931 (woman-insert-file-contents, woman-non-underline-faces):
7932 Use string-match-p.
7933 (woman1-unquote): Move declaration.
7934
7935 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7936 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7937 argument. Remove unused local variable.
7938 (xml-parse-elem-type): Use string-match-p.
7939 (xml-substitute-numeric-entities): Use ignore-errors.
7940
45fdb482
JB
7941 * calculator.el (calculator): Mark unused argument.
7942 (calculator-paste, calculator-quit, calculator-integer-p):
7943 Use ignore-errors.
7944 (calculator-string-to-number, calculator-decimal, calculator-exp)
7945 (calculator-op-or-exp): Use string-match-p.
7946
7947 * dired.el (dired-buffer-more-recently-used-p): Declare.
7948 (dired-insert-set-properties, dired-insert-old-subdirs):
7949 Use ignore-errors.
7950
7951 * dired-aux.el (dired-compress): Use ignore-errors.
7952 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7953 (dired-do-async-shell-command, dired-do-shell-command)
7954 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7955 (dired-insert-subdir-validate): Use string-match-p.
7956 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7957 (dired-add-entry): Use string-match-p, looking-at-p.
7958 (dired-insert-subdir-newpos): Remove unused local variable.
7959
7960 * filenotify.el (file-notify-callback): Remove unused local variable.
7961
7962 * filesets.el (filesets-error): Mark unused argument.
7963 (filesets-which-command-p, filesets-filter-dir-names)
7964 (filesets-directory-files, filesets-get-external-viewer)
7965 (filesets-ingroup-get-data): Use string-match-p.
7966
7967 * find-file.el (ff-other-file-name, ff-other-file-name)
7968 (ff-find-the-other-file, ff-cc-hh-converter):
7969 Remove unused local variables.
7970 (ff-get-file-name): Use string-match-p.
7971 (ff-all-dirs-under): Use ignore-errors.
7972
7973 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7974 (follow-select-if-visible): Remove unused local variable.
7975
7976 * forms.el (read-file-filter): Move declaration.
7977 (forms--make-format, forms--make-parser, forms-insert-record):
7978 Quote function with #'.
7979 (forms--update): Use string-match-p. Quote function with #'.
7980
7981 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7982 (help-make-xrefs): Use looking-at-p.
7983 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7984
7985 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7986 (ibuffer-confirm-operation-on): Use string-match-p.
7987
7988 * msb.el (msb-item-handler, msb-dired-item-handler):
7989 Mark unused arguments.
7990
7991 * ses.el (ses-decode-cell-symbol)
7992 (ses-kill-override): Remove unused local variable.
7993 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7994 (ses-load): Use ignore-errors, looking-at-p.
7995 (ses-jump-safe): Use ignore-errors.
7996 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7997
7998 * tabify.el (untabify, tabify): Mark unused arguments.
7999
8000 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8001 Mark unused argument.
8002 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8003 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8004
c880af52
JB
8005 * emacs-lisp/timer.el (timer--time): Define setter with
8006 gv-define-setter to avoid deprecation warning.
8007
5660113b 8008 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 8009 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
8010 (cmpl-statistics-block): Remove (body was commented out).
8011 All callers changed.
8012 (add-completions-from-buffer, load-completions-from-file):
8013 Remove unused variables.
8014
156aab80
JB
80152013-08-09 Juanma Barranquero <lekktu@gmail.com>
8016
5c5dee78
JB
8017 * filecache.el (file-cache-delete-file-list):
8018 Print message only when told so.
8019 (file-cache-files-matching): Use #' in mapconcat argument.
8020
156aab80
JB
8021 * ffap.el (ffap-url-at-point): Fix reference to variable
8022 thing-at-point-default-mail-uri-scheme.
8023
ad9dcd70
SM
80242013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8025
54bd972f
SM
8026 * subr.el (define-error): New function.
8027 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8028 error-file-not-found and define with define-error.
8029 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8030 and define with define-error.
8031 * userlock.el (file-locked, file-supersession):
8032 * simple.el (mark-inactive):
8033 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8034 * progmodes/ada-mode.el (ada-mode-errors):
8035 * play/life.el (life-extinct):
8036 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8037 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8038 * nxml/rng-util.el (rng-error):
8039 * nxml/rng-uri.el (rng-uri-error):
8040 * nxml/rng-match.el (rng-compile-error):
8041 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8042 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8043 * nxml/nxml-rap.el (nxml-scan-error):
8044 * nxml/nxml-outln.el (nxml-outline-error):
8045 * net/soap-client.el (soap-error):
8046 * net/gnutls.el (gnutls-error):
8047 * net/ange-ftp.el (ftp-error):
8048 * mpc.el (mpc-proc-error):
8049 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8050 (json-number-format, json-string-escape, json-string-format)
8051 (json-key-format, json-object-format):
8052 * jka-compr.el (compression-error):
8053 * international/quail.el (quail-error):
8054 * international/kkc.el (kkc-error):
8055 * emacs-lisp/ert.el (ert-test-failed):
8056 * calc/calc.el (calc-error, inexact-result, math-overflow)
8057 (math-underflow):
8058 * bookmark.el (bookmark-error-no-filename):
8059 * epg.el (epg-error): Define with define-error.
8060
0ea9e53a
SM
8061 * time.el (display-time-event-handler)
8062 (display-time-next-load-average): Don't call sit-for since it seems
8063 unnecessary (bug#15045).
8064
b0429158
SM
8065 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8066 Use #' instead of ' to quote functions.
8067 (checkdoc-output-mode): Use setq-local.
8068 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8069 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8070 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8071 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8072 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8073 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8074 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8075 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8076
ad9dcd70
SM
8077 * ido.el (ido-completion-help): Fix up compiler warning.
8078
77187e6f
JB
80792013-08-09 Juanma Barranquero <lekktu@gmail.com>
8080
8081 * frameset.el (frameset-p): Add autoload cookie.
8082 (frameset--jump-to-register): New function, based on code moved from
8083 register.el.
8084 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8085
8086 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8087 (frameset-restore, frameset-save, frameset-session-filter-alist):
8088 Remove declarations.
8089 (register-alist): Doc fix.
8090 (frameset-to-register): Move to frameset.el.
8091 (jump-to-register, describe-register-1): Remove frameset-specific code.
8092
9d3aa82c
JB
80932013-08-08 Juanma Barranquero <lekktu@gmail.com>
8094
8095 * allout-widgets.el (allout-widgets-pre-command-business)
8096 (allout-widgets-post-command-business)
8097 (allout-widgets-after-change-handler)
8098 (allout-decorate-item-and-context, allout-set-boundary-marker)
8099 (allout-body-modification-handler)
8100 (allout-graphics-modification-handler): Mark ignored arguments.
8101 (allout-widgets-post-command-business)
8102 (allout-widgets-exposure-change-processor)
8103 (allout-widgets-exposure-undo-processor)
8104 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8105 (allout-parse-item-at-point, allout-decorate-item-guides)
8106 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8107 * allout.el (epa-passphrase-callback-function): Declare.
8108 (allout-overlay-insert-in-front-handler)
8109 (allout-overlay-interior-modification-handler)
8110 (allout-isearch-end-handler, allout-chart-siblings)
8111 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8112 (allout-yank-processing, allout-process-exposed)
8113 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8114 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8115 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8116 (lisp-indent-defform): Mark ignored arguments.
8117 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8118 (calculate-lisp-indent): Remove unused variables.
8119 * international/characters.el (indian-2-column, arabic-2-column)
8120 (tibetan): Mark ignored arguments.
8121 (use-cjk-char-width-table): Mark ignored arguments.
8122 Remove unused variables.
8123 * international/fontset.el (build-default-fontset-data)
8124 (x-compose-font-name, create-fontset-from-fontset-spec):
8125 Mark ignored arguments.
8126 (fontset-plain-name): Remove unused variables.
8127 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8128 (keyboard-coding-system): Mark ignored arguments.
8129 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8130 * help.el (resize-temp-buffer-window):
8131 * window.el (display-buffer-in-major-side-window)
8132 (display-buffer-in-side-window, display-buffer-in-previous-window):
8133 Remove unused variables.
8134 * isearch.el (isearch-forward-symbol):
8135 * version.el (emacs-bzr-version-bzr):
8136 * international/mule-cmds.el (current-language-environment):
8137 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8138 (x-handle-display):
8139 * term/pc-win.el (x-list-fonts, x-display-planes)
8140 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8141 (x-server-version, x-display-screens, x-display-mm-height)
8142 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8143 (x-selection-owner-p, x-own-selection-internal)
8144 (x-disown-selection-internal, x-get-selection-internal)
8145 (msdos-initialize-window-system):
8146 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8147 * term/x-win.el (x-handle-no-bitmap-icon):
8148 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8149 (vc-default-find-file-hook, vc-default-extra-menu):
8150 Mark ignored arguments.
8151
0ca3f70e
SM
81522013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8155 break-condition in the context of the debugged code (bug#12685).
8156
74c5d24c
CS
81572013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8158
8159 * comint.el:
8160 Do not use an overlay to highlight the last prompt. (Bug#14744)
8161 (comint-mode): Make comint-last-prompt buffer local.
8162 (comint-last-prompt): New variable.
8163 (comint-last-prompt-overlay): Remove. Superseded by
8164 comint-last-prompt.
0ca3f70e
SM
8165 (comint-snapshot-last-prompt, comint-output-filter):
8166 Use comint-last-prompt.
74c5d24c 8167
c03c02ee
JB
81682013-08-08 Juanma Barranquero <lekktu@gmail.com>
8169
a3738d20 8170 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8171 (frameset-save): Check validity of the resulting frameset.
8172
04263d23
XF
81732013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8174
8175 * ido.el (ido-record-command): Add doc string.
8176
76c5e5ab
JB
81772013-08-08 Juanma Barranquero <lekktu@gmail.com>
8178
8179 * frameset.el (frameset): Do not disable creation of the default
8180 frameset-p predicate. Doc fix.
8181 (frameset-valid-p): New function, copied from the old predicate-p.
8182 Add additional checks.
8183 (frameset-restore): Check with frameset-valid-p.
8184 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8185 (frameset-name, frameset-description, frameset-properties)
8186 (frameset-states): Add docstring.
f9dbf1cb
JB
8187 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8188 (frameset-filter-alist): Doc fixes.
76c5e5ab 8189
bd0c3c0b
JB
81902013-08-08 Juanma Barranquero <lekktu@gmail.com>
8191
8192 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8193
c735544c
SM
81942013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8197 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8198 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8199 (byte-compile-normal-call): Remove obsolescence check.
8200
2805a651
JB
82012013-08-08 Juanma Barranquero <lekktu@gmail.com>
8202
3677ffeb
JB
8203 * frameset.el (frameset-restore): Doc fix.
8204
2805a651
JB
8205 * register.el (frameset-frame-id, frameset-frame-with-id)
8206 (frameset-p, frameset-restore, frameset-save): Declare.
8207 (register-alist): Document framesets.
8208 (frameset-session-filter-alist): Declare.
8209 (frameset-to-register): New function.
8210 (jump-to-register): Implement jumping to framesets. Doc fix.
8211 (describe-register-1): Describe framesets.
8212
8213 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8214
a912c016
JB
82152013-08-07 Juanma Barranquero <lekktu@gmail.com>
8216
8217 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8218 Use lexical-binding.
8219
8220 * frameset.el (frameset): Use type vector, not list (incompatible
8221 change). Do not declare a new constructor, use the default one.
8222 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8223 `name' and `description', respectively, and add read-only slot
8224 `timestamp'. Doc fixes.
8225 (frameset-copy, frameset-persistent-filter-alist)
8226 (frameset-filter-alist, frameset-switch-to-gui-p)
8227 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8228 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8229 (frameset-filter-iconified, frameset-keep-original-display-p):
8230 Doc fixes.
8231 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8232 Rename from frameset-filter-(save|restore)-param. All callers changed.
8233 Doc fix.
8234 (frameset-p): Adapt to change to vector and be more thorough.
8235 Change arg name to OBJECT. Doc fix.
8236 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8237 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8238 All callers changed.
8239 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8240 All callers changed.
8241 (frameset--record-minibuffer-relationships): Rename from
8242 frameset--process-minibuffer-frames. All callers changed.
8243 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8244 Use new default constructor (again). Doc fix.
c295fc18 8245 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8246 All callers changed.
8247 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8248 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8249 Doc fix.
8250 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8251 PARAMETERS and WINDOW-STATE, respectively.
8252 (frameset-restore): Add new keyword argument PREDICATE.
8253 Reset frameset--target-display to nil. Doc fix.
8254
bb41480a
SM
82552013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8256
f001e98e
SM
8257 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8258 (bat-mode): Use it.
8259 (bat-mode-syntax-table): Mark \n as end-of-comment.
8260 (bat-font-lock-keywords): Remove comment rule.
8261
7679edb1
SM
8262 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8263 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8264
bb41480a
SM
8265 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8266 (byte-compile-callargs-warn): Use `push'.
8267 (byte-compile-arglist-warn): Ignore higher-order "calls".
8268 (byte-compile-file-form-autoload): Use `pcase'.
8269 (byte-compile-function-form): If quoting a symbol, check that it exists.
8270
cdc1ebb9
EZ
82712013-08-07 Eli Zaretskii <eliz@gnu.org>
8272
8273 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8274 and add a few popular commands found in batch files.
8275 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8276 (dos-mode): Doc fixes.
8277
312b1740
SM
82782013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8279
8280 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8281 (dos-mode): Use setq-local. Add space after "rem".
8282 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8283 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8284
400a3178
AM
82852013-08-07 Arni Magnusson <arnima@hafro.is>
8286
8287 * progmodes/dos.el: New file.
8288 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8289 dos-mode.
8290
3b5c03d3
GM
82912013-08-06 Glenn Morris <rgm@gnu.org>
8292
8293 * calendar/calendar.el: Add new faces, and day-header-array.
8294 (calendar-weekday-header, calendar-weekend-header)
8295 (calendar-month-header): New faces.
8296 (calendar-day-header-construct): New function.
8297 (calendar-day-header-width): Also :set calendar-day-header-array.
8298 (calendar-american-month-header, calendar-european-month-header)
8299 (calendar-iso-month-header): Use calendar- faces.
8300 (calendar-generate-month):
8301 Use calendar-day-header-array for day headers; apply faces to them.
8302 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8303 (calendar-abbrev-construct): Add optional maxlen argument.
8304 (calendar-day-name-array): Doc fix.
8305 (calendar-day-name-array, calendar-abbrev-length)
8306 (calendar-day-abbrev-array):
8307 Also :set calendar-day-header-array, and maybe redraw.
8308 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8309 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8310 (calendar-day-name): Add option to use header array.
8311
ec6a2d7a
LMI
83122013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8313
8314 * net/shr.el (shr-render-td): Remove debugging.
8315 (shr-render-td): Make width computation consistent by defaulting
8316 all zero-width columns to 10 characters. This may not be optimal,
8317 but it's at least consistent.
2122cb6d
LMI
8318 (shr-make-table-1): Redo last change to fix the real problem in
8319 colspan handling.
ec6a2d7a 8320
ed4fd9c5
DA
83212013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8322
0ca3f70e
SM
8323 * files.el (cache-long-line-scans):
8324 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8325
64e22afe
JB
83262013-08-06 Juanma Barranquero <lekktu@gmail.com>
8327
024b38fc
JB
8328 * frameset.el (frameset, frameset-filter-alist)
8329 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8330 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8331 (frameset-compute-pos): Rename from frameset--compute-pos,
8332 and add docstring.
8333 (frameset-move-onscreen): Use frameset-compute-pos.
8334 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8335
64e22afe
JB
8336 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8337 Fix typos in docstrings.
8338
c8c2aca8
DA
83392013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8340
8341 * frame.el (get-other-frame): Tiny cleanup.
8342
1d237bba
JB
83432013-08-06 Juanma Barranquero <lekktu@gmail.com>
8344
8951efef
JB
8345 * vc/vc.el (vc-default-ignore-completion-table):
8346 Silence byte-compiler warning.
8347
307764cc 8348 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8349 slot, which can indeed be nil.
307764cc
JB
8350 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8351 Move entry for `left' from persistent to live filter alist.
8352 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8353 Doc fixes.
8354 (frameset-filter-params): When restoring a frame, copy items added to
8355 `filtered', to avoid unwittingly modifying the original parameters.
8356 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8357 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8358
1d237bba
JB
8359 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8360 to use looking-at-p instead of looking-at. (Bug#15028)
8361
dc6c0eda
SM
83622013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 Revert introduction of isearch-filter-predicates (bug#14714).
8365 Rely on add-function instead.
8366 * isearch.el (isearch-filter-predicates): Rename it back to
8367 isearch-filter-predicate.
8368 (isearch-message-prefix): Use advice-function-mapc and advice
8369 properties to get the isearch-message-prefix.
8370 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8371 instead of run-hook-with-args-until-failure.
8372 (isearch-filter-visible): Not obsolete any more.
8373 * loadup.el: Preload nadvice.
8374 * replace.el (perform-replace): Revert to funcall
8375 instead of run-hook-with-args-until-failure.
8376 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8377 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8378 dired-isearch-filenames-toggle; make it into a proper minor mode.
8379 Use add/remove-function.
8380 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8381 Call the minor-mode rather than add/remove-hook.
8382 (dired-isearch-filter-filenames):
8383 Remove isearch-message-prefix property.
8384 * info.el (Info--search-loop): New function, extracted from Info-search.
8385 Funcall isearch-filter-predicate instead of
8386 run-hook-with-args-until-failure isearch-filter-predicates.
8387 (Info-search): Use it.
8388 (Info-mode): Use isearch-filter-predicate instead of
8389 isearch-filter-predicates.
8390
290d5b58
DA
83912013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8392
8393 Do not call to `selected-window' where it is assumed by default.
8394 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8395 `window-hscroll', `window-width', `window-height', `window-buffer',
8396 `window-frame', `window-start', `window-point', `next-window'
8397 and `window-display-table'.
8398 * abbrev.el (abbrev--default-expand):
8399 * bs.el (bs--show-with-configuration):
8400 * buff-menu.el (Buffer-menu-mouse-select):
8401 * calc/calc.el (calc):
8402 * calendar/calendar.el (calendar-generate-window):
8403 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8404 (diary-make-entry):
8405 * comint.el (send-invisible, comint-dynamic-complete-filename)
8406 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8407 * completion.el (complete):
8408 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8409 * disp-table.el (describe-current-display-table):
8410 * doc-view.el (doc-view-insert-image):
8411 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8412 * ehelp.el (with-electric-help):
8413 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8414 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8415 * emacs-lisp/helper.el (Helper-help-scroller):
8416 * emulation/cua-base.el (cua--post-command-handler-1):
8417 * eshell/esh-mode.el (eshell-output-filter):
8418 * ffap.el (ffap-gnus-wrapper):
8419 * help-macro.el (make-help-screen):
8420 * hilit-chg.el (highlight-compare-buffers):
8421 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8422 * hl-line.el (global-hl-line-highlight):
8423 * icomplete.el (icomplete-simple-completing-p):
8424 * isearch.el (isearch-done):
8425 * jit-lock.el (jit-lock-stealth-fontify):
8426 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8427 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8428 * mpc.el (mpc-tagbrowser, mpc):
8429 * net/rcirc.el (rcirc-any-buffer):
8430 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8431 * play/landmark.el (landmark-max-width, landmark-max-height):
8432 * play/zone.el (zone):
8433 * progmodes/compile.el (compilation-goto-locus):
8434 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8435 * progmodes/etags.el (find-tag-other-window):
8436 * progmodes/fortran.el (fortran-column-ruler):
8437 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8438 * progmodes/verilog-mode.el (verilog-point-text):
8439 * reposition.el (reposition-window):
8440 * rot13.el (toggle-rot13-mode):
8441 * server.el (server-switch-buffer):
8442 * shell.el (shell-dynamic-complete-command)
8443 (shell-dynamic-complete-environment-variable):
8444 * simple.el (insert-buffer, set-selective-display)
8445 (delete-completion-window):
8446 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8447 (speedbar-recenter):
8448 * startup.el (fancy-splash-head):
8449 * textmodes/ispell.el (ispell-command-loop):
8450 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8451 * tutorial.el (help-with-tutorial):
8452 * vc/add-log.el (add-change-log-entry):
8453 * vc/compare-w.el (compare-windows):
8454 * vc/ediff-help.el (ediff-indent-help-message):
8455 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8456 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8457 (ediff-setup-control-frame):
8458 * vc/emerge.el (emerge-position-region):
8459 * vc/pcvs-util.el (cvs-bury-buffer):
8460 * window.el (walk-windows, mouse-autoselect-window-select):
8461 * winner.el (winner-set-conf, winner-undo): Related users changed.
8462
38276e01
JB
84632013-08-05 Juanma Barranquero <lekktu@gmail.com>
8464
8465 * frameset.el (frameset--set-id): Doc fix.
8466 (frameset-frame-id, frameset-frame-id-equal-p)
8467 (frameset-locate-frame-id): New functions.
8468 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8469 (frameset-restore): Use them.
8470
12b4c0ea
DA
84712013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8472
8473 Do not call to `selected-frame' where it is assumed by default.
8474 Affected functions are `raise-frame', `redraw-frame',
8475 `frame-first-window', `frame-terminal' and `delete-frame'.
8476 * calendar/appt.el (appt-disp-window):
8477 * epg.el (epg-wait-for-completion):
8478 * follow.el (follow-delete-other-windows-and-split)
8479 (follow-avoid-tail-recenter):
8480 * international/mule.el (set-terminal-coding-system):
8481 * mail/rmail.el (rmail-mail-return):
8482 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8483 * progmodes/f90.el (f90-add-imenu-menu):
8484 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8485 * server.el (server-switch-buffer):
8486 * simple.el (delete-completion-window):
8487 * talk.el (talk):
8488 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8489 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8490 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8491 * vc/ediff.el (ediff-documentation): Related users changed.
8492 * frame.el (selected-terminal): Remove the leftover.
8493
17f25e76
GM
84942013-08-05 Glenn Morris <rgm@gnu.org>
8495
8496 * calendar/calendar.el (calendar-generate-month):
8497 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8498 (calendar-generate-month, calendar-font-lock-keywords):
8499 Fix for calendar-day-header-width > length of any day name.
17f25e76 8500
063233c3
JB
85012013-08-05 Juanma Barranquero <lekktu@gmail.com>
8502
8503 * desktop.el (desktop-clear): Use new name of sort predicate.
8504
8505 * frameset.el (frameset): Add docstring. Move :version property to its
8506 own `version' slot.
8507 (frameset-copy): Rename from copy-frameset.
8508 (frameset-p): Check more thoroughly.
8509 (frameset-prop): Do not check for :version, which is no longer a prop.
8510 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8511 Use new :never value instead of t.
8512 (frameset-filter-alist): Expand and clarify docstring.
8513 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8514 (frameset-filter-minibuffer, frameset-filter-save-param)
8515 (frameset-filter-restore-param, frameset-filter-iconified):
8516 Add pointer to docstring of frameset-filter-alist.
8517 (frameset-filter-params): Rename filter values to be more meaningful:
8518 :never instead of t, and reverse the meanings of :save and :restore.
8519 (frameset--process-minibuffer-frames): Clarify error message.
8520 (frameset-save): Avoid unnecessary and confusing call to framep.
8521 Use new BOA constructor for framesets.
8522 (frameset--reuse-list): Doc fix.
8523 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8524 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8525 (frameset-minibufferless-first-p): Doc fix.
8526 Rename from frameset-sort-frames-for-deletion.
8527 (frameset-restore): Doc fixes. Use new function names.
8528 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8529
d5671a82
JB
85302013-08-04 Juanma Barranquero <lekktu@gmail.com>
8531
8532 * desktop.el (desktop-restore-forces-onscreen)
8533 (desktop-restore-reuses-frames): Document :keyword constant values.
8534 (desktop-filter-parameters-alist): Remove, now identical to
8535 frameset-filter-alist.
8536 (desktop--filter-tty*): Remove, moved to frameset.el.
8537 (desktop-save-frameset, desktop-restore-frameset):
8538 Do not pass :filters argument.
8539
8540 * frameset.el (frameset-live-filter-alist)
8541 (frameset-persistent-filter-alist): New variables.
8542 (frameset-filter-alist): Use them. Add autoload cookie.
8543 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8544 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8545 `frameset--id' (it's supposed to be internal to frameset.el).
8546 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8547 (frameset--initial-params): New function.
8548 (frameset--get-frame): Use it. Doc fix.
8549 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8550 Accept :all, not 'all.
8551 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8552 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8553 with fbound symbols. Fix frame id matching, and remove matching ids if
8554 the frame being restored is deleted. Obey :delete.
8555
671d5c16
SM
85562013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * subr.el (macrop): New function.
8559 (text-clone--maintaining): New var.
8560 (text-clone--maintain): Rename from text-clone-maintain. Use it
8561 instead of inhibit-modification-hooks.
8562
8563 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8564 a proxy, so as handle autoloads and redefinitions of the target.
8565 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8566
8567 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8568 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8569 (pcase--mutually-exclusive-p): New function.
8570 (pcase--split-consp): Use it.
8571 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8572 mutually exclusive with the current predicate.
8573
8574 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8575 (edebug-macrop): Remove. Use `macrop' instead.
8576 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8577 (ad-macro-p):
8578 * eshell/esh-cmd.el (eshell-macrop):
8579 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8580
1d44e9dc
SM
85812013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8584 (advice-mapc): New function, using it.
8585 (advice-function-member-p): New function.
8586 (advice--normalize): Store the cdr in advice--saved-rewrite since
8587 that's the part that will be changed.
8588 (advice--symbol-function): New function.
8589 (advice-remove): Handle removal before the function is defined.
8590 Adjust to new advice--saved-rewrite.
8591 (advice-member-p): Use advice-function-member-p and
8592 advice--symbol-function.
8593
5414a283
JB
85942013-08-04 Juanma Barranquero <lekktu@gmail.com>
8595
51d30f2c
JB
8596 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8597 (frameset-filter-minibuffer): Doc fix.
8598 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8599 (frameset--set-id, frameset--process-minibuffer-frames)
8600 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8601 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8602
5414a283
JB
8603 * desktop.el (desktop-clear): Only delete frames when called
8604 interactively and desktop-restore-frames is non-nil. Doc fix.
8605 (desktop-read): Set desktop-saved-frameset to nil.
8606
ab419665
XF
86072013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8608
8609 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8610 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8611 (vc--add-line, vc--remove-regexp): New functions.
8612
8613 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8614 (vc-svn-ignore-completion-table): New function.
8615
8616 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8617 (vc-hg-ignore-completion-table)
ab419665
XF
8618 (vc-hg-find-ignore-file): New functions.
8619
8620 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8621 (vc-git-ignore-completion-table)
ab419665
XF
8622 (vc-git-find-ignore-file): New functions.
8623
8624 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8625
8626 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8627 (vc-bzr-ignore-completion-table)
ab419665
XF
8628 (vc-bzr-find-ignore-file): New functions.
8629
2613dea2
JB
86302013-08-03 Juanma Barranquero <lekktu@gmail.com>
8631
8632 * frameset.el (frameset-prop): New function and setter.
8633 (frameset-save): Do not modify frame list passed by the caller.
8634
9c959872
SM
86352013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8638
a104f656
SM
86392013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8640
70122acf
SM
8641 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8642 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8643
a104f656
SM
8644 * custom.el (custom-initialize-default, custom-initialize-set)
8645 (custom-initialize-reset, custom-initialize-changed): Affect the
8646 toplevel-default-value (bug#6275, bug#14586).
8647 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8648 for bug#6275.
8649
f078d570
JB
86502013-08-02 Juanma Barranquero <lekktu@gmail.com>
8651
185e3b5a
JB
8652 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8653 Add cl-def* expressions.
8654
f078d570
JB
8655 * frameset.el (frameset-filter-params): Fix order of arguments.
8656
9421876d
JB
86572013-08-02 Juanma Barranquero <lekktu@gmail.com>
8658
8659 Move code related to saving frames to frameset.el.
8660 * desktop.el: Require frameset.
8661 (desktop-restore-frames): Doc fix.
8662 (desktop-restore-reuses-frames): Rename from
8663 desktop-restoring-reuses-frames.
8664 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8665 (desktop-clear): Clear frames too.
8666 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8667 (desktop--filter-tty*, desktop-save, desktop-read):
8668 Use frameset functions.
8669 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8670 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8671 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8672 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8673 (desktop--process-minibuffer-frames, desktop-save-frames)
8674 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8675 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8676 (desktop--sort-states, desktop-restoring-frames-p)
8677 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8678 (desktop-restoring-frameset-p, desktop-restore-frameset)
8679 (desktop--check-dont-save, desktop-save-frameset): New functions.
8680 (desktop--app-id): New constant.
8681 (desktop-first-buffer, desktop-buffer-ok-count)
8682 (desktop-buffer-fail-count): Move before first use.
8683 * frameset.el: New file.
8684
76dc5996
SM
86852013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * files.el: Use lexical-binding.
8688 (dir-locals-read-from-file): Remove unused `err' variable.
8689 (hack-dir-local-variables--warned-coding): New var.
8690 (hack-dir-local-variables): Use it to avoid repeated warnings.
8691 (make-backup-file-name--default-function): New function.
8692 (make-backup-file-name-function): Use it as default.
8693 (buffer-stale--default-function): New function.
8694 (buffer-stale-function): Use it as default.
8695 (revert-buffer-insert-file-contents--default-function): New function.
8696 (revert-buffer-insert-file-contents-function): Use it as default.
8697 (insert-directory): Avoid add-to-list.
8698
8699 * autorevert.el (auto-revert-handler): Simplify.
8700 Use buffer-stale--default-function.
8701
06d36e2b
TH
87022013-08-01 Tassilo Horn <tsdh@gnu.org>
8703
5f648ab4
TH
8704 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8705
06d36e2b
TH
8706 * whitespace.el (whitespace-ensure-local-variables): New function.
8707 (whitespace-cleanup-region): Call it.
8708 (whitespace-turn-on): Call it.
8709
a43dc424
MA
87102013-08-01 Michael Albinus <michael.albinus@gmx.de>
8711
8712 Complete file name handlers.
8713
8714 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8715 (tramp-handle-verify-visited-file-modtime)
8716 (tramp-handle-file-notify-rm-watch): New functions.
8717 (tramp-call-process): Do not bind `default-directory'.
8718
44e18199
JB
8719 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8720 Order alphabetically.
afe1e4c8
GM
8721 <access-file, add-name-to-file, dired-call-process>:
8722 <dired-compress-file, file-acl, file-notify-rm-watch>:
8723 <file-ownership-preserved-p, file-selinux-context>:
8724 <make-directory-internal, make-symbolic-link, set-file-acl>:
8725 <set-file-selinux-context, set-visited-file-modtime>:
8726 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8727 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8728
8729 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8730 <file-notify-add-watch, file-notify-rm-watch>:
8731 <set-file-times, set-visited-file-modtime>:
8732 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8733 (with-tramp-gvfs-error-message)
8734 (tramp-gvfs-handle-set-visited-file-modtime)
8735 (tramp-gvfs-fuse-file-name): Remove.
8736 (tramp-gvfs-handle-file-notify-add-watch)
8737 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8738 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8739
44e18199
JB
8740 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8741 Order alphabetically.
afe1e4c8
GM
8742 <file-notify-rm-watch>: Use default Tramp handler.
8743 <executable-find>: Remove private handler.
a43dc424
MA
8744 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8745 `default-directory'.
8746 (tramp-sh-handle-executable-find)
8747 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8748 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8749 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8750 Do not use `format' in `tramp-message'.
8751
8752 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8753 <file-notify-rm-watch, set-visited-file-modtime>:
8754 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8755 (tramp-smb-call-winexe): Do not bind `default-directory'.
8756
7188b515
XF
87572013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8758
8759 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8760
2412ee1a
DG
87612013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8762
8763 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8764 use it.
8765 (log-view-diff-changeset): Same.
8766 (log-view-diff-common): Call backend command `previous-revision'
8767 to find out the previous revision, in both cases. Swap the
8768 variables `to' and `fr', so that `fr' usually refers to the
8769 earlier revision (Bug#14989).
8770
5002a754
KRC
87712013-07-31 Kan-Ru Chen <kanru@kanru.info>
8772
8773 * ibuf-ext.el (ibuffer-filter-by-filename):
8774 Make it work with dired buffers too.
8775
44e18199 87762013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8777
8778 * emacs-lisp/re-builder.el (reb-color-display-p):
8779 * files.el (save-buffers-kill-terminal):
8780 * net/browse-url.el (browse-url):
8781 * server.el (server-save-buffers-kill-terminal):
8782 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8783 Prefer nil to selected-frame for the first arg of frame-parameter.
8784
aeca3fbb
XF
87852013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8786
8787 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8788
158bc55c
SB
87892013-07-30 Stephen Berman <stephen.berman@gmx.net>
8790
8791 * minibuffer.el (completion--twq-all): Try and preserve each
8792 completion's case choice (bug#14907).
8793
d50fceab
LMI
87942013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795
ac38e731
LMI
8796 * net/network-stream.el (open-network-stream): Mention the new
8797 :nogreeting parameter.
8798 (network-stream-open-starttls): Use the :nogreeting parameter
8799 (bug#14938).
8800
1211de50
LMI
8801 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8802
997798bf
LMI
8803 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8804 more natural than popping.
8805
d50fceab 8806 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8807 (shr-urlify): Highlight under mouse.
d50fceab 8808
5c09de04
XF
88092013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8810
207d1d04
XF
8811 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8812
8813 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8814
5c09de04
XF
8815 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8816 buffer for output.
8817
3cd51eaa
XF
8818 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8819 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8820
44e18199 8821 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8822 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8823
8824 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8825
8826 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8827 buffer for output.
8828
35a89bdd
EZ
88292013-07-29 Eli Zaretskii <eliz@gnu.org>
8830
8831 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8832 initial frame is minibuffer-less. (Bug#14841)
8833
78822e94
MA
88342013-07-29 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8837 option.
8838
8839 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8840 (tramp-maybe-open-connection): Use it.
8841
9503c190
JB
88422013-07-28 Juanma Barranquero <lekktu@gmail.com>
8843
8844 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8845 minimal set of parameters passed when creating a frame, because
8846 the minibuffer status of a frame cannot be changed later.
8847
d5a845b4
SB
88482013-07-28 Stephen Berman <stephen.berman@gmx.net>
8849
8850 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8851 replace-regexp-in-string and inadvertent omissions in previous change.
8852 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8853 name of filtered items buffer.
d5a845b4 8854
ddeffb17
JB
88552013-07-28 Juanma Barranquero <lekktu@gmail.com>
8856
8857 * desktop.el: Optionally force offscreen frames back onscreen.
8858 (desktop-restoring-reuses-frames): New option.
8859 (desktop--compute-pos, desktop--move-onscreen): New functions.
8860 (desktop--make-frame): Use desktop--move-onscreen.
8861
f5950f7a
AM
88622013-07-27 Alan Mackenzie <acm@muc.de>
8863
8864 Fontify a Java generic method as a function.
8865 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8866 value to t.
8867
ae43b66a
SB
88682013-07-27 Stephen Berman <stephen.berman@gmx.net>
8869
8870 * calendar/todo-mode.el: Add command to rename todo files.
8871 (todo-rename-file): New command.
8872 (todo-key-bindings-t): Add key binding for it. Change the
8873 bindings of todo-filter-regexp-items(-multifile) to use `x'
8874 instead of `r', since the latter is better suited to the new
8875 renaming command.
8876
5ab78d3d
AM
88772013-07-27 Alan Mackenzie <acm@muc.de>
8878
8879 Make Java try-with-resources statement parse properly.
8880 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8881 (c-block-stmt-1-2-key): New language constants/variables.
8882 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8883 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8884 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8885 with c-block-stmt-1-2-key.
5ab78d3d 8886
d85c4d50
JB
88872013-07-27 Juanma Barranquero <lekktu@gmail.com>
8888
8889 * desktop.el (desktop--make-frame): Apply most frame parameters after
8890 creating the frame to force (partially or totally) offscreen frames to
8891 be restored as such.
8892
e4c467f9
XF
88932013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8894
8895 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8896 (Bug#14948)
e4c467f9 8897
7ced0d04
SM
88982013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8901 `base' arg of backtrace-frame.
8902
fec92060
EZ
89032013-07-26 Eli Zaretskii <eliz@gnu.org>
8904
8905 * simple.el (list-processes): Doc fix.
8906
d58d31fb
JB
89072013-07-26 Juanma Barranquero <lekktu@gmail.com>
8908
8909 * desktop.el (desktop--select-frame):
d85c4d50 8910 Try harder to reuse existing frames.
d58d31fb 8911
53ff3e77
SM
89122013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8915 (edebug-eval): Use backtrace-eval.
8916 (edebug--display, edebug--recursive-edit): Don't let-bind the
8917 edebug-outer-* vars that keep track of variables we locally let-bind.
8918 (edebug-outside-excursion): Don't restore outside values of locally
8919 let-bound vars.
8920 (edebug--display): Use user-error.
8921 (cl-lexical-debug, cl-debug-env): Remove.
8922
045f7a53
JB
89232013-07-26 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8926 are restored to be sure that they are visible before deleting any
8927 remaining ones.
8928
59070b32
MM
89292013-07-26 Matthias Meulien <orontee@gmail.com>
8930
742a3501
XF
8931 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8932 vc-print-root-log. (Bug#14948)
59070b32 8933
b1fb3596
RS
89342013-07-26 Richard Stallman <rms@gnu.org>
8935
8936 Add aliases for encrypting mail.
8937 * epa.el (epa-mail-aliases): New option.
8938 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8939 Bind inhibit-read-only so read-only text doesn't ruin everything.
8940 (epa-mail-default-recipients): New subroutine broken out.
8941 Handle epa-mail-aliases.
8942
56ea7291
SM
89432013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8944
8945 Add support for lexical variables to the debugger's `e' command.
8946 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8947 vars, except for debugger-outer-match-data.
8948 (debugger-frame-number): Move check for "on a function call" from
8949 callers into it. Add `skip-base' argument.
8950 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8951 (debugger-env-macro): Only reset the state stored in non-variables,
8952 i.e. current-buffer and match-data.
8953 (debugger-eval-expression): Rewrite using backtrace-eval.
8954 * subr.el (internal--called-interactively-p--get-frame): Remove.
8955 (called-interactively-p):
8956 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8957 `base' arg of backtrace-frame instead.
8958
15ac32d5
GM
89592013-07-26 Glenn Morris <rgm@gnu.org>
8960
8358a09d
GM
8961 * align.el (align-regexp): Doc fix. (Bug#14857)
8962 (align-region): Explicit error if subexpression missing/does not match.
8963
15ac32d5
GM
8964 * simple.el (global-visual-line-mode):
8965 Do not duplicate the mode lighter. (Bug#14858)
8966
f47ad11b
MR
89672013-07-25 Martin Rudalics <rudalics@gmx.at>
8968
8969 * window.el (display-buffer): In display-buffer bind
8970 split-window-keep-point to t, bug#14829.
8971
02530987
JB
89722013-07-25 Juanma Barranquero <lekktu@gmail.com>
8973
8974 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8975 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8976 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8977 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8978 Change accordingly.
f63ebeb5
JB
8979 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8980 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8981
6ccb9cab 89822013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8983
6ccb9cab 8984 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8985
cb3a56d2
JB
89862013-07-25 Juanma Barranquero <lekktu@gmail.com>
8987
8988 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8989 parameter to modify-frame-parameters if the value has not changed;
8990 this is a workaround for bug#14949.
8991 (desktop--make-frame): On cl-delete-if call, check parameter name,
8992 not full parameter.
8993
7aa7fff0
XF
89942013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8995
8996 * vc/vc.el (vc-ignore): New function.
8997
8998 * vc/vc-svn.el (vc-svn-ignore): New function.
8999
9000 * vc/vc-hg.el (vc-hg-ignore): New function.
9001
9002 * vc/vc-git.el (vc-git-ignore): New function.
9003
9004 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9005 (vc-dir-ignore): New function.
9006
9007 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 9008 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
9009
9010 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9011
9012 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9013
889acc5c
JB
90142013-07-24 Juanma Barranquero <lekktu@gmail.com>
9015
9016 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9017 (desktop-restore-frames): Warn when deleting an existing frame failed.
9018
86c40970
GM
90192013-07-24 Glenn Morris <rgm@gnu.org>
9020
9021 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9022
d5d3c58a
MA
90232013-07-24 Michael Albinus <michael.albinus@gmx.de>
9024
9025 * filenotify.el (file-notify-supported-p):
9026 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9027 Remove functions.
9028
35e951cd 9029 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
9030 (auto-revert-notify-add-watch):
9031 * net/tramp.el (tramp-file-name-for-operation):
9032 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9033 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9034 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9035 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9036 Remove `file-notify-supported-p' entry.
9037
d100084b
GM
90382013-07-24 Glenn Morris <rgm@gnu.org>
9039
9040 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 9041 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 9042
ac93e56b
SM
90432013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9044
249eea30
SM
9045 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9046 checked with memq (bug#14935).
9047
ac93e56b
SM
9048 * files.el (revert-buffer-function): Use a non-nil default.
9049 (revert-buffer-preserve-modes): Declare var to
9050 provide access to the `preserve-modes' argument.
9051 (revert-buffer): Let-bind it.
9052 (revert-buffer--default): New function, extracted from revert-buffer.
9053
2cdeb903
SM
90542013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9055
9056 * lpr.el: Signal print errors more prominently.
9057 (print-region-function): Don't default to nil.
9058 (lpr-print-region): New function, extracted from print-region-1.
9059 Check lpr's return value and signal an error in case of problem.
9060 (print-region-1): Use it.
9061 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9062 versions instead.
9063 (ps-printer-name): Default to nil.
9064 (ps-printer-name-option): Default to lpr-printer-switch.
9065 (ps-print-region-function): Don't default to nil.
9066 (ps-postscript-code-directory): Simplify default.
9067 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9068 (ps-string-list, ps-eval-switch, ps-flatten-list)
9069 (ps-flatten-list-1): Remove.
9070 (ps-multibyte-buffer): Avoid setq.
9071 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9072 (print-region-function, ps-print-region-function): Don't set them here.
9073
73600831
XF
90742013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9075
35e951cd
JB
9076 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9077 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9078 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
9079 (ido-decorations): Doc fix.
9080
73600831
XF
9081 * ansi-color.el: Fix old URL.
9082
3d012865
MM
90832013-07-23 Michael R. Mauger <michael@mauger.com>
9084
e903c210 9085 * progmodes/sql.el: Version 3.3
3d012865
MM
9086 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9087 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9088 (sql-interactive-remove-continuation-prompt): Rewrite, use
9089 functions above. Fix continuation prompt and complete output line
9090 handling.
9091 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9092 redirected output buffer.
9093 (sql-mode): Restore deleted code (Bug#13591).
9094
da77a2e2
JB
90952013-07-23 Juanma Barranquero <lekktu@gmail.com>
9096
9097 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9098
80ff0c71
MA
90992013-07-23 Michael Albinus <michael.albinus@gmx.de>
9100
9101 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9102
9103 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9104 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9105 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9106
b61d71e4
JB
91072013-07-23 Juanma Barranquero <lekktu@gmail.com>
9108
9109 * desktop.el (desktop-clear): Simplify; remove useless checks
9110 against invalid buffer names.
9111 (desktop-list*): Use cl-list*.
9112 (desktop-buffer-info, desktop-create-buffer): Simplify.
9113
c3512092
LL
91142013-07-23 Leo Liu <sdl.web@gmail.com>
9115
9116 * bookmark.el (bookmark-make-record): Restore NAME as a default
9117 value. (Bug#14933)
9118
0ac26976
SM
91192013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9120
7d22ce18
SM
9121 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9122 extracted from autoload--insert-text.
9123 (autoload--insert-text): Remove.
9124 (autoload--print-cookie-text): New function, extracted from
9125 autoload--insert-cookie-text.
9126 (autoload--insert-cookie-text): Remove.
9127 (autoload-generate-file-autoloads): Adjust calls accordingly.
9128
9b2607e8
SM
9129 * winner.el (winner-hook-installed-p): Remove.
9130 (winner-mode): Simplify accordingly.
9131
c43a8618
SM
9132 * subr.el (add-to-list): Fix compiler-macro when `append' is
9133 not constant. Don't use `cl-member' for the base case.
9134
0ac26976
SM
9135 * progmodes/subword.el: Fix boundary case (bug#13758).
9136 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9137 own group.
9138 (subword-backward-regexp): Make it a constant.
9139 (subword-forward-internal): Don't treat a trailing capital as the
9140 beginning of a word.
9141
6874724a
AR
91422013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9143
9144 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9145 global value of tabulated-list-revert-hook (bug#14930).
9146
70f1b5e8
JB
91472013-07-22 Juanma Barranquero <lekktu@gmail.com>
9148
a1c80d9d
JB
9149 * desktop.el: Require 'cl-lib.
9150 (desktop-before-saving-frames-functions): New hook.
9151 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9152 for frames being saved. Rename from desktop--save-minibuffer-frames.
9153 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9154 Do not save frames with non-nil `desktop-dont-save' parameter.
9155 Filter out deleted frames.
a1c80d9d
JB
9156 (desktop--find-frame): Use cl-find-if.
9157 (desktop--select-frame): Use cl-(first|second|third) to access values
9158 of desktop-mini.
9159 (desktop--make-frame): Use cl-delete-if.
9160 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9161 (desktop-restore-frames): Use cl-(first|second|third) to access values
9162 of desktop-mini. Look for visible frame at the end, not while
9163 restoring frames.
9164
70f1b5e8
JB
9165 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9166 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9167 Use string-match-p, looking-at-p (bug#14927).
9168
728dc3cc
JB
91692013-07-21 Juanma Barranquero <lekktu@gmail.com>
9170
56bc453c
JB
9171 * desktop.el (desktop-saved-frame-states):
9172 Rename from desktop--saved-states; all users changed.
9173 (desktop-save-frames): Rename from desktop--save-frames.
9174 Do not save state to desktop file.
9175 (desktop-save): Save desktop-saved-frame-states to desktop file
9176 and reset to nil.
9177 (desktop-restoring-frames-p): New function.
9178 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9179 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9180 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9181
728dc3cc
JB
9182 * desktop.el: Correctly restore iconified frames.
9183 (desktop--filter-iconified-position): New function.
9184 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9185
862f1c9c
GM
91862013-07-20 Glenn Morris <rgm@gnu.org>
9187
c4074c9f
GM
9188 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9189 Let `message' do the formatting.
9190 (def-gdb-preempt-display-buffer): Add explicit format.
9191
d828e5f9
GM
9192 * image-dired.el (image-dired-track-original-file):
9193 Use with-current-buffer.
9194 (image-dired-track-thumbnail): Use with-current-buffer.
9195 Avoid changing point of wrong window.
9196
862f1c9c
GM
9197 * image-dired.el (image-dired-track-original-file):
9198 Avoid changing point of wrong window. (Bug#14909)
9199
f0398ec1 92002013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9201
9202 * progmodes/gdb-mi.el (gdb-done-or-error):
9203 Guard against "%" in gdb output. (Bug#14127)
9204
1451928f
AS
92052013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9206
763a086d
JB
9207 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9208 (Bug#14826)
f7a03897 9209
1451928f
AS
9210 * international/mule.el (coding-system-iso-2022-flags): Fix last
9211 change.
9212
99107004
KH
92132013-07-20 Kenichi Handa <handa@gnu.org>
9214
763a086d
JB
9215 * international/mule.el (coding-system-iso-2022-flags):
9216 Add `8-bit-level-4'. (Bug#8522)
99107004 9217
48494e06
LMI
92182013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9219
8ba8eec5
LMI
9220 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9221 (bug#14815).
9222
dfbc66e3
LMI
9223 * net/eww.el (eww-process-text-input): Allow inputting when the
9224 point is at the start of the line, as the properties aren't
9225 front-sticky.
9226
48494e06
LMI
9227 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9228 degenerate widths.
9229
77c92cb9
RS
92302013-07-19 Richard Stallman <rms@gnu.org>
9231
aec7da77
RS
9232 * epa.el (epa-popup-info-window): Doc fix.
9233
77c92cb9
RS
9234 * subr.el (split-string): New arg TRIM.
9235
945c5bb1
JB
92362013-07-18 Juanma Barranquero <lekktu@gmail.com>
9237
9238 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9239 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9240
e06ec67f
MA
92412013-07-18 Michael Albinus <michael.albinus@gmx.de>
9242
c7064f05 9243 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9244 `file-notify-support'. Do not autoload. Adapt all uses.
9245 (file-notify-supported-p): New defun.
9246
c7064f05
JB
9247 * autorevert.el (auto-revert-use-notify):
9248 Use `file-notify-supported-p' instead of `file-notify-support'.
9249 Adapt docstring.
e06ec67f
MA
9250 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9251
9252 * net/tramp.el (tramp-file-name-for-operation):
9253 Add `file-notify-supported-p'.
9254
9255 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9256 New defun.
9257 (tramp-sh-file-name-handler-alist): Add it as handler for
9258 `file-notify-supported-p '.
9259
9260 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9261 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9262 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9263 Add `ignore' as handler for `file-notify-*' functions.
9264
5dc8a629
EZ
92652013-07-17 Eli Zaretskii <eliz@gnu.org>
9266
9267 * simple.el (line-move-partial, line-move): Don't start vscroll or
9268 scroll-up if the current line is not taller than the window.
9269 (Bug#14881)
9270
77aea2fb
DG
92712013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9272
9273 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9274 highlight question marks in the method names as strings.
ac72c08d
DG
9275 (ruby-block-beg-keywords): Inline.
9276 (ruby-font-lock-keyword-beg-re): Extract from
9277 `ruby-font-lock-keywords'.
77aea2fb 9278
18c26d81
JD
92792013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9280
9281 * frame.el (blink-cursor-blinks): New defcustom.
9282 (blink-cursor-blinks-done): New defvar.
9283 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9284 (blink-cursor-timer-function): Check if number of blinks has been
9285 done on X and NS.
9286 (blink-cursor-suspend, blink-cursor-check): New defuns.
9287
da48522e
GM
92882013-07-15 Glenn Morris <rgm@gnu.org>
9289
9290 * edmacro.el (edmacro-format-keys): Fix previous change.
9291
0463c1ef
PE
92922013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9293
9294 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9295 The hack didn't work outside English locales anyway.
9296
b43f6451
JB
92972013-07-15 Juanma Barranquero <lekktu@gmail.com>
9298
9299 * simple.el (define-alternatives): Rename from alternatives-define,
9300 per RMS' suggestion.
9301
b958c0ad
JB
93022013-07-14 Juanma Barranquero <lekktu@gmail.com>
9303
9304 * desktop.el (desktop-restore-frames): Change default to t.
9305 (desktop-restore-in-current-display): Now offer more options.
9306 (desktop-restoring-reuses-frames): New customization option.
9307 (desktop--saved-states): Doc fix.
9308 (desktop-filter-parameters-alist): New variable, renamed and expanded
9309 from desktop--excluded-frame-parameters.
9310 (desktop--target-display): New variable.
9311 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9312 (desktop--filter-tty*, desktop--filter-*-color)
9313 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9314 (desktop--filter-save-desktop-parm)
9315 (desktop-restore-in-original-display-p): New functions.
9316 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9317 (desktop--save-minibuffer-frames): New function, inspired by a similar
9318 function from Martin Rudalics.
9319 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9320 (desktop--restore-in-this-display-p): Remove.
9321 (desktop--find-frame): Rename from desktop--find-frame-in-display
9322 and add predicate argument.
9323 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9324 (desktop--reuse-list): New variable.
9325 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9326 New functions.
9327 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9328
f6dd8b36
MA
93292013-07-14 Michael Albinus <michael.albinus@gmx.de>
9330
9331 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9332
2ce3c565
DG
93332013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9334
763a086d
JB
9335 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9336 Highlight conversion methods on Kernel.
2ce3c565 9337
2cdb7698
AM
93382013-07-13 Alan Mackenzie <acm@muc.de>
9339
9340 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9341 and comment it out. This out-commenting enables certain C++
9342 declarations to be parsed correctly.
9343
1a67b811
EZ
93442013-07-13 Eli Zaretskii <eliz@gnu.org>
9345
1b796d6b
EZ
9346 * international/mule.el (define-coding-system): Doc fix.
9347
1a67b811
EZ
9348 * simple.el (default-font-height): Don't call font-info if the
9349 frame's default font didn't change since the frame was created.
9350 (Bug#14838)
9351
58fbe886
LL
93522013-07-13 Leo Liu <sdl.web@gmail.com>
9353
9354 * ido.el (ido-read-file-name): Guard against non-symbol value.
9355
1f0480d4
FEG
93562013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9357
9358 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9359 in nested defuns.
9360
97ead0e5
LL
93612013-07-13 Leo Liu <sdl.web@gmail.com>
9362
9363 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9364 ido-set-matches call. (Bug#6852)
9365
0880a952
DG
93662013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9367
35e951cd 9368 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9369 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9370 Ruby 2.0.
9371 (ruby-font-lock-keywords): Distinguish calls to functions with
9372 module-like names from module references. Highlight character
9373 literals.
9374
a7d8babb
SDJ
93752013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9376
9377 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9378 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9379
acfcc8c5
JB
93802013-07-12 Juanma Barranquero <lekktu@gmail.com>
9381
9382 * desktop.el (desktop--v2s): Remove unused local variable.
9383 (desktop-save-buffer): Make defvar-local; adjust docstring.
9384 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9385 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9386
051f2775
AS
93872013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9388
9389 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9390
f24e7572
GM
93912013-07-12 Eli Zaretskii <eliz@gnu.org>
9392
9393 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9394 (Bug#14842)
9395
539a920c
GM
93962013-07-12 Glenn Morris <rgm@gnu.org>
9397
9398 * doc-view.el: Require cl-lib at runtime too.
9399 (doc-view-remove-if): Remove.
9400 (doc-view-search-next-match, doc-view-search-previous-match):
9401 Use cl-remove-if.
9402
9403 * edmacro.el: Require cl-lib at runtime too.
9404 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9405 (edmacro-mismatch, edmacro-subseq): Remove.
9406
9407 * shadowfile.el: Require cl-lib.
9408 (shadow-remove-if): Remove.
9409 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9410 Use cl-remove-if.
9411
9412 * wid-edit.el: Require cl-lib.
9413 (widget-choose): Use cl-remove-if.
9414 (widget-remove-if): Remove.
9415
9416 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9417 (ebrowse-delete-if-not): Remove.
9418 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9419 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9420 Use cl-delete-if-not.
9421
1048af7c
JB
94222013-07-12 Juanma Barranquero <lekktu@gmail.com>
9423
9424 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9425 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9426
6c0674ee
LL
94272013-07-12 Leo Liu <sdl.web@gmail.com>
9428
9429 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9430
a19b3c2d
GM
94312013-07-11 Glenn Morris <rgm@gnu.org>
9432
4582a01c
GM
9433 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9434 (edebug-gensym-index, edebug-gensym):
9435 Remove reimplementation of cl-gensym.
9436 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9437
9438 * thumbs.el: Require cl-lib at run-time too.
9439 (thumbs-gensym-counter, thumbs-gensym):
9440 Remove reimplementation of cl-gensym.
9441 (thumbs-temp-file): Use cl-gensym.
9442
a19b3c2d
GM
9443 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9444 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9445 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9446 (ert--union, ert--gensym-counter, ert--gensym-counter)
9447 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9448 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9449 (ert-make-test-unbound, ert--expand-should-1)
9450 (ert--expand-should, ert--should-error-handle-error)
9451 (should-error, ert--explain-equal-rec)
9452 (ert--plist-difference-explanation, ert-select-tests)
9453 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9454 Use cl-lib functions rather than reimplementations.
9455
88f6a933
MA
94562013-07-11 Michael Albinus <michael.albinus@gmx.de>
9457
9458 * net/tramp.el (tramp-methods): Extend docstring.
9459 (tramp-connection-timeout): New defcustom.
9460 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9461 (with-tramp-progress-reporter): Simplify.
9462 (tramp-process-actions): Improve messages.
9463
9464 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9465 * net/tramp-sh.el (tramp-maybe-open-connection):
9466 Use `tramp-connection-timeout'.
afe1e4c8 9467 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9468 (Bug#14808)
9469
a43d577e
LL
94702013-07-11 Leo Liu <sdl.web@gmail.com>
9471
9472 * ido.el (ido-read-file-name): Conform to the requirements of
9473 read-file-name. (Bug#11861)
9474 (ido-read-directory-name): Conform to the requirements of
9475 read-directory-name.
9476
d77974bf
JB
94772013-07-11 Juanma Barranquero <lekktu@gmail.com>
9478
9479 * subr.el (delay-warning): New function.
9480
35cb8a3e
EZ
94812013-07-10 Eli Zaretskii <eliz@gnu.org>
9482
9483 * simple.el (default-line-height): New function.
9484 (line-move-partial, line-move): Use it instead of computing the
9485 line height inline.
9486 (line-move-partial): Always compute ROWH. If the last line is
9487 partially-visible, but its text is completely visible, allow
9488 cursor to enter such a partially-visible line.
9489
525c5c77
MA
94902013-07-10 Michael Albinus <michael.albinus@gmx.de>
9491
9492 Improve error messages. (Bug#14808)
9493
9494 * net/tramp.el (tramp-current-connection): New defvar, moved from
9495 tramp-sh.el.
0ac26976 9496 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9497 needed anymore.
0ac26976
SM
9498 (tramp-error-with-buffer): Show message in minibuffer.
9499 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9500 (with-tramp-progress-reporter): Improve messages.
9501 (tramp-process-actions): Use progress reporter. Delete process in
9502 case of error. Improve messages.
9503
763a086d
JB
9504 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9505 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9506 (tramp-current-connection): Remove.
525c5c77
MA
9507 (tramp-maybe-open-connection): The car of
9508 `tramp-current-connection' are the first 3 slots of the vector.
9509
c7a4d368
TZ
95102013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9511
9512 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9513 inside continued strings.
9514
954b166e
PE
95152013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9516
9517 Timestamp fixes for undo (Bug#14824).
9518 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9519
56973319
LL
95202013-07-10 Leo Liu <sdl.web@gmail.com>
9521
9522 * files.el (require-final-newline): Allow safe local value.
9523 (Bug#14834)
9524
5550a72c
LL
95252013-07-09 Leo Liu <sdl.web@gmail.com>
9526
9527 * ido.el (ido-read-directory-name): Handle fallback.
9528 (ido-read-file-name): Update DIR to ido-current-directory.
9529 (Bug#1516)
c28b9050 9530 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9531
70c46b28
DG
95322013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9533
9534 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9535 "autoload". Remove "warn lower camel case" section, previously
9536 commented out. Highlight negation char. Do not highlight the
9537 target in singleton method definitions.
9538
0b64b838
SM
95392013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9540
7fd72e2c
SM
9541 * faces.el (tty-setup-hook): Declare the hook.
9542
0b64b838
SM
9543 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9544 and detect when a guard/pred depends on local vars (bug#14773).
9545 (pcase--u1): Adjust caller.
9546
ab49d60b
EZ
95472013-07-08 Eli Zaretskii <eliz@gnu.org>
9548
9549 * simple.el (line-move-partial, line-move): Account for
9550 line-spacing.
701d79aa
EZ
9551 (line-move-partial): Avoid setting vscroll when the last
9552 partially-visible line in window is of default height.
ab49d60b 9553
2d756ae0
LMI
95542013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9555
9556 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9557 been used a while.
9558
ed095bd7
JB
95592013-07-07 Juanma Barranquero <lekktu@gmail.com>
9560
9561 * subr.el (read-quoted-char): Remove unused local variable `char'.
9562
f1e6674b
MK
95632013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9564
584ee3fc
GM
9565 * ediff.el (ediff-version): Version update.
9566 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9567 (ediff-merge-with-ancestor-command, ediff-directories-command)
9568 (ediff-directories3-command, ediff-merge-directories-command)
9569 (ediff-merge-directories-with-ancestor-command): New functions.
9570 All are command-line interfaces to ediff: to facilitate calling
9571 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9572
9573 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9574 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9575
584ee3fc
GM
9576 * viper.el (viper-version): Version update.
9577 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9578
584ee3fc
GM
95792013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9582 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9583 (viper-intercept-ESC-key): Simplify.
9584 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9585 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9586 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9587 (viper-setup-ESC-to-escape): New functions.
9588 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9589 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9590
9aff9b38
EZ
95912013-07-07 Eli Zaretskii <eliz@gnu.org>
9592
5165d44a
JB
9593 * simple.el (default-font-height, window-screen-lines):
9594 New functions.
9aff9b38
EZ
9595 (line-move, line-move-partial): Use them instead of
9596 frame-char-height and window-text-height. This makes scrolling
9597 text smoother when the buffer's default face uses a font that is
9598 different from the frame's default font.
9599
1afb1d07
JD
96002013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9601
9602 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9603 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9604
23de972a
EZ
96052013-07-06 Eli Zaretskii <eliz@gnu.org>
9606
9607 * simple.el (line-move-partial): Adjust the row returned by
9608 posn-at-point for the current window-vscroll. (Bug#14567)
9609
54a42486
MA
96102013-07-06 Michael Albinus <michael.albinus@gmx.de>
9611
35e951cd 9612 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9613 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9614 spaces.
9615
34ada5f4
MR
96162013-07-06 Martin Rudalics <rudalics@gmx.at>
9617
9618 * window.el (window-state-put-stale-windows): New variable.
9619 (window--state-put-2): Save list of windows without matching buffer.
9620 (window-state-put): Remove "bufferless" windows if possible.
9621
11e03d89
JB
96222013-07-06 Juanma Barranquero <lekktu@gmail.com>
9623
9624 * simple.el (alternatives-define): Remove leftover :group keyword.
9625 Tweak docstring.
9626
3504a4be
LL
96272013-07-06 Leo Liu <sdl.web@gmail.com>
9628
9629 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9630 (ido-enable-virtual-buffers): New variable.
9631 (ido-buffer-internal, ido-toggle-virtual-buffers)
9632 (ido-make-buffer-list): Use it.
9633 (ido-exhibit): Support turning on and off virtual buffers
9634 automatically.
9635
61e56e2c
JB
96362013-07-06 Juanma Barranquero <lekktu@gmail.com>
9637
9638 * simple.el (alternatives-define): New macro.
9639
321e1a9c
SM
96402013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9641
9642 * subr.el (read-quoted-char): Use read-key.
9643 (sit-for): Let read-event decode tty input (bug#14782).
9644
d610f6dd
SB
96452013-07-05 Stephen Berman <stephen.berman@gmx.net>
9646
9647 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9648 mode command and externally. Fix various related bugs.
9649 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9650 (todo-delete-file): New command.
9651 (todo-check-file): New function.
9652 (todo-show): Handle external deletion of the file we're trying to
9653 show (bug#14688). Replace called-interactively-p by an optional
9654 prefix argument to avoid problematic interaction with catch form
9655 when byte compiled (bug#14702).
9656 (todo-quit): Handle external deletion of the archive's todo file.
9657 Make sure the buffer that was visiting the archive file is still
9658 live before trying to bury it.
9659 (todo-category-completions): Handle external deletion of any
9660 category completion files.
9661 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9662 of todo files, in case of external deletion.
9663 (todo-add-file): Replace unnecessary setq by let-binding.
9664 (todo-find-archive): Check whether there are any archives.
9665 Replace unnecessary setq by let-binding.
9666 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9667 archive buffer whether or not the archive already exists.
9668 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9669 check if the archive is new; if it is, update list of archives.
9670 (todo-default-todo-file): Allow nil to be a valid value for when
9671 there are no todo files.
9672 (todo-reevaluate-default-file-defcustom): Use corrected definition
9673 of todo-default-todo-file.
9674 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9675 (todo-delete-category, todo-show-categories-table)
9676 (todo-category-number): Clarify comment.
9677 (todo-filter-items): Clarify documentation string.
9678 (todo-show-current-file, todo-display-as-todo-file)
9679 (todo-reset-and-enable-done-separator): Tweak documentation string.
9680 (todo-done-separator): Make separator length window-width, since
9681 bug#2749 is now fixed.
9682
ddbdfd6f
MA
96832013-07-05 Michael Albinus <michael.albinus@gmx.de>
9684
321e1a9c
SM
9685 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9686 Support both "gvfs-monitor-dir" and "inotifywait".
9687 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9688 `tramp-sh-file-notify-process-filter'.
9689 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9690 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9691
96eb829a
LL
96922013-07-05 Leo Liu <sdl.web@gmail.com>
9693
9694 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9695
cf13177e
YM
96962013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9697
9698 * frame.el (display-pixel-height, display-pixel-width)
9699 (display-mm-height, display-mm-width): Mention behavior on
9700 multi-monitor setups in docstrings.
9701 (w32-display-monitor-attributes-list): Declare function.
9702 (display-monitor-attributes-list): Use it.
9703
864c58ca
MA
97042013-07-04 Michael Albinus <michael.albinus@gmx.de>
9705
9706 * filenotify.el: New package.
9707
9708 * autorevert.el (top): Require filenotify.el.
9709 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9710 instead.
9711 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9712 (auto-revert-notify-handler): Use `file-notify-*' functions.
9713
9714 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9715
321e1a9c
SM
9716 * net/tramp.el (tramp-file-name-for-operation):
9717 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9718
9719 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9720 for `file-notify-add-watch' and `file-notify-rm-watch'.
9721 (tramp-process-sentinel): Improve trace.
9722 (tramp-sh-handle-file-notify-add-watch)
9723 (tramp-sh-file-notify-process-filter)
9724 (tramp-sh-handle-file-notify-rm-watch)
9725 (tramp-get-remote-inotifywait): New defuns.
9726
96673afe
JL
97272013-07-03 Juri Linkov <juri@jurta.org>
9728
9729 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9730 call of `occur-read-primary-args' to interactive spec.
9731
9732 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9733 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9734
924494f4
MM
97352013-07-03 Matthias Meulien <orontee@gmail.com>
9736
9737 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9738 `Buffer-menu-multi-occur'. Add it to the menu.
9739 (Buffer-menu-mode): Document it in docstring.
9740 (Buffer-menu-multi-occur): New command. (Bug#14673)
9741
56f75efc
DG
97422013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9743
9744 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9745 keywords and built-ins.
9746
9b057d61
GM
97472013-07-03 Glenn Morris <rgm@gnu.org>
9748
208dee4d
GM
9749 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9750
9b057d61
GM
9751 Make info-xref checks case-sensitive by default
9752 * info.el (Info-find-node, Info-find-in-tag-table)
9753 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9754 Add option for exact case matching of nodes.
9755 * info-xref.el (info-xref): New custom group.
9756 (info-xref-case-fold): New option.
9757 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9758
e01aa29c
LL
97592013-07-03 Leo Liu <sdl.web@gmail.com>
9760
9761 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9762
3086ca2e
DG
97632013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9764
9765 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9766 middle of block statement initially, lower the depth. Remove
9767 FIXME comment, not longer valid. Remove middle of block statement
9768 detection, no need to do that anymore since we've been using
9769 `ruby-parse-region' here.
9770
a3b49114
JD
97712013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9772
9773 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9774
08e5c823 97752013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9776
9777 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9778
2addf922
JB
97792013-07-01 Juanma Barranquero <lekktu@gmail.com>
9780
9781 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9782 (desktop-restore-in-current-display): New customization option.
9783 (desktop--excluded-frame-parameters): Add `font'.
9784 (desktop--save-frames): Rename from desktop--save-windows.
9785 (desktop--restore-in-this-display-p): New function.
9786 (desktop--make-full-frame): Remove unwanted width/height from
9787 full(width|height) frames.
9788 (desktop--restore-frames): Rename from desktop--restore-windows.
9789 Obey desktop-restore-current-display. Do not delete old frames or
9790 select a new frame unless we were able to restore at least one frame.
9791
ef099a94
MN
97922013-06-30 Michal Nazarewicz <mina86@mina86.com>
9793
9794 * files.el (find-file-noselect): Simplify conditional expression.
9795
a12bf61e 9796 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9797 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9798
9799 Add `remember-notes' function to store random notes across Emacs
9800 restarts.
3fcfc4ee
JB
9801 * textmodes/remember.el (remember-data-file): Add :set callback to
9802 affect notes buffer (if any).
ef099a94
MN
9803 (remember-notes): New command.
9804 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9805 New defcustoms for the `remember-notes' function.
9806 (remember-notes-save-and-bury-buffer): New command.
9807 (remember-notes-mode-map): New variable.
9808 (remember-mode): New minor mode.
9809 (remember-notes--kill-buffer-query): New function.
9810 * startup.el (initial-buffer-choice): Add notes to custom type.
9811
0865d506
EZ
98122013-06-30 Eli Zaretskii <eliz@gnu.org>
9813
0ba54312
EZ
9814 * bindings.el (right-char, left-char): Don't call sit-for, this is
9815 no longer needed. Use arithmetic comparison only for numerical
9816 arguments.
9817
ef099a94
MN
9818 * international/mule-cmds.el (select-safe-coding-system):
9819 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9820
2fae38e5
LMI
98212013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9822
9823 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9824 progression on degenerate tables.
ef099a94 9825 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9826
a47cbd64
JB
98272013-06-30 Juanma Barranquero <lekktu@gmail.com>
9828
9829 Some fixes and improvements for desktop frame restoration.
9830 It is still experimental and disabled by default.
9831 * desktop.el (desktop--save-windows): Put the selected frame at
9832 the head of the list.
9833 (desktop--make-full-frame): New function.
9834 (desktop--restore-windows): Try to re-select the frame that was
9835 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9836 just show an error message and continue. Set up maximized frames
9837 so they have default non-maximized dimensions.
a47cbd64 9838
6dbafa30
DG
98392013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9840
ef099a94
MN
9841 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9842 Don't start heredoc inside a string or comment.
6dbafa30 9843
4c672a0f
EZ
98442013-06-29 Eli Zaretskii <eliz@gnu.org>
9845
9846 * bindings.el (visual-order-cursor-movement): New defcustom.
9847 (right-char, left-char): Provide visual-order cursor motion by
9848 calling move-point-visually. Update the doc strings.
9849
50960f36
KH
98502013-06-28 Kenichi Handa <handa@gnu.org>
9851
9852 * international/mule.el (define-coding-system): New coding system
9853 properties :inhibit-null-byte-detection,
9854 :inhibit-iso-escape-detection, and :prefer-utf-8.
9855 (set-buffer-file-coding-system): If :charset-list property of
9856 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9857 appropriate for setting.
9858
c1ea3abf
JB
9859 * international/mule-cmds.el (select-safe-coding-system):
9860 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9861 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9862
9863 * international/mule-conf.el (prefer-utf-8): New coding system.
9864 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9865 files.
9866
75dbaf9d
IK
98672013-06-28 Ivan Kanis <ivan@kanis.fr>
9868
eadb6068
IK
9869 * net/shr.el (shr-render-region): New function.
9870
75dbaf9d
IK
9871 * net/eww.el: Autoload `eww-browse-url'.
9872
9ea5cf9f
DG
98732013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9874
c1ea3abf
JB
9875 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9876 Adapt to `package-desc-version' being a list.
9877 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9878 archive element.
9879
39c0e36f
JB
98802013-06-27 Juanma Barranquero <lekktu@gmail.com>
9881
9882 New experimental feature to save&restore window and frame setup.
9883 * desktop.el (desktop-save-windows): New defcustom.
9884 (desktop--saved-states): New var.
9885 (desktop--excluded-frame-parameters): New defconst.
9886 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9887 (desktop--restore-windows, desktop--save-windows): New functions.
9888 (desktop-save): Call `desktop--save-windows'.
9889 (desktop-read): Call `desktop--restore-windows'.
9890
7f13406b
LMI
98912013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9892
ef099a94 9893 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9894
1e072639
SB
98952013-06-27 Stephen Berman <stephen.berman@gmx.net>
9896
9897 * info.el (Info-try-follow-nearest-node): Move search for footnote
9898 above search for node name to prevent missing a footnote (bug#14717).
9899
f3e2cbde
SB
99002013-06-27 Stephen Berman <stephen.berman@gmx.net>
9901
9902 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9903
99906aa0
LL
99042013-06-27 Leo Liu <sdl.web@gmail.com>
9905
9906 * net/eww.el (eww-read-bookmarks): Check file size.
9907
539f75f4
SM
99082013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9911 advice--pending if newdef is nil or an autoload (bug#13820).
9912 (advice-mapc): New function.
9913
843571cb
LMI
99142013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9915
9916 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9917 probably.
23a75d7f 9918 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9919 (eww-add-bookmark): New command.
9920 (eww-bookmark-mode): New mode and commands.
a285ce99 9921 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9922 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9923
f2136e1e
GM
99242013-06-26 Glenn Morris <rgm@gnu.org>
9925
eab35f39
GM
9926 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9927 (hfy-size): Handle ttys. (Bug#14668)
9928
f2136e1e
GM
9929 * info-xref.el: Update for Texinfo 5 change in *note format.
9930 (info-xref-node-re, info-xref-note-re): New constants.
9931 (info-xref-check-buffer): Use info-xref-note-re.
9932
a49ff80c
SM
99332013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9934
a343d218
SM
9935 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9936
a49ff80c
SM
9937 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9938 nil terminate the loop (bug#14718).
9939
8308f184
LMI
99402013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9941
9942 * net/eww.el: Rework history traversal. When going forward/back,
9943 put these actions into the history, too, so that they can be
9944 replayed.
26bf2b82 9945 (eww-render): Move the history reset to the correct buffer.
8308f184 9946
ec64c273
JL
99472013-06-25 Juri Linkov <juri@jurta.org>
9948
9949 * files-x.el (modify-dir-local-variable): Change the header comment
9950 in the file with directory local variables. (Bug#14692)
9951
e080a9d7
JL
9952 * files-x.el (read-file-local-variable-value): Add `default'.
9953 (Bug#14710)
9954
bfbc93a1
IK
99552013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9956
9957 * net/eww.el (eww-make-unique-file-name): Create a unique file
9958 name before saving to entering `y' accidentally asynchronously.
9959
99602013-06-25 Ivan Kanis <ivan@kanis.fr>
9961
9962 * net/eww.el (eww-download): New command and keystroke.
9963
16f74f10
LMI
99642013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9965
a49ff80c 9966 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9967
9968 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9969 be more consistent with Info and dired.
9970
9971 * net/eww.el (eww-mode-map): Ditto.
9972
12059709
SM
99732013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9976 packages from archives.
9977 (package-archive-contents): Change format; include obsolete packages.
9978 (package-desc): Use `dir' to mark builtin packages.
9979 (package--from-builtin): Set the `dir' field to `builtin'.
9980 (generated-autoload-file, version-control): Declare.
9981 (package-compute-transaction): Change first arg and return value to be
9982 lists of package-descs. Adjust to new package-archive-contents format.
9983 (package--add-to-archive-contents): Adjust to new
9984 package-archive-contents format.
9985 (package-download-transaction): Arg is now a list of package-descs.
9986 (package-install): If `pkg' is a package name, pass it as
9987 a requirement, so it is subject to the usual (e.g. disabled) checks.
9988 (describe-package): Accept package-desc as well.
9989 (describe-package-1): Describe a specific package-desc. Add links to
9990 other package-descs for the same package name.
9991 (package-menu-describe-package): Pass the actual package-desc.
9992 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9993 works correctly.
9994 (package-desc-status): New function.
9995 (package-menu--refresh): New function, extracted
9996 from package-menu--generate.
9997 (package-menu--generate): Use it.
9998 (package-delete): Update package-alist.
9999 (package-menu-execute): Don't call package-initialize.
10000
10001 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10002 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10003 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10004 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10005 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10006 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10007
8bbdea0f
MR
100082013-06-25 Martin Rudalics <rudalics@gmx.at>
10009
10010 * window.el (window--state-get-1): Workaround for bug#14527.
10011 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10012
e82b0991
LMI
100132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10014
10015 * net/eww.el (eww-back-url): Implement the history by stashing all
10016 the data into a list.
d3f0f918 10017 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10018
c763842b
SM
100192013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10022 for values and use read--expression for expressions (bug#14710).
10023 (read-file-local-variable): Avoid setq.
10024 (read-file-local-variable-mode): Use minor-mode-list.
10025
bceff189
RW
100262013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10027
864c58ca 10028 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
10029 for DOI URLs.
10030
45f431c6
RW
100312013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10032
864c58ca 10033 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
10034 Update imenu-support when dialect changes.
10035
f42d8237
LL
100362013-06-25 Leo Liu <sdl.web@gmail.com>
10037
10038 * ido.el (ido-read-internal): Allow forward slash on windows.
10039
be549ce6
LMI
100402013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10041
10042 * net/eww.el (eww): Start of strings is \\`, not ^.
10043
71d4c19d
IK
100442013-06-24 Ivan Kanis <ivan@kanis.fr>
10045
5196f88a
IK
10046 * net/shr.el (shr-browse-url): Fix interactive spec.
10047
71d4c19d
IK
10048 * net/eww.el (eww): Add a trailing slash to domain names.
10049
ae36ca55
JB
100502013-06-24 Juanma Barranquero <lekktu@gmail.com>
10051
10052 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10053
0ebd92a3
LMI
100542013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10055
bdaa086b
LMI
10056 * net/shr.el (shr-browse-url): Use an external browser if given a
10057 prefix.
10058
c763842b 10059 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 10060
b89fc156
IK
100612013-06-24 Ivan Kanis <ivan@kanis.fr>
10062
10063 * net/eww.el (eww): Work more correctly for file: URLs.
10064 (eww-detect-charset): Allow quoted charsets.
10065 (eww-yank-page-url): New command and keystroke.
10066
18eb4bca
DU
100672013-06-24 Daiki Ueno <ueno@gnu.org>
10068
10069 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10070 file name of gpg executable.
10071 (epg-context-program): New function.
10072 (epg-context-home-directory): New function.
10073 (epg-context-set-program): New function.
10074 (epg-context-set-home-directory): New function.
10075 (epg--start): Use `epg-context-program' instead of
10076 'epg-gpg-program'.
10077 (epg--list-keys-1): Likewise.
10078
6c6268c8
LL
100792013-06-24 Leo Liu <sdl.web@gmail.com>
10080
10081 * ido.el (ido-read-internal): Fix bug#14620.
10082
5e400cb3
JB
100832013-06-23 Juanma Barranquero <lekktu@gmail.com>
10084
10085 * faces.el (face-documentation): Simplify.
10086 (read-face-attribute, tty-find-type, x-resolve-font-name):
10087 Use `string-match-p'.
10088 (list-faces-display): Use `string-match-p'. Simplify.
10089 (face-spec-recalc): Check face to avoid face alias loops.
10090 (read-color): Use `string-match-p' and non-capturing parenthesis.
10091
f3f9606c
LMI
100922013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10093
10094 * net/shr.el (shr-rescale-image): Use the new
10095 :max-width/:max-height functionality.
10096
a3ca09b9
IK
100972013-06-23 Ivan Kanis <ivan@kanis.fr>
10098
10099 * net/eww.el (eww-search-prefix): New variable.
10100 (eww): Use it.
f865b474
IK
10101 (eww-external-browser): New variable.
10102 (eww-mode-map): New keystroke.
10103 (eww-browse-with-external-browser): New command.
a3ca09b9 10104
e854cfc7
IK
10105 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10106
18bb9e21
JB
101072013-06-23 Juanma Barranquero <lekktu@gmail.com>
10108
10109 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10110 Don't skip aligning the next header field when padding is 0;
10111 otherwise, field width is not respected unless the title is as
10112 wide as the field.
10113
5b165ade
SM
101142013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10115
10116 * emacs-lisp/package.el (package-el-version): Remove.
10117 (package-process-define-package): Fix inf-loop.
10118 (package-install): Allow symbols as arguments again.
10119
12adebe9
DG
101202013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10121
10122 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10123 add some more keyword-like methods.
10124 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10125
388573ee
JB
101262013-06-22 Juanma Barranquero <lekktu@gmail.com>
10127
10128 * bs.el (bs-buffer-show-mark): Make defvar-local.
10129 (bs-mode): Use setq-local.
10130
10131 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10132 (emacs-lock--try-unlocking): Make defvar-local.
10133
4582a01c 101342013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10135
2663dd23
GM
10136 * play/cookie1.el (cookie-apropos): Minor simplification.
10137
3d94f3ad
GM
10138 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10139
f72e2fdb
DG
101402013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10141
10142 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10143 `regexp-opt', it breaks the build during dumping.
10144
73eab938
DG
101452013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10146
c763842b
SM
10147 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10148 Highlight keyword-like methods on Kernel and Module with
73eab938 10149 font-lock-builtin-face.
5cf8176d
DG
10150 (auto-mode-alist): Consolidate different entries into one regexp
10151 and add more *file-s.
73eab938 10152
d26255f6
SB
101532013-06-21 Stephen Berman <stephen.berman@gmx.net>
10154
10155 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10156
10157 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10158 (diary-entry): Use it in the action of this button type instead of
10159 diary-goto-entry.
10160
10161 * calendar/todo-mode.el: New version.
10162 (todo-add-category): Append new category to end of file and give
10163 it the highest number, instead of putting it at the beginning and
10164 giving it 0. Incorporate noninteractive functionality.
10165 (todo-forward-category): Adapt to 1-based category numbering.
10166 Allow skipping over archived categories.
10167 (todo-backward-category): Derive from todo-forward-category.
10168 (todo-backward-item, todo-forward-item): Make noninteractive and
10169 delegate interactive part to new commands. Make sensitive to done items.
10170 (todo-categories): Make value an alist of category names and
10171 vectors of item counts.
10172 (todo-category-beg): Make a defconst.
10173 (todo-category-number): Use 1 instead of 0 as initial value.
10174 (todo-category-select): Make sensitive to overlays, optional item
10175 highlighting and done items.
10176 (todo-delete-item): Make sensitive to overlays and marked and done items.
10177 (todo-edit-item): Make sensitive to overlays and editing of
10178 date/time header optional. Add format checks.
10179 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10180 no-op if point is not on an item. Advertise using todo-edit-quit.
10181 (todo-edit-mode): Make sensitive to new format, font-locking, and
10182 multiple todo files.
10183 (todo-insert-item, todo-insert-item-here): Derive from
10184 todo-basic-insert-item and extend functionality.
10185 (todo-item-end, todo-item-start): Make sensitive to done items.
10186 (todo-item-string): Don't return text properties. Restore point.
10187 (todo-jump-to-category): Make sensitive to multiple todo files and
10188 todo archives. Use extended category completion.
10189 (todo-lower-item, todo-raise-item): Rename to *-priority and
10190 derive from todo-set-item-priority.
10191 (todo-mode): Derive from special-mode. Make sensitive to new
10192 format, font-locking and multiple todo files. Make read-only.
10193 (todo-mode-map): Don't suppress digit keys, so they can supply
10194 prefix arguments. Add many new key bindings.
10195 (todo-prefix): Insert as an overlay instead of file text.
10196 Change semantics from diary date expression to purely visual mark.
10197 (todo-print): Rename to todo-print-buffer. Make buffer display
10198 features printable. Remove option to restrict number of items
10199 printed. Add option to print to file.
10200 (todo-print-function): Rename to todo-print-buffer-function.
10201 (todo-quit): Extend to handle exiting new todo modes.
10202 (todo-remove-item): Make sensitive to overlays.
10203 (todo-save): Extend to buffers of filtered items.
10204 (todo-show): Make sensitive to done items, multiple todo files and
10205 new todo modes. Offer to convert legacy todo file before creating
10206 first new todo file.
10207 (todo-show-priorities): Rename to todo-top-priorities.
10208 Change semantics of value 0.
10209 (todo-top-priorities): Rename to todo-filter-top-priorities,
10210 derive from todo-filter-items and extend functionality.
10211 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10212 and extend functionality to other types of filtered items.
10213 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10214 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10215 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10216 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10217 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10218 (todo-edit-mode-hook, todo-entry-prefix-function)
10219 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10220 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10221 (todo-initials, todo-insert-threshold, todo-item-string-start)
10222 (todo-line-string, todo-menu, todo-mode-hook)
10223 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10224 (todo-print-priorities, todo-remove-separator)
10225 (todo-save-top-priorities-too, todo-string-count-lines)
10226 (todo-string-multiline-p, todo-time-string-format)
10227 (todo-tmp-buffer-name): Remove.
10228 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10229 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10230 (todo-edit-category-diary-inclusion)
10231 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10232 (todo-edit-file, todo-edit-item-date-day)
10233 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10234 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10235 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10236 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10237 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10238 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10239 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10240 (todo-filter-top-priorities-multifile, todo-find-archive)
10241 (todo-find-filtered-items-file, todo-go-to-source-item)
10242 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10243 (todo-jump-to-archive-category, todo-lower-category)
10244 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10245 (todo-move-category, todo-move-item, todo-next-button)
10246 (todo-next-item, todo-padded-string, todo-powerset)
10247 (todo-previous-button, todo-previous-item)
10248 (todo-print-buffer-to-file, todo-raise-category)
10249 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10250 (todo-set-category-number, todo-set-item-priority)
10251 (todo-set-top-priorities-in-category)
10252 (todo-set-top-priorities-in-file, todo-show-categories-table)
10253 (todo-sort-categories-alphabetically-or-numerically)
10254 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10255 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10256 (todo-toggle-item-header, todo-toggle-item-highlighting)
10257 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10258 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10259 (todo-unarchive-items, todo-unmark-category): New commands.
10260 (todo-absolute-file-name, todo-add-to-buffer-list)
10261 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10262 (todo-basic-insert-item, todo-category-completions)
10263 (todo-category-number, todo-category-string-matcher-1)
10264 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10265 (todo-check-format, todo-clear-matches)
10266 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10267 (todo-current-category, todo-date-string-matcher)
10268 (todo-define-insertion-command, todo-diary-expired-matcher)
10269 (todo-diary-goto-entry, todo-diary-item-p)
10270 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10271 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10272 (todo-done-item-section-p, todo-done-separator)
10273 (todo-done-string-matcher, todo-files, todo-filter-items)
10274 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10275 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10276 (todo-insert-category-line, todo-insert-item-from-calendar)
10277 (todo-insert-sort-button, todo-insert-with-overlays)
10278 (todo-insertion-command-name, todo-insertion-key-bindings)
10279 (todo-label-to-key, todo-longest-category-name-length)
10280 (todo-make-categories-list, todo-mode-external-set)
10281 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10282 (todo-modes-set-3, todo-multiple-filter-files)
10283 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10284 (todo-read-category, todo-read-date, todo-read-dayname)
10285 (todo-read-file-name, todo-read-time)
10286 (todo-reevaluate-category-completions-files-defcustom)
10287 (todo-reevaluate-default-file-defcustom)
10288 (todo-reevaluate-filelist-defcustoms)
10289 (todo-reevaluate-filter-files-defcustom)
10290 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10291 (todo-reset-done-separator, todo-reset-done-separator-string)
10292 (todo-reset-done-string, todo-reset-global-current-todo-file)
10293 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10294 (todo-reset-prefix, todo-set-categories)
10295 (todo-set-date-from-calendar, todo-set-show-current-file)
10296 (todo-set-top-priorities, todo-short-file-name)
10297 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10298 (todo-total-item-counts, todo-update-buffer-list)
10299 (todo-update-categories-display, todo-update-categories-sexp)
10300 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10301 New functions.
10302 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10303 New major modes.
10304 (todo-categories, todo-display, todo-edit, todo-faces)
10305 (todo-filtered): New defgroups.
10306 (todo-archived-only, todo-button, todo-category-string, todo-date)
10307 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10308 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10309 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10310 (todo-add-item-if-new-category, todo-always-add-time-string)
10311 (todo-categories-align, todo-categories-archived-label)
10312 (todo-categories-category-label, todo-categories-diary-label)
10313 (todo-categories-done-label, todo-categories-number-separator)
10314 (todo-categories-todo-label, todo-categories-totals-label)
10315 (todo-category-completions-files, todo-completion-ignore-case)
10316 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10317 (todo-done-separator-string, todo-done-string)
10318 (todo-files-function, todo-filter-done-items, todo-filter-files)
10319 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10320 (todo-initial-category, todo-initial-file, todo-item-mark)
10321 (todo-legacy-date-time-regexp, todo-mode-line-function)
10322 (todo-nondiary-marker, todo-number-prefix)
10323 (todo-print-buffer-function, todo-show-current-file)
10324 (todo-show-done-only, todo-show-first, todo-show-with-done)
10325 (todo-skip-archived-categories, todo-top-priorities-overrides)
10326 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10327 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10328 New defcustoms.
10329 (todo-category-done, todo-date-pattern, todo-date-string-start)
10330 (todo-diary-items-buffer, todo-done-string-start)
10331 (todo-filtered-items-buffer, todo-item-start)
10332 (todo-month-abbrev-array, todo-month-name-array)
10333 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10334 (todo-top-priorities-buffer): New defconsts.
10335 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10336 (todo-categories-with-marks, todo-category-string-face)
10337 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10338 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10339 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10340 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10341 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10342 (todo-font-lock-keywords, todo-global-current-todo-file)
10343 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10344 (todo-insertion-commands-args)
10345 (todo-insertion-commands-args-genlist)
10346 (todo-insertion-commands-names, todo-insertion-map)
10347 (todo-key-bindings-t, todo-key-bindings-t+a)
10348 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10349 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10350 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10351 (todo-visited): New variables.
10352
cad5d1cb
GM
103532013-06-21 Glenn Morris <rgm@gnu.org>
10354
10355 * play/cookie1.el (cookie-apropos): Add optional display argument.
10356 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10357 (psychoanalyze-pinhead): Use cookie-doctor.
10358
9e277302
JB
103592013-06-21 Juanma Barranquero <lekktu@gmail.com>
10360
10361 * emacs-lisp/package.el (tar-get-file-descriptor)
10362 (tar--extract): Declare.
10363
c5b0993e
EW
103642013-06-21 Eduard Wiebe <usenet@pusto.de>
10365
10366 Extend flymake's warning predicate to be a function (bug#14217).
10367 * progmodes/flymake.el (flymake-warning-predicate): New.
10368 (flymake-parse-line): Use it.
10369 (flymake-warning-re): Make obsolete alias to
10370 `flymake-warning-predicate'.
10371
a7d2d465
SM
103722013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10373
10374 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10375 (package-obsolete-list): Remove.
10376 (package-activate): Remove min-version argument. Add `force' argument.
10377 Adjust to new package-alist format.
10378 (package-mark-obsolete): Remove.
10379 (package-unpack): Force reload of the package's autoloads.
10380 (package-installed-p): Check builtins if the installed package is not
10381 recent enough.
10382 (package-initialize): Don't reset package-obsolete-list.
10383 Don't specify which package version to activate.
10384 (package-process-define-package, describe-package-1)
10385 (package-menu--generate): Adjust to new package-alist format.
10386
cedf5c9d
JB
103872013-06-21 Juanma Barranquero <lekktu@gmail.com>
10388
10389 * allout-widgets.el (allout-widgets-mode-off)
10390 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10391 (allout-widgets-post-command-business)
10392 (allout-widgets-after-copy-or-kill-function)
10393 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10394 (allout-decorate-item-and-context)
10395 (allout-graphics-modification-handler): Fix typos in docstrings.
10396 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10397
10398 * cmuscheme.el (scheme-start-file): Doc fix.
10399 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10400 (scheme-input-filter): Use `string-match-p'.
10401
10402 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10403
10404 * dired-x.el: Use Dired consistently in docstrings.
10405
10406 * dired.el: Use Dired consistently in docstrings.
10407 (dired-readin, dired-mode): Use `setq-local'.
10408 (dired-switches-alist): Make defvar-local.
10409 (dired-buffers-for-dir): Use `zerop'.
10410 (dired-safe-switches-p, dired-switches-escape-p)
10411 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10412 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10413 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10414 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10415 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10416 (dired-toggle-marks, dired-mark-files-containing-regexp)
10417 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10418 (dired-flag-auto-save-files, dired-flag-backup-files):
10419 Use `looking-at-p'.
10420 (dired-mark-files-regexp, dired-build-subdir-alist):
10421 Use `string-match-p', `looking-at-p'.
10422
10423 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10424 (direct-print-region-helper): Use `string-match-p'.
10425
aed838b5
LL
104262013-06-21 Leo Liu <sdl.web@gmail.com>
10427
cedf5c9d
JB
10428 * comint.el (comint-redirect-results-list-from-process):
10429 Fix infinite loop.
aed838b5 10430
d80a808f
LMI
104312013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10432
10433 * net/eww.el (eww-update-header-line-format): Quote % characters.
10434
e7a526e3
GM
104352013-06-21 Glenn Morris <rgm@gnu.org>
10436
10437 * play/cookie1.el (cookie): New custom group.
10438 (cookie-file): New option.
10439 (cookie-check-file): New function.
10440 (cookie): Make it interactive. Make start and end messages optional.
10441 Interactively, display the result. Default to cookie-file.
10442 (cookie-insert): Default to cookie-file.
10443 (cookie-snarf): Make start and end messages optional.
10444 Default to cookie-file. Use with-temp-buffer.
10445 (cookie-read): Rename from read-cookie.
10446 Make start and end messages optional. Default to cookie-file.
10447 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10448 Do not autoload it.
e7a526e3
GM
10449 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10450 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10451
62efb35e
LL
104522013-06-21 Leo Liu <sdl.web@gmail.com>
10453
10454 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10455
21e3f963
GM
104562013-06-21 Glenn Morris <rgm@gnu.org>
10457
10458 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10459
fd846ab4
SM
104602013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10461 Daniel Hackney <dan@haxney.org>
10462
10463 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10464 Consolidate the single-file vs tarball code.
10465 (package-desc-suffix): New function.
10466 (package-desc-full-name): Don't bother inlining it.
10467 (package-load-descriptor): Return the new package-desc.
10468 (package-mark-obsolete): Remove unused arg `package'.
10469 (package-unpack): Make it work for single files as well.
10470 Make it update package-alist.
10471 (package--make-autoloads-and-stuff): Rename from
10472 package--make-autoloads-and-compile. Don't compile any more.
10473 (package--compile): New function.
10474 (package-generate-description-file): New function, extracted from
10475 package-unpack-single.
10476 (package-unpack-single): Remove.
10477 (package--with-work-buffer): Add indentation and debugging info.
10478 (package-download-single): Remove.
10479 (package-install-from-archive): Rename from package-download-tar, make
10480 it take a pkg-desc, and make it work for single files as well.
10481 (package-download-transaction): Simplify.
10482 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10483 external tar program.
10484 (package-install-from-buffer): Remove `pkg-desc' argument.
10485 Use package-tar-file-info for tar-mode buffers.
10486 (package-install-file): Simplify accordingly.
10487 (package-archive-base): Change to take a pkg-desc.
10488 * tar-mode.el (tar--check-descriptor): New function, extracted from
10489 tar-get-descriptor.
10490 (tar-get-descriptor): Use it.
10491 (tar-get-file-descriptor): New function.
10492 (tar--extract): New function, extracted from tar-extract.
10493 (tar--extract): Use it.
10494 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10495 case the summary uses non-ascii. Adjust to new calling convention of
10496 package-tar-file-info.
10497
b7deae5e
LL
104982013-06-21 Leo Liu <sdl.web@gmail.com>
10499
fd846ab4
SM
10500 * comint.el (comint-redirect-results-list-from-process):
10501 Fix random delay. (Bug#14681)
b7deae5e 10502
7a65a0b2
JB
105032013-06-21 Juanma Barranquero <lekktu@gmail.com>
10504
10505 * profiler.el (profiler-format-number): Use log, not log10.
10506
1493c2af
JB
105072013-06-20 Juanma Barranquero <lekktu@gmail.com>
10508
10509 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10510
aff6371e
SM
105112013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10514 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10515 yet available.
10516 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10517 (AUTOGENEL): ... here.
10518 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10519 (cl--defsubst-expand): Use it.
10520
89561f72
PE
105212013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10522
10523 * subr.el (log10): Move here from C code, and declare as obsolete.
10524 All uses of (log10 X) replaced with (log X 10).
10525
47199123
JB
105262013-06-20 Juanma Barranquero <lekktu@gmail.com>
10527
10528 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10529 Declare with `defvar-local'.
10530 (tabulated-list-use-header-line, tabulated-list-entries)
10531 (tabulated-list-padding, tabulated-list-printer)
10532 (tabulated-list-sort-key): Declare with `defvar-local'.
10533 (tabulated-list-init-header, tabulated-list-print-fake-header):
10534 Use `setq-local'.
10535
4a172eab
MA
105362013-06-20 Michael Albinus <michael.albinus@gmx.de>
10537
47199123
JB
10538 * arc-mode.el (archive-mode): Add `archive-write-file' to
10539 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10540
5fc0acc0
JB
105412013-06-20 Juanma Barranquero <lekktu@gmail.com>
10542
d5b27848
JB
10543 * cus-edit.el (custom-commands): Fix typos.
10544 (custom-display): Fix tooltip text.
10545 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10546 Fix typos in docstrings.
10547 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10548 (custom-unlispify-menu-entry, custom-magic-value-create)
10549 (custom-add-see-also, custom-group-value-create): Use ?\s.
10550 (custom-guess-type, customize-apropos, editable-field)
10551 (custom-face-value-create): Use `string-match-p'.
10552 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10553
10554 * custom.el (custom-load-symbol): Use `string-match-p'.
10555
a5c581d8
JB
10556 * ansi-color.el: Convert to lexical binding.
10557 (ansi-colors): Fix URL.
10558 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10559 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10560 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10561
970ad972
G
105622013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10563
10564 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10565
10566 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10567
105682013-06-19 Tom Tromey <tromey@redhat.com>
10569
10570 * net/eww.el (eww-top-url): Remove.
10571 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10572 (eww-render): Set new variables. Don't set eww-top-url.
10573 (eww-handle-link): Handle "prev", "home", and "contents".
10574 Downcase the rel text.
10575 (eww-top-url): Choose best top URL.
10576
105772013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10578
10579 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10580 relying in widget.el. Using widget.el leads to too many
10581 user interface inconsistencies.
10582 (eww-self-insert): Implement entering commands in text fields.
10583 (eww-process-text-input): New function to make text input field editing
10584 work.
10585 (eww-submit): Rewrite to use the new-style form methods.
10586 (eww-select-display): Display the correct selected item.
10587 (eww-change-select): Implement changing the select value.
10588 (eww-toggle-checkbox): Implement radio/checkboxes.
10589 (eww-update-field): Fix compilation error.
10590 (eww-tag-textarea): Implement <textarea>.
10591
10592 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10593 we don't shadow mode-specific bindings.
10594
10595 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10596 nothing to push.
10597
10598 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10599
4582a01c 106002013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10601
10602 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10603
15b263dc
MA
106042013-06-19 Michael Albinus <michael.albinus@gmx.de>
10605
10606 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10607 not needed.
10608
10609 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10610
8f5297f7
LMI
106112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10612
10613 * net/browse-url.el (browse-url-browser-function):
10614 `eww-browse-url' has the right calling signature, `eww' does not.
10615
011c4552
GM
106162013-06-19 Glenn Morris <rgm@gnu.org>
10617
2285bd27
GM
10618 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10619 Only eval autoloaded macros.
10620 (byte-compile-autoload): Only give the macro warning for macros.
10621
1d653303
GM
10622 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10623 (ps-underlined-faces): Declare.
10624
bdd779ec
GM
10625 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10626 (speedbar-add-supported-extension): Declare.
10627
011c4552
GM
10628 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10629 Don't include a date stamp in the header of the generated file;
10630 it leads to needless differences between output files.
10631
e59dfb0e
MA
106322013-06-19 Michael Albinus <michael.albinus@gmx.de>
10633
c763842b
SM
10634 * net/secrets.el (secrets-struct-secret-content-type):
10635 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10636 Some servers do not offer introspection.
e59dfb0e 10637
102626e2
SM
106382013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10639
10640 * electric.el (electric-pair-mode): Improve interaction with
10641 electric-layout-mode.
10642 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10643 (electric-pair-syntax): Use text-mode-syntax-table in comments
10644 and strings.
10645 (electric-pair--insert): New function.
10646 (electric-pair-post-self-insert-function): Use it and
10647 electric--after-char-pos.
10648
ad528125
LL
106492013-06-19 Leo Liu <sdl.web@gmail.com>
10650
10651 * progmodes/octave.el (octave-help): Fix regexp.
10652
924d6997
G
106532013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10654
10655 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10656 (shr-table-horizontal-line): Allow nil as a value, and change the
10657 default.
10658 (shr-insert-table-ruler): Respect the nil value.
10659
106602013-06-18 Tom Tromey <tromey@barimba>
10661
10662 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10663 New defvars.
10664 (eww-open-file): New defun.
10665 (eww-render): Initialize new variables.
10666 (eww-display-html): Handle "link" and "a".
10667 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10668 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10669 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10670 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10671 New defuns.
924d6997 10672
d1bbba4f
DG
106732013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10674
10675 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10676 Distinguish ternary operator tokens from slash symbol and slash
10677 char literal.
10678
14dd22d2
JB
106792013-06-18 Juanma Barranquero <lekktu@gmail.com>
10680
10681 Convert symbol prettification into minor mode and global minor mode.
10682
10683 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10684 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10685 (prettify-symbols--keywords): Rename from
10686 `prog-prettify-symbols-alist' and make a local defvar.
10687 (prettify-symbols--compose-symbol): Rename from
10688 `prog--prettify-font-lock-compose-symbol'.
10689 (prettify-symbols--make-keywords): Rename from
10690 `prog-prettify-font-lock-symbols-keywords' and simplify.
10691 (prog-prettify-install): Remove.
10692 (prettify-symbols-mode): New minor mode, based on
10693 `prog-prettify-install'.
10694 (turn-on-prettify-symbols-mode): New function.
10695 (global-prettify-symbols-mode): New globalized minor mode.
10696
10697 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10698 * progmodes/cfengine.el (cfengine3-mode):
10699 * progmodes/perl-mode.el (perl-mode): Don't call
10700 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10701
292c880c
JL
107022013-06-18 Juri Linkov <juri@jurta.org>
10703
10704 * files-x.el (modify-file-local-variable-message): New function.
10705 (modify-file-local-variable)
10706 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10707 and call `modify-file-local-variable-message' when it's non-nil.
10708 (add-file-local-variable, delete-file-local-variable)
10709 (add-file-local-variable-prop-line)
10710 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10711 and use it. (Bug#9820)
10712
0950aa27
JL
107132013-06-18 Juri Linkov <juri@jurta.org>
10714
10715 * emulation/vi.el (vi-shell-op):
10716 * emulation/vip.el (vip-execute-com, ex-command):
10717 * emulation/viper-cmd.el (viper-exec-bang):
10718 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10719 the call of `shell-command-on-region'. (Bug#14637)
10720
10721 * simple.el (shell-command-on-region): Doc fix.
10722
8fbcca16
SM
107232013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10724
10725 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10726 (bug#14633).
10727
dd7426ea
GM
107282013-06-18 Glenn Morris <rgm@gnu.org>
10729
4ba54f7d
GM
10730 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10731
dd7426ea
GM
10732 * newcomment.el (comment-search-forward, comment-search-backward):
10733 Doc fix. (Bug#14376)
10734
58aa805b
JB
107352013-06-18 Juanma Barranquero <lekktu@gmail.com>
10736
10737 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10738 (buffer-face-mode-invoke): Doc fix.
10739
9a08a617
MM
107402013-06-18 Matthias Meulien <orontee@gmail.com>
10741
10742 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10743 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10744
f2f426ca
GM
107452013-06-18 Glenn Morris <rgm@gnu.org>
10746
9445f99b
GM
10747 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10748 Replace obsolete function generic-make-keywords with its expansion.
10749
e0df2d14
GM
10750 * progmodes/python.el (ffap-alist): Declare.
10751
f2f426ca
GM
10752 * textmodes/reftex.el (bibtex-mode-map): Declare.
10753
f7f9a720
SM
107542013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10757 (package-unpack, package-unpack-single): Return the pkg-dir.
10758 (package-download-transaction): Use it to update package-alist.
10759
57ff04e0
LMI
107602013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10761
10762 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10763 possible choice.
10764
c048c022
JL
107652013-06-17 Juri Linkov <juri@jurta.org>
10766
10767 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10768
b5bcaee5
DG
107692013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10770
a020afb9
JB
10771 * emacs-lisp/package.el (package-load-descriptor):
10772 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10773 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10774
551e07e5
JB
107752013-06-17 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * startup.el (command-line): Expand package name returned by
10778 `package--description-file' (bug#14639).
10779
d363bffb
DG
107802013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10781
10782 * emacs-lisp/package.el (package-load-descriptor): Do not call
10783 `emacs-lisp-mode', just use its syntax table.
10784
f612933b
JB
107852013-06-17 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10788 `font-lock-extra-managed-props' if any prettifying keyword is added.
10789 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10790 (prog-mode): Use `setq-local'.
10791
db3b7db5
SM
107922013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * international/characters.el (standard-case-table): Set syntax of ?»
10795 and ?« to punctuation.
10796
f3d674df
JB
107972013-06-16 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10800 Save relevant match data before calling `syntax-ppss' (bug#14595).
10801
31489a32
JL
108022013-06-15 Juri Linkov <juri@jurta.org>
10803
10804 * files-x.el (modify-file-local-variable-prop-line): Add local
10805 variables to the end of the existing comment on the first line.
10806 Use `file-auto-mode-skip' to skip interpreter magic line,
10807 and also skip XML declaration.
10808
66bd25ab
SM
108092013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * startup.el (package--builtin-versions): New var.
10812 (package-subdirectory-regexp): Remove.
10813 (package--description-file): Hard code its value instead.
10814
10815 * emacs-lisp/package.el: Don't activate packages older than builtin.
10816 (package-obsolete-list): Rename from package-obsolete-alist, and make
10817 it into a simple list of package-desc.
10818 (package-strip-version): Remove.
10819 (package-built-in-p): Use package--builtin-versions.
10820 (package-mark-obsolete): Simplify.
10821 (package-process-define-package): Mark it obsolete if older than the
10822 builtin version.
10823 (package-handle-response): Use line-end-position.
10824 (package-read-archive-contents, package--download-one-archive):
10825 Simplify.
10826 (package--add-to-archive-contents): Skip if older than the builtin or
10827 installed version.
10828 (package-menu-describe-package): Fix last change.
10829 (package-list-unversioned): New var.
10830 (package-menu--generate): Use it.
10831
10832 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10833 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10834 (autoload-builtin-package-versions): New variable.
10835 (autoload-generate-file-autoloads): Use them.
10836 Remove the list of autoloaded functions/macros from the
10837 (autoload...) comments.
10838
10839 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10840
9583ec36
EZ
108412013-06-15 Eli Zaretskii <eliz@gnu.org>
10842
10843 * simple.el (line-move-partial): Don't jump to the next screen
10844 line as soon as it becomes visible. Instead, continue enlarging
10845 the vscroll until the portion of a tall screen line that's left on
10846 display is about the height of the frame's default font.
10847 (Bug#14567)
10848
f0100d8a
GM
108492013-06-15 Glenn Morris <rgm@gnu.org>
10850
b86a85ca
GM
10851 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10852 compilation-error-regexp-alist void, or local while let-bound.
10853
f0100d8a
GM
10854 * progmodes/make-mode.el (makefile-mode-syntax-table):
10855 Treat "=" as punctuation. (Bug#14614)
10856
05e7ce90
JB
108572013-06-15 Juanma Barranquero <lekktu@gmail.com>
10858
10859 * help-fns.el (describe-variable):
10860 Add extra line for permanent-local variables.
10861
12e5e86e
SH
108622013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10863
10864 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10865 Add export, import, library. (Bug#9164)
10866 (library): Set indent function.
10867
230dcbaf
GM
108682013-06-14 Glenn Morris <rgm@gnu.org>
10869
10870 * term/xterm.el (xterm--query):
10871 Stop after first matching handler. (Bug#14615)
10872
e36b2d20 108732013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10874
10875 Add support for dired in saveplace.
10876 * dired.el (dired-initial-position-hook): New variable.
10877 (dired-initial-position): Call hook to place cursor position.
10878 * saveplace.el (save-place-to-alist): Add dired position.
10879 (save-place-dired-hook): New function.
10880
0b31660d
SM
108812013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10882
bf1e6ae8
SM
10883 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10884 through a symbol rather than letrec.
10885
1b8dff23
SM
10886 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10887 (package-desc): Add `dir' field.
10888 (package-desc-full-name): New function.
10889 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10890 (package-maybe-load-descriptor): Remove.
10891 (package-load-all-descriptors): Just call package-load-descriptor.
10892 (package--disabled-p): New function.
10893 (package-desc-vers, package-desc-doc): Remove aliases.
10894 (package--dir): Remove function.
10895 (package-activate): Check if a package is disabled.
10896 (package-process-define-package): New function, extracted from
10897 define-package.
10898 (define-package): Turn into a place holder.
10899 (package-unpack-single, package-tar-file-info):
10900 Use package--description-file.
10901 (package-compute-transaction): Use package--disabled-p.
10902 (package-download-transaction): Don't call
10903 package-maybe-load-descriptor since they're all loaded anyway.
10904 (package-install): Change argument to be a pkg-desc.
10905 (package-delete): Use a single pkg-desc argument.
10906 (describe-package-1): Use package-desc-dir instead of package--dir.
10907 Use package-desc property instead of package-symbol.
10908 (package-install-button-action): Adjust accordingly.
10909 (package--push): Rewrite.
10910 (package-menu--print-info): Adjust accordingly. Change the ID format
10911 to be a pkg-desc.
10912 (package-menu-describe-package, package-menu-get-status)
10913 (package-menu--find-upgrades, package-menu-mark-upgrades)
10914 (package-menu-execute, package-menu--name-predicate):
10915 Adjust accordingly.
10916 * startup.el (package--description-file): New function.
10917 (command-line): Use it.
10918 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10919 Use package-desc-version.
10920
0b31660d
SM
10921 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10922 (byte-compile-preprocess): Use it.
10923 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10924 can't quite recognize.
10925 (byte-compile-add-to-list): Remove.
10926 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10927 (cconv-closure-convert): Add assertion.
10928
10929 * emacs-lisp/map-ynp.el: Use lexical-binding.
10930 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10931 Factor out some repeated code.
10932
de0503df
SM
109332013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * subr.el (with-eval-after-load): New macro.
10936 (eval-after-load): Allow form to be a function.
10937 take advantage of lexical-binding.
10938 (do-after-load-evaluation): Use dolist and adjust to new format.
10939 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10940
bc5c8c5a
JL
109412013-06-13 Juri Linkov <juri@jurta.org>
10942
10943 * replace.el (perform-replace): Display "symbol " and other search
10944 modes from `isearch-message-prefix' in the *Help* buffer.
10945
10946 * isearch.el (isearch-query-replace): Add " symbol" and other
10947 possible search modes from `isearch-message-prefix' to the prompt.
10948 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10949 when reading a regexp to collect.
10950
a22289f7
JL
109512013-06-13 Juri Linkov <juri@jurta.org>
10952
10953 * isearch.el (word-search-regexp): Match whitespace if the search
10954 string begins or ends in whitespace. The LAX arg is applied to
10955 both ends of the search string. Use `regexp-quote' and explicit
10956 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10957 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10958 boundaries are replaced with symbol boundaries, and characters
10959 between symbols match non-word non-symbol syntax. (Bug#14602)
10960
cb89acab
JL
109612013-06-13 Juri Linkov <juri@jurta.org>
10962
10963 * isearch.el (isearch-del-char): Don't exceed the length of
10964 `isearch-string' by the prefix arg. (Bug#14563)
10965
6e8cfc81
JL
109662013-06-13 Juri Linkov <juri@jurta.org>
10967
10968 * isearch.el (isearch-yank-word, isearch-yank-line)
10969 (isearch-char-by-name, isearch-quote-char)
10970 (isearch-printing-char, isearch-process-search-char):
10971 Add optional count prefix arg. (Bug#14563)
10972
10973 * international/isearch-x.el
10974 (isearch-process-search-multibyte-characters):
10975 Add optional count prefix arg.
10976
c23d55f4
VS
109772013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10978
10979 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10980 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10981 lexical-binding.
10982
109832013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10984
10985 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10986
ba947bc4
GM
109872013-06-13 Glenn Morris <rgm@gnu.org>
10988
8baeb37a
GM
10989 * startup.el (tty-handle-args):
10990 Don't just discard "--" and anything after. (Bug#14608)
10991
ba947bc4
GM
10992 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10993
9abefce4
MA
109942013-06-13 Michael Albinus <michael.albinus@gmx.de>
10995
10996 Implement changes in Secret Service API. Make it backward compatible.
10997 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10998 (secrets-create-item): Use it. Prefix properties with interface.
10999
5755011f
MH
110002013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11001
11002 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11003 (term-emulate-terminal): Respect term-suppress-hard-newline.
11004
1261d2da
S
110052013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11006
11007 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11008 Only remove a `thumb-file' overlay. (Bug#14548)
11009
868490bb
GJ
110102013-06-12 Grégoire Jadi <daimrod@gmail.com>
11011
11012 * mail/reporter.el (reporter-submit-bug-report):
11013 Handle missing package-name. (Bug#14600)
11014
79d7167f
TH
110152013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11016
11017 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11018 (reftex-citation-prompt, reftex-default-bibliography)
11019 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11020 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11021 (reftex-bib-sort-author, reftex-bib-sort-year)
11022 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11023 (reftex-extract-bib-entries-from-thebibliography)
11024 (reftex-get-bibkey-default, reftex-get-bib-names)
11025 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11026 (reftex-format-bib-entry, reftex-parse-bibitem)
11027 (reftex-format-bibitem, reftex-do-citation)
11028 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11029 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11030 (reftex-insert-bib-matches, reftex-format-citation)
11031 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11032 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11033 existing comments into docstrings.
11034
5f9dbd7a
XF
110352013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11036
11037 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11038
94df41ab
AS
110392013-06-12 Andreas Schwab <schwab@suse.de>
11040
11041 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11042 for auto-save files.
11043
a7f3fecc
GM
110442013-06-12 Glenn Morris <rgm@gnu.org>
11045
001809f6
GM
11046 * ido.el (ido-delete-ignored-files): Remove.
11047 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11048 Go back to calling ido-ignore-item-p directly.
a7f3fecc 11049
834b5ded
EL
110502013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11051
08c73ed2
EL
11052 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11053
834b5ded
EL
11054 * ido.el (ido-delete-ignored-files): New function,
11055 split from ido-make-file-list-1.
11056 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11057 (ido-make-file-list-1): Use ido-delete-ignored-files.
11058
daabf15a
LL
110592013-06-12 Leo Liu <sdl.web@gmail.com>
11060
11061 * progmodes/octave.el (inferior-octave-startup)
11062 (inferior-octave-completion-table)
11063 (inferior-octave-track-window-width-change)
11064 (octave-eldoc-function-signatures, octave-help)
11065 (octave-find-definition): Use single quoted strings.
11066 (inferior-octave-startup-args): Change default value.
11067 (inferior-octave-startup): Do not hard code "-i" and
11068 "--no-line-editing".
11069 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11070 (inferior-octave-directory-tracker): Use it.
11071 (octave-goto-function-definition): Robustify.
11072 (octave-help): Support highlighting operators in 'See also'.
11073 (octave-find-definition): Find subfunctions only in Octave mode.
11074
cf4e5178
SM
110752013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11076
11077 * help-fns.el (help-fns--compiler-macro): If the handler function is
11078 named, then put a link to it.
11079 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11080 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11081 (cl-typep): Use it.
11082 (cl-eval-when): Simplify debug spec.
11083 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11084 compiler-macro function instead of setting `compiler-macro-file'.
11085
99c81280 110862013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
11087
11088 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11089 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11090
f56be016
SM
110912013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11092 Daniel Hackney <dan@haxney.org>
11093
11094 First part of Daniel Hackney's patch to package.el.
11095 * emacs-lisp/package.el: Use defstruct.
11096 (package-desc): New, main struct.
11097 (package--bi-desc, package--ac-desc): New structs, used to describe the
11098 format in external files.
11099 (package-desc-vers): Replace with package-desc-version accessor.
11100 (package-desc-doc): Replace with package-desc-summary accessor.
11101 (package-activate-1): Remove `package' arg since the pkg-vec now
11102 includes the name.
11103 (define-package): Use package-desc-from-define.
11104 (package-unpack-single): Change file-name arg to be a symbol.
11105 (package--add-to-archive-contents): Use package-desc-create and new
11106 accessor functions to package--ac-desc.
11107 (package-buffer-info, package-tar-file-info): Return a package-desc.
11108 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11109 arg to be a package-desc.
11110 (package-install-file): Adjust accordingly. Use \' to match EOS.
11111 (package--from-builtin): New function.
11112 (describe-package-1, package-menu--generate): Use it.
11113 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11114 (package-generate-autoloads): Idem and return the name of the file.
11115 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11116 Change pkg-info arg to be a package-desc.
11117 Use package-make-ac-desc.
11118 (package-upload-file): Use \' to match EOS.
11119 * finder.el (finder-compile-keywords): Use package-make-builtin.
11120
31119d63
SM
111212013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11122
931a2762
SM
11123 * vc/vc.el (vc-deduce-fileset): Change error message.
11124 (vc-read-backend): New function.
11125 (vc-next-action): Use it.
11126
5a3eb0c6
SM
11127 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11128
e3eb1bb7
SM
11129 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11130 (prolog-font-lock-keywords): Use regexp-opt instead.
11131 Don't manually highlight strings.
11132 (prolog-mode-variables): Simplify comment-start-skip.
11133 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11134
31119d63
SM
11135 * emacs-lisp/generic.el (generic--normalise-comments)
11136 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11137 (generic-mode-set-comments): Use them.
11138 (generic-bracket-support): Use setq-local.
11139 (generic-make-keywords-list): Declare obsolete.
11140
7de135d0
GM
111412013-06-11 Glenn Morris <rgm@gnu.org>
11142
11143 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11144 Prettify after setting font-lock-defaults. (Bug#14574)
11145
fa6bc6fd
JB
111462013-06-11 Juanma Barranquero <lekktu@gmail.com>
11147
11148 * replace.el (query-replace, occur-read-regexp-defaults-function)
11149 (replace-search):
11150 * subr.el (declare-function, number-sequence, local-set-key)
11151 (substitute-key-definition, locate-user-emacs-file)
11152 (with-silent-modifications, split-string, eval-after-load):
11153 Fix typos, remove unneeded backslashes and reflow some docstrings.
11154
cf1f9b9a
SM
111552013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11158 default for Elisp files.
11159
56602a4b
GM
111602013-06-11 Glenn Morris <rgm@gnu.org>
11161
11162 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11163 although define-derived-mode was doing this anyway. (Bug#14583)
11164
30ae0b2c
JB
111652013-06-10 Juanma Barranquero <lekktu@gmail.com>
11166
11167 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11168 Fix make-variable-buffer-local call to refer to the correct variable.
11169
fa472906
AG
111702013-06-10 Aidan Gauland <aidalgol@amuri.net>
11171
11172 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11173 (eshell-visual-subcommands, eshell-visual-options):
11174 Add summary line to docstrings. Add cross-references.
fa472906 11175
ff4871b9
GM
111762013-06-10 Glenn Morris <rgm@gnu.org>
11177
11178 * epa.el (epa-read-file-name): New function. (Bug#14510)
11179 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11180
04fcf1b0
AG
111812013-06-09 Aidan Gauland <aidalgol@amuri.net>
11182
11183 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11184 output redirection to be ignored with visual commands.
11185
88b00caa
AG
111862013-06-09 Aidan Gauland <aidalgol@amuri.net>
11187
11188 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11189 (eshell-term-initialize): Move long lambda to separate function
11190 eshell-visual-command-p.
27821a89 11191 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11192 * eshell/em-script.el (eshell-script-initialize):
11193 Add missing #' to lambda.
88b00caa 11194
fda74125
LL
111952013-06-08 Leo Liu <sdl.web@gmail.com>
11196
11197 * progmodes/octave.el (octave-add-log-current-defun): New function.
11198 (octave-mode): Set add-log-current-defun-function.
11199 (octave-goto-function-definition): Do not move point if not found.
11200 (octave-find-definition): Enhance to try subfunctions first.
11201
467f3b33
GM
112022013-06-08 Glenn Morris <rgm@gnu.org>
11203
11204 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11205 (byte-compile-backward-char, byte-compile-backward-word):
11206 Improve previous change, to handle non-explicit nil.
11207
544badc3
SM
112082013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11211 (smie--opener/closer-at-point): New function.
11212 (smie--matching-block-data): Use it. Don't match from right after an
11213 opener or right before a closer. Obey smie-blink-matching-inners.
11214 Don't signal a mismatch for repeated inners like "switch..case..case".
11215
a175bf33
LL
112162013-06-07 Leo Liu <sdl.web@gmail.com>
11217
11218 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11219 to t. (Bug#14303)
ce8209d4
LL
11220 (octave-function-header-regexp): Fix. (Bug#14570)
11221 (octave-help-mode-finish-hook, octave-help-mode-finish):
11222 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11223
11224 * newcomment.el (comment-search-backward): Revert last change.
11225 (Bug#14434)
11226
11227 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11228
a822acff
EZ
112292013-06-07 Eli Zaretskii <eliz@gnu.org>
11230
11231 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11232 through xargs, to avoid failure due to MS-Windows limitations on
11233 command-line length.
11234
961166f5
GM
112352013-06-06 Glenn Morris <rgm@gnu.org>
11236
d0341459
GM
11237 * font-lock.el (lisp-font-lock-keywords-2):
11238 Treat user-error like error.
11239
961166f5
GM
11240 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11241 (byte-compile-backward-char, byte-compile-backward-word):
11242 Handle explicit nil arguments. (Bug#14565)
11243
80fa505f
AM
112442013-06-05 Alan Mackenzie <acm@muc.de>
11245
11246 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11247 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11248 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11249 (Bug#9706)
80fa505f 11250
fccdc796
SM
112512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * autorevert.el (auto-revert-notify-handler): Use memq.
11254 Hide assertion failure.
11255
11256 * skeleton.el: Use cl-lib.
11257 (skeleton-further-elements): Use defvar-local.
11258 (skeleton-insert): Use cl-progv.
11259
9bfff84b
TZ
112602013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11261
11262 * progmodes/prog-mode.el (prog-prettify-symbols)
11263 (prog-prettify-install): Update docstrings.
11264
55577e7c
SM
112652013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * simple.el: Move all the prog-mode code to prog-mode.el.
11268 * progmodes/prog-mode.el: New file.
11269 * loadup.el: Add prog-mode.el.
11270
8fc57765
TZ
112712013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11272
11273 * simple.el (prog-prettify-symbols): Add version.
11274 (prog-prettify-install): Add convenience function to prettify symbols.
11275
11276 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11277 (perl--augmented-font-lock-keywords-1)
11278 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11279 variables and use it.
11280
11281 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11282 (cfengine3-mode): Remove unneeded variable and use it.
11283
11284 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11285 (lisp--augmented-font-lock-keywords-1)
11286 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11287 Remove unneeded variables and use it.
11288
650645d5 112892013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11290
11291 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11292 to point when opening the connection. (Bug#14380)
28f5da6d 11293
781b4af6
SM
112942013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * subr.el (load-history-regexp, load-history-filename-element)
11297 (eval-after-load, after-load-functions, do-after-load-evaluation)
11298 (eval-next-after-load, display-delayed-warnings)
11299 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11300 definition of save-match-data.
11301 (overriding-local-map): Remove accidental obsolescence declaration.
11302
11303 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11304
3ca0d0b4
TZ
113052013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11306
11307 Generalize symbol prettify support to prog-mode and implement it
11308 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11309 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11310 (prog--prettify-font-lock-compose-symbol)
11311 (prog-prettify-font-lock-symbols-keywords): New variables and
11312 functions to support symbol prettification.
11313 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11314 (lisp--augmented-font-lock-keywords-1)
11315 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11316 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11317 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11318 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11319 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11320 * progmodes/perl-mode.el (perl-prettify-symbols)
11321 (perl--font-lock-compose-symbol)
11322 (perl--font-lock-symbols-keywords): Move to prog-mode.
11323 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11324 (perl-font-lock-keywords-1)
11325 (perl-font-lock-keywords-2): Remove explicit prettify support.
11326 (perl--augmented-font-lock-keywords)
11327 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11328 (perl--augmented-font-lock-keywords-2, perl-mode):
11329 Implement prettify support.
3ca0d0b4 11330
976cb066
LL
113312013-06-05 Leo Liu <sdl.web@gmail.com>
11332
27821a89 11333 Re-implement SMIE matching block highlight using
976cb066
LL
11334 show-paren-data-function. (Bug#14395)
11335 * emacs-lisp/smie.el (smie-matching-block-highlight)
11336 (smie--highlight-matching-block-overlay)
11337 (smie--highlight-matching-block-lastpos)
11338 (smie-highlight-matching-block)
11339 (smie-highlight-matching-block-mode): Remove.
11340 (smie--matching-block-data-cache): New variable.
11341 (smie--matching-block-data): New function.
11342 (smie-setup): Use smie--matching-block-data for
11343 show-paren-data-function.
11344
11345 * progmodes/octave.el (octave-mode-menu): Fix.
11346 (octave-find-definition): Skip garbage lines.
11347
208d0342
SM
113482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11349
11350 Fix compilation error with simultaneous dynamic+lexical scoping.
11351 Add warning when a defvar appears after the first let-binding.
11352 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11353 (byte-compile-close-variables): Initialize it.
11354 (byte-compile--declare-var): New function.
11355 (byte-compile-file-form-defvar)
11356 (byte-compile-file-form-define-abbrev-table)
11357 (byte-compile-file-form-custom-declare-variable): Use it.
11358 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11359 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11360 (byte-compile-bind): Handle dynamic bindings that shadow
11361 lexical bindings.
11362 (byte-compile-unbind): Make arg non-optional.
11363 (byte-compile-let): Simplify.
11364 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11365 (cconv--analyse-function, cconv-analyse-form): Populate it.
11366 Protect byte-compile-bound-variables to limit the scope of defvars.
11367 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11368 Remove unneeded rule for `declare'.
11369
11370 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11371 so as to avoid depending on cl-adjoin at run-time.
11372 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11373
11374 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11375 (macroexp--warn-and-return): Use it.
11376
1ac2891e
GM
113772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11378
a12bf61e 11379 * subr.el: Convert to lexical binding.
1ac2891e
GM
11380 (overriding-local-map): Make obsolete.
11381 (add-to-list): Doc fix. Add compiler macro.
11382 (read-key): Swap values of local maps.
11383
2587b005
LL
113842013-06-05 Leo Liu <sdl.web@gmail.com>
11385
11386 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11387
f1da3c88
LL
113882013-06-04 Leo Liu <sdl.web@gmail.com>
11389
11390 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11391 (compilation-auto-jump): Suppress the "Mark set" message to give
11392 way to exit message.
11393
3caa391f
AM
113942013-06-04 Alan Mackenzie <acm@muc.de>
11395
11396 Remove faulty optimisation from indentation calculation.
11397 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11398 search limit based on 2000 characters back from indent-point.
11399
068922a2
TH
114002013-06-03 Tassilo Horn <tsdh@gnu.org>
11401
11402 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11403
1f8fdd53
SM
114042013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11405
bbcc4d97
SM
11406 * emacs-lisp/lisp.el: Use lexical-binding.
11407 (lisp--local-variables-1, lisp--local-variables): New functions.
11408 (lisp--local-variables-completion-table): New var.
208d0342 11409 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11410
1f8fdd53
SM
11411 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11412 eagerly (bug#14422).
11413
c9628c79
MA
114142013-06-03 Michael Albinus <michael.albinus@gmx.de>
11415
11416 * autorevert.el (auto-revert-notify-enabled)
11417 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11418 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11419 (auto-revert-notify-handler): Handle also gfilenotify.
11420
e7b41c4c 11421 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11422 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11423 Remove.
c9628c79 11424
e5e4a942
JL
114252013-06-03 Juri Linkov <juri@jurta.org>
11426
11427 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11428 `M-s h .'. (Bug#14427)
11429
11430 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11431 command `hi-lock-face-symbol-at-point'.
11432 (hi-lock-face-symbol-at-point): New command.
11433 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11434 (hi-lock-menu): Add `highlight-symbol-at-point'.
11435 (hi-lock-mode): Doc fix.
11436
11437 * isearch.el (isearch-forward-symbol-at-point): New command.
11438 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11439 (isearch-highlight-regexp): Add a regexp which matches
11440 words/symbols for word/symbol mode.
11441
11442 * subr.el (find-tag-default-bounds): New function with the body
11443 mostly moved from `find-tag-default'.
11444 (find-tag-default): Move most code to `find-tag-default-bounds',
11445 call it and apply `buffer-substring-no-properties' afterwards.
11446
26b3353a
TH
114472013-06-03 Tassilo Horn <tsdh@gnu.org>
11448
781b4af6
SM
11449 * eshell/em-term.el (eshell-term-initialize):
11450 Use `cl-intersection' rather than `intersection'.
26b3353a 11451
51b60f53
XF
114522013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11453
fe054b63 11454 * vc/log-view.el: Doc fix.
d3ffe17c 11455 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11456
a0eb10b3 114572013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11458
11459 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11460 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11461 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11462 (eieio-unbound, eieio-default-superclass)
11463 (eieio--define-field-accessors, method-static, method-before)
11464 (method-primary, method-after, method-num-lists)
11465 (method-generic-before, method-generic-primary)
11466 (method-generic-after, method-num-slots)
11467 (eieio-specialized-key-to-generic-key)
11468 (eieio--check-type, class-v, class-p)
11469 (eieio-class-name, define-obsolete-function-alias)
11470 (eieio-class-parents-fast, eieio-class-children-fast)
11471 (same-class-fast-p, class-constructor, generic-p)
11472 (generic-primary-only-p, generic-primary-only-one-p)
11473 (class-option-assoc, class-option, eieio-object-p)
11474 (class-abstract-p, class-method-invocation-order)
11475 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11476 (eieio-class-un-autoload, eieio-defclass)
11477 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11478 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11479 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11480 (eieio-defgeneric-reset-generic-form)
11481 (eieio-defgeneric-form-primary-only)
11482 (eieio-defgeneric-reset-generic-form-primary-only)
11483 (eieio-defgeneric-form-primary-only-one)
11484 (eieio-defgeneric-reset-generic-form-primary-only-one)
11485 (eieio-unbind-method-implementations)
11486 (eieio--defmethod, eieio--typep)
11487 (eieio-perform-slot-validation, eieio-validate-slot-value)
11488 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11489 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11490 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11491 (eieio-slot-name-index, eieio-class-slot-name-index)
11492 (eieio-set-defaults, eieio-initarg-to-attribute)
11493 (eieio-attribute-to-initarg, eieio-c3-candidate)
11494 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11495 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11496 (eieio-class-precedence-list, eieio-generic-call-methodname)
11497 (eieio-generic-call-arglst, eieio-generic-call-key)
11498 (eieio-generic-call-next-method-list)
11499 (eieio-pre-method-execution-functions, eieio-generic-call)
11500 (eieio-generic-call-primary-only, eieiomt-method-list)
11501 (eieiomt-optimizing-obarray, eieiomt-install)
11502 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11503 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11504 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11505 (defclass): Remove `eval-and-compile' from macro.
11506 (call-next-method, shared-initialize): Instead of using
11507 `scoped-class' variable, use new eieio--scoped-class, and
11508 eieio--with-scoped-class.
11509 (initialize-instance): Rename local variable 'scoped-class' to
11510 'this-class' to remove ambiguitity from old global.
11511
11512 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11513 eieio.el.
4f405069
JB
11514 (eieio--scoped-class-stack): New variable.
11515 (eieio--scoped-class): New fcn.
890f7890
DE
11516 (eieio--with-scoped-class): New scoping macro.
11517 (eieio-defclass): Use pushnew instead of add-to-list.
11518 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11519 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11520 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11521 `scoped-class' variable, use new eieio--scoped-class, and
11522 eieio--with-scoped-class.
11523
11524 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11525
d105b0e2
TH
115262013-06-02 Tassilo Horn <tsdh@gnu.org>
11527
11528 * eshell/esh-ext.el (eshell-external-command): Pass args to
11529 `eshell-find-interpreter'.
11530 (eshell-find-interpreter): Add new second parameter ARGS.
11531
11532 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11533 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11534
11535 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11536 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11537
11538 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11539 (eshell-visual-options): New defcustom.
11540 (eshell-escape-control-x): Adapt docstring.
11541 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11542 `eshell-visual-options' in addition to `eshell-visual-commands'.
11543 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11544
f46305c8 115452013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11546
11547 * progmodes/python.el (python-indent-block-enders): Add break,
11548 continue and raise keywords.
11549
d870df21
GM
115502013-06-01 Glenn Morris <rgm@gnu.org>
11551
9133b82e
GM
11552 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11553
02c992ec 11554 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11555 * progmodes/cc-cmds.el (delete-forward-p):
11556 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11557 * progmodes/cc-engine.el (buffer-syntactic-context):
11558 * progmodes/cc-fonts.el (face-property-instance):
11559 * progmodes/cc-mode.el (set-keymap-parents):
11560 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11561 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11562 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11563 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11564 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11565
31e7b090
GM
11566 * progmodes/cc-vars.el (other): Emacs has this widget since
11567 at least 21.1, so don't (re)define it.
11568
d870df21
GM
11569 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11570 Replace the obsolete alias pcomplete-arg-quote-list.
11571
c75c93c7
LL
115722013-06-01 Leo Liu <sdl.web@gmail.com>
11573
11574 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11575 punctuation syntax.
11576 (inferior-octave-minimal-columns)
11577 (inferior-octave-last-column-width): New variables.
11578 (inferior-octave-track-window-width-change): New function.
11579 (inferior-octave-mode): Adjust column width so that Octave output,
11580 for example from 'ls', can fit into the window nicely.
11581
973d1e12
DG
115822013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11583
11584 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11585 Highlight expansions inside regexp literals.
11586
0888c286
GM
115872013-05-31 Glenn Morris <rgm@gnu.org>
11588
e26aac1f
GM
11589 * obsolete/sym-comp.el (symbol-complete):
11590 Replace obsolete completion-annotate-function.
11591
0888c286
GM
11592 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11593
19bb8e62
DG
115942013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11595
781b4af6
SM
11596 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11597 New function, checks if point is inside a literal that allows
19bb8e62
DG
11598 expression expansion.
11599 (ruby-syntax-propertize-expansion): Use it.
11600 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11601 around the body.
11602
01dea85f
JL
116032013-05-30 Juri Linkov <juri@jurta.org>
11604
11605 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11606 to "\M-si".
11607 (isearch-invisible): New variable.
11608 (isearch-forward): Doc fix.
11609 (isearch-mode): Set `isearch-invisible'
11610 to the value of `search-invisible'.
11611 (isearch-toggle-case-fold): Doc fix.
11612 (isearch-toggle-invisible): New command.
11613 (isearch-query-replace): Let-bind `search-invisible'
11614 to the value of `isearch-invisible'.
11615 (isearch-search): Use `isearch-invisible' instead of
11616 `search-invisible'. Let-bind `search-invisible'
11617 to the value of `isearch-invisible'. (Bug#11378)
11618
ab1bdce5
JL
116192013-05-30 Juri Linkov <juri@jurta.org>
11620
11621 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11622 call when `query-flag' is nil and `search-invisible' is non-nil.
11623 (Bug#11746)
11624
d6d236e2
GM
116252013-05-30 Glenn Morris <rgm@gnu.org>
11626
8accd027
GM
11627 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11628
2a8bed1c
GM
11629 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11630 (cc-require): Suppress spurious "noruntime" warnings.
11631 (cc-require-when-compile): Use fboundp, for sake of compiler.
11632
d6d236e2
GM
11633 * progmodes/cc-mode.el: Move load of cc-vars before that of
11634 cc-langs (which in turn loads cc-vars), to quieten compiler.
11635
9190b35b
SM
116362013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11637
11638 * paren.el: Simplify the code.
11639 (show-paren-mode): Always start the timer.
11640 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11641 (show-paren--overlay, show-paren--overlay-1): Rename from
11642 show-paren-overlay and show-paren-overlay-1, and initialize to an
11643 overlay rather than to nil.
11644 (show-paren-function): Misc cleanup and simplifications.
11645
4f8d1cf6
SM
116462013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * paren.el (show-paren-data-function): New hook.
11649 (show-paren--default): New function, extracted from show-paren-function.
11650 (show-paren-function): Use show-paren-data-function.
11651
02d844b5
GM
116522013-05-30 Glenn Morris <rgm@gnu.org>
11653
d209d4a9
GM
11654 * ielm.el (ielm-map, ielm-complete-symbol):
11655 Use completion-at-point rather than obsolete functions.
11656 (inferior-emacs-lisp-mode): Doc fix.
11657 Set completion-at-point-functions, rather than
11658 comint-dynamic-complete-functions.
11659
2082faa6
GM
11660 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11661 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11662 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11663
dd8620de
GM
11664 * image.el (image-animated-p): Tweak definition.
11665
ceca95b1
GM
11666 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11667 (rlogin-process-connection-type): Tweak default. Add set-after.
11668 (rlogin-host): Doc fix.
11669 (rlogin): Tweak prompt.
11670 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11671
ee9f1acc
GM
11672 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11673 * progmodes/tcl.el (inferior-tcl-mode-map):
11674 Use completion-at-point rather than obsolete alias.
11675
45ce222e
GM
11676 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11677
02d844b5
GM
11678 * minibuffer.el (read-file-name-completion-ignore-case):
11679 Move before completion--in-region, for eager macro expansion.
11680
ac44d6c1
JL
116812013-05-29 Juri Linkov <juri@jurta.org>
11682
11683 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11684 for total count of matching lines. Add `global-matches' for total
11685 count of matches. Rename `matches' to `lines' for count of
11686 matching lines. Add `matches' for count of matches.
11687 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11688 to `prev-line' for line number of prev match endpt.
11689 Increment `matches' for every match. Print the number of
11690 matching lines in the header.
11691 (occur-context-lines): Rename `lines' to `curr-line'.
11692 Rename `prev-lines' to `prev-line'. (Bug#14017)
11693
3c9c9d38
JL
116942013-05-29 Juri Linkov <juri@jurta.org>
11695
11696 * replace.el (perform-replace): Add `skip-read-only-count',
11697 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11698 Increment them for corresponding conditions and report the number
11699 of skipped occurrences in the final message. (Bug#11746)
11700 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11701 (replace-string, replace-regexp): Doc fix.
11702
33e249a2
SM
117032013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11704
8e399682
SM
11705 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11706
33e249a2 11707 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11708 prog-mode-map (bug#14504).
33e249a2 11709
f236dd84
LL
117102013-05-29 Leo Liu <sdl.web@gmail.com>
11711
11712 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11713 (octave-help): Small simplification.
11714
11715 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11716 off the highlight first.
11717
3694d13f
GM
117182013-05-29 Glenn Morris <rgm@gnu.org>
11719
03983bdc
GM
11720 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11721 Handle idlwave-last-system-routine-info-cons-cell being nil.
11722
bc74a74a
GM
11723 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11724 (idlwave-write-paths): Simplify via with-temp-buffer.
11725
8b394200
GM
11726 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11727 * emulation/cua-rect.el: Also load cua-base at run time.
11728
3694d13f
GM
11729 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11730 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11731 (cperl-imenu-on-info): Require imenu.
11732
336d7284
AM
117332013-05-28 Alan Mackenzie <acm@muc.de>
11734
11735 Handle "capitalised keywords" correctly.
33e249a2 11736 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11737
cb29c582
AG
117382013-05-28 Aidan Gauland <aidalgol@amuri.net>
11739
781b4af6 11740 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11741
690e44b2
GM
117422013-05-28 Glenn Morris <rgm@gnu.org>
11743
e658d75c
GM
11744 * vc/vc-arch.el (vc-exec-after): Declare.
11745 (vc-switches): Autoload.
11746 * vc/vc-bzr.el: No need to require vc when compiling.
11747 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11748 (vc-resynch-buffer, vc-dir-refresh): Declare.
11749 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11750 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11751 (vc-resynch-buffer): Declare.
11752 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11753 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11754 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11755 (grep-read-regexp, grep-read-files, grep-expand-template)
11756 (vc-dir-refresh): Declare.
11757 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11758 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11759 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11760 * vc/vc-mtn.el (vc-exec-after): Declare.
11761 (vc-switches): Autoload.
11762 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11763 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11764 (vc-file-tree-walk): Declare.
712b9732
GM
11765 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11766 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11767 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11768 * vc/vc-svn.el (vc-exec-after): Declare.
11769 (vc-switches, vc-setup-buffer): Autoload.
11770 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11771 Autoload.
11772 (vc-resynch-buffer): Declare.
11773
98e87fb3
GM
11774 * obsolete/fast-lock.el (byte-compile-warnings):
11775 Don't warn about obsolete features in this obsolete file.
11776
f5379553
GM
11777 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11778 Move definition before use.
11779
7a20ef83
GM
11780 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11781 (dun-unix-verbs): Remove dun-zippy.
11782 (dun-zippy): Remove function.
11783
690e44b2
GM
11784 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11785
3a52ccf7
JL
117862013-05-27 Juri Linkov <juri@jurta.org>
11787
11788 * replace.el (replace-search): New function with code moved out
11789 from `perform-replace'.
11790 (replace-highlight, replace-dehighlight): Move function definitions
11791 up closer to `replace-search'. (Bug#11746)
11792
d289938a
JL
117932013-05-27 Juri Linkov <juri@jurta.org>
11794
11795 * replace.el (perform-replace): Ignore invisible matches.
11796 In addition to checking `query-replace-skip-read-only', also
11797 filter out matches by calling `run-hook-with-args-until-failure'
11798 on `isearch-filter-predicates', and also check `search-invisible'
11799 for t or call `isearch-range-invisible'.
11800 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11801
66fc57e3
JL
118022013-05-27 Juri Linkov <juri@jurta.org>
11803
11804 * isearch.el (isearch-filter-predicates): Rename from
11805 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11806 (isearch-message-prefix): Display text from the property
11807 `isearch-message-prefix' of the currently active filters.
11808 (isearch-search): Don't compare `isearch-filter-predicate' with
11809 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11810 on `isearch-filter-predicates'. Also check `search-invisible' for t
11811 or call `isearch-range-invisible'.
11812 (isearch-filter-visible): Make obsolete.
11813 (isearch-lazy-highlight-search):
11814 Call `run-hook-with-args-until-failure' on
11815 `isearch-filter-predicates' and use `isearch-range-invisible'.
11816
11817 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11818 `isearch-filter-predicates' instead of `funcall'ing
11819 `isearch-filter-predicate'.
11820 (Info-mode): Set `Info-isearch-filter' to
11821 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11822
11823 * dired-aux.el (dired-isearch-filter-predicate-orig):
11824 Remove variable.
11825 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11826 (dired-isearch-filenames-end): Add and remove
11827 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11828 instead of changing the value of `isearch-filter-predicate'.
11829 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11830 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11831 Put property `isearch-message-prefix' to "filename " on
11832 `dired-isearch-filter-filenames'.
11833
11834 * wdired.el (wdired-change-to-wdired-mode):
11835 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11836 locally instead of changing `isearch-filter-predicate'.
11837 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11838
f1a60a0f
DG
118392013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11840
11841 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11842 return the commit hash (Bug#14459). Also set the
11843 `vc-git-detached' property.
11844 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11845 (vc-git-mode-line-string): Use the same help-echo format whether
11846 in detached mode or not, because we know the actual revision now.
11847 When in detached mode, shorten the revision to 7 chars.
11848
7f17cc40
SM
118492013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 * emacs-lisp/easy-mmode.el (define-minor-mode):
11852 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11853 mode hook and provide a docstring.
11854
25c8401c
AM
118552013-05-27 Alan Mackenzie <acm@muc.de>
11856
11857 Remove spurious syntax-table text properties inserted by C-y.
11858 * progmodes/cc-mode.el (c-after-change): Also clear hard
11859 syntax-table property with value nil.
11860
dde84790
MA
118612013-05-27 Michael Albinus <michael.albinus@gmx.de>
11862
11863 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11864 when reading the events; the buffer layout shall not be changed.
11865
837fd9af
LL
118662013-05-27 Leo Liu <sdl.web@gmail.com>
11867
11868 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11869 New variable.
11870 (inferior-octave-directory-tracker): Automatically re-sync
11871 default-directory.
11872 (octave-help): Improve handling of 'See also'.
11873
4fd996b3
SM
118742013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11875
416f1802
SM
11876 * doc-view.el: Minor naming convention tweaks.
11877 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11878
4fd996b3
SM
11879 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11880 even if there's no `display' property yet (bug#14435).
11881
a052ef3b
EZ
118822013-05-25 Eli Zaretskii <eliz@gnu.org>
11883
4fd996b3 11884 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11885
11886 * Makefile.in (custom-deps, finder-data, autoloads)
11887 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11888 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11889 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11890
c9023370
SM
118912013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11894 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11895 Don't burp at EOB.
c9023370 11896
24d699fa
LL
118972013-05-25 Leo Liu <sdl.web@gmail.com>
11898
11899 * comint.el (comint-previous-matching-input): Do not flood the
11900 *Messages* buffer with trivial messages.
11901
17e5c0cc
SM
119022013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * progmodes/flymake.el (flymake-nop): Don't return a string.
11905 (flymake-set-at): Fix typo.
11906
11907 * simple.el (read--expression): New function, extracted from
11908 eval-expression. Set completion-at-point-functions (bug#14465).
11909 (eval-expression, eval-minibuffer): Use it.
11910
5d028165
XF
119112013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11912
11913 * progmodes/flymake.el (flymake-save-buffer-in-file)
11914 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11915 (flymake-selected-frame, flymake-log, flymake-ins-after)
11916 (flymake-set-at, flymake-get-buildfile-from-cache)
11917 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11918 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11919 Refine the doc string.
11920 (flymake-get-file-name-mode-and-masks): Reformat.
11921 (flymake-get-real-file-name-function): Fix a minor bug.
11922
7a1d7ba7
JL
119232013-05-24 Juri Linkov <juri@jurta.org>
11924
11925 * progmodes/grep.el (grep-mode-font-lock-keywords):
11926 Support =linenumber= format used by git-grep for lines with
11927 function names. (Bug#13549)
11928
650cff3d
SM
119292013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11932 0 after a semi-colon; it works better for smie-auto-fill.
11933 (octave--indent-new-comment-line): New function.
11934 (octave-indent-new-comment-line): Use it (indirectly).
11935 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11936 modify comment-line-break-function.
11937
11938 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11939 (smie-setup): Use add-function to set it.
11940
9631677d
SS
119412013-05-24 Sam Steingold <sds@gnu.org>
11942
11943 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11944 argument (before the `interactive' argument).
11945
50105835
SM
119462013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * image-mode.el (image-mode-winprops): Add winprops to
11949 image-mode-winprops-alist before running
11950 image-mode-new-window-functions.
11951 * doc-view.el (doc-view-new-window-function): Don't delay
11952 doc-view-goto-page via timers (bug#14435).
11953
57b9823e
TH
119542013-05-24 Tassilo Horn <tsdh@gnu.org>
11955
11956 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11957 (doc-view-desktop-save-buffer): New function.
11958 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11959 (desktop-buffer-mode-handlers):
11960 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11961 handler.
11962 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11963 `desktop-save-buffer' function.
11964
91aafa16
MA
119652013-05-24 Michael Albinus <michael.albinus@gmx.de>
11966
11967 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11968 (tramp-gvfs-file-name-handler): Raise a user error when
11969 `tramp-gvfs-enabled' is nil.
11970 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11971 Do not raise a user error when loading package. (Bug#14447)
11972
ec076379
MA
11973 * net/xesam.el: Move to obsolete/.
11974
db785726
GM
119752013-05-24 Glenn Morris <rgm@gnu.org>
11976
af5c7606
GM
11977 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11978
e5d1916a
GM
11979 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11980
ded62b08
GM
11981 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11982 (Info-find-node, Man-getpage-in-background): Declare.
11983
9e614a3f
GM
11984 * mail/unrmail.el (unrmail):
11985 Replace obsolete detect-coding-with-priority.
11986
892f8ca3
GM
11987 * net/socks.el (socks-split-string): Use this rather than split-string.
11988 (socks-nslookup-host): Update for above change.
11989 (dynamic-choice, s5-dynamic-choice-match)
11990 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11991 Comment out unused code.
11992
3c291973
GM
11993 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11994 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11995 (gud-tooltip-echo-area): Make obsolete.
11996 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11997
43cc956b
GM
11998 * progmodes/js.el (js--optimize-arglist): Declare.
11999
dab49a3b
GM
12000 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12001
36b9d085
GM
12002 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12003 (ediff-window-C): Declare.
12004
e354ae76
GM
12005 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12006 Tweak requires to silence compiler.
12007
b8e57bf4
GM
12008 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12009 (he-search-string, he-tried-table, he-expand-list)
12010 (he-init-string, he-string-member, he-substitute-string)
12011 (he-reset-string): Declare.
12012
db785726
GM
12013 * obsolete/options.el (list-options): Use custom-variable-p,
12014 rather than obsolete alias.
12015
b3531901
SS
120162013-05-23 Sam Steingold <sds@gnu.org>
12017
12018 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12019 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12020 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12021
bdda4c66
SM
120222013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12023
12024 * emacs-lisp/smie.el (smie-indent-forward-token)
12025 (smie-indent-backward-token): Handle string tokens (bug#14381).
12026
c43d45f9
TH
120272013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12028
fe1eb856
RS
12029 * ielm.el (ielm-menu): New menu.
12030 (inferior-emacs-lisp-mode): Set comment-start.
96172128 12031
fe1eb856
RS
120322013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12033
a12bf61e 12034 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
12035 Fix deactivate action.
12036
a12bf61e 12037 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 12038 Add cleveref macros.
074dd971 12039
a12bf61e 12040 * textmodes/reftex-parse.el
c43d45f9
TH
12041 (reftex-locate-bibliography-files): Accept options for
12042 bibliography commands.
a12bf61e 12043 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
12044 Add addbibresource. Basic Biblatex support.
12045
7764286e
MA
120462013-05-23 Michael Albinus <michael.albinus@gmx.de>
12047
12048 * net/tramp-gvfs.el (top):
12049 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12050 when loading package. (Bug#14447)
12051
d361bc10
GM
120522013-05-23 Glenn Morris <rgm@gnu.org>
12053
8fa23984
GM
12054 * progmodes/js.el: No need to load comint when compiling.
12055 (ring-insert, comint-send-string, comint-send-input)
12056 (comint-last-input-end, ido-chop): Declare.
12057
a5c7df1a
GM
12058 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12059 * vc/ediff-mult.el: Adjust requires.
12060 (ediff-directories-internal, ediff-directory-revisions-internal)
12061 (ediff-patch-file-internal): Declare.
12062 * vc/ediff-ptch.el: Adjust requires.
12063 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12064 (ediff-find-file): Autoload.
12065 * vc/ediff-util.el: No need to load ediff when compiling.
12066 (ediff-regions-internal): Declare.
12067 * vc/ediff-wind.el: Adjust requires.
12068 (ediff-compute-toolbar-width): Define when compiling.
12069 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12070 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12071 (dired-get-filename, dired-get-marked-files)
12072 (ediff-last-dir-patch, ediff-patch-default-directory)
12073 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12074 (ediff-patch-buffer-internal): Declare.
12075
e2aec513
GM
12076 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12077 (ispell-process, ispell-buffer-local-words, lm-summary)
12078 (lm-section-start, lm-section-end): Declare.
12079 (checkdoc-ispell-init): Simplify.
12080
e68bbd7c
GM
12081 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12082 (he-string-member, he-reset-string, he-substitute-string): Declare.
12083
7efe0991
GM
12084 * eshell/em-ls.el: Adjust requires.
12085 (eshell-glob-regexp): Declare.
f87b1284
GM
12086 * eshell/em-tramp.el: Adjust requires.
12087 (eshell-parse-command): Autoload.
12088 * eshell/em-xtra.el: Adjust requires.
12089 (eshell-parse-command): Autoload.
12090 * eshell/esh-ext.el: Adjust requires.
12091 (eshell-parse-command, eshell-close-handles): Autoload.
12092 * eshell/esh-io.el: Adjust requires.
12093 (eshell-output-filter): Autoload.
12094 * eshell/esh-util.el: No need to load tramp when compiling.
12095 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12096 Declare.
12097 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12098 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12099 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12100 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12101 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12102 * eshell/esh-opt.el, eshell/esh-proc.el:
12103 * eshell/esh-var.el: Adjust requires.
12104 * eshell/eshell.el: Do not require esh-util twice.
12105 (eshell-add-input-to-history): Declare.
12106 (eshell-command): Check history module is active before using it.
12107
d361bc10
GM
12108 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12109
85d090a9
LL
121102013-05-22 Leo Liu <sdl.web@gmail.com>
12111
12112 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12113
5d0acd9d
MA
121142013-05-22 Michael Albinus <michael.albinus@gmx.de>
12115
12116 * autorevert.el (auto-revert-notify-add-watch)
12117 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12118 it indicates changes in file modification time.
12119
0cdffd7d
GM
121202013-05-22 Glenn Morris <rgm@gnu.org>
12121
ca5995ec
GM
12122 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12123 Always delete the autoloaded function from the noruntime and
12124 unresolved functions lists.
12125
6450907e
GM
12126 * allout.el: No need to load epa, epg, overlay when compiling.
12127 (epg-context-set-passphrase-callback, epg-list-keys)
12128 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12129 (epg-key-user-id-list): Declare.
12130
9c6906f6
GM
12131 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12132 (viper-set-parsing-style-toggling-macro)
12133 (viper-set-emacs-state-searchstyle-macros):
12134 Use called-interactively-p on Emacs.
12135 (viper-looking-back): Make it an obsolete alias. Update callers.
12136 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12137 Use looking-back rather than viper-looking-back.
12138 (viper-tmp-insert-at-eob, viper-enlarge-region)
12139 (viper-read-string-with-history, viper-register-to-point)
12140 (viper-append-to-register, viper-change-state-to-vi)
12141 (viper-backward-char-carefully, viper-forward-char-carefully)
12142 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12143 (viper-change-state-to-emacs): Declare.
12144 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12145 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12146 * emulation/viper-mous.el: Do not load viper-cmd.
12147 (viper-backward-char-carefully, viper-forward-char-carefully)
12148 (viper-forward-word, viper-adjust-window): Declare.
12149
5f70c169
GM
12150 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12151
b1b7f300
GM
12152 * progmodes/idlw-help.el (idlwave-help-fontify):
12153 Use called-interactively-p.
12154
f6ebbb46
GM
12155 * term/w32console.el (w32-get-console-codepage)
12156 (w32-get-console-output-codepage): Declare.
12157
0cdffd7d
GM
12158 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12159 Remove unnecessary declarations.
12160 (dframe-message): Doc fix.
12161
12162 * info.el (dframe-select-attached-frame, dframe-current-frame):
12163 Declare.
12164
12165 * speedbar.el (speedbar-message): Make it an obsolete alias.
12166 Update all callers.
12167 (speedbar-with-attached-buffer)
12168 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12169 (speedbar-with-writable): Use backquote.
12170 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12171 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12172 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12173 rather than speedbar- aliases.
12174 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12175 (speedbar-make-specialized-keymap, speedbar-insert-button)
12176 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12177 (speedbar-do-function-pointer): Declare.
12178 (rmail-speedbar-button, rmail-speedbar-find-file)
12179 (rmail-speedbar-move-message):
12180 Use dframe-with-attached-buffer rather than speedbar- alias.
12181 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12182 (dframe-message, speedbar-make-specialized-keymap)
12183 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12184 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12185 (speedbar-insert-button, dframe-select-attached-frame)
12186 (dframe-maybee-jump-to-attached-frame)
12187 (speedbar-change-initial-expansion-list)
12188 (speedbar-previously-used-expansion-list-name): Declare.
12189 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12190 Use dframe-message, dframe-with-attached-buffer rather than
12191 speedbar- aliases.
12192 (gud-sentinel): Silence compiler.
12193 * progmodes/vhdl-mode.el (speedbar-refresh)
12194 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12195 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12196 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12197 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12198 (speedbar-file-lists, speedbar-make-tag-line)
12199 (speedbar-line-directory, speedbar-goto-this-file)
12200 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12201 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12202 (speedbar-make-button, speedbar-reset-scanners)
12203 (speedbar-files-item-info, speedbar-line-text)
12204 (speedbar-find-file-in-frame, speedbar-set-timer)
12205 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12206 (speedbar-with-writable): Do not (re)define it.
12207 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12208 rather than speedbar- alias.
12209
ee44b62a
LL
122102013-05-21 Leo Liu <sdl.web@gmail.com>
12211
12212 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12213 menu items.
12214 (octave-mode): Tweak fill-nobreak-predicate.
12215 (inferior-octave-startup): Check process to avoid infinite loop.
12216 (inferior-octave): Pop to buffer first to show abornmal process
12217 exit information.
12218
640f050f
GM
122192013-05-21 Glenn Morris <rgm@gnu.org>
12220
79458038
GM
12221 * printing.el (pr-menu-bar): Define when compiling.
12222
9cc3e83f
LL
122232013-05-21 Leo Liu <sdl.web@gmail.com>
12224
12225 * progmodes/octave.el (octave-auto-fill): Remove.
12226 (octave-indent-new-comment-line): Improve.
12227 (octave-mode): Use auto fill mode through
4f405069 12228 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12229 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12230 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12231 (octave-help): Show parent directory.
12232
f440830d
GM
122332013-05-21 Glenn Morris <rgm@gnu.org>
12234
12235 * files.el (dired-unmark):
12236 * progmodes/gud.el (gdb-input): Update declarations.
12237
12238 * calculator.el (electric, ehelp): No need to load when compiling.
12239 (Electric-command-loop, electric-describe-mode): Declare.
12240
12241 * doc-view.el (doc-view-current-converter-processes): Move before use.
12242
12243 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12244 Move MODE-set-explicitly definition before use.
12245
12246 * international/mule-diag.el (mule-diag):
12247 Don't use obsolete window-system-version.
12248
12249 * mail/feedmail.el (smtpmail): No need to load when compiling.
12250 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12251
12252 * mail/mail-utils.el (rfc822): No need to load when compiling.
12253 (rfc822-addresses): Autoload it.
12254 (mail-strip-quoted-names): Trivial simplification.
12255
12256 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12257 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12258
12259 * net/snmp-mode.el (tempo): Don't duplicate requires.
12260
12261 * progmodes/prolog.el (info): No need to load when compiling.
12262 (comint): Require before shell requires it.
12263 (Info-goto-node): Autoload it.
12264 (Info-follow-nearest-node): Declare.
12265 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12266
12267 * textmodes/artist.el (picture-mode-exit): Declare.
12268
12269 * textmodes/reftex-parse.el (reftex-parse-from-file):
12270 Trivial rewrite so the compiler can parse it better.
12271
b4da2cbb
LL
122722013-05-20 Leo Liu <sdl.web@gmail.com>
12273
12274 * progmodes/octave.el (octave-help-mode-map)
12275 (octave-help-mode-finish-hook): New variables.
12276 (octave-help-mode, octave-help-mode-finish): New functions.
12277 (octave-help): Use octave-help-mode.
12278
33c0f65b
GM
122792013-05-20 Glenn Morris <rgm@gnu.org>
12280
12281 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12282
1a0a0a8a
DG
122832013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12284
12285 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12286 start at point, so that expansion starting right after opening
12287 slash in a regexp is recognized.
12288 (ruby-syntax-before-regexp-re): New defvar, extracted from
12289 ruby-syntax-propertize-function. Since the value of this regexp
12290 is looked up at runtime now, we should be able to turn
12291 `ruby-syntax-methods-before-regexp' into a defcustom later.
12292 (ruby-syntax-propertize-function): Split regexp matching into two
12293 parts, for opening and closing slashes. That allows us to skip
12294 over string interpolations and support multiline regexps.
12295 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12296 for them, which calls `ruby-syntax-propertize-expansion'.
12297 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12298 call to `ruby-syntax-propertize-function'.
12299 (ruby-syntax-propertize-expansion): Extracted from
12300 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12301 (ruby-syntax-propertize-percent-literal): Leave point right after
12302 the percent symbol, so that the expression expansion rule can
12303 propertize the contents.
462388b6
DG
12304 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12305 heredoc openers.
12306 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12307
c1a6c0a4
JL
123082013-05-18 Juri Linkov <juri@jurta.org>
12309
12310 * man.el (Man-default-man-entry): Remove `-' from the end
12311 of the default value. (Bug#14400)
12312
8051fccd
GM
123132013-05-18 Glenn Morris <rgm@gnu.org>
12314
12315 * comint.el (comint-password-prompt-regexp):
12316 Allow "password for XXX" where XXX contains colons (eg https://...).
12317
5e80b74f
LL
123182013-05-18 Leo Liu <sdl.web@gmail.com>
12319
12320 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12321 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12322 (octave-source-directories): Don't check process.
12323 (octave-source-directories, octave-find-definition): Doc fix.
12324
521a54c5
GM
123252013-05-18 Glenn Morris <rgm@gnu.org>
12326
86a94b05
GM
12327 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12328 Remove backspace/delete bindings. (Bug#14392)
12329
521a54c5
GM
12330 * cus-dep.el (custom-make-dependencies): Sort the output.
12331 (custom-versions-load-alist): Convert comment to doc.
12332
42caeb89
LL
123332013-05-17 Leo Liu <sdl.web@gmail.com>
12334
12335 * newcomment.el (comment-search-backward): Stricter in finding
12336 comment start. (Bug#14303)
12337
12338 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12339 (octave-comment-start-skip): Properly anchored.
12340
e219dd97
LL
123412013-05-17 Leo Liu <sdl.web@gmail.com>
12342
fe1eb856
RS
12343 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12344 Clean up when turned off. (Bug#14395)
e219dd97
LL
12345 (smie--highlight-matching-block-overlay): No longer buffer-local.
12346 (smie-highlight-matching-block): Adjust.
12347
dc5dcb4b
PE
123482013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12349
12350 Doc string fix for "nanoseconds" (Bug#14406).
12351 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12352 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12353
1db165f0
JB
123542013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12355
12356 * calc/calc-units.el (math-extract-units): Preserve powers
12357 of units.
12358
c7a8fcac
LL
123592013-05-17 Leo Liu <sdl.web@gmail.com>
12360
12361 * subr.el (delete-consecutive-dups): New function.
12362 * ido.el (ido-set-matches-1): Use it.
12363 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12364 * ido.el (ido-remove-consecutive-dups): Remove.
12365
f678b18a
SM
123662013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12369 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12370 regexp-opt's `words'.
12371
ebfe68e8
LL
123722013-05-16 Leo Liu <sdl.web@gmail.com>
12373
12374 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12375 (smie--highlight-matching-block-overlay)
12376 (smie--highlight-matching-block-lastpos)
12377 (smie--highlight-matching-block-timer): New variables.
12378 (smie-highlight-matching-block): New function.
12379 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12380 (smie-setup): Conditionally enable smie-blink-matching-open.
12381
bc8bc17d
WS
123822013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12383
12384 Sync with upstream verilog-mode r840.
12385 * progmodes/verilog-mode.el (verilog-mode-version)
12386 (verilog-mode-release-date): Update.
12387 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12388 (verilog-sig-tieoff): Fix string error on
12389 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12390 (verilog-read-decls): Fix parameters confusing
12391 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12392
df065a0b
EZ
123932013-05-16 Eli Zaretskii <eliz@gnu.org>
12394
12395 * subr.el (reveal-filename): New function.
12396
12397 * loadup.el: Compute Emacs executable versions on MS-Windows,
12398 where executables have the .exe extension. Add a hard link
12399 emacs-XX.YY.ZZ.exe on MS-Windows.
12400
12401 * Makefile.in (XARGS_LIMIT): New variable.
12402 (custom-deps, finder-data, autoloads)
12403 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12404 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12405 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12406 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12407
2d4bf34b
LL
124082013-05-16 Leo Liu <sdl.web@gmail.com>
12409
12410 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12411 (octave-mode-menu, octave-mode-map): Remove its uses.
12412
6b9c2d85
RZ
124132013-05-16 Reto Zimmermann <reto@gnu.org>
12414
12415 Sync with upstream vhdl mode v3.34.2.
12416 * progmodes/vhdl-mode.el: Use `push' throughout.
12417 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12418 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12419 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12420 (vhdl-actual-generic-name): New option to derive actual generic name.
12421 (vhdl-port-paste-signals): Replace formal by actual generics.
12422 (vhdl-beautify): New name for old group vhdl-align. Update users.
12423 (vhdl-beautify-options): New option.
12424 (vhdl-last-input-event): New compat alias. Use throughout.
12425 (vhdl-goto-line): Replace user level function `goto-line'.
12426 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12427 vhdl-fix-statement-buffer.
12428 (vhdl-create-mode-menu): Add some entries.
12429 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12430 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12431 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12432 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12433 to force statements on one line.
12434 (vhdl-remove-trailing-spaces-region):
12435 New, split from vhdl-remove-trailing-spaces.
12436 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12437 Respect vhdl-beautify-options.
12438 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12439 (vhdl-update-sensitivity-list): Not add with index if exists without.
12440 Not include array index with signal. Ignore keywords in comments.
12441 (vhdl-get-visible-signals): Regexp tweaks.
12442 (vhdl-template-component-inst): Handle empty library.
12443 (vhdl-template-type): Add template for 'enum' type.
12444 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12445 Use vhdl-replace-string.
12446 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12447 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12448 (vhdl-speedbar-initialize): Update for above name change.
12449 (vhdl-compose-wire-components): Fix in handling of constants.
12450 (vhdl-error-regexp-emacs-alist): New variable.
12451 (vhdl-error-regexp-add-emacs): New function;
12452 adds support for new compile.el (Emacs 22+)
12453 (vhdl-generate-makefile-1): Change target order for single lib. units.
12454 Allow use of absolute file names.
12455
9df4ec5e
LL
124562013-05-16 Leo Liu <sdl.web@gmail.com>
12457
12458 * simple.el (prog-indent-sexp): Indent enclosing defun.
12459
f5ba00a6
GM
124602013-05-15 Glenn Morris <rgm@gnu.org>
12461
ed8be7ff
GM
12462 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12463 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12464 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12465 (whitespace-highlight): Move to whitespace group.
12466
12467 * comint.el (comint-source):
12468 * pcmpl-linux.el (pcmpl-linux):
12469 * shell.el (shell-faces):
12470 * eshell/esh-opt.el (eshell-opt):
12471 * international/ccl.el (ccl): Remove empty custom groups.
12472
12473 * completion.el (dynamic-completion-mode):
12474 * jit-lock.el (jit-lock-debug-mode):
12475 * minibuffer.el (completion-in-region-mode):
12476 * type-break.el (type-break-mode-line-message-mode)
12477 (type-break-query-mode):
12478 * emulation/tpu-edt.el (tpu-edt-mode):
12479 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12480 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12481 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12482
12483 * term/xterm.el (xterm): Change parent group to terminals.
12484
12485 * master.el (master): Remove empty custom group.
12486 (master-mode): Remove unused :group argument.
12487 * textmodes/refill.el (refill): Remove empty custom group.
12488 (refill-mode): Remove unused :group argument.
12489
12490 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12491
82a7c41b
GM
12492 * cus-dep.el: Provide a feature.
12493 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12494 Don't mistakenly ignore files whose basenames match a basename
12495 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12496 Add a fallback method for getting :group.
f5ba00a6 12497
6d65486d
JL
124982013-05-15 Juri Linkov <juri@jurta.org>
12499
da547b32
JL
12500 * isearch.el (isearch-char-by-name): Rename from
12501 `isearch-insert-char-by-name'. Doc fix.
12502 (isearch-forward): Mention `isearch-char-by-name' in
12503 the docstring. (Bug#13348)
12504
6d65486d
JL
12505 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12506 `exit-minibuffer' instead of
12507 `isearch-nonincremental-exit-minibuffer'.
12508 (isearch-edit-string): Remove mention of
12509 `isearch-nonincremental-exit-minibuffer' from docstring.
12510 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12511 (isearch-forward-exit-minibuffer)
12512 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12513
c9990474
SM
125142013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12515
6e911150
SM
12516 * loadup.el: Just use unversioned DOC.
12517
c9990474
SM
12518 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12519 literals as extending to EOB.
12520 (nxml-last-fontify-end): Remove unused variable.
12521 (nxml-after-change1): Use with-silent-modifications.
12522 (nxml-extend-after-change-region): Simplify.
12523 (nxml-extend-after-change-region1): Remove function.
12524 (nxml-after-change1): Don't adjust for dependent regions.
12525 (nxml-fontify-matcher): Simplify.
12526 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12527 (xmltok-add-dependent): Remove function.
12528 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12529 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12530 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12531 unclosed <[[, <?, comment, and other literals as extending to EOB.
12532 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12533 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12534 Remove functions.
12535 (rng-do-some-validation-1): Don't mark dependent regions.
12536 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12537 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12538 (nxml-clear-dependent-regions): Remove functions.
12539 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12540 (nxml-ensure-scan-up-to-date):
12541 Don't clear&mark dependent regions.
12542
e3772e98
LL
125432013-05-15 Leo Liu <sdl.web@gmail.com>
12544
c9990474
SM
12545 * progmodes/octave.el (octave-goto-function-definition):
12546 Improve and fix callers.
e3772e98 12547
5ac2eb34
SM
125482013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12549
c46c57b0
SM
12550 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12551 the setter (bug#14387).
12552
5ac2eb34
SM
12553 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12554 surrounding group (bug#14402).
12555
180ed218
JL
125562013-05-14 Juri Linkov <juri@jurta.org>
12557
12558 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12559 (Bug#14390)
12560
0ac0fecb
GM
125612013-05-14 Glenn Morris <rgm@gnu.org>
12562
12563 * progmodes/f90.el (f90-imenu-generic-expression):
12564 Fix typo in 2013-05-08 change. (Bug#14402)
12565
2e78e6a7
JPG
125662013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12567
5ac2eb34
SM
12568 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12569 Remove signals for which replies are never received.
2e78e6a7 12570
53267cca
JPG
125712013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12572
12573 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12574 (gdb-handler-alist, gdb-handler-number): Remove variables.
12575 (gdb-handler-list): New variable.
12576 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12577 (gdb-pending-handler-p, gdb-handle-reply)
12578 (gdb-remove-all-pending-triggers): New functions.
12579 (gdb-discard-unordered-replies): New defcustom.
12580 (gdb-handler): New defstruct.
12581 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12582 instead of gdb-pending-triggers. Update docstring.
12583 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12584 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12585 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12586 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12587 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12588 (gdb-frame-handler): Pending triggers are now automatically managed.
12589 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12590 Remove argument.
12591 (gdb-input): Automatically handles pending triggers. Update docstring.
12592 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12593 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12594 Update comments.
12595 (gdb-done-or-error): Now use gdb-handle-reply.
12596
d04ce803
JPG
125972013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12598
12599 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12600 gdb-debug-log.
12601
0114073a
GM
126022013-05-14 Glenn Morris <rgm@gnu.org>
12603
12604 * subr.el (user-emacs-directory-warning): New option.
12605 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12606
4d25fd7e
LL
126072013-05-14 Leo Liu <sdl.web@gmail.com>
12608
12609 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12610 during redisplay.
12611 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12612 (octave-font-lock-texinfo-comment): Fix invalid search bound
12613 error: wrong side of point.
4d25fd7e 12614
27c8b6eb
GM
126152013-05-14 Glenn Morris <rgm@gnu.org>
12616
61aaeb01
GM
12617 * progmodes/flymake.el (flymake-xml-program): New option.
12618 (flymake-xml-init): Use it.
12619
5bf90bc5
GM
12620 * term/xterm.el: Provide a feature.
12621
12622 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12623
f4c7dfd2
GM
126242013-05-13 Glenn Morris <rgm@gnu.org>
12625
12626 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12627 Add compat aliases as a hack workaround. (Bug#14384)
12628
2aeb3a1d
LL
126292013-05-13 Leo Liu <sdl.web@gmail.com>
12630
b0e069c2
LL
12631 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12632 ###, and %!.
f5a9432f
LL
12633 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12634 C-M-q.
b0e069c2
LL
12635 (octave-comment-start-skip): Include %!.
12636 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12637
30ea8374
LL
126382013-05-12 Leo Liu <sdl.web@gmail.com>
12639
12640 * progmodes/octave.el (inferior-octave-startup): Store the value
12641 of __octave_srcdir__ for octave-source-directories.
12642 (inferior-octave-check-process): New function refactored out of
12643 inferior-octave-send-list-and-digest.
12644 (octave-source-directories)
12645 (octave-find-definition-filename-function): New variables.
12646 (octave-source-directories)
12647 (octave-find-definition-default-filename): New functions.
12648 (octave-find-definition): Improve to find functions implemented in C++.
12649
472a3834
GM
126502013-05-12 Glenn Morris <rgm@gnu.org>
12651
12652 * calendar/diary-lib.el (diary-outlook-format-1):
12653 Don't include dayname in the output. (Bug#14349)
12654
3191b52f
GM
126552013-05-11 Glenn Morris <rgm@gnu.org>
12656
0060ac73
GM
12657 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12658
3191b52f
GM
12659 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12660 Treat cc-provide like provide.
12661
e065ba74
KR
126622013-05-11 Kevin Ryde <user42@zip.com.au>
12663
12664 * cus-dep.el (custom-make-dependencies):
12665 Use generated-autoload-load-name for the sake of files such
12666 such cedet/semantic/bovine/c.el, where the base file name
12667 is not in load-path. (Bug#5277)
12668
36f84c37
GM
126692013-05-11 Glenn Morris <rgm@gnu.org>
12670
12671 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12672 Provide features.
12673
c8730c3a
LL
126742013-05-11 Leo Liu <sdl.web@gmail.com>
12675
12676 * progmodes/octave.el (octave-indent-comment): Improve.
12677 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12678 (octave-eldoc-function-signatures, octave-eldoc-function):
12679 New functions.
c8730c3a
LL
12680 (octave-mode, inferior-octave-mode): Add eldoc support.
12681
212e29f2
RS
126822013-05-11 Richard Stallman <rms@gnu.org>
12683
12684 * epa.el (epa-decrypt-file): Take output file name as argument
12685 and read it using `interactive'.
12686
083fe0d7
LL
126872013-05-11 Leo Liu <sdl.web@gmail.com>
12688
12689 * progmodes/octave.el (octave-beginning-of-line)
12690 (octave-end-of-line): Check before using up-list because it jumps
12691 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12692 (octave-indent-comment): New function.
12693 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12694 (octave-begin-keywords, octave-end-keywords)
12695 (octave-reserved-words, octave-smie-bnf-table)
12696 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12697
8582e4c4
GM
126982013-05-11 Glenn Morris <rgm@gnu.org>
12699
f20def1f
GM
12700 * faces.el (internal-face-x-get-resource):
12701 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12702 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12703 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12704 Fix declarations.
f20def1f 12705
445f95e2
GM
12706 * calc/calc-menu.el: Make it loadable in isolation.
12707
12708 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12709 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12710 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12711 (eudc-bbdb-query-internal): Require 'bbdb.
12712
99fb2756
GM
12713 * lpr.el (lpr-headers-switches):
12714 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12715
12716 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12717
0da7ad96
GM
12718 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12719
8582e4c4
GM
12720 * term.el (term-set-escape-char): Make it idempotent.
12721
f71c50d0
LL
127222013-05-10 Leo Liu <sdl.web@gmail.com>
12723
5ac2eb34
SM
12724 * progmodes/octave.el (inferior-octave-completion-table):
12725 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12726 completion due to bug#11906.
12727 (octave-beginning-of-defun): Re-write to be more general.
12728
d5837773
GM
127292013-05-10 Glenn Morris <rgm@gnu.org>
12730
12731 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12732
027c0f75
SM
127332013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12734
12735 * comint.el (comint-redirect-send-command-to-process): Use :around
12736 rather than :override for comint-redirect-filter.
12737 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12738 Call it instead of comint-redirect-original-filter-function (which
12739 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12740
4465bfb4
JD
127412013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12742
12743 * frame.el (display-monitor-attributes-list): Add NS case.
12744 (ns-display-monitor-attributes-list): Declare.
12745
2d809ffa 127462013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12747
12748 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12749
e54eeb9b
GM
127502013-05-09 Glenn Morris <rgm@gnu.org>
12751
56cd351d
GM
12752 * international/fontset.el (vertical-centering-font-regexp):
12753 Set standard-value.
12754
d84b6108
GM
12755 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12756
a931698a
GM
12757 * bookmark.el (bookmark-search-delay):
12758 * cus-start.el (vertical-centering-font-regexp):
12759 * ps-mule.el (ps-mule-font-info-database-default):
12760 * ps-print.el (ps-default-fg, ps-default-bg):
12761 * type-break.el (type-break-good-break-interval):
12762 * whitespace.el (whitespace-indentation-regexp)
12763 (whitespace-space-after-tab-regexp):
12764 * emacs-lisp/testcover.el (testcover-1value-functions)
12765 (testcover-noreturn-functions, testcover-progn-functions)
12766 (testcover-prog1-functions):
12767 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12768 * eshell/em-glob.el (eshell-glob-translate-alist):
12769 * play/tetris.el (tetris-tty-colors):
12770 * progmodes/cpp.el (cpp-face-default-list):
12771 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12772 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12773 (idlwave-help-browser-generic-args):
12774 * progmodes/make-mode.el (makefile-special-targets-list):
12775 * progmodes/python.el (python-shell-virtualenv-path):
12776 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12777 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12778 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12779 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12780 * textmodes/reftex-vars.el (reftex-format-label-function):
12781 * textmodes/remember.el (remember-diary-file): Fix custom types.
12782
e54eeb9b
GM
12783 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12784 Add :version.
12785
455851dd
LL
127862013-05-09 Leo Liu <sdl.web@gmail.com>
12787
12788 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12789 Restore file completion. (Bug#14300)
455851dd
LL
12790 (inferior-octave-startup): Fix incorrect highlighting for the
12791 first prompt.
12792
a9e4425b
SM
127932013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12794
12795 * progmodes/ruby-mode.el: First cut at SMIE support.
12796 (ruby-use-smie): New var.
12797 (ruby-smie-grammar): New constant.
12798 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12799 (ruby-smie--forward-token, ruby-smie--backward-token)
12800 (ruby-smie-rules): New functions.
12801 (ruby-mode-variables): Setup SMIE if applicable.
12802
060ca408
EZ
128032013-05-08 Eli Zaretskii <eliz@gnu.org>
12804
12805 * simple.el (line-move-visual): Signal beginning/end of buffer
12806 only if vertical-motion moved less than it was requested. Avoids
12807 silly incorrect error messages when there are display strings with
12808 multiple newlines at EOL.
12809
1d5963cc
SM
128102013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12813 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12814 (prolog-char-quote-workaround):
12815 * progmodes/cperl-mode.el (cperl-under-as-char):
12816 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12817 Mark as obsolete.
12818 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12819 their declaration.
12820 (vhdl-mode-syntax-table-init): Remove.
12821
c9990474
SM
12822 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12823 last change.
1d5963cc
SM
12824
12825 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12826 syntax for "_".
12827 (ld-script-font-lock-keywords):
12828 Change regexps to use things like \_< and \_>.
12829
12830 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12831 Change all regexps to use things like \_< and \_>.
12832
12833 * progmodes/autoconf.el (autoconf-definition-regexp)
12834 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12835 Handle a _ with symbol syntax.
12836 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12837
c9990474
SM
12838 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12839 Consolidate declaration.
1d5963cc
SM
12840 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12841 the declaration.
12842 (ada-create-syntax-table): Remove.
12843 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12844 already has the right syntax nowadays.
12845 (ada-goto-next-word): Don't change the syntax of "_".
12846
12847 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12848 with-wrapper-hook.
12849
72d3cfca
SS
128502013-05-08 Sam Steingold <sds@gnu.org>
12851
12852 * thingatpt.el (thing-at-point): Accept optional second argument
12853 NO-PROPERTIES to strip the text properties from the return value.
12854 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12855 to `thing-at-point' instead of stripping the properties ourselves.
12856 Also, when `thing-at-point' fails to find a url, prepend "http://"
12857 to the filename at point on the assumption that the user is
12858 pointing at something like gnu.org/gnu.
12859
5cb15713
JB
128602013-05-08 Juanma Barranquero <lekktu@gmail.com>
12861
12862 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12863 * faces.el (crm-separator):
12864 Silence byte-compiler.
12865
12866 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12867 (tool-bar-map): Remove unneeded defvars.
12868
ea78b95b
LL
128692013-05-08 Leo Liu <sdl.web@gmail.com>
12870
12871 Re-work a fix for bug#10994 based on Le Wang's patch.
12872 * ido.el (ido-remove-consecutive-dups): New helper.
12873 (ido-completing-read): Use it.
12874 (ido-chop): Revert fix for bug#10994.
12875
dc7466df
AS
128762013-05-08 Adam Spiers <emacs@adamspiers.org>
12877
12878 * cus-edit.el (custom-save-variables):
12879 Pretty-print long values. (Bug#14187)
12880
9ecf672a
GM
128812013-05-08 Glenn Morris <rgm@gnu.org>
12882
12883 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12884 (m4-mode-syntax-table): Init in the defvar.
12885 (m4-mode-abbrev-table): Let define-derived-mode define it.
12886
3f555be8
TT
128872013-05-08 Tom Tromey <tromey@redhat.com>
12888
12889 * progmodes/m4-mode.el (m4-mode-syntax-table):
12890 Do not treat "_" as word constituent. (Bug#14167)
12891
7cc8ae06
GM
128922013-05-07 Glenn Morris <rgm@gnu.org>
12893
4f58bc06
GM
12894 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12895 Remove explicit eshell-isearch-cancel-map.
12896
7cc8ae06
GM
12897 * progmodes/f90.el (f90-smart-end-names): New option.
12898 (f90-smart-end): Doc fix.
12899 (f90-end-block-optional-name): New constant.
12900 (f90-block-match): Respect f90-smart-end-names.
12901
ceb57e59
SM
129022013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12905 about implicit semi-colons (bug#14218).
12906
4e3f9230
YM
129072013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12908
12909 * frame.el (display-monitor-attributes-list)
12910 (frame-monitor-attributes): New functions.
12911
203a5572
LL
129122013-05-06 Leo Liu <sdl.web@gmail.com>
12913
12914 * progmodes/octave.el (octave-syntax-propertize-function): Change
12915 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12916 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12917 (octave-completion-at-point): Rename from
203a5572
LL
12918 octave-completion-at-point-function.
12919 (inferior-octave-directory-tracker): Robustify.
12920 (octave-text-functions): Remove and fix its uses. No such things
12921 any more.
12922
ee6cff99
SM
129232013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12924
12925 * emacs-lisp/trace.el (trace--display-buffer): New function.
12926 (trace-make-advice): Use it.
12927
32985194
JL
129282013-05-06 Juri Linkov <juri@jurta.org>
12929
12930 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12931 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12932 Doc fix.
12933 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12934 in the help string. (Bug#12985)
12935
a1c700de
KD
129362013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12937
12938 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12939
c67c0839
SM
129402013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12941
323885fd
SM
12942 * progmodes/perl-mode.el: Add support for here documents.
12943 (perl-syntax-propertize-function): Match here-doc markers.
12944 (perl-syntax-propertize-special-constructs): Find their end.
12945 (perl-imenu-generic-expression): Use [:alnum:].
12946
c67c0839
SM
12947 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12948 (advice--add-function): Refresh the advice if already present
12949 (bug#14317).
12950
d491e7a8
IA
129512013-05-06 Ivan Andrus <darthandrus@gmail.com>
12952
12953 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12954
ddf9925e
GM
129552013-05-06 Glenn Morris <rgm@gnu.org>
12956
7cc3af27
GM
12957 * w32-fns.el (w32-charset-info-alist): Declare.
12958
16e343d6
GM
12959 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12960 of its defcustom properties.
12961 (eshell-cmpl-initialize): No need to load pcomplete.
12962
7d889a47
GM
12963 * generic-x.el: No need to require comint when compiling.
12964
ddf9925e
GM
12965 * net/eudc-export.el: Make it loadable without bbdb.
12966 (top-level): Use require rather than load-library.
12967 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12968 (eudc-batch-export-records-to-bbdb)
12969 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12970 Require bbdb.
12971
1e2c18df
SM
129722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12973
12974 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12975 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12976 some tweaks, instead.
12977
02502a5f
LL
129782013-05-05 Leo Liu <sdl.web@gmail.com>
12979
12980 * progmodes/octave.el (octave-font-lock-keywords)
12981 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12982 (inferior-octave-send-list-and-digest): Improve error message.
12983 (octave-mode, inferior-octave-mode): Use setq-local.
12984 (octave-help): Set info-lookup-mode.
12985
0dc04f42
RS
129862013-05-05 Richard Stallman <rms@gnu.org>
12987
6c54491c
RS
12988 * vc/compare-w.el (compare-windows-whitespace):
12989 Treat no-break space as whitespace.
12990
0dc04f42
RS
12991 * mail/rmailsum.el (rmail-summary-rmail-update):
12992 Detect empty summary and don't change selected message.
12993 (rmail-summary-goto-msg): Likewise.
12994
df8f35df
RS
12995 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12996 Doc fixes, rename args.
12997
5356e1a3
AM
129982013-05-05 Alan Mackenzie <acm@muc.de>
12999
13000 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13001
d44014cb
JL
130022013-05-05 Juri Linkov <juri@jurta.org>
13003
13004 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13005 to not add the length of the summary segment to the return value.
13006 (Bug#14125)
13007
c129b51f
LL
130082013-05-05 Leo Liu <sdl.web@gmail.com>
13009
13010 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13011 (inferior-octave-output-filter): Remove.
13012 (octave-send-region, inferior-octave-startup): Fix callers.
13013 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13014 (octave-binary-file-extensions): New user variable.
13015 (octave-find-definition): Confirm if opening binary files.
13016 (octave-help-file): Use octave-find-definition to get the binary
13017 confirmation.
13018 (octave-help): Adjust for octave-help-file change.
13019
aa7dab97
SM
130202013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13021
13022 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13023 Merge the two entries that handle function definitions.
13024 (pascal--syntax-propertize): New const.
13025 (pascal-mode): Use it. Use setq-local.
13026
fd3a9a6b
GM
130272013-05-04 Glenn Morris <rgm@gnu.org>
13028
13029 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13030 (diary-from-outlook): Respect diary-from-outlook-function.
13031
30c7e542
SM
130322013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13033
13034 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13035 Move the declaration from C.
13036 (read-minibuffer, eval-minibuffer): Move from C.
13037 (completion-setup-function): Avoid minibuffer-completion-contents.
13038
b54f978b
LL
130392013-05-03 Leo Liu <sdl.web@gmail.com>
13040
13041 * progmodes/octave.el (octave-font-lock-keywords): Do not
13042 dehighlight 'end' in comments or strings.
30c7e542
SM
13043 (octave-completing-read, octave-goto-function-definition):
13044 New helpers.
d4d0f9b3
LL
13045 (octave-help-buffer): New user variable.
13046 (octave-help-file, octave-help-function): New button types.
13047 (octave-help): New command and bind it to C-h ;.
13048 (octave-find-definition): New command and bind it to M-.
d74a1581 13049 (user-error): Alias to error if not defined.
b54f978b 13050
27135018
LL
130512013-05-02 Leo Liu <sdl.web@gmail.com>
13052
13053 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13054 for \. (bug#14332)
13055 (octave-font-lock-keywords): Include [ and {.
13056
0d634d3a
LL
130572013-05-02 Leo Liu <sdl.web@gmail.com>
13058
13059 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13060 (inferior-octave): Remove calling comint-mode and return the buffer.
13061 (inferior-octave-startup): Cosmetic changes.
13062
b4c8295e
LL
130632013-05-02 Leo Liu <sdl.web@gmail.com>
13064
30c7e542
SM
13065 * progmodes/octave.el (octave-syntax-propertize-function):
13066 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 13067
f12ad6ec
GM
130682013-05-02 Glenn Morris <rgm@gnu.org>
13069
13070 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13071 * desktop.el (vc-dir-mode): Just autoload it here.
13072
30cac1e0
AM
130732013-05-02 Alan Mackenzie <acm@muc.de>
13074
13075 Eliminate variable c-standard-font-lock-fontify-region-function.
13076 * progmodes/cc-mode.el
13077 (c-standard-font-lock-fontify-region-function): Remove.
13078 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13079
d8ef28b1
LL
130802013-05-01 Leo Liu <sdl.web@gmail.com>
13081
2640d52e 13082 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 13083 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 13084 variables were removed from Octave in 2007.
d8ef28b1
LL
13085 (inferior-octave-startup): Fix uses.
13086 (comint-line-beginning-position): Remove compatibility code for
13087 emacs 21.
13088
ac63ec89
JL
130892013-05-01 Juri Linkov <juri@jurta.org>
13090
13091 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13092
9e9be37c
JL
130932013-05-01 Juri Linkov <juri@jurta.org>
13094
13095 * comint.el (comint-previous-matching-input): Don't print message
13096 "History item: %d" when `isearch-mode' is active.
13097 (comint-history-isearch-message): Print message "History item: %d"
13098 when `comint-input-ring-index' is not empty and this function is
13099 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13100
9b92c13b
LL
131012013-05-01 Leo Liu <sdl.web@gmail.com>
13102
13103 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13104 definitions. Use completion-at-point to insert keywords.
13105 (octave-abbrev-start): Remove.
13106 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13107
b12d33d7
LL
131082013-04-30 Leo Liu <sdl.web@gmail.com>
13109
13110 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13111 change.
13112
3d1c39fa
AM
131132013-04-30 Alan Mackenzie <acm@muc.de>
13114
13115 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13116 * progmodes/cc-engine.el (c-back-over-member-initializers):
13117 new function.
3d1c39fa
AM
13118 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13119 (most) member init lists.
13120
5147fc17
RS
131212013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13122
13123 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13124 variable.
13125
5b78d7fc
LL
131262013-04-30 Leo Liu <sdl.web@gmail.com>
13127
13128 * progmodes/octave.el (octave-variables): Remove. No builtin
13129 variables any more. All converted to functions.
13130 (octave-font-lock-keywords, octave-completion-at-point-function):
13131 Fix uses.
13132 (octave-font-lock-texinfo-comment): New user variable.
13133 (octave-texinfo-font-lock-keywords): New variable for texinfo
13134 comment block.
13135 (octave-function-comment-block): New face.
13136 (octave-font-lock-texinfo-comment): New function.
13137 (octave-mode): Font lock texinfo comment block.
13138
38d8527b
LL
131392013-04-29 Leo Liu <sdl.web@gmail.com>
13140
13141 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13142 indexing expression.
13143 (octave-continuation-string): Do not use \.
13144 (inferior-octave-complete-impossible): Remove.
13145 (inferior-octave-completion-table)
13146 (inferior-octave-completion-at-point): Remove its uses.
13147 (inferior-octave-startup): completion_matches was introduced to
13148 Octave in 1996 so safe to assume it.
13149 (octave-function-file-comment): Improve to follow how Octave does it.
13150 (octave-update-function-file-comment): Tweak.
13151
2ec12cb0
LL
131522013-04-29 Leo Liu <sdl.web@gmail.com>
13153
13154 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13155 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13156 (octave-function-file-comment): Fix typo.
13157 (octave-sync-function-file-names): Use read-char-choice.
13158
6eaed048
JB
131592013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13160
13161 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13162 to t for the less important warnings.
13163
3ffa2d4f
DH
131642013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13165
13166 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13167
685c9501
GM
131682013-04-27 Glenn Morris <rgm@gnu.org>
13169
13170 * vc/log-view.el (log-view-current-entry):
13171 Treat "---" separator lines as part of the following rev. (Bug#14169)
13172
0208ede7
JL
131732013-04-27 Juri Linkov <juri@jurta.org>
13174
13175 * subr.el (read-number): Doc fix about using it by interactive
13176 code letter `n'. (Bug#14254)
13177
5db9dace
JL
131782013-04-27 Juri Linkov <juri@jurta.org>
13179
13180 * desktop.el (desktop-auto-save-timeout): New option.
13181 (desktop-file-checksum): New variable.
13182 (desktop-save): Add optional arg `auto-save' and don't auto-save
13183 if nothing changed.
13184 (desktop-auto-save-timer): New variable.
13185 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13186 (after-init-hook): Call `desktop-auto-save-set-timer'.
13187 Suggested by Reuben Thomas <rrt@sc3d.org> in
13188 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13189
b7260dd4
LL
131902013-04-27 Leo Liu <sdl.web@gmail.com>
13191
13192 * progmodes/octave.el (octave-function-file-p)
13193 (octave-skip-comment-forward, octave-function-file-comment)
13194 (octave-update-function-file-comment): New functions.
13195 (octave-mode-map): Bind C-c ; to
13196 octave-update-function-file-comment.
13197 (octave-mode-menu): Add octave-update-function-file-comment.
13198 (octave-mode, inferior-octave-mode): Fix doc-string.
13199 (octave-insert-defun): Conform to Octave's coding convention.
13200 (Bug#14285)
13201
13202 * files.el (basic-save-buffer): Don't let errors in
13203 before-save-hook prevent saving buffer.
13204
c46da669
RW
132052013-04-20 Roland Winkler <winkler@gnu.org>
13206
13207 * faces.el (read-face-name): Use completing-read if arg multiple
13208 is nil.
13209
a81ee1eb
IL
132102013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13211
13212 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13213 displayed, move point to after the totals line.
13214 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13215 for the details.
13216
4fac34ce
SM
132172013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13220 Add current dir to the load-path.
13221 (package-generate-autoloads): Don't rely on
13222 autoload-ensure-default-file.
13223
f6bfc063
RT
132242013-04-26 Reuben Thomas <rrt@sc3d.org>
13225
d40ab5cf
BG
13226 * textmodes/remember.el (remember-store-in-files): Document that
13227 the file name format is passed to `format-time-string'.
f6bfc063 13228
e55d3b04
LL
132292013-04-26 Leo Liu <sdl.web@gmail.com>
13230
13231 * progmodes/octave.el (octave-sync-function-file-names): New function.
13232 (octave-mode): Use it in before-save-hook.
13233
e53052d3
SM
132342013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13235
140ef50c
SM
13236 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13237 (bug#14274).
13238
e53052d3
SM
13239 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13240 \n and comment, even if it's not an implicit ; (bug#14218).
13241
af80458d 132422013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13243
13244 * subr.el (read-number): Once more use `read' rather than
13245 `string-to-number', to trap non-numeric input. (Bug#14254)
13246
af80458d 132472013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13248
13249 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13250 Use `syntax-multiline' text property consistently instead of
8a621d53 13251 `font-lock-multiline'. (Bug#14237)
70203c2e 13252
e6ea1f6c
GM
132532013-04-26 Glenn Morris <rgm@gnu.org>
13254
13255 * emacs-lisp/shadow.el (list-load-path-shadows):
13256 No longer necessary to check for duplicate simple.el, since
13257 2012-07-07 change to init_lread to not include installation lisp
13258 directories in load-path when running uninstalled. (Bug#14270)
13259
070ccca4
LL
132602013-04-26 Leo Liu <sdl.web@gmail.com>
13261
13262 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13263 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13264 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13265 octave-in-string-or-comment-p.
13266 (octave-in-comment-p, octave-in-string-p)
13267 (octave-in-string-or-comment-p): Replace defsubst with defun.
13268
9d1c5fb6
PE
132692013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13270
13271 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13272
c034abda
BG
132732013-04-25 Bastien Guerry <bzg@gnu.org>
13274
13275 * textmodes/remember.el (remember-data-directory)
13276 (remember-directory-file-name-format): Fix custom types.
13277
584ea277
LL
132782013-04-25 Leo Liu <sdl.web@gmail.com>
13279
e53052d3
SM
13280 * progmodes/octave.el (octave-completion-at-point-function):
13281 Make use of inferior octave process.
584ea277
LL
13282 (octave-initialize-completions): Remove.
13283 (inferior-octave-completion-table): New function.
13284 (inferior-octave-completion-at-point): Use it.
13285 (octave-completion-alist): Remove.
13286
1693b06a
SM
132872013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13288
13289 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13290 (opascal-mode-syntax-table): New var.
13291 (opascal-literal-kind, opascal-is-literal-end)
13292 (opascal-literal-token-at): Rewrite.
13293 (opascal--literal-start-re, opascal-font-lock-keywords)
13294 (opascal--syntax-propertize): New constants.
13295 (opascal-font-lock-defaults): Adjust.
13296 (opascal-mode): Use them. Set comment-<foo> variables as well.
13297 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13298 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13299 (delphi-other-face, opascal-other-face): Remove face variables.
13300 (opascal-save-state): Remove macro.
13301 (opascal-fontifying-progress-step): Remove constant.
13302 (opascal--ignore-changes): Remove var.
13303 (opascal-set-token-property, opascal-parse-next-literal)
13304 (opascal-is-stable-literal, opascal-complete-literal)
13305 (opascal-is-literal-start, opascal-face-of)
13306 (opascal-parse-region, opascal-parse-region-until-stable)
13307 (opascal-fontify-region, opascal-after-change)
13308 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13309 (opascal-debug-parse-region, opascal-debug-parse-window)
13310 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13311 (opascal-debug-fontify-buffer): Remove.
13312 (opascal-debug-mode-map): Adjust accordingly.
13313
be64c05d
LL
133142013-04-25 Leo Liu <sdl.web@gmail.com>
13315
13316 Merge octave-mod.el and octave-inf.el into octave.el with some
13317 cleanups.
13318 * progmodes/octave.el: New file renamed from octave-mod.el.
13319 * progmodes/octave-inf.el: Merged into octave.el.
13320 * progmodes/octave-mod.el: Renamed to octave.el.
13321
d79d37bd
TH
133222013-04-25 Tassilo Horn <tsdh@gnu.org>
13323
13324 * textmodes/reftex-vars.el
13325 (reftex-label-ignored-macros-and-environments): New defcustom.
13326
13327 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13328
ced3fc5d
SM
133292013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13332 (smie-indent-keyword): Improve the check to ensure that the next
13333 comment is really on the same line.
13334 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13335
13336 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13337 semi-colons if the line is not otherwise empty (bug#14218).
13338
1c141dad
GM
133392013-04-25 Glenn Morris <rgm@gnu.org>
13340
13341 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13342
5058062a
SM
133432013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 * progmodes/opascal.el (opascal-set-token-property): Rename from
13346 opascal-set-text-properties and only set `token' (bug#14134).
13347 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13348 (opascal-literal-text-properties): Remove.
13349 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13350 Adjust callers.
13351
5db9dace 133522013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13353
13354 * textmodes/remember.el (remember-handler-functions): Add an
13355 option for a new handler `remember-store-in-files'.
13356 (remember-data-directory, remember-directory-file-name-format):
13357 New options.
13358 (remember-store-in-files): New function to store remember notes
13359 as separate files within a directory.
13360
4391916c
MH
133612013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13362
13363 * progmodes/compile.el (compilation-next-error-function):
13364 Pass "formats" to compilation-find-file (bug#11777).
13365
bb7cdf58
GM
133662013-04-24 Glenn Morris <rgm@gnu.org>
13367
3b8fe752 13368 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13369 * vc/vc-hg.el (vc-hg-print-log):
13370 * vc/vc-svn.el (vc-svn-print-log):
13371 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13372
bb7cdf58
GM
13373 * vc/vc-bzr.el (vc-bzr-print-log):
13374 * vc/vc-cvs.el (vc-cvs-print-log):
13375 * vc/vc-git.el (vc-git-print-log):
13376 * vc/vc-hg.el (vc-hg-print-log):
13377 * vc/vc-mtn.el (vc-mtn-print-log):
13378 * vc/vc-rcs.el (vc-rcs-print-log):
13379 * vc/vc-sccs.el (vc-sccs-print-log):
13380 * vc/vc-svn.el (vc-svn-print-log):
13381 * vc/vc.el (vc-print-log-internal): Doc fixes.
13382
b46a056e
GM
133832013-04-23 Glenn Morris <rgm@gnu.org>
13384
13385 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13386 Remove venerable code attempting to avoid substitute-command-keys.
13387
0aecf718
TH
133882013-04-23 Tassilo Horn <tsdh@gnu.org>
13389
4391916c
MH
13390 * textmodes/reftex-vars.el (reftex-label-regexps):
13391 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13392
117f94cf
SM
133932013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13394
4391916c 13395 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13396 Use lexical-binding.
13397 (jit-lock-force-redisplay): Use markers, check buffer's continued
13398 existence and beware narrowed buffers.
13399 (jit-lock-fontify-now): Adjust call accordingly.
13400
1d829c64
SM
134012013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13402
13403 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13404 to avoid misleading the user.
13405
72d548a9
LL
134062013-04-22 Leo Liu <sdl.web@gmail.com>
13407
13408 * info-look.el: Prefer latex2e.info. (Bug#14240)
13409
d0853629
MA
134102013-04-22 Michael Albinus <michael.albinus@gmx.de>
13411
13412 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13413
13414 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13415 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13416 (tramp-set-completion-function, tramp-parse-putty):
13417 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13418 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13419 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13420 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13421 (tramp-call-local-coding-command): Use `tramp-call-process'
13422 instead of `tramp-compat-call-process'.
13423
13424 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13425 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13426 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13427 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13428 (tramp-maybe-send-script): Check for Perl binary.
13429 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13430
38cc0210
DU
134312013-04-22 Daiki Ueno <ueno@gnu.org>
13432
13433 * epg.el (epg-context-pinentry-mode): New function.
13434 (epg-context-set-pinentry-mode): New function.
13435 (epg--start): Pass --pinentry-mode option to gpg command.
13436
cc641ee1
XF
134372013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13438
02d844b5 13439 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13440 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13441 `completion-at-point'. (Bug#13774)
5d4e5c31 13442
cc641ee1
XF
13443 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13444 default key binding for `describe-distribution' has been moved to
13445 `C-h C-o'. (Bug#13970)
13446
1b42ee43
GM
134472013-04-21 Glenn Morris <rgm@gnu.org>
13448
13449 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13450 Add doc strings.
13451 (vc-print-log): Clarify interactive prompt.
13452
a6d63d97
GM
134532013-04-20 Glenn Morris <rgm@gnu.org>
13454
13455 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13456 No longer include timestamp etc information.
13457
d7f5c16f
RW
134582013-04-20 Roland Winkler <winkler@gnu.org>
13459
13460 * faces.el (read-face-name): Bug fix, return just one face if arg
13461 multiple is nil. (Bug#14209)
13462
bcd7a0a4
SM
134632013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13466 (remove-function): Autoload.
13467
13468 * comint.el (comint-redirect-original-filter-function): Remove.
13469 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13470 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13471 (vc-cvs-annotate-command):
bcd7a0a4
SM
13472 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13473 * progmodes/prolog.el (prolog-consult-compile):
13474 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13475 Use add/remove-function instead.
13476 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13477 (gud-tooltip-process-output, gud-tooltip-tips):
13478 Use add/remove-function instead.
13479 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13480 (scheme-interaction-mode, exit-scheme-interaction-mode):
13481 Use add/remove-function instead.
13482
13483 * vc/vc-dispatcher.el: Use lexical-binding.
13484 (vc--process-sentinel): Rename from vc-process-sentinel.
13485 Change last arg to be the code to run. Don't use vc-previous-sentinel
13486 and vc-sentinel-commands any more.
13487 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13488 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13489
e36b2d20 134902013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13491
bcd7a0a4 13492 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13493 Handle function names with a single character. (Bug#14111)
4d3268ba 13494
27821a89 134952013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13496
13497 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13498 for subroutines defined in an eval (bug#14182).
13499
7d688336
TV
135002013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13501
13502 * bookmark.el (bookmark-completing-read): Improve handling of empty
13503 string (bug#14176).
13504
31dcede0
SM
135052013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13508
adc31213
FEG
135092013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13510
13511 New faster Imenu implementation (bug#14058).
13512 * progmodes/python.el:
13513 (python-imenu-prev-index-position):
13514 (python-imenu-format-item-label-function)
13515 (python-imenu-format-parent-item-label-function)
13516 (python-imenu-format-parent-item-jump-label-function):
13517 New vars.
13518 (python-imenu-format-item-label)
13519 (python-imenu-format-parent-item-label)
13520 (python-imenu-format-parent-item-jump-label)
13521 (python-imenu--put-parent, python-imenu--build-tree)
13522 (python-imenu-create-index, python-imenu-create-flat-index)
13523 (python-util-popn): New functions.
13524 (python-mode): Set imenu-create-index-function to
13525 python-imenu-create-index.
13526
cdca8255
SM
135272013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13528
13529 * winner.el (winner-active-region): Use region-active-p, activate-mark
13530 and deactivate-mark (bug#14225).
13531
13532 * simple.el (deactivate-mark): Don't inline it.
13533
beb42340
MA
135342013-04-18 Michael Albinus <michael.albinus@gmx.de>
13535
13536 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13537
fc7f4d7e
TH
135382013-04-18 Tassilo Horn <tsdh@gnu.org>
13539
13540 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13541 file extensions from the archive-mode entry in order to prefer
13542 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13543
29f47822
LL
135442013-04-18 Leo Liu <sdl.web@gmail.com>
13545
13546 * bindings.el (help-event-list): Add ?\?.
13547
d36ed1c8
SM
135482013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * subr.el (with-wrapper-hook): Declare obsolete.
13551 * simple.el (filter-buffer-substring-function): New hook.
13552 (filter-buffer-substring): Use it.
13553 (filter-buffer-substring-functions): Mark obsolete.
13554 * minibuffer.el (completion-in-region-function): New hook.
13555 (completion-in-region): Use it.
13556 (completion-in-region-functions): Mark obsolete.
13557 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13558 * abbrev.el (abbrev-expand-function): New hook.
13559 (expand-abbrev): Use it.
13560 (abbrev-expand-functions): Mark obsolete.
13561 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13562 and :filter-return.
13563
04754d36
FEG
135642013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13565
13566 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13567 and do not care about match data.
13568
dd8791e9
SM
135692013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13572 completion tables when completing error conditions and
13573 `declare' arguments.
13574 (lisp-complete-symbol, field-complete): Mark as obsolete.
13575 (check-parens): Unmatched parens are user errors.
13576 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13577
ffe54a13
AM
135782013-04-17 Michal Nazarewicz <mina86@mina86.com>
13579
dd8791e9
SM
13580 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13581 command changed buffer (ie. `flyspell-pre-buffer' is not current
13582 buffer), which prevents making decisions based on invalid value of
13583 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13584 cause an error when `flyspell-pre-point' was nil after switching
13585 buffers.
13586 (flyspell-post-command-hook): No longer needs to change buffers when
13587 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13588
ec7e39f2
AM
135892013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13590
13591 * textmodes/ispell.el (ispell-add-per-file-word-list):
13592 Fix `flyspell-correct-word-before-point' error when accepting
13593 words and `coment-padding' is an integer by using
13594 `comment-normalize-vars' (Bug #14214).
13595
083850a6
FEG
135962013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13597
13598 New defun movement commands.
13599 * progmodes/python.el (python-nav--syntactically)
13600 (python-nav--forward-defun, python-nav-backward-defun)
13601 (python-nav-forward-defun): New functions.
13602
619ed6e1
FEG
136032013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13604
13605 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13606 (python-syntax-context): Use named compiler-macro for backwards
13607 compatibility with Emacs 24.x.
13608
7a1beb6c
LL
136092013-04-17 Leo Liu <sdl.web@gmail.com>
13610
13611 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13612 octave-hide-process-buffer.
13613
2d3fa3e5
SM
136142013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13615
13616 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13617 (bug#14216).
13618
7ce5be54
JPG
136192013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13620
13621 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13622 Fix adjustment of offset when receiving incomplete responses from GDB
13623 (bug#14129).
13624
351edece
SM
136252013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13626
13627 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13628 python-mode-abbrev-table.
13629 (python-skeleton-define): Adjust accordingly.
13630 (python-mode-abbrev-table): New table that inherits from it so that
13631 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13632
13633 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13634 (abbrev-symbol): Use it.
13635 (abbrev--before-point): Use it since we already handle inheritance.
13636
613f9481
LL
136372013-04-16 Leo Liu <sdl.web@gmail.com>
13638
13639 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13640 binding to info-lookup-symbol.
13641
51646b62
JB
136422013-04-16 Juanma Barranquero <lekktu@gmail.com>
13643
13644 * minibuffer.el (completion--twq-all):
13645 * term/ns-win.el (ns-initialize-window-system):
13646 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13647
efb3f01d
SM
136482013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13649
36c0a301
SM
13650 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13651 global bindings.
13652
efb3f01d
SM
13653 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13654
fb549d64
DG
136552013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13656
13657 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13658 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13659 to nil.
13660 (ruby-end-of-defun): Remove the unused arg, change the docstring
13661 to reflect that this function is only used as the value of
13662 `end-of-defun-function'.
13663 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13664 to reflect an earlier change that beginning/end-of-defun functions
13665 jump between methods in a class definition, as well as top-level
13666 functions.
13667
21e8fe2f
SM
136682013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13669
13670 * minibuffer.el (minibuffer-complete): Don't just scroll
13671 a *Completions* that's been iconified.
13672 (minibuffer-force-complete): Make sure repetitions do cycle when going
13673 through completion-in-region -> minibuffer-complete.
13674
20e527d0
AM
136752013-04-15 Alan Mackenzie <acm@muc.de>
13676
13677 Correct the placement of c-cpp-delimiters when there're #s not at
13678 col 0.
13679
13680 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13681 place a submatch around the #.
21e8fe2f
SM
13682 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13683 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13684 on the #, not BOL.
13685
dabefae5
SM
136862013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13689 (advice--member-p): New arg `name'.
13690 (advice--add-function, advice-member-p): Use it (bug#14202).
13691
85c9ab64
AM
136922013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13693
13694 Reformulate java imenu-generic-expression.
13695 The old expression contained ill formed regexps.
13696
13697 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13698 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13699 (cc-imenu-java-method-arg-regexp): New defconsts.
13700 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13701 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13702 handling of spaces in the regexp.
13703
0f821d99
AM
137042013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13705
13706 * textmodes/ispell.el (ispell-command-loop): Remove
13707 flyspell highlight of a word when ispell accepts it (bug #14178).
13708
eb922adf
MA
137092013-04-15 Michael Albinus <michael.albinus@gmx.de>
13710
13711 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13712 uses code from the previous `ange-ftp-run-real-handler'.
13713 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13714 only in case that function exist. This is needed for proper
13715 unloading of Tramp.
13716
4d9a0979
TH
137172013-04-15 Tassilo Horn <tsdh@gnu.org>
13718
13719 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13720
13721 * textmodes/reftex.el (reftex-compile-variables): Use it.
13722
a829b0dc
SM
137232013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13724
91e8293c
SM
13725 * files.el (normal-mode): Only use default major-mode if no other mode
13726 was specified.
13727
830aed4d
SM
13728 * emacs-lisp/trace.el (trace-values): New function.
13729
a829b0dc
SM
13730 * files.el: Allow : in local variables (bug#14089).
13731 (hack-local-variable-regexp): New var.
13732 (hack-local-variables-prop-line, hack-local-variables): Use it.
13733
7ae9f0fb
RW
137342013-04-13 Roland Winkler <winkler@gnu.org>
13735
13736 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13737 data before it gets modified by bibtex-beginning-of-entry.
13738
6646e848
RW
137392013-04-13 Roland Winkler <winkler@gnu.org>
13740
13741 * textmodes/bibtex.el (bibtex-url): Doc fix.
13742
137432013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13744
13745 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13746 does not visit a BibTeX file, exclude it from the list of buffers
13747 returned by bibtex-initialize.
13748
0aa3616e
SB
137492013-04-13 Stephen Berman <stephen.berman@gmx.net>
13750
13751 * window.el (split-window): Remove interactive form, since as a
13752 command this function is a special case of split-window-below.
13753 Correct doc string.
13754
011cddd6
RW
137552013-04-12 Roland Winkler <winkler@gnu.org>
13756
13757 * faces.el (read-face-name): Do not override value of arg default.
13758 Allow single faces and strings as default values. Remove those
13759 elements from return value that are not faces.
13760 (describe-face): Simplify.
13761 (face-at-point): New optional args thing and multiple so that this
13762 function can provide the same functionality previously provided by
13763 read-face-name.
13764 (make-face-bold, make-face-unbold, make-face-italic)
13765 (make-face-unitalic, make-face-bold-italic, invert-face)
13766 (modify-face, read-face-and-attribute): Use face-at-point.
13767
13768 * cus-edit.el (customize-face, customize-face-other-window)
13769 * cus-theme.el (custom-theme-add-face)
13770 * face-remap.el (buffer-face-set)
13771 * facemenu.el (facemenu-set-face): Use face-at-point.
13772
f24e0036
MA
137732013-04-12 Michael Albinus <michael.albinus@gmx.de>
13774
13775 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13776
da3cda2d
TH
137772013-04-10 Tassilo Horn <tsdh@gnu.org>
13778
13779 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13780 off leading { and trailing } from field values.
13781
15e54145
SM
137822013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13783
78ce603d
SM
13784 * emacs-lisp/timer.el (timer--check): New function.
13785 (timer--time, timer-set-function, timer-event-handler): Use it.
13786 (timer-set-idle-time): Simplify.
13787 (timer--activate): CSE.
13788 (timer-event-handler): Give more info in error message.
13789 (internal-timer-start-idle): New function, moved from C.
13790
15e54145
SM
13791 * mpc.el (mpc-proc): Add `restart' argument.
13792 (mpc-proc-cmd): Use it.
13793 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13794 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13795 less often.
13796
7144c627
MY
137972013-04-10 Masatake YAMATO <yamato@redhat.com>
13798
13799 * progmodes/sh-script.el: Implement `sh-mode' own
13800 `add-log-current-defun-function' (bug#14112).
13801 (sh-current-defun-name): New function.
13802 (sh-mode): Use the function.
13803
b39792eb
BG
138042013-04-09 Bastien Guerry <bzg@gnu.org>
13805
13806 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13807
8acdeb71
SM
138082013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13809
6fcdab68
SM
13810 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13811
8acdeb71
SM
13812 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13813 timer (bug#14156).
13814
e3e7b504
NF
138152013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13816
13817 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13818 declaration.
13819
201bb296
LL
138202013-04-07 Leo Liu <sdl.web@gmail.com>
13821
13822 * pcmpl-x.el: New file.
13823
ebb19708
DA
138242013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13825
13826 Do not set x-display-name until X connection is established.
13827 This is needed to prevent from weird situation described at
13828 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13829 * frame.el (make-frame): Set x-display-name after call to
13830 window system initialization function, not before.
13831 * term/x-win.el (x-initialize-window-system): Add optional
13832 display argument and use it.
13833 * term/w32-win.el (w32-initialize-window-system):
13834 * term/ns-win.el (ns-initialize-window-system):
13835 * term/pc-win.el (msdos-initialize-window-system):
13836 Add compatible optional display argument.
13837
33bb237a
EZ
138382013-04-06 Eli Zaretskii <eliz@gnu.org>
13839
13840 * files.el (normal-backup-enable-predicate): On MS-Windows and
13841 MS-DOS compare truenames of temporary-file-directory and of the
13842 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13843 don't fail comparison by compare-strings. Also, compare file
13844 names case-insensitively on MS-Windows and MS-DOS.
13845
134abf1f
SM
138462013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13847
13848 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13849 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13850
d695cb94
DG
138512013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13852
e3e7b504
NF
13853 * whitespace.el (whitespace-color-on, whitespace-color-off):
13854 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13855
f4ad7ea1 138562013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13857
13858 * ispell.el (ispell-set-spellchecker-params):
13859 Really set `ispell-args' for all equivs.
13860
632556e4
SM
138612013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13862
13863 * ido.el (ido-completions): Use extra elements of ido-decorations
13864 (bug#14143).
13865 (ido-decorations): Update docstring.
13866
2a417372
MA
138672013-04-05 Michael Albinus <michael.albinus@gmx.de>
13868
13869 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13870 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13871 nil during initialization, in order not to miss changes since the
13872 file was opened. (Bug#14140)
13873
fc164b0c
LL
138742013-04-05 Leo Liu <sdl.web@gmail.com>
13875
13876 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13877
0ccecc08
JB
138782013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13879
13880 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13881
51af1aa2
GM
138822013-04-04 Glenn Morris <rgm@gnu.org>
13883
13884 * electric.el (electric-pair-inhibit-predicate): Add :version.
13885
b208ebc6
SM
138862013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13887
13888 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13889 when a package is required several times (bug#14082).
13890
f3d3eaf0
RW
138912013-04-04 Roland Winkler <winkler@gnu.org>
13892
13893 * faces.el (read-face-name): Behave as promised by the docstring.
13894 Assume that arg default is a list of faces.
13895 (describe-face): Call read-face-name with list of default faces.
13896
2575da50
TV
138972013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13898
13899 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13900 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13901 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13902 the header.
13903 (bookmark-exit-hook-internal): Save even if list is empty.
13904
397703b4
YH
139052013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13906
13907 * emacs-lisp/package.el (package-pinned-packages): New var.
13908 (package--add-to-archive-contents): Obey it (bug#14118).
13909
691e26ae
AM
139102013-04-03 Alan Mackenzie <acm@muc.de>
13911
8a621d53
JB
13912 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13913 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13914
13915 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13916 parameter `not-in-delimiter'. Handle being inside comment opener.
13917 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13918 character in case we're typing a '*' after a '/'.
13919 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13920 instead by passing the parameter to c-state-pp-to-literal.
13921
13922 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13923 for elt. 7 of a parse state.
13924
4b725a70
PE
139252013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13926
13927 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13928 * international/latin1-disp.el, international/mule-util.el:
13929 * language/cyril-util.el, language/european.el, language/ind-util.el:
13930 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13931 * language/tibetan.el, language/viet-util.el:
13932 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13933
15c579f0
SM
139342013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13935
13936 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13937 (electric-pair-post-self-insert-function): Use it.
13938 (electric-pair-default-inhibit): New function, extracted from
13939 electric-pair-post-self-insert-function.
13940
a77e2924
RW
139412013-03-31 Roland Winkler <winkler@gnu.org>
13942
13943 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13944
2bd8a4a8
SM
139452013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13946
13947 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13948
8d3655be 139492013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13950
13951 Un-indent after "pass" and "return" statements (Bug#13888)
13952 * progmodes/python.el (python-indent-block-enders): New var.
13953 (python-indent-calculate-indentation): Use it.
13954
8d3655be 139552013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13956
13957 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13958 defun. Defining it as defalias could introduce too eager
13959 byte-compiler optimization. (Bug#14030)
13960
8d3655be 139612013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13962
13963 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13964
0b1619da
LL
139652013-03-30 Leo Liu <sdl.web@gmail.com>
13966
13967 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13968 (kmacro-execute-from-register): Pass the keyboard macro to
13969 kmacro-call-macro or repeating won't work correctly.
13970
0b938190
TZ
139712013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13972
13973 * progmodes/subword.el: Back to using `forward-symbol'.
13974
13975 * subr.el (forward-whitespace, forward-symbol)
13976 (forward-same-syntax): Move from thingatpt.el.
13977
35710234
LL
139782013-03-29 Leo Liu <sdl.web@gmail.com>
13979
13980 * kmacro.el (kmacro-to-register): New command.
13981 (kmacro-execute-from-register): New function.
13982 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13983
efc0bb73
SM
139842013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13985
13986 * mpc.el: Use defvar-local and setq-local.
13987 (mpc--proc-connect): Connection failures are not bugs.
13988 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13989 (mpc-volume-map): Bind to the up-events.
13990
75a2f981
TZ
139912013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13992
13993 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13994 instead of `forward-symbol'.
13995
17c781d1
SM
139962013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13997
13998 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13999 (edebug--recursive-edit): Use it.
14000 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14001 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14002
f67bfbcf
LL
140032013-03-28 Leo Liu <sdl.web@gmail.com>
14004
14005 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14006
b59f639d
EZ
140072013-03-27 Eli Zaretskii <eliz@gnu.org>
14008
14009 * facemenu.el (list-colors-callback): New defvar.
14010 (list-colors-redisplay): New function.
14011 (list-colors-display): Install list-colors-redisplay as the
14012 revert-buffer-function. (Bug#14063)
14013
f557c1b1
SM
140142013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14015
b1da2957
SM
14016 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14017 and suffixes don't overlap (bug#14061).
14018
f557c1b1
SM
14019 * case-table.el: Use lexical-binding.
14020 (case-table-get-table): New function.
14021 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14022
002668e1
TZ
140232013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14024
14025 * progmodes/subword.el: Add `superword-mode' to do word motion
14026 over symbol_words (parallels and leverages `subword-mode' which
14027 does word motion inside MixedCaseWords).
14028
73572c72
AG
140292013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14030
78b8f320 14031 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 14032 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 14033
69b2c07e
SM
140342013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14037 Change return value to be a sexp. Delay `get-buffer' to after
14038 restoring the desktop (bug#13951).
14039
08bb5ee2
LL
140402013-03-26 Leo Liu <sdl.web@gmail.com>
14041
14042 * register.el: Move semantic tag handling back to
14043 cedet/semantic/senator.el. (Bug#14052)
14044
8d4c974e
SM
140452013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14046
14047 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14048 into the prompt either (bug#13963).
14049
b234d92c
SM
140502013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14053 part of "(error-foo)".
14054
ddfa3cb4
JL
140552013-03-24 Juri Linkov <juri@jurta.org>
14056
14057 * replace.el (list-matching-lines-prefix-face): New defcustom.
14058 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14059 `occur-engine' if `face-differs-from-default-p' returns t.
14060 (occur-engine): Add `,' inside backquote construct to evaluate
14061 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14062 Pass `prefix-face' to the functions `occur-context-lines' and
14063 `occur-engine-add-prefix'.
14064 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14065 `prefix-face' and propertize the prefix with `prefix-face'.
14066 (Bug#14017)
14067
7b0e2f85
LL
140682013-03-24 Leo Liu <sdl.web@gmail.com>
14069
14070 * nxml/rng-valid.el (rng-validate-while-idle)
14071 (rng-validate-quick-while-idle): Guard against deleted buffer.
14072 (Bug#13999)
14073
14074 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14075 is the last entry in kill-buffer-hook.
14076
14077 * files.el (kill-buffer-hook): Doc fix.
14078
b3082f49
DG
140792013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14080
b234d92c
SM
14081 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14082 Make it safe-local.
bde73d27 14083
b3082f49
DG
14084 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14085
a320a2db
LL
140862013-03-23 Leo Liu <sdl.web@gmail.com>
14087
7e74b0fb
LL
14088 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14089 Remove.
14090
14091 * nxml/rng-valid.el (rng-validate-mode)
14092 (rng-after-change-function, rng-do-some-validation):
14093 * nxml/rng-maint.el (rng-validate-buffer):
14094 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14095 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14096 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14097 (nxml-extend-after-change-region): Use with-silent-modifications.
14098
a320a2db
LL
14099 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14100 timer-idle-list.
14101
14102 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14103 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14104 timer-idle-list. (Bug#13999)
14105
e38e6780
JL
141062013-03-23 Juri Linkov <juri@jurta.org>
14107
14108 * info.el (info-index-match): New face.
14109 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14110 main pattern and add text properties with the new face to matches
14111 in index entries relative to the beginning of the index entry.
14112 (Bug#14015)
14113
e8cc7880
DE
141142013-03-21 Eric Ludlam <zappo@gnu.org>
14115
39c87140 14116 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14117 Inhibit read only while inserting objects.
14118
9bb0d822
TZ
141192013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14120
14121 * progmodes/cfengine.el: Update docs to mention
14122 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14123 symbol motion. Remove "_" from the word syntax.
14124
aa703640
TZ
141252013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14126
14127 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14128 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14129
afff09d0
JL
141302013-03-20 Juri Linkov <juri@jurta.org>
14131
14132 * info.el (Info-next-reference-or-link)
14133 (Info-prev-reference-or-link): New functions.
14134 (Info-next-reference, Info-prev-reference): Use them.
14135 (Info-try-follow-nearest-node): Handle footnote navigation.
14136 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14137
9a1ff164
SM
141382013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14139
14140 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14141 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14142
2667d15d
PE
141432013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14144
14145 Suppress unnecessary non-ASCII chatter during build process.
14146 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14147 (batch-skkdic-convert): Suppress most of the chatter.
14148 It's not needed so much now that machines are faster,
14149 and its non-ASCII component was confusing; see Dmitry Gutov in
14150 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14151
438b0579
LL
141522013-03-20 Leo Liu <sdl.web@gmail.com>
14153
14154 * ido.el (ido-chop): Fix bug#10994.
14155
c128ab07
DG
141562013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14157
14158 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14159 Remove vars.
9a1ff164
SM
14160 (whitespace-color-on, whitespace-color-off):
14161 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14162
0e6008c5
SM
141632013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14166 remapping in mode-line.
14167 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14168
627b52b0
DG
141692013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14170
14171 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14172 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14173 (whitespace-font-lock-keywords): Change description.
14174 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14175 the constructed keywords instead.
14176 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14177
50c3a20b
LL
141782013-03-19 Leo Liu <sdl.web@gmail.com>
14179
14180 * progmodes/compile.el (compilation-display-error): New command.
14181 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14182 C-o. (Bug#13992)
14183
2aa2157b
PE
141842013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14185
14186 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14187
e477dbfa
JD
141882013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14189
14190 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14191
64ab82d1
MA
141922013-03-18 Michael Albinus <michael.albinus@gmx.de>
14193
14194 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14195
14196 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14197 * net/tramp-gvfs.el (top):
14198 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14199 (tramp-handle-shell-command): Use it.
14200 (tramp-dissect-file-name): Raise an error when hostname is a
14201 method name, and neither method nor user is specified.
14202
14203 * net/trampver.el: Update release number.
14204
33cef733
LL
142052013-03-18 Leo Liu <sdl.web@gmail.com>
14206
14207 Make sure eldoc can be turned off properly.
14208 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14209 eldoc-mode.
14210 (eldoc-display-message-p): Revert last change.
14211 (eldoc-display-message-no-interference-p)
14212 (eldoc-print-current-symbol-info): Tweak.
14213
2167b7b2
TH
142142013-03-18 Tassilo Horn <tsdh@gnu.org>
14215
14216 * doc-view.el (doc-view-new-window-function): Check the new window
14217 overlay's display property instead the char property of the
14218 buffer's first char. Use `with-selected-window' instead of
14219 `save-window-excursion' with `select-window'.
14220 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14221 display property instead the char property of the buffer's first char.
2167b7b2 14222
982efbcd
PE
142232013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14224
14225 Automate the build of ja-dic.el (Bug#13984).
14226 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14227 from the input, rather than assume that it's been done for us by the
14228 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14229 the current date into a ja-dic.el comment, as that complicates
14230 regression testing.
14231
2fcc7665
SM
142322013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14233
14234 * whitespace.el: Fix double evaluation.
14235 (whitespace-space, whitespace-hspace, whitespace-tab)
14236 (whitespace-newline, whitespace-trailing, whitespace-line)
14237 (whitespace-space-before-tab, whitespace-indentation)
14238 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14239 obsolete defvars.
14240 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14241 (whitespace-color-on): Use a single font-lock-add-keywords call.
14242 Fix double-evaluation of face variables.
14243
67c0a6e6
MA
142442013-03-17 Michael Albinus <michael.albinus@gmx.de>
14245
2fcc7665
SM
14246 * net/tramp-adb.el (tramp-adb-parse-device-names):
14247 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14248 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14249
69489f1d
LL
142502013-03-17 Leo Liu <sdl.web@gmail.com>
14251
14252 Extend eldoc to display info in the mode-line. (Bug#13978)
14253 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14254 (eldoc-mode-line-string): New variable.
14255 (eldoc-minibuffer-message): New function.
14256 (eldoc-message-function): New variable.
14257 (eldoc-message): Use it.
14258 (eldoc-display-message-p)
2fcc7665
SM
14259 (eldoc-display-message-no-interference-p):
14260 Support eldoc-post-insert-mode.
69489f1d
LL
14261
14262 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14263 (eval-expression): Run it.
14264
9c44569e
RW
142652013-03-17 Roland Winkler <winkler@gnu.org>
14266
14267 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14268 strings in the list of return values.
14269
327f1f6f
JB
142702013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14271
14272 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14273 radix before checking for HMS forms.
14274
67ed8fcd
LL
142752013-03-16 Leo Liu <sdl.web@gmail.com>
14276
14277 * progmodes/scheme.el: Add indentation and font-locking for λ.
14278 (Bug#13975)
14279
78be8b64 142802013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14281
14282 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14283 token before point (bug#13942).
14284
78be8b64 142852013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14286
95b43468 14287 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14288
98e775e6
EZ
142892013-03-16 Eli Zaretskii <eliz@gnu.org>
14290
14291 * startup.el (command-line-normalize-file-name): Fix handling of
14292 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14293 <xfq.free@gmail.com> in
14294 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14295
2edd6029
MA
142962013-03-15 Michael Albinus <michael.albinus@gmx.de>
14297
14298 Sync with Tramp 2.2.7.
14299
14300 * net/trampver.el: Update release number.
14301
d35f5864
TH
143022013-03-14 Tassilo Horn <tsdh@gnu.org>
14303
e903c210 14304 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14305 (doc-view-insert-image): Don't modify overlay associated to
14306 non-live windows, and implement horizontal centering of image in
14307 case it's smaller than the window.
14308 (doc-view-new-window-function): Force redisplay of new windows on
14309 doc-view buffers.
d35f5864 14310
1c4a85ed
KF
143112013-03-13 Karl Fogel <kfogel@red-bean.com>
14312
14313 * saveplace.el (save-place-alist-to-file): Don't sort
14314 `save-place-alist', just pretty-print it (bug#13882).
14315
85b66a21
MA
143162013-03-13 Michael Albinus <michael.albinus@gmx.de>
14317
a020afb9
JB
14318 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14319 Check whether `default-file-name-coding-system' is bound.
14320 It isn't in XEmacs.
85b66a21 14321
175600da
SM
143222013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14323
e7f7cb1a
SM
14324 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14325 backquotes for `obsolete' (bug#13929).
14326
175600da
SM
14327 * international/mule.el (find-auto-coding): Include file name in
14328 obsolescence warning (bug#13922).
14329
ca68a22e
TZ
143302013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14331
14332 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14333 for CFEngine 3-specific indentation.
14334 (cfengine3-indent-line): Use it. Fix up category regex.
14335 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14336
940e5099
SM
143372013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * type-break.el (type-break-file-name):
14340 * textmodes/remember.el (remember-data-file):
14341 * strokes.el (strokes-file):
14342 * shadowfile.el (shadow-initialize):
14343 * saveplace.el (save-place-file):
14344 * ps-bdf.el (bdf-cache-file):
14345 * progmodes/idlwave.el (idlwave-config-directory):
14346 * net/quickurl.el (quickurl-url-file):
14347 * international/kkc.el (kkc-init-file-name):
14348 * ido.el (ido-save-directory-list-file):
14349 * emulation/viper.el (viper-custom-file-name):
14350 * emulation/vip.el (vip-startup-file):
14351 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14352 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14353
cc725808
PE
143542013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14355
14356 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14357 * language/thai-word.el: Switch to UTF-8.
14358
a020afb9 14359See ChangeLog.16 for earlier changes.
e3d51b27
MR
14360
14361;; Local Variables:
14362;; coding: utf-8
e3d51b27
MR
14363;; End:
14364
ba318903 14365 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14366
14367 This file is part of GNU Emacs.
14368
14369 GNU Emacs is free software: you can redistribute it and/or modify
14370 it under the terms of the GNU General Public License as published by
14371 the Free Software Foundation, either version 3 of the License, or
14372 (at your option) any later version.
14373
14374 GNU Emacs is distributed in the hope that it will be useful,
14375 but WITHOUT ANY WARRANTY; without even the implied warranty of
14376 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14377 GNU General Public License for more details.
14378
14379 You should have received a copy of the GNU General Public License
14380 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.