Doc tweaks related to file locking
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
11ee65af
GM
12014-03-26 Glenn Morris <rgm@gnu.org>
2
3 * files.el (lock-buffer, unlock-buffer, file-locked-p):
4 Remove fallback aliases, since they are always defined now.
5
1edb4a2e
DC
62014-03-24 Daniel Colascione <dancol@dancol.org>
7
8 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
9 instead of cl-loop search function.
10
7a31038f
G
112014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
12
13 * calendar/parse-time.el (parse-time-iso8601-regexp)
14 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
15 it more generally.
16
172014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
18
19 * net/dns.el (network-interface-list): Define for XEmacs.
20
212014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
22
23 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
24 the network interfaces changed.
25 (dns-query): Use it to flush the data.
26
835af719
JB
272014-03-23 Juanma Barranquero <lekktu@gmail.com>
28
29 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
30
6ddc4422
DC
312014-03-23 Daniel Colascione <dancol@dancol.org>
32
33 Change subword-mode to use `find-word-boundary-function-table' and
34 replace `capitalized-words-mode'. Also, convert to lexical
35 binding.
36
37 * progmodes/cap-words.el: Delete now-obsolete file.
38 * progmodes/subword.el: Reimplement using
39 `find-word-boundary-function-table'.
40 (subword-mode-map): Hollow out.
41 (capitalized-words-mode): Define as obsolete alias for
42 `subword-mode'.
43 (subword-mode,superword-mode): Tweak documentation to reflect new
44 implementation; call `subword-setup-buffer'.
45 (subword-forward,subword-capitalize): Add underscore to indicate
46 unused variable.
47 (subword-find-word-boundary-function-table): New constant.
48 (subword-empty-char-table): New constant.
49 (subword-setup-buffer): New function.
50 (subword-find-word-boundary): New function.
51
c6b0fbe7
DC
522014-03-23 Daniel Colascione <dancol@dancol.org>
53
54 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
55 list to look for keyword arguments instead of `memq', fixing
56 (Bug#3647) --- unfortunately, only for freshly-compiled code.
57 Please make bootstrap.
58
5076d275
GM
592014-03-22 Glenn Morris <rgm@gnu.org>
60
5dbc3244
GM
61 * dired.el (dired-read-regexp): Make obsolete.
62 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
63 (dired-flag-files-regexp):
64 * dired-aux.el (dired-mark-read-regexp):
65 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
66
00156f95
GM
67 * startup.el (fancy-startup-text):
68 * help.el (describe-gnu-project): Visit online info about GNU project.
69
f9c81e7b
GM
70 * help-fns.el (help-fns--interactive-only): New function.
71 (help-fns-describe-function-functions): Add the above function.
72 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
73 (next-line, previous-line): Remove hand-written interactive-only
74 information from doc strings, it is auto-generated now.
75 * bookmark.el (bookmark-write):
76 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
77 (epa-mail-import-keys): Mark interactive-only,
78 and remove hand-written interactive-only information from doc strings.
79 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
80 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
81 * files.el (not-modified):
82 * simple.el (mark-whole-buffer): Mark interactive-only.
83
5076d275
GM
84 * emacs-lisp/byte-run.el (defun-declarations-alist):
85 Add interactive-only. Doc tweak.
86 (macro-declarations-alist): Doc tweak.
87 * subr.el (declare): Doc tweak (add xref to manual).
88 * comint.el (comint-run):
89 * files.el (insert-file-literally, insert-file):
90 * replace.el (replace-string, replace-regexp):
91 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
92 (delete-forward-char, goto-line, insert-buffer, next-line)
93 (previous-line): Set interactive-only via declare.
94
1197f2e6
DG
952014-03-22 Dmitry Gutov <dgutov@yandex.ru>
96
97 * emacs-lisp/package.el (package-desc): Use the contents of the
98 quoted form, not its cdr. (Bug#16873)
99
aac06179
JB
1002014-03-22 Juanma Barranquero <lekktu@gmail.com>
101
102 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
103 benefit of doc.c; change parameter profile to match the X function.
104
3e7bc044
LL
1052014-03-22 Leo Liu <sdl.web@gmail.com>
106
107 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
108 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
109
59271b3e
RS
1102014-03-21 Richard Stallman <rms@gnu.org>
111
8266cd88
RS
112 * battery.el (battery-linux-sysfs): Search for each field
113 from the beginning of the buffer.
114
16ec0742
RS
115 * subr.el (set-transient-map): Clear out function and value
116 of the temporary symbol when we're done with it.
117
59271b3e
RS
118 * mail/rmailsum.el (rmail-summary-delete-forward):
119 Optimize case of reaching end and handling count.
120 (rmail-summary-mark-deleted): Optimize when N is current msg.
121 Don't create new summary line.
122 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
123 (rmail-summary-undelete-many): Rewrite for speed.
124 (rmail-summary-msg-number): New function.
125
126 * mail/rmail.el (rmail-delete-message): Update summary.
127 (rmail-undelete-previous-message): Handle repeat count arg.
128 (rmail-delete-backward, rmail-delete-forward): Likewise.
129
0d8ac93e
DC
1302014-03-21 Daniel Colascione <dancol@dancol.org>
131
132 * mail/emacsbug.el (report-emacs-bug): Include memory usage
133 information in bug reports.
134
1e92a8a3
MA
1352014-03-21 Michael Albinus <michael.albinus@gmx.de>
136
137 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
138 and `tramp-copy-env'.
139
140 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
141 (tramp-maybe-open-connection): Handle `tramp-login-env'.
142
78540c42
GM
1432014-03-21 Glenn Morris <rgm@gnu.org>
144
145 * electric.el (electric-indent-post-self-insert-function): Add doc.
146
1fc8f655
DG
1472014-03-21 Dmitry Gutov <dgutov@yandex.ru>
148
dcf78667
DG
149 * emacs-lisp/package.el (package-compute-transaction):
150 Use `version-list-<=' to compare the requirement version against
151 the version of package already to be installed. Update the error
152 message. (Bug#16826)
153
1fc8f655
DG
154 * progmodes/ruby-mode.el (ruby-smie-rules):
155 Add indentation rule for ` @ '. (Bug#17050)
156
dada060d
JB
1572014-03-21 Juanma Barranquero <lekktu@gmail.com>
158
159 * align.el (align-regexp): Remove superfluous backslash.
160
161 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
162 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
163 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
164 Fix docstring typos.
165 (ffap-next): Use C-u in docstring.
166 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
167 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
168 Remove superfluous backslashes.
169 (ffap-string-at-point): Reflow docstring.
170
171 * server.el (server-host): Reflow docstring.
172 (server-unload-function): Fix docstring typo.
173 (server-eval-at): Remove superfluous backslash.
174
175 * skeleton.el (skeleton-insert): Remove superfluous backslash.
176 (skeleton-insert): Doc fix.
177 (skeleton-insert): Reflow docstring.
178
179 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
180 (tty-color-approximate, tty-color-by-index, tty-color-values)
181 (tty-color-desc): Remove superfluous backslashes.
182
f428101f
GM
1832014-03-21 Glenn Morris <rgm@gnu.org>
184
26e91130
GM
185 * cus-start.el (history-length): Bump :version.
186
aa3a7b51
GM
187 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
188 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
189 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
190 Don't set `make-backup-files'.
191
f428101f
GM
192 * info.el (info--prettify-description): New function,
193 to give info-finder descriptions consistent case, punctuation.
194 (Info-finder-find-node): Use it. Sort packages.
195 Refer to "description" rather than "commentary".
196
6ce1b56e
JB
1972014-03-21 Juanma Barranquero <lekktu@gmail.com>
198
199 * frameset.el (frameset--print-register): New function.
200 (frameset-to-register): Use it.
201
b730af26
JB
2022014-03-20 Juanma Barranquero <lekktu@gmail.com>
203
45393801
JB
204 * progmodes/hideif.el (hif-string-to-number): New function.
205 (hif-tokenize): Use it to understand non-decimal floats.
206
814e26fa
JB
207 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
208
b730af26
JB
209 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
210
049fac7c
SM
2112014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
212
494ec1e7
SM
213 * electric.el (electric-newline-and-maybe-indent): New command.
214 Bind it globally to C-j.
215 (electric-indent-mode): Don't mess with the global map any more.
216 Don't drop the post-self-insert-hook is some buffer is still using it
217 (bug#16770).
218 * bindings.el (global-map): Remove C-j binding.
219
049fac7c
SM
220 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
221 the docstring of functions advised before dumping (bug#16993).
222
f15ec1ba 2232014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
224
225 * ps-print.el (ps-generate-postscript-with-faces):
226 Explicitly deactivate the mark (bug#16866).
227 * simple.el (deactivate-mark): Update region highlight.
228
f88bdc45
JB
2292014-03-19 Juanma Barranquero <lekktu@gmail.com>
230
231 * emacs-lisp/package.el (describe-package-1):
232 Decode commentary (bug#16733).
233
6b88e570
JB
2342014-03-18 Juanma Barranquero <lekktu@gmail.com>
235
236 * custom.el (defcustom): Doc fix: recommend avoiding destructive
237 modification of the value argument of :set (bug#16755).
238
ac9b4703
SM
2392014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * simple.el (newline-and-indent): Do autofill (bug#17031).
242
2b7858ec
DG
2432014-03-18 Dmitry Gutov <dgutov@yandex.ru>
244
245 * newcomment.el (comment-normalize-vars): Only add escaping check
246 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
247 (comment-beginning): Use `narrow-to-region' instead of moving back
248 one character.
249 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
250 (comment-start-skip): Update the docstring.
251
11eff3ae
RS
2522014-03-18 Richard Stallman <rms@gnu.org>
253
254 * dired.el (dired-display-file): Force use of other window.
255
07f44fdb
JB
2562014-03-18 Daniel Colascione <dancol@dancol.org>
257
258 * startup.el (tty-handle-args): Remove debug message from 2007.
259
2602014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
261
262 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
263 (advice--make-interactive-form): Use it to avoid (auto)loading function.
264 (advice--make-1, advice-add, advice-remove):
265 Remove braindead :advice-pending hack.
266
61debe4a
GM
2672014-03-17 Glenn Morris <rgm@gnu.org>
268
269 * calendar/calendar.el (calendar-generate-month): Apply weekend
270 face to the right days; fixes 2013-08-06 change. (Bug#17028)
271
8273986b
MA
2722014-03-17 Michael Albinus <michael.albinus@gmx.de>
273
274 * net/tramp.el (tramp-action-out-of-band): Read pending output.
275 (tramp-call-process): Trace also DESTINATION.
276
277 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
278 Quote file names when they are local. Remove superfluous trace.
279
4f8aeb84
DG
2802014-03-17 Dmitry Gutov <dgutov@yandex.ru>
281
218feefc
DG
282 * newcomment.el (comment-beginning): If `comment-start-skip'
283 doesn't match, move back one char and try again. (Bug#16971)
284
6c187ef5
SM
285 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
286 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
287 Set `comment-start-skip' to a simpler value that doesn't try to
288 check if the semicolon is escaped (this is handled by
289 `syntax-ppss' now). (Bug#16971)
290
291 * progmodes/scheme.el (scheme-mode-variables): Same.
292
b92631bf
MR
2932014-03-16 Martin Rudalics <rudalics@gmx.at>
294
295 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
296 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
297 current (Bug#16816, Bug#17007).
298 (with-current-buffer-window): New macro doing the same as
299 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
300 * help.el (help-print-return-message): Warn in doc-string to not
301 use this in `with-help-window'.
302 (describe-bindings-internal): Call `describe-buffer-bindings'
303 from within help buffer. See Juanma's scenario in (Bug#16816).
304 (with-help-window): Update doc-string.
305 * dired.el (dired-mark-pop-up):
306 * files.el (save-buffers-kill-emacs):
307 * register.el (register-preview): Use `with-current-buffer-window'
308 instead of `with-temp-buffer-window'.
309
57348c4d
JB
3102014-03-16 Juanma Barranquero <lekktu@gmail.com>
311
312 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
313 Implement inserting into current buffer, documented in their docstrings.
314 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
315 (rst-section-tree-point, rst-forward-section, rst-indent)
316 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
317 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
318 (rst-font-lock-handle-adornment-pre-match-form)
319 (rst-repeat-last-character): Reflow docstrings.
320 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
321 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
322 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
323 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
324 Fix docstring typos.
325 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
326 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
327 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
328
fd16b061
JB
3292014-03-15 Juanma Barranquero <lekktu@gmail.com>
330
a2403e3d
JB
331 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
332 for compatibility with other ports.
333 (ns-initialize-window-system): Use it. It is set in term/common-win.el
334 from the -xrm command line argument, but in the Nextstep port its value
335 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
336
fd16b061
JB
337 * progmodes/python.el (defconst, python-syntax-count-quotes)
338 (python-indent-region, python-indent-shift-right)
339 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
340 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
341 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
342 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
343 (inferior-python-mode, python-shell-make-comint, run-python-internal)
344 (python-shell-buffer-substring, python-shell-send-buffer)
345 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
346 (python-completion-complete-at-point, python-fill-docstring-style)
347 (python-eldoc-function, python-imenu-format-item-label)
348 (python-imenu-format-parent-item-label)
349 (python-imenu-format-parent-item-jump-label)
350 (python-imenu--build-tree, python-imenu-create-index)
351 (python-imenu-create-flat-index): Fix docstring typos.
352 (python-indent-context, python-shell-prompt-regexp, run-python):
353 Remove superfluous backslashes.
354 (python-indent-line, python-nav-beginning-of-defun)
355 (python-shell-get-buffer, python-shell-get-process)
356 (python-info-current-defun, python-info-current-line-comment-p)
357 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
358 (python-indent-post-self-insert-function, python-shell-send-file)
359 (python-shell-completion-get-completions)
360 (python-shell-completion-complete-or-indent)
361 (python-eldoc--get-doc-at-point): Reflow docstrings.
362
e94807f0
GM
3632014-03-14 Glenn Morris <rgm@gnu.org>
364
88103345
GM
365 * emacs-lisp/package.el (package-menu-mode-map):
366 Replace use of obsolete function alias. Tweak menu item text.
367
f2dd4ba8
GM
368 * info.el (Info-finder-find-node):
369 Ignore the `emacs' metapackage. (Bug#10813)
370
ac0f82ef
GM
371 * finder.el (finder-list-matches): Include unversioned packages
372 in the result of a keyword search.
373
e94807f0
GM
374 * finder.el (finder--builtins-descriptions): New constant.
375 (finder-compile-keywords): Use finder--builtins-descriptions.
376
50d434d1
DG
3772014-03-14 Dmitry Gutov <dgutov@yandex.ru>
378
379 * simple.el (blink-matching-paren): Describe the new value,
380 `jump', enabling the old behavior.
381 (blink-matching-open): Use that value. (Bug#17008)
382
56759cf1
GM
3832014-03-14 Glenn Morris <rgm@gnu.org>
384
459d74ef
GM
385 * finder.el (finder-no-scan-regexp): Add leim-list.
386 (finder-compile-keywords):
387 Don't skip files with same basename. (Bug#14010)
388 * Makefile.in (setwins_finder): New, excluding leim.
389 (finder-data): Use setwins_finder.
390
56759cf1
GM
391 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
392 (help-function-arglist, help-make-usage): Move from here...
393 * help.el (help-split-fundoc, help-add-fundoc-usage)
394 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
395 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
396
7644aa97
JB
3972014-03-14 Juanma Barranquero <lekktu@gmail.com>
398
399 * net/socks.el (socks, socks-override-functions)
fd16b061 400 (socks-find-services-entry):
7644aa97
JB
401 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
402 (hif-find-ifdef-block):
403 * progmodes/modula2.el (m2-indent): Fix docstring typos.
404
405 * net/tls.el (tls-program): Reflow docstring.
406
407 * progmodes/pascal.el (pascal-mode-abbrev-table)
408 (pascal-imenu-generic-expression, pascal-auto-endcomments)
409 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
410 (pascal-outline-mode): Fix docstring typos.
411 (pascal-mode): Let define-derived-mode document mode hook.
412 (pascal-uncomment-area): Reflow.
413 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
414
415 * progmodes/opascal.el (opascal-compound-block-indent)
416 (opascal-case-label-indent): Fix docstring typos.
417 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
418
1f44df94
DG
4192014-03-13 Dmitry Gutov <dgutov@yandex.ru>
420
07f44fdb
JB
421 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
422 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 423
0d71dfb3
TW
4242014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
425
426 * emacs-lisp/package.el (package--prepare-dependencies):
427 Accept requirements without explicit version (bug#14941).
428
d27a1a7b
JB
4292014-03-12 Juanma Barranquero <lekktu@gmail.com>
430
a5765a3d
JB
431 * register.el (register-separator, copy-to-register): Doc fixes.
432 (register-preview-default): Remove unnecessary call to concat.
433
d27a1a7b
JB
434 * frameset.el (frameset-restore): When checking for a visible frame,
435 use the action map instead of calling visible-frame-list.
436
08dfa0b7
JB
4372014-03-12 Jonas Bernoulli <jonas@bernoul.li>
438
439 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
440
8960529e
MR
4412014-03-12 Martin Rudalics <rudalics@gmx.at>
442
443 * window.el (fit-frame-to-buffer): Get maximum width from
444 display's width instead of height.
445
8a51e8e4
GM
4462014-03-12 Glenn Morris <rgm@gnu.org>
447
46456005
GM
448 * desktop.el (desktop-restore-frames)
449 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
450 (desktop-restore-reuses-frames): Doc tweaks.
451
8a51e8e4
GM
452 * electric.el (electric-indent-mode): Doc fix.
453
5983b317
JB
4542014-03-12 Juanma Barranquero <lekktu@gmail.com>
455
456 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
457 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
458 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
459 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
460 (cvs-dired-use-hook): Fix docstring typos.
461 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
462 Doc fixes.
463
464 * vc/pcvs-defs.el (cvs-auto-remove-handled)
465 (cvs-auto-remove-directories, cvs-default-ignore-marks)
466 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
467 (cvs-execute-single-dir): Fix docstring typos.
468
469 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
470 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
471
472 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
473
474 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
475 Fix docstring typos.
476
13c00cf0
JB
4772014-03-12 Juanma Barranquero <lekktu@gmail.com>
478
479 * frameset.el (frameset--jump-to-register): Add autoload; it could be
480 called from jump-to-register after unloading the frameset package.
481
536a17e3
SM
4822014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
485 (bug#16975). Deactivate the mark before setting it to nil.
486 (activate-mark): Do nothing if region is already active.
487
baf8d0ac
JB
4882014-03-11 Juanma Barranquero <lekktu@gmail.com>
489
490 * frameset.el (frameset--target-display): Remove definition; declare.
491 (frameset-save, frameset-restore): Let-bind frameset--target-display.
492
1ea22560
SM
4932014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
496 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
497 when the advice is pending.
498 (advice-remove): Remove this marker when not needed any more.
499
4538c058
JB
5002014-03-11 Juanma Barranquero <lekktu@gmail.com>
501
502 * frameset.el: Separate options for reusing frames and cleaning up.
503 (frameset--reuse-list): Remove definition; declare.
504 (frameset--action-map): Declare.
505 (frameset--find-frame-if): Doc fix.
506 (frameset--restore-frame): Cache frame action.
507 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
508 how to clean up the frame list after restoring. Remove cleaning
509 options from REUSE-FRAMES. Change all keyword values to symbols.
510 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
511
512 * desktop.el (desktop-restore-forces-onscreen)
513 (desktop-restore-reuses-frames): Use non-keyword values.
514 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
515
ba1a5c78
GM
5162014-03-10 Glenn Morris <rgm@gnu.org>
517
776aa432
GM
518 * files.el (find-file): Doc fix: update info node name.
519
ba1a5c78
GM
520 * emacs-lisp/advice.el (ad-add-advice, defadvice):
521 Doc fix: remove references to deleted info nodes.
522
183d706e
MA
5232014-03-10 Michael Albinus <michael.albinus@gmx.de>
524
525 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
526 Do not add `nil' to the environment, when there's no remote `locale'.
527 (tramp-find-inline-encoding): Check, that the remote host has
528 installed perl, before sending scripts.
529
6f0f96e7
LL
5302014-03-10 Leo Liu <sdl.web@gmail.com>
531
536a17e3
SM
532 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
533 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 534
ca70fe78
SM
5352014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
538 (bug#14430).
539
eb67db41
JL
5402014-03-09 Juri Linkov <juri@jurta.org>
541
542 * ansi-color.el (ansi-color-names-vector): Copy default colors
543 from `xterm-standard-colors' that look well on the default white
544 background (and also on the black background) to avoid illegible
8cf07e5a 545 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
546 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
547
e7db5447
JB
5482014-03-08 Juanma Barranquero <lekktu@gmail.com>
549
550 * frameset.el (frameset-restore): When no frame is visible, do not
551 generate a list of frames, just make visible the selected one.
552
f0a4c8d7
DG
5532014-03-08 Dmitry Gutov <dgutov@yandex.ru>
554
555 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
556 it only contains the repository root. (Bug#16897)
557
e50772e3
MA
5582014-03-07 Michael Albinus <michael.albinus@gmx.de>
559
560 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
561 only when `remote-file-name-inhibit-cache' is nil.
562 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
563
cac0a1d6
MR
5642014-03-06 Martin Rudalics <rudalics@gmx.at>
565
566 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
567 Fix doc-strings.
568 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
569 fit-frame-to-buffer variable. Fix doc-string.
570 (fit-window-to-buffer): Set ONLY argument in call of
571 fit-frame-to-buffer. Fix doc-string.
572
fa965cbf
MA
5732014-03-06 Michael Albinus <michael.albinus@gmx.de>
574
575 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
576 (tramp-action-password): Clear password cache if needed.
577 (tramp-read-passwd): Do not clear password cache.
578
579 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
580 cache unless it is the first password request.
581
c94e6ee4
GM
5822014-03-06 Glenn Morris <rgm@gnu.org>
583
03bc753e
GM
584 * simple.el (newline): Doc tweak.
585
c94e6ee4
GM
586 * emacs-lisp/shadow.el (load-path-shadows-find):
587 Ignore dir-locals. (Bug#12357)
588
bd2d43dc
GM
5892014-03-05 Glenn Morris <rgm@gnu.org>
590
591 * files.el (interpreter-mode-alist):
592 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
593
9284000e
JB
5942014-03-05 Juanma Barranquero <lekktu@gmail.com>
595
596 * frameset.el (frameset--initial-params): Filter out null entries.
597
e1a2cb1c
MR
5982014-03-05 Martin Rudalics <rudalics@gmx.at>
599
27821a89
JB
600 * window.el (window-min-height, window-min-width):
601 Rewrite doc-strings.
e1a2cb1c
MR
602 (window-body-size): Add PIXELWISE argument to make it consistent
603 with its callees.
604
6bf67038
JB
6052014-03-05 Juanma Barranquero <lekktu@gmail.com>
606
607 * finder.el (finder-mode-map, finder-mode-syntax-table):
608 Revert part of 2014-02-28 change.
609
90f04e4c
LI
6102014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
611
612 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
613 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
614 (eww-textarea-map): [tab] doesn't work on tty.
615 Reported by Mario Lang.
6952100d
LI
616
617 * net/shr.el (shr-map): Ditto.
90f04e4c 618
3106d59b
GM
6192014-03-04 Glenn Morris <rgm@gnu.org>
620
621 * minibuffer.el (completion-hilit-commonality):
622 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
623
f604dfdc
JB
6242014-03-04 Juanma Barranquero <lekktu@gmail.com>
625
626 * hilit-chg.el (hilit-chg-unload-function): New function.
627 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
628 (hilit-chg-map-changes): Prefer cardinal number to digit.
629 (hilit-chg-display-changes): Reflow docstring.
630 (highlight-changes-rotate-faces): Remove superfluous backslash.
631
5dc65319
MA
6322014-03-04 Michael Albinus <michael.albinus@gmx.de>
633
634 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
635 `tramp-send-command-and-check'.
636
4242d21d
JB
6372014-03-04 Juanma Barranquero <lekktu@gmail.com>
638
b01fa838
JB
639 * hexl.el (hexl-address-region, hexl-ascii-region)
640 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
641 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
642 (hexl-forward-word, hexl-previous-line, hexl-next-line):
643 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
644 (hexl-mode): Doc fix.
645 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
646 (hexl-mode-ruler): Fix typos in docstrings.
647
4242d21d
JB
648 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
649 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
650 Remove superfluous backslashes.
651 (strokes-last-stroke, strokes-global-map, strokes-mode):
652 Reflow docstrings.
653 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
654 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
655 (strokes-distance-squared, strokes-global-set-stroke)
656 (strokes-global-set-stroke-string): Doc fixes.
657 (strokes-help): Fix typos; reflow docstring.
658
87132570
MR
6592014-03-04 Martin Rudalics <rudalics@gmx.at>
660
661 * window.el (window-in-direction): Fix doc-string.
662
d82e752c
GM
6632014-03-04 Glenn Morris <rgm@gnu.org>
664
665 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
666 Explicit error if no grammar.
667 (smie-config-save): Doc fix. Fix quote typo.
668
62528af0
SM
6692014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
670
8d4901dc
SM
671 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
672 electric-indent-mode-hook if we obey electric-indent-mode.
673 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
674 decide whether we obey electric-indent-mode.
675 (c-change-set-fl-decl-start, c-extend-after-change-region):
676 Silence warnings.
677 (c-electric-indent-mode-hook): Assume we do want to obey
678 electric-indent-mode.
679
680 * electric.el (electric-indent-mode-has-been-called): Remove.
681 (electric-indent-mode): Fix accordingly.
682
092c12b2
SM
683 * files.el (hack-local-variables): Mention file name in warning.
684
62528af0
SM
685 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
686
5b87d0d9
MN
6872014-03-04 Michal Nazarewicz <mina86@mina86.com>
688
689 * binding.el: Add comment describing why C-d binds to `delete-char'.
690 * simple.el (delete-forward-char): Mark as interactive-only.
691
542a3840
JB
6922014-03-03 Juanma Barranquero <lekktu@gmail.com>
693
f2d2402e
GM
694 * icomplete.el (icomplete-completions):
695 Follow-up to 2014-03-01 change.
d11320e5
JB
696
697 * icomplete.el: Miscellaneous doc fixes.
698 Use Icomplete everywhere instead of icomplete for consistency.
699 (icomplete-max-delay-chars): Fix typo.
700 (icomplete-mode): Use \[].
701 (icomplete-tidy, icomplete-exhibit): Reflow.
702 (icomplete-minibuffer-setup-hook, icomplete-completions):
703 Remove superfluous backlashes.
704
705 * ido.el: Miscellaneous doc fixes.
706 Use Ido everywhere instead of ido or `ido' for consistency.
707 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
708 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
709 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
710 (ido-separator): Extract obsolescence info from docstring and declare
711 with make-obsolete-variable.
712 (ido-minibuffer-setup-hook): Simplify example.
713 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
714 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
715 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
716 (ido-everywhere): Reflow docstring.
717 (ido-toggle-vc): Doc fix.
718 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
719 of long list of keybindings.
720
7ebd57e9
GM
7212014-03-03 Glenn Morris <rgm@gnu.org>
722
723 * frame.el (display-pixel-height, display-pixel-width)
724 (display-mm-dimensions-alist, display-mm-height)
725 (display-mm-width): Doc tweaks.
726
35e951cd 7272014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
728
729 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
730 case of undo in region.
731
b923819c
MR
7322014-03-02 Martin Rudalics <rudalics@gmx.at>
733
734 * window.el (fit-window-to-buffer): Fix argument in window-size
735 call when window is horizontally combined.
736
b6e443c5
JB
7372014-03-02 Juanma Barranquero <lekktu@gmail.com>
738
739 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 740 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 741
1850913d
DG
7422014-03-01 Dmitry Gutov <dgutov@yandex.ru>
743
35e951cd
JB
744 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
745 Highlight regexp options. (Bug#16914)
1850913d 746
04b577b6
MR
7472014-03-01 Martin Rudalics <rudalics@gmx.at>
748
749 * window.el (window--max-delta-1): Round down when calculating
750 how many lines/columns we can get from a window.
751
b829360f
GM
7522014-03-01 Glenn Morris <rgm@gnu.org>
753
2501c912
GM
754 * isearch.el (search-invisible): Doc fix.
755
b829360f
GM
756 * minibuffer.el (completion-hilit-commonality):
757 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
758 * comint.el (comint-dynamic-list-completions): Doc fix.
759 * comint.el (comint-dynamic-list-completions):
760 * filecache.el (file-cache-minibuffer-complete):
761 * tempo.el (tempo-display-completions):
762 * eshell/em-hist.el (eshell-list-history):
763 Replace use of obsolete argument of display-completion-list.
764
9a155058
JB
7652014-03-01 Juanma Barranquero <lekktu@gmail.com>
766
767 * icomplete.el (icomplete-completions):
768 Revert back to using "..." when ?… cannot be displayed.
769
53f6cda8
JB
7702014-02-28 Juanma Barranquero <lekktu@gmail.com>
771
772 * finder.el (finder-unload-function): New function.
773
43977c23
JB
7742014-02-28 Juanma Barranquero <lekktu@gmail.com>
775
776 * dframe.el (dframe-detach):
777 * find-dired.el (find-dired, find-name-dired):
778 * finder.el (finder-mode-map, finder-mode-syntax-table)
779 (finder-headmark, finder-select, finder-mouse-select):
780 Fix docstring typos.
781
9dda75ad
MR
7822014-02-28 Martin Rudalics <rudalics@gmx.at>
783
784 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
785 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
786 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
787 Fix doc-string based on a suggestion by Nicolas Richard
788 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
789 * help.el (with-help-window): Fix doc-string.
790
8a73034e
IK
7912014-02-28 Ivan Kanis <ivan@kanis.fr>
792
b70257b0
GM
793 * net/shr.el (shr-image-animate): New option.
794 (shr-put-image): Respect shr-image-animate.
8a73034e 795
245aa73e
MA
7962014-02-28 Michael Albinus <michael.albinus@gmx.de>
797
798 * net/tramp-adb.el (tramp-adb-parse-device-names):
799 Use `accept-process-output'.
800 (tramp-adb-handle-file-truename): Cache the localname only.
801 (tramp-adb-handle-make-directory)
802 (tramp-adb-handle-delete-directory): Flush file properties correctly.
803 (tramp-adb-handle-set-file-modes): Do not raise an error when file
804 modes cannot be changed.
805
806 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
807 file properties of symlinks.
808
48e15d64
PS
8092014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
810
811 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
812 required/optional fields to match development biblatex. (Bug#16781)
813
65b77347
AS
8142014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
815
816 * saveplace.el (toggle-save-place):
817 Fix argument handling. (Bug#16673)
818
5e618aba
GM
8192014-02-28 Glenn Morris <rgm@gnu.org>
820
821 * minibuffer.el (completions-first-difference)
822 (completions-common-part, completion-hilit-commonality): Doc fixes.
823
6deb314e
KB
8242014-02-28 Karl Berry <karl@gnu.org>
825
826 * info.el (Info-mode-map): Add H for describe-mode,
827 to synchronize with standalone Info.
828
289996f5
EL
8292014-02-28 Emilio C. Lopes <eclig@gmx.net>
830
831 * progmodes/sql.el (sql-interactive-mode):
832 Avoid setting global comint-input-ring-separator. (Bug#16814)
833
79fc1191
MA
8342014-02-27 Michael Albinus <michael.albinus@gmx.de>
835
836 * net/dbus.el (dbus--init-bus): Declare function.
837 (dbus-path-local, dbus-interface-local): New defconst.
838 (dbus-init-bus): Use them.
839 (dbus-return-values-table): Extend doc.
840 (dbus-handle-bus-disconnect): Extend error message.
841
298520df
JB
8422014-02-27 Juanma Barranquero <lekktu@gmail.com>
843
844 * subr.el (y-or-n-p): Fix double space issue in message.
845
c22c1614
MA
8462014-02-27 Michael Albinus <michael.albinus@gmx.de>
847
848 * net/tramp.el (tramp-call-process): Improve trace message.
849 (tramp-handle-insert-file-contents): Trace error case.
850
851 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
852 <insert-directory>: Use `tramp-handle-insert-directory'.
853 (tramp-adb-handle-insert-directory): Remove function.
854 (tramp-adb-send-command-and-check): New defun, replacing
855 `tramp-adb-command-exit-status'. Change all callees.
856 (tramp-adb-handle-file-attributes)
857 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
858 (tramp-adb-ls-output-name-less-p):
859 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
860 (tramp-adb-handle-delete-directory): Flush also file properties of
861 the truename of directory.
862 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
863 (tramp-adb-handle-file-local-copy): Make the local copy readable.
864 (tramp-adb-handle-write-region): Implement APPEND.
865 (tramp-adb-handle-rename-file): Make it more robust. Flush file
866 properties correctly.
867 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
868 variables. Check for connected devices only when needed.
869
d9263618
GM
8702014-02-27 Glenn Morris <rgm@gnu.org>
871
ea7826ba
GM
872 * minibuffer.el (completion-table-dynamic)
873 (completion-table-with-cache): Doc fixes.
874
d9263618
GM
875 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
876 (completing-read-multiple): Doc fixes.
877
eff3168a
DC
8782014-02-27 Daniel Colascione <dancol@dancol.org>
879
51f213c3
DC
880 * minibuffer.el (completion--nth-completion): Fix indentation.
881
eff3168a
DC
882 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
883 explicit tramp path is empty.
884
b77cfcd7
GM
8852014-02-27 Glenn Morris <rgm@gnu.org>
886
887 * emacs-lisp/crm.el (completing-read-multiple):
888 Empower help-enable-auto-load.
889
9577b569
GM
8902014-02-26 Glenn Morris <rgm@gnu.org>
891
259887e8
GM
892 * startup.el (command-line): Don't init the tty in daemon mode.
893
1d491ef2
GM
894 Avoid calling tty-setup-hook twice, eg if a term file
895 explicitly calls tty-run-terminal-initialization. (Bug#16859)
896 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
897 (tty-create-frame-with-faces): Use it.
898 * startup.el (command-line): Pass run-hook argument
899 to tty-run-terminal-initialization.
900
9577b569
GM
901 * dired.el (dired-restore-desktop-buffer): Demote errors;
902 eg in case a glob match fails. (Bug#16884)
903
40ff7f86
DG
9042014-02-26 Dmitry Gutov <dgutov@yandex.ru>
905
b2388336
DG
906 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
907 error from `read-from-string'. (Bug#16850)
908
40ff7f86
DG
909 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
910 result of `completing-read' in the interactive form. (Bug#16854)
911
98bd6b32
GM
9122014-02-25 Glenn Morris <rgm@gnu.org>
913
f086804c
GM
914 * image.el (image-animate, image-animate-timeout):
915 Stop animating images in dead buffers. (Bug#16878)
916
c107155e
GM
917 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
918
9577b569
GM
919 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
920 Doc fixes.
98bd6b32
GM
921 * startup.el (term-setup-hook): Doc fix. Make obsolete.
922 * term/sun.el (sun-raw-prefix-hooks):
923 Use tty-setup-hook instead of term-setup-hook.
924 (terminal-init-sun): Construct message from bytecomp plist.
925 * term/wyse50.el (enable-arrow-keys): Doc fix.
926
9c9e18e8
JB
9272014-02-24 Juanma Barranquero <lekktu@gmail.com>
928
929 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
930 Fix docstring typos.
931
c848881f
MA
9322014-02-24 Michael Albinus <michael.albinus@gmx.de>
933
934 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
935
0e38ae05
NR
9362014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
937
938 * minibuffer.el (completion--try-word-completion):
939 Fix error when completing M-x commands (bug#16808).
940
8ee4c296
LL
9412014-02-24 Leo Liu <sdl.web@gmail.com>
942
943 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
944
7d4bd627
JB
9452014-02-24 Juanma Barranquero <lekktu@gmail.com>
946
947 * apropos.el (apropos-print): Avoid formatting error when
948 apropos-do-all and apropos-compact-layout are both t.
949
e918e27f
JB
9502014-02-23 Juanma Barranquero <lekktu@gmail.com>
951
952 * apropos.el (apropos-property, apropos-all-words-regexp)
953 (apropos-true-hit, apropos-variable, apropos-print):
954 Fix docstring typos, and remove obsolete comment.
955
85c01f80
MA
9562014-02-23 Michael Albinus <michael.albinus@gmx.de>
957
958 * net/tramp-sh.el (tramp-sh-handle-file-truename):
959 Preserve trailing "/". (Bug#16851)
960
62f95022
DG
9612014-02-23 Dmitry Gutov <dgutov@yandex.ru>
962
963 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
964 after `=>' (bug#16811).
dfdb365c
DG
965 (ruby-smie-rules): Handle the inconsistent second element of the
966 list returned by `smie-indent--parent'.
967 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
968 method call.
62f95022 969
025f2c81
JB
9702014-02-23 Juanma Barranquero <lekktu@gmail.com>
971
972 * elec-pair.el (electric-pair-text-syntax-table)
973 (electric-pair-syntax-info, electric-pair--syntax-ppss)
974 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
975 (electric-pair--looking-at-unterminated-string-p): Doc fix.
976 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
977
123c84f9
GM
9782014-02-22 Glenn Morris <rgm@gnu.org>
979
612c3e46
GM
980 * imenu.el (imenu--generic-function): Doc fix.
981
123c84f9
GM
982 * register.el (frame-configuration-to-register): Make obsolete.
983
e59fa9ad
JB
9842014-02-22 Juanma Barranquero <lekktu@gmail.com>
985
986 * desktop.el (desktop-save-buffer-p): Do not fail when
987 desktop-files-not-to-save is nil. Return t for true result
988 as the doc says.
989
4e652634
DC
9902014-02-22 Daniel Colascione <dancol@dancol.org>
991
27821a89 992 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
993 Check that attribute values are strings, avoiding the construction
994 of invalid dbus messages.
4e652634 995
f35affb6
JB
9962014-02-21 Juanma Barranquero <lekktu@gmail.com>
997
998 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
999 defun-declarations-alist.
1000
3d136b1b
SM
10012014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1004 (bug#16829).
1005
612ddfc0
JB
10062014-02-21 Juanma Barranquero <lekktu@gmail.com>
1007
1008 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1009 (whitespace-newline, whitespace-trailing, whitespace-line)
1010 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1011 (whitespace-space-after-tab): Fix typo in docstrings.
1012
c8481b1b
DG
10132014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1014
cb8f50a7
DG
1015 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1016
c8481b1b
DG
1017 * electric.el (electric-indent-functions-without-reindent):
1018 Add `yaml-indent-line'.
1019
bed5126f
JB
10202014-02-21 Juanma Barranquero <lekktu@gmail.com>
1021
34b71457
JB
1022 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1023 It has done nothing for years; should be removed after the release.
1024
bed5126f
JB
1025 * simple.el (choose-completion): Fix docstring typo.
1026 (read-quoted-char-radix): Remove unneeded * in docstring.
1027 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1028 Don't escape parentheses unnecessarily in docstrings.
1029
8dd3e94f
MR
10302014-02-21 Martin Rudalics <rudalics@gmx.at>
1031
1032 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1033 * window.el (window--dump-window, window--dump-frame):
1034 New functions.
1035 (window--min-size-1): Account for window dividers.
1036 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
1037 sum of the window components has been calculated.
1038 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1039 nil make sure at least one text line and two text columns remain
1040 fully visible.
1041 (window-resize): Signal an error when window-resize-apply fails.
1042 (window--resize-child-windows): Fix calculation of by how many
1043 pixels a window can still be shrunk via window-new-normal.
1044 (adjust-window-trailing-edge): Call window--resizable with
1045 correct TRAIL argument.
1046
2ed94e04
MR
1047 (with-temp-buffer-window): Don't evaluate BODY within
1048 with-current-buffer (Bug#16816).
1049
0e5324c4
MA
10502014-02-21 Michael Albinus <michael.albinus@gmx.de>
1051
1052 * net/tramp.el (tramp-check-cached-permissions):
1053 Call `file-attributes' with `suffix' being a symbol but a string.
1054
48198420
DC
10552014-02-21 Daniel Colascione <dancol@dancol.org>
1056
1057 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1058 (dbus-init-bus): New function: call into dbus-init-bus-1
1059 and installs a handler for the disconnect signal.
1060 (dbus-call-method): Rewrite to look for result in cons.
1061 (dbus-call-method-handler): Store result in cons.
1062 (dbus-check-event): Recognize events with nil sender as valid.
1063 (dbus-handle-bus-disconnect): New function. React to bus
1064 disconnection signal by synthesizing dbus error for each
1065 pending synchronous or asynchronous call.
1066 (dbus-notice-synchronous-call-errors): New function.
1067 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1068 is true, not all the time.
1069
99e15133
JB
10702014-02-21 Juanma Barranquero <lekktu@gmail.com>
1071
e48983a6
JB
1072 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1073 Remove obsolescence declarations, these variables do not exist anymore.
1074
fdcfd745
JB
1075 * savehist.el (savehist-save-minibuffer-history)
1076 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1077 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1078 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1079 mostly, refer to "Savehist mode" when talking about the mode,
1080 and not the function.
1081
99e15133
JB
1082 * saveplace.el (save-place): Remove redundant info in docstring.
1083 (save-place-forget-unreadable-files, toggle-save-place)
1084 (save-place-forget-unreadable-files, save-place-dired-hook):
1085 Fix typos and remove unneeded backslashes.
1086
f5bee33b
MA
10872014-02-20 Michael Albinus <michael.albinus@gmx.de>
1088
1089 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1090 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1091
1092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 1093 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
1094 (tramp-gvfs-handle-insert-directory): Remove function.
1095
1096 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1097 Call `tramp-handle-insert-directory'.
1098
ee0761ca
JB
10992014-02-20 Juanma Barranquero <lekktu@gmail.com>
1100
1101 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1102 before the start of buffer/region (bug#16799).
1103
4d49cc65
GM
11042014-02-20 Glenn Morris <rgm@gnu.org>
1105
1106 * isearch.el (search-invisible): Doc fix.
1107
eee0d650
TK
11082014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1109
1110 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1111 (bug#16657).
1112
94e5e202
JB
11132014-02-19 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * frameset.el (frameset-restore): Delay removing an old frame's
1116 duplicate id until the new frame has been correctly created.
1117
50bfdd5d
MA
11182014-02-19 Michael Albinus <michael.albinus@gmx.de>
1119
1120 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1121 (tramp-check-cached-permissions): Call `file-attributes' if the
1122 cache is empty.
1123
1124 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1125 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1126
1127 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1128 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1129 (tramp-gvfs-maybe-open-connection): Set always connection
1130 properties, even if target is mounted already.
1131
1132 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1133 Set tramp-autoload cookie.
1134 (tramp-get-remote-touch): New defun.
1135 (tramp-sh-handle-set-file-times): Use it.
1136 (tramp-sh-handle-directory-files-and-attributes):
1137 Use `tramp-handle-directory-files-and-attributes' if neither stat
1138 nor perl are available on the remote host.
1139
1140 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1141 "/". Write long listing only when "l" belongs to the switches.
1142
1143 * net/trampver.el: Update release number.
1144
f097a3d2
JB
11452014-02-19 Juanma Barranquero <lekktu@gmail.com>
1146
1147 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1148
8e009b78
MR
11492014-02-19 Martin Rudalics <rudalics@gmx.at>
1150
1151 * window.el (window-state-put): Allow WINDOW to refer to an
1152 internal window (Bug#16793).
1153
95160c90
GM
11542014-02-19 Glenn Morris <rgm@gnu.org>
1155
1156 * textmodes/remember.el: Move provide statement to end.
1157 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1158 (remember-notes): Doc fixes.
1159
b28df58c
SM
11602014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * delsel.el (delete-char): Restore incorrectly erased property
1163 (bug#16795).
1164
7108e1c0
JB
11652014-02-18 Juanma Barranquero <lekktu@gmail.com>
1166
1167 * frameset.el (frameset--restore-frame): When a frame is being reused
1168 and its root window is not alive, delete all the frame's windows before
1169 restoring the window state. This works around the issue in bug#16793.
1170
c863b6ad
GM
11712014-02-18 Glenn Morris <rgm@gnu.org>
1172
a73fae1f
GM
1173 * textmodes/remember.el (remember-data-directory)
1174 (remember-directory-file-name-format, remember-store-in-files)
1175 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1176 (remember-notes-save-and-bury-buffer)
1177 (remember-notes--kill-buffer-query): Doc fixes.
1178
c863b6ad
GM
1179 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1180
29238d28
AM
11812014-02-17 Alan Mackenzie <acm@muc.de>
1182
1183 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1184 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1185 to electric-indent-{,local-}-mode.
b28df58c
SM
1186 (c-basic-common-init): Set electric-indent-inhibit.
1187 Initialise c-electric-flag from electric-indent-mode.
29238d28 1188 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1189 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1190
1191 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1192 hit, toggle electric-indent-local-mode.
29238d28 1193
b28df58c
SM
1194 * electric.el (electric-indent-mode-has-been-called):
1195 New variable.
29238d28 1196
c6463340
JB
11972014-02-17 Juanma Barranquero <lekktu@gmail.com>
1198
1199 * frameset.el (frameset-cfg-id): New function.
1200 (frameset--reuse-frame, frameset-restore): Use it.
1201 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1202
94912b88
SM
12032014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * ido.el (ido-file-internal): Remove unused var `d'.
1206 Use \` for to match BoS. Fit within 80n columns.
1207
26ea164c
DC
12082014-02-17 Daniel Colascione <dancol@dancol.org>
1209
1210 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1211 dbus-call-method check for completion using a busy-wait loop with
1212 gradual backoff.
1213
dd7691b7
MA
12142013-10-02 Michael Albinus <michael.albinus@gmx.de>
1215
1216 Sync with Tramp 2.2.9.
1217
1218 * net/trampver.el: Update release number.
1219
17d1b51b
DG
12202014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1221
1222 * ido.el (ido-file-internal): Don't add the name of an existing
1223 directory twice. (Bug#16747)
1224
5bcad689
GM
12252014-02-16 Glenn Morris <rgm@gnu.org>
1226
1227 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1228 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1229
12302014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1231
1232 * progmodes/sql.el: Version 3.4
1233 (sql-oracle-options): New default value ("-L").
94912b88 1234 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1235 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1236 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1237 (sql-login-delay): New variable.
1238 (sql-product-interactive): Use it.
1239
285f1858
JB
12402014-02-15 Juanma Barranquero <lekktu@gmail.com>
1241
1242 * frameset.el (frameset--jump-to-register): Check that buffer is live
1243 (bug#16749).
1244
5d645ea4
GM
12452014-02-15 Glenn Morris <rgm@gnu.org>
1246
1247 * info.el (info-initialize): Revert 2014-01-10 change.
1248
48c4f9b1
GM
12492014-02-14 Glenn Morris <rgm@gnu.org>
1250
b8630261
GM
1251 * replace.el (map-query-replace-regexp)
1252 (read-regexp-defaults-function, read-regexp): Doc fixes.
1253
b2bf2a25
GM
1254 * dired.el (dired-read-regexp):
1255 * faces.el (list-faces-display):
1256 * misearch.el (multi-isearch-read-matching-buffers)
1257 (multi-isearch-read-matching-files):
1258 * play/cookie1.el (cookie-apropos):
1259 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1260
48c4f9b1
GM
1261 * textmodes/remember.el (remember): Use frameset-to-register
1262 rather than frame-configuration-to-register.
1263
2804e0bd
JB
12642014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1265
1266 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1267 incorrect keybinding.
1268
0b87142f
DC
12692014-02-13 Daniel Colascione <dancol@dancol.org>
1270
1271 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1272 when adding overlays so that line numbers from compiler match line
1273 numbers we use.
1274
47a73eb0
GM
12752014-02-13 Glenn Morris <rgm@gnu.org>
1276
8abcfd51
GM
1277 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1278
47a73eb0
GM
1279 * jit-lock.el (jit-lock-mode): Doc fix.
1280
c9b6b262
JB
12812014-02-13 Juanma Barranquero <lekktu@gmail.com>
1282
1283 * apropos.el (apropos-read-pattern): When the user passes an empty
1284 string, give a more helpful error message than "Wrong type
1285 argument: stringp, nil".
1286
eb4c6947
SM
12872014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1290
0dab5068
GM
12912014-02-13 Glenn Morris <rgm@gnu.org>
1292
1293 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1294
59075dcf
SM
12952014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1298 shift-select commands.
1299
5af9fbad
DG
13002014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1301
1302 * progmodes/js.el (js-indent-line): Don't widen.
1303 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1304
a215930c
GM
13052014-02-12 Glenn Morris <rgm@gnu.org>
1306
a8cb4247
GM
1307 * icomplete.el (icomplete): Add info-link to defgroup.
1308 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1309 (icomplete-minibuffer-map, icomplete-mode)
1310 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1311
a215930c
GM
1312 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1313 (package-menu-filter): Rename from package-menu-filter-interactive.
1314 Doc fix.
1315
26c5ecd9
JB
13162014-02-11 Juanma Barranquero <lekktu@gmail.com>
1317
1318 * frameset.el (frameset--jump-to-register): Select the required
1319 window and buffer before restoring position (bug#16696).
1320
fcd58a02
LI
13212014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1322
1323 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1324
bacb3380
GM
13252014-02-10 Glenn Morris <rgm@gnu.org>
1326
1327 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1328
881329dc
EZ
13292014-02-10 Eli Zaretskii <eliz@gnu.org>
1330
02328db9
EZ
1331 * w32-common-fns.el (x-get-selection): Doc fix.
1332 * select.el (x-get-selection): Doc fix. (Bug#15109)
1333
881329dc
EZ
1334 * face-remap.el (face-remap-add-relative)
1335 (face-remap-remove-relative, face-remap-reset-base)
1336 (face-remap-set-base): Call force-mode-line-update to redisplay
1337 the current buffer due to potential change in faces. (Bug#16709)
1338
c7db4c06
MA
13392014-02-10 Michael Albinus <michael.albinus@gmx.de>
1340
1341 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1342 script more robustly.
1343
6abe4589
LI
13442014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1345
7602b5c3
LI
1346 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1347
e3692ee0
LI
1348 * simple.el (choose-completion): Doc fix (bug#14160).
1349
41015524
LI
1350 * subr.el (event-start): Say what a nil EVENT value means.
1351
87c79dcb
LI
1352 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1353 (bug#14197).
1354
3ab49e2c
LI
1355 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1356
f3c60241
LI
1357 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1358
3bd1d8a8
LI
1359 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1360
6abe4589
LI
1361 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1362 predicate function (bug#15455).
1363
a11463de
DG
13642014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1365
1366 * ielm.el (inferior-emacs-lisp-mode): Instead of
1367 `comment-use-global-state', set `comment-use-syntax'.
1368
2ab0ad85
GM
13692014-02-10 Glenn Morris <rgm@gnu.org>
1370
1371 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1372
411141fb
AM
13732014-02-09 Alan Mackenzie <acm@muc.de>
1374
1375 Fix c-invalidate-state-cache on narrowed buffers.
1376 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1377 Widen when setting and clearing the CPP delimiter properties.
1378
d6d5fdf8
LI
13792014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1380
92c70367
LI
1381 * help.el (describe-bindings): Doc fix (bug#9888).
1382
468ef484
LI
1383 * files.el (save-buffer): Use ARG as the parameter name for
1384 consistency (bug#10346).
7e34193f 1385 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1386
fc2b1ffa 1387 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1388 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1389 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1390
790aceec
LI
1391 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1392
a54a7552 1393 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1394 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1395
dd163123
LI
1396 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1397 meaning of the parameter (bug#12282).
1398
9e108fe6
LI
1399 * files.el (find-file-noselect): Clarify prompt when changing
1400 readedness (bug#13261).
5a836f58
LI
1401 (locate-file): Suffixes aren't returned, so don't say that they
1402 are (bug#12674).
2356b316 1403 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1404
20dda930
LI
1405 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1406 before we actually start to delete things (bug#16331).
1407
d6d5fdf8
LI
1408 * subr.el (event-start): Doc fix (bug#14228).
1409 (event-end): Ditto.
1410
2abd71e5
GM
14112014-02-09 Glenn Morris <rgm@gnu.org>
1412
1413 * emacs-lisp/warnings.el (lwarn):
1414 Empower help-enable-auto-load. (Bug#15940)
1415
c1b5900b
AS
14162014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1417
1418 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1419 (Bug#16690)
1420
429b93bd
MA
14212014-02-08 Michael Albinus <michael.albinus@gmx.de>
1422
1423 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1424 Insert output at end of buffer. (Bug#16120)
1425
b772a699
LI
14262014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1427
18c6aa8c
LI
1428 * simple.el (choose-completion-string-functions): Document new
1429 calling convention (bug#14153).
54dd147a 1430 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1431
dce8463b
LI
1432 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1433
b772a699 1434 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1435 (find-grep-dired): Doc fix (bug#14288).
b772a699 1436
2423c8d5
JL
14372014-02-08 Juri Linkov <juri@jurta.org>
1438
1439 * isearch.el (isearch-quote-char): Check character validity
1440 like in `quoted-insert' (bug#16677).
1441
518f26c2
LI
14422014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1443
893cc908
LI
1444 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1445
9165ffc0
LI
1446 * isearch.el (isearch-hide-immediately): Doc clarification
1447 (bug#14723).
1448
6ef4f3ce
LI
1449 * simple.el (line-move): Document utility function used many
1450 places in the Emacs sources (bug#14843).
1451
be58a238 1452 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1453 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1454 (dired-up-directory): Doc fix (bug#14848).
be58a238 1455
dd7aafbb
LI
1456 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1457
15cb9968
LI
1458 * files.el (file-relative-name): Doc fix (bug#15159).
1459
9788effd
LI
1460 * fringe.el (fringe-styles): Doc fix (bug#15239).
1461
c96411bd
LI
1462 * isearch.el (isearch-filter-predicate): Documentation typo fix
1463 (bug#15474).
1464
ea838c36
LI
1465 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1466
0d8a4ae7
LI
1467 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1468
f7a17bb3
LI
1469 * replace.el (replace-match-maybe-edit): Doc clarification
1470 (bug#15632).
1471
1bde5c3b
LI
1472 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1473
518f26c2
LI
1474 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1475
dd8e49fd
GM
14762014-02-08 Glenn Morris <rgm@gnu.org>
1477
1478 * help-fns.el (describe-variable):
1479 Check {file,dir}-local-variables-alist, and buffer-file-name,
1480 in the correct buffer.
1481
7e088b29
IL
14822014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1483
1484 * help-fns.el (describe-variable): Fix the case where
1485 a value is directory-local with no dir-locals file. (Bug#16635)
1486
41a4a82f
GM
14872014-02-08 Glenn Morris <rgm@gnu.org>
1488
1489 * abbrev.el (edit-abbrevs-mode):
1490 Derive from fundamental-mode. (Bug#16682)
1491
e255a703
JB
14922014-02-07 Juanma Barranquero <lekktu@gmail.com>
1493
1494 * simple.el (quoted-insert): Check character validity (bug#16677).
1495
c99cf5ee
JL
14962014-02-07 Juri Linkov <juri@jurta.org>
1497
1498 * desktop.el (desktop-read): Claim the lock when the owner is not
1499 the current process. (Bug#16157)
1500
7d7a68d8
JL
15012014-02-07 Juri Linkov <juri@jurta.org>
1502
1503 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1504 to "\\` ". (Bug#16651)
1505
2b777cd9
JL
15062014-02-07 Juri Linkov <juri@jurta.org>
1507
1508 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1509 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1510 (desktop-auto-save-cancel-timer): New function with some code from
1511 `desktop-auto-save-set-timer'.
1512 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1513 Instead of setting `desktop-save-mode' to nil, call
1514 `desktop-save-mode' with arg 0. (Bug#16630)
1515
60eabbb9
GM
15162014-02-07 Glenn Morris <rgm@gnu.org>
1517
99cf3859
GM
1518 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1519 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1520 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1521
2b568bc9
GM
1522 * obsolete/iswitchb.el: Move to obsolete/.
1523 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1524 since obsolete/ is not scanned for autoloads.
1525 * emacs-lisp/authors.el (authors-valid-file-names):
1526 Add iswitchb.el.
1527
60eabbb9
GM
1528 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1529 Disable now non-functional find-file-hook.
1530
629de968
MA
15312014-02-06 Michael Albinus <michael.albinus@gmx.de>
1532
1533 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1534 instead of ";" in order to avoid additional prompts. Let heredoc
1535 scripts read from tty. (Bug#16582)
1536 (tramp-send-command): No special handling of heredocs, it isn't
1537 necessary anymore.
1538
29127376
SM
15392014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1542 with a space (bug#16664). Limit the symbols considered to the ones
1543 that are bound or fbound (bug#16646).
1544
79b6e0a9
GM
15452014-02-06 Glenn Morris <rgm@gnu.org>
1546
1547 * epa.el (epa-mail-aliases): Doc fix.
1548
a333e4d2
DG
15492014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1550
29127376
SM
1551 * emacs-lisp/lisp.el (lisp-completion-at-point):
1552 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1553 (bug#16604).
1554
1555 * minibuffer.el (completion-table-merge): New function.
1556
9a83b32b
MA
15572014-02-05 Michael Albinus <michael.albinus@gmx.de>
1558
1559 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1560 (tramp-sh-handle-set-file-acl)
1561 (tramp-sh-handle-start-file-process)
1562 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1563 (tramp-find-executable, tramp-send-command): Use it.
1564
451ea3e6
GM
15652014-02-05 Glenn Morris <rgm@gnu.org>
1566
9a83b32b 1567 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1568
dd27d13b
FEG
15692014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1570
35e951cd 1571 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1572 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1573
08e41897
AL
15742014-02-04 Anders Lindgren <andlind@gmail.com>
1575
1576 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1577 the names (bug#16620).
1578
764ec9e5
MR
15792014-02-03 Martin Rudalics <rudalics@gmx.at>
1580
08e41897
AL
1581 * faces.el (window-divider): New default value. Rewrite doc-string.
1582 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1583
6da8227c
DG
15842014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1585
1586 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1587 `protected' and `public' can also be called without arguments.
1588
6a6b8e40
GM
15892014-02-03 Glenn Morris <rgm@gnu.org>
1590
7bcbca40
GM
1591 * register.el (window-configuration-to-register)
1592 (frame-configuration-to-register): Unadvertise unused argument.
1593 * frameset.el (frameset-to-register): Remove unused argument.
1594
719d965d 1595 * frameset.el (frameset-to-register):
6a6b8e40
GM
1596 * kmacro.el (kmacro-to-register):
1597 * register.el (increment-register):
1598 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1599 (calc-append-to-register, calc-prepend-to-register):
1600 * play/gametree.el (gametree-layout-to-register)
1601 (gametree-apply-register-layout):
1602 * textmodes/picture.el (picture-clear-rectangle-to-register)
1603 (picture-yank-rectangle-from-register):
1604 * vc/emerge.el (emerge-combine-versions-register):
1605 Use register-read-with-preview to read registers.
1606
5dca7759
JT
16072014-02-03 João Távora <joaotavora@gmail.com>
1608
1609 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1610 when at beginning of (possibly narrowed) buffer.
1611
709085b9
DC
16122014-02-02 Daniel Colascione <dancol@dancol.org>
1613
c295fc18 1614 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1615 Also try to display local help from just before point.
709085b9 1616
99f7b0a6
AM
16172014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1618
1619 c-parse-state. Don't "append-lower-brace-pair" in certain
1620 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1621 recognised as a comment.
1622
1623 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1624 as well as normal comment starter.
1625 (c-parse-state-get-strategy): Extra return possibility
1626 'back-and-forward.
1627 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1628 return value list to indicate replacement of a brace-pair cons
1629 with its car.
1630 (c-parse-state-1): With 'back-and-forward, only call
1631 c-append-lower-brace-pair-to state-cache when cons-separated.
1632
f0a10576
JD
16332014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1634
1635 * term/ns-win.el (ns-suspend-error): New function.
1636 (ns-initialize-window-system): Add ns-suspend-error to
1637 suspend-hook (Bug#16612).
1638
b8d552c2
DC
16392014-02-02 Daniel Colascione <dancol@dancol.org>
1640
35e951cd
JB
1641 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1642 Make loading cc-mode silent.
b8d552c2 1643
f2b7d123
DC
16442014-02-02 Daniel Colascione <dancol@dancol.org>
1645
35e951cd
JB
1646 * comint.el (comint-prompt-read-only): Change doc to suggest
1647 remap keybinding.
f2b7d123 1648
4472a196
GM
16492014-02-02 Glenn Morris <rgm@gnu.org>
1650
1651 * register.el (register-read-with-preview, point-to-register)
1652 (window-configuration-to-register, frame-configuration-to-register)
1653 (jump-to-register, number-to-register, view-register, insert-register)
1654 (copy-to-register, append-to-register, prepend-to-register)
1655 (copy-rectangle-to-register): Doc fixes.
1656
70e5a261
SM
16572014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1660 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1661 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1662 * help-fns.el (describe-function-1): Use it.
1663
7c324762
GM
16642014-02-02 Glenn Morris <rgm@gnu.org>
1665
1666 * register.el (register-preview-default): New function,
1667 split from register-preview.
1668 (register-preview-function): Rename from register-preview-functions,
1669 make it not a hook.
1670 (register-preview): Use register-preview-function.
1671 (register-read-with-preview): Error on non-character event. (Bug#16595)
1672
a09beb3d
DG
16732014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1674
1675 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1676 `:' before binary operators (bug#16609). Don't check for `:'
1677 before `[' and `(', or their syntax status. A percent literal
1678 can't end with either.
68e004e0
DG
1679 (ruby-font-lock-keywords): For built-ins that require arguments,
1680 check that they're followed by something that looks like argument
1681 (bug#16610).
a09beb3d 1682
ed4d2875
LI
16832014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1684
1685 * subr.el (butlast): Document what an omitted N means (bug#13437).
1686 (nbutlast): Ditto.
1687
dba6e3ec
LI
16882014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1689
1690 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1691 depth shallower (bug#16587).
cc477daa
LI
1692 (shr-tag-svg): Respect `shr-inhibit-images'.
1693 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1694
e2a67bd0
DG
16952014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1696
1697 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1698 (ruby-smie-grammar): Make "." right-associative. Make its priority
1699 lower than the ternary and all binary operators.
1700 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1701 parent, or the first "." parent at indentation.
1702 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1703 (Bug#16593)
1704
bd21bf41
JL
17052014-01-31 Juri Linkov <juri@jurta.org>
1706
1707 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1708 from `make-hash-table'.
1709
1710 * textmodes/ispell.el (ispell-init-process): Change message format
1711 to be consistent with other messages.
1712
b7e615b9
GM
17132014-01-31 Glenn Morris <rgm@gnu.org>
1714
a69ecd19
GM
1715 * delsel.el (delete-selection-mode): Doc fix.
1716
9997d7e3
GM
1717 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1718 (trace-function-background): Doc fixes.
1719
fbb764b8
GM
1720 * ido.el (ido-use-virtual-buffers): Doc fix.
1721 Reset :version, since the default value has not changed.
1722
da942af1
GM
1723 * register.el (register-preview-delay, register-read-with-preview):
1724 Doc fixes.
1725
b7e615b9
GM
1726 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1727 do not mess with mail-buffer position (fixes 2009-11-03 change).
1728 * progmodes/cc-mode.el (c-submit-bug-report):
1729 Check auto-fill-mode is bound. (Bug#16592)
1730
0a25002d
DH
17312014-01-31 Darren Hoo <darren.hoo@gmail.com>
1732
1733 * startup.el (fancy-splash-image-file): New function,
1734 split from fancy-splash-head.
1735 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1736 so that we are both using the same image. (Bug#16574)
1737
ad78f432
GM
17382014-01-30 Glenn Morris <rgm@gnu.org>
1739
6bbc0c84
GM
1740 * simple.el (eval-expression): Doc fix.
1741
ad78f432
GM
1742 * hexl.el (hexl-mode-hook):
1743 * ielm.el (ielm-mode-hook):
1744 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1745 (lisp-interaction-mode-hook):
1746 * progmodes/cfengine.e (cfengine3-documentation-function):
1747 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1748
7b2f049c
SM
17492014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1752 is a symbol (bug#16584).
1753
0c633f13
GM
17542014-01-30 Glenn Morris <rgm@gnu.org>
1755
1756 * help.el (help-for-help-internal): Add "P" to text.
1757
5e61c1ef
GM
17582014-01-29 Glenn Morris <rgm@gnu.org>
1759
1760 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1761
1dcb169c
MR
17622014-01-28 Martin Rudalics <rudalics@gmx.at>
1763
1764 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1765 height constraints.
1766
a9128931
LL
17672014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1768
1769 * progmodes/hideif.el: Extend to full CPP expression syntax.
1770 (hif-token-alist): Add missing tokens.
1771 (hif-token-regexp): Add support for float/octal/hex immediates.
1772 (hif-string-literal-regexp): New const.
1773 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1774 (hif-exprlist): New function.
1775 (hif-parse-if-exp): Use it.
1776 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1777 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1778 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1779 (hif-logxor, hif-comma): New functions.
1780
a22359a7
GM
17812014-01-28 Glenn Morris <rgm@gnu.org>
1782
793ffe81
GM
1783 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1784
e3bd7eed
GM
1785 * indent.el (tab-stop-list): Doc fix. Add :version.
1786
a22359a7
GM
1787 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1788 (cvs-append-to-ignore): Add compatibility alias.
1789
52695556 17902014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1791
bac524e0
GM
1792 * dired.el (dired-hide-details-mode): Don't autoload it,
1793 since it cannot be used outside Dired buffers anyway.
1794
52695556 1795 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1796
52695556
GM
1797 * dired.el (dired-hide-details-hide-symlink-targets)
1798 (dired-hide-details-hide-information-lines)
1799 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1800
1801 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1802 * strokes.el (strokes-file): Doc fix. Bump :version.
1803 (strokes-help): Doc fix.
1804 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1805 * emulation/viper.el (viper): Doc fix for custom group.
1806 (top-level): Remove oh-so-no-longer-relevant text about vip.
1807 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1808
1809 * ido.el (ido-save-directory-list-file):
1810 * saveplace.el (save-place-file):
1811 * calendar/timeclock.el (timeclock-file):
1812 * net/quickurl.el (quickurl-url-file):
1813 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1814 * progmodes/idlwave.el (idlwave-config-directory):
1815 * textmodes/remember.el (remember-data-file):
1816 Bump :version.
1817
169d6004
GM
18182014-01-26 Glenn Morris <rgm@gnu.org>
1819
de6a923b
GM
1820 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1821 Doc fix. Make obsolete.
1822 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1823
169d6004
GM
1824 * sort.el (delete-duplicate-lines): Doc fix.
1825
ed85dee6
RS
18262014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1827
1828 * progmodes/ada-mode.el (ada):
1829 * woman.el (woman): Link to info manual and Commentary section.
1830
1831 * progmodes/flymake.el (flymake):
1832 * nxml/nxml-mode.el (nxml):
1833 * net/eww.el (eww):
1834 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1835 * htmlfontify.el (htmlfontify):
1836 * ses.el (ses):
1837 * epa.el (epa):
1838 * ido.el (ido): Link to info manual.
1839
e0c67e1d
LL
18402014-01-25 Leo Liu <sdl.web@gmail.com>
1841
1842 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1843
35408b1a
AS
18442014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1845
1846 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1847 (bug#16537).
1848
11eff3ae 1849>>>>>>> MERGE-SOURCE
76c3fa95
JB
18502014-01-24 Juanma Barranquero <lekktu@gmail.com>
1851
f77c7a99
JB
1852 * net/eww.el (eww-download-callback):
1853 Fix reference to eww-download-directory.
1854
76c3fa95
JB
1855 * emacs-lisp/bytecomp.el (byte-compile-file):
1856 Remove unused local variable `file-name'.
1857
1e548e40
GM
18582014-01-24 Glenn Morris <rgm@gnu.org>
1859
03f3b318
GM
1860 * woman.el (woman-default-faces, woman-monochrome-faces):
1861 Fix obsolescence specification.
1862
1e548e40
GM
1863 * subr.el (with-demoted-errors): Doc fix.
1864
d4f0427b
SM
18652014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1868 (cl--macroexp-fboundp): New function.
1869 (cl--make-type-test): Use it.
1870
1670e27f
GM
18712014-01-23 Glenn Morris <rgm@gnu.org>
1872
1873 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1874 * simple.el (eval-expression): Doc fixes.
1875
80efa207
GM
18762014-01-22 Glenn Morris <rgm@gnu.org>
1877
1878 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1879
29afcbab
SM
18802014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * emacs-lisp/package.el: Write files silently.
1883 (package-autoload-ensure-default-file, package--write-file-no-coding)
1884 (package-generate-description-file, package--download-one-archive)
1885 (package-install-from-archive): Tell `write-region' to stay quiet.
1886 (package-menu-mode, package-menu--print-info): Omit the Archive column
1887 if there's only one archive.
1888 (package-all-keywords, package--has-keyword-p): Remove dead code.
1889
2a5bce4f
GM
18902014-01-22 Glenn Morris <rgm@gnu.org>
1891
edace89f
GM
1892 * version.el (emacs-bzr-version-bzr): Fix typo.
1893
2a5bce4f
GM
1894 * version.el (emacs-repository-get-version):
1895 Check either .bzr or .git, but not both.
1896 Make the git case actually use the DIR argument, and return nil
1897 rather than the empty string.
983664c0 1898 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1899
6cb4da45
MR
19002014-01-22 Martin Rudalics <rudalics@gmx.at>
1901
1902 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1903 * window.el (window-total-size, window-size): New argument ROUND.
1904 (window--min-delta-1, window-min-delta, window--max-delta-1):
1905 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1906 columns a window can shrink (Bug#16430).
1907 (fit-window-to-buffer): Simplify code.
1908 * term.el (term-window-width): Call window-body-width again.
1909
cc0f2ece
GM
19102014-01-22 Glenn Morris <rgm@gnu.org>
1911
7b997b14
GM
1912 * image.el (image-format-suffixes): Doc fix.
1913
44e76f9d
GM
1914 * international/quail.el (quail-define-package): Doc fix.
1915
35e951cd 1916 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1917 (authors-renamed-files-alist): Additions.
7bfc1caa 1918
85a5f61f
GM
1919 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1920 reverts 2014-01-09 change. (Bug#16422)
1921
cc0f2ece
GM
1922 * calc/calc-embed.el (thing-at-point-looking-at):
1923 * emacs-lisp/map-ynp.el (x-popup-dialog):
1924 * obsolete/lmenu.el (x-popup-dialog):
1925 * emacs-lisp/package.el (url-recreate-url):
1926 * mail/mailclient.el (clipboard-kill-ring-save):
1927 * subr.el (x-popup-dialog): Update declaration.
1928 * mail/rmail.el (rmail-mime-message-p):
1929 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1930
00d2a6bb
DC
19312014-01-21 Daniel Colascione <dancol@dancol.org>
1932
1933 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1934 Correctly detect when we're inside an arithmetic expansion form
1935 containing nested parenthesis.
c295fc18 1936 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1937 to detect cases where we shouldn't expand "<<" to a heredoc
1938 skeleton.
1939
dd9d2e9d
SM
19402014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1943 (eldoc--message-command-p): New function.
1944 (eldoc-display-message-p): Use it.
1945 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1946 message is not automatically erased for us.
1947 (eldoc-print-current-symbol-info): Erase previous message, if any.
1948
e7d807ca
TH
19492014-01-21 Tassilo Horn <tsdh@gnu.org>
1950
4ff0a0e5
TH
1951 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1952 specify it's an interactive function.
1953
dd9d2e9d
SM
1954 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1955 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1956 citations with optional arguments.
1957
87503791
LL
19582014-01-21 Leo Liu <sdl.web@gmail.com>
1959
1960 * simple.el (read--expression): Don't enable eldoc-mode.
1961
6cc750ee
SM
19622014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * simple.el (move-beginning-of-line): Make sure we don't move forward
1965 (bug#16497).
1966
71f16bda
JL
19672014-01-20 Juri Linkov <juri@jurta.org>
1968
1969 * saveplace.el (toggle-save-place, save-place-to-alist)
1970 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1971 'dired-mode) before checking for dired-directory. (Bug#16477)
1972
3c5a4839
JL
19732014-01-20 Juri Linkov <juri@jurta.org>
1974
1975 * indent.el (indent-line-to): Use backward-to-indentation
1976 instead of back-to-indentation. (Bug#16461)
1977
f952002e
PE
19782014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1979
1980 Revert some of the CANNOT_DUMP fix (Bug#16494).
1981 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1982 but fixing this can wait until after the next release.
1983 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1984
93675500
MA
19852014-01-19 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1988 Use `password-word-equivalents'.
1989 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1990 to t. (Bug#5664, Bug#13124)
1991
e3af763f
AM
19922014-01-19 Alan Mackenzie <acm@muc.de>
1993
1994 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1995 points.
1996 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1997 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1998 * progmodes/cc-mode.el (c-before-change, c-after-change)
1999 (c-font-lock-fontify-region): Bind it here.
2000
4ff6d92d
MR
20012014-01-19 Martin Rudalics <rudalics@gmx.at>
2002
2003 * term.el (term-window-width): Call window-text-width instead of
2004 window-width (Bug#16470).
2005
9a685cf6
PE
20062014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2007
2008 * simple.el (password-word-equivalents): Remove duplicates.
2009 Sort, to make this easier next time.
2010 Downcase. Omit ": " after "jelszó".
2011
5aa78c2d
JD
20122014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2013
2014 * term/common-win.el (saved-region-selection): Defvar it.
2015 (x-select-text): Set saved-region-selection (Bug#16382).
2016
cabb250c
GM
20172014-01-18 Glenn Morris <rgm@gnu.org>
2018
2019 * emacs-lisp/authors.el (authors-aliases)
2020 (authors-renamed-files-alist): Add some entries.
2021
a1340440
MA
20222014-01-17 Michael Albinus <michael.albinus@gmx.de>
2023
93675500
MA
2024 * net/tramp.el (tramp-password-prompt-regexp):
2025 Use `password-word-equivalents' if available.
a1340440
MA
2026 (tramp-action-password, tramp-process-one-action)
2027 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2028
681ce5d2
CY
20292014-01-17 Chong Yidong <cyd@gnu.org>
2030
2031 * simple.el (password-word-equivalents): New defcustom.
2032 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2033 to 24.4.
2034 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2035 to t. (Bug#13124)
2036
fb3d479c
DG
20372014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2038
2039 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
2040 (ruby-align-to-stmt-keywords): Change the default value.
2041 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
2042 choices.
2043 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2044 keywords, check against the value of `ruby-alignable-keywords'
2045 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2046
0d613483
GM
20472014-01-17 Glenn Morris <rgm@gnu.org>
2048
fc23fe2d
GM
2049 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2050
0d613483 2051 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 2052 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
2053 (authors-ignored-files): Add some entries, remove others.
2054 (authors-ambiguous-files, authors-valid-file-names):
2055 Add some entries.
2056 (authors-renamed-files-alist): Add, remove, and adjust entries.
2057 (authors-renamed-files-regexps): Add some entries.
2058 Remove some very broad ones. Make some entries `lax'.
2059 (authors-lax-changelogs): New constant.
2060 (authors-disambiguate-file-name): Treat top-level specially.
2061 (authors-lax-changelog-p): New function.
2062 (authors-canonical-file-name): Check file as written against
2063 authors-valid-file-names. Do not special-case etc/.
2064 Handle `lax' logs and authors-renamed-files-regexps elements.
2065
2dbf4ffd
DG
20662014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2067
2068 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
2069 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2070 callers.
2dbf4ffd 2071
87b2a7f2
SM
20722014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2075 Assume we're already in the proper buffer.
2076 Inspired by Anders Lindgren <andlind@gmail.com>.
2077 (follow-post-command-hook): Call it from the right buffer.
2078 (follow-comint-scroll-to-bottom): Adjust call.
2079 (follow-all-followers): Use get-buffer-window-list.
2080
93acfb0e
DC
20812014-01-15 Daniel Colascione <dancol@dancol.org>
2082
2083 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2084 `buffer-file-name' in interactive-form so that we don't leave
2085 pathless file names in `file-name-history'.
2086
ccc6b208
JL
20872014-01-15 Juri Linkov <juri@jurta.org>
2088
2089 * indent.el (indent-rigidly): Set deactivate-mark to nil
2090 in transient indentation mode. (Bug#16438)
2091
5c92e00d
DG
20922014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2093
2094 * emacs-lisp/package.el (package-desc-keywords): New function
2095 (Bug#16222).
2096 (describe-package-1, package-all-keywords)
2097 (package--has-keyword-p): Use it.
2098
dac69660
NR
20992014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2100
2101 * simple.el (define-alternatives): When creating the
2102 COMMAND-alternatives variable, assign COMMAND as its definition
2103 name so that `describe-variable' can relocate it.
2104
8b63edf8
ML
21052014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2106
2107 * font-lock.el (font-lock-keywords): Fix typo in docstring
2108 (bug#16307).
2109
c6a0b8eb
AM
21102014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2111
2112 * ispell.el (ispell-region): Reset `in-comment' for new line
2113 instead of wrongly reset `add-coment' (bug#13577).
2114
02bf443d
DU
21152014-01-14 Daiki Ueno <ueno@gnu.org>
2116
2117 * epa-file.el (epa-file-write-region): Encode the region according
2118 to `buffer-file-format'. Problem reported at:
2119 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2120
fd7fde15
SM
21212014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2124 so it applies in the right buffer (bug#16410).
2125
c176054f
DC
21262014-01-13 Daniel Colascione <dancol@dancol.org>
2127
2128 * textmodes/rst.el (rst-define-key): Provide deprecated
2129 keybindings through named functions instead of anonymous ones so
2130 that "??" doesn't appear in describe-mode output.
2131
e3f33e5d
BG
21322014-01-13 Bastien Guerry <bzg@gnu.org>
2133
2134 * simple.el (define-alternatives): Call the selected command
2135 interactively. When setting `COMMAND--implementation' for the
2136 first time, tell the user how to chose another implementation.
2137 Enhance the docstring.
2138
c055d654
SM
21392014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2142 (log-edit--match-first-line): New function.
2143 (log-edit-font-lock-keywords): Use it.
2144 (log-edit-mode): Make jit-lock-defer-multiline work.
2145
d791cc3b
BG
21462014-01-13 Bastien Guerry <bzg@gnu.org>
2147
2148 * rect.el (rectangle-mark-mode): When the region is not active,
2149 display a message saying that the mark as been set and that
2150 rectangle mode is in use.
2151 (rectangle--highlight-for-redisplay): Only put an overlay with a
2152 visible vertical bar when (display-graphic-p) is non-nil.
2153 This partially fixes Bug#16403.
2154
3c0c4562
JL
21552014-01-13 Juri Linkov <juri@jurta.org>
2156
2157 * info.el (Info-find-file): Go to DIR before displaying the error
2158 about a nonexistent file if no previous Info file is visited.
2159 Use `user-error' instead of `error' for "Info file %s does not exist".
2160 (Info-find-node-2): In case of a nonexistent node in unwind forms
2161 go to the Top node if there is no previous node to revert to.
2162 (Bug#16405)
2163
25a700d0
MR
21642014-01-13 Martin Rudalics <rudalics@gmx.at>
2165
2166 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2167 * window.el (fit-frame-to-buffer): Fix doc-string.
2168 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2169 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2170 when avoiding that frame goes partially off-screen.
2171 (fit-window-to-buffer): Respect window-min-height/-width
2172 (Bug#14096).
2173
6ae948d8
SM
21742014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2177 after an empty line.
2178
6137cb82
SM
21792014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * net/shr.el (shr-render-region): Autoload.
2182
e6344e17
XF
21832014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2184
2185 * net/eww.el (eww-download-directory): Rename from
2186 `eww-download-path' (Bug#16419).
2187
3b922c70
LL
21882014-01-12 Leo Liu <sdl.web@gmail.com>
2189
2190 * dired-x.el (dired-mode-map): Fix last change.
2191
2192 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2193
4fa51741
PE
21942014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2195
2196 Spelling fixes.
2197 * emacs-lisp/generic.el (generic--normalize-comments):
2198 Rename from generic--normalise-comments. All uses changed.
35e951cd 2199 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2200 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2201 (bubbles--neighborhood-available)
2202 (bubbles--update-neighborhood-score):
2203 Rename from names with 'neighbourhood'. All uses changed.
2204
9b335362
LL
22052014-01-12 Leo Liu <sdl.web@gmail.com>
2206
2207 Re-implement the feature of showing eldoc info after editing.
2208 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2209 (eldoc-edit-message-commands): New function.
2210 (eldoc-print-after-edit): New variable.
2211 (eldoc-pre-command-refresh-echo-area): Emit message only by
2212 eldoc-message-commands.
2213 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2214 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2215 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2216 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2217
e2a095b1
GM
22182014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2219 Eric S. Raymond <esr@thyrsus.com>
9685190b 2220
841a6d0c 2221 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2222 function works correctly in either a Bazaar or Git repo.
0abf4134 2223
e2a095b1
GM
22242014-01-11 Eric S. Raymond <esr@thyrsus.com>
2225
6137cb82
SM
2226 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2227 Goes with removal of the joke manpages from /etc.
9685190b 2228
c295fc18 22292014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2230
6137cb82
SM
2231 * mail/rmail.el (rmail-get-coding-system):
2232 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2233
d2f16e93
GM
22342014-01-10 Glenn Morris <rgm@gnu.org>
2235
2236 * emacs-lisp/authors.el (authors-fixed-entries):
2237 Update for files that no longer exist.
2238
7e03bb32
ER
22392014-01-10 Eric S. Raymond <esr@thyrsus.com>
2240
2241 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2242 24.3 (Tested).
7e03bb32 2243
dd806710
BB
22442014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2245
2246 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2247 and Podfile.
2248
ed6ec139
EZ
22492014-01-10 Eli Zaretskii <eliz@gnu.org>
2250
2251 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2252
cc33cac9
CY
22532014-01-10 Chong Yidong <cyd@gnu.org>
2254
6137cb82 2255 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2256
d9d836b5
AL
22572014-01-10 Anders Lindgren <andlind@gmail.com>
2258
2259 * follow.el (follow-cache-command-list): Include right-char and
2260 left-char.
2261
06827ec8
PE
22622014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2263
2264 Spelling fixes.
2265 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2266 * woman.el (woman-mark-horizontal-position):
2267 Rename from woman-mark-horizonal-position. Use changed.
2268
458dbf5e
GM
22692014-01-10 Glenn Morris <rgm@gnu.org>
2270
dad6fae7
GM
2271 * info.el (info-initialize): If running uninstalled, ensure our
2272 own info files are always found first, even if INFOPATH is set.
2273
458dbf5e
GM
2274 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2275
05e0afce
DE
22762014-01-09 David Engster <deng@randomsample.de>
2277
2278 * emacs-lisp/eieio-custom.el:
2279 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2280 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2281 * emacs-lisp/eieio.el: Regenerate autoloads.
2282
f29778b3
ER
22832014-01-09 Eric S. Raymond <esr@thyrsus.com>
2284
2285 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2286 following renames. (Bug#8756)
f29778b3 2287
684d44ef
SM
22882014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2291 (bug#16382).
2292 (activate-mark): Add `no-tmm' argument.
2293 (set-mark, push-mark-command): Use it instead of running
2294 activate-mark-hook by hand.
2295
9475054f
ER
22962014-01-08 Eric S. Raymond <esr@thyrsus.com>
2297
2298 In preparation for the move to git, sanitize out some
2299 Bazaar-specific names.
2300
38942b9c
GM
2301 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2302
9475054f 2303 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2304 emacs-repository-version. Obsolete-variable alias made.
9475054f 2305 * loadup.el: Follow through on this name change.
a12bf61e 2306 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2307 assumption about the version control system in use.
2308
0f918d96 23092014-01-08 David Engster <deng@randomsample.de>
abb82152 2310
684d44ef
SM
2311 * help-fns.el (help-fns-describe-function-functions):
2312 New variable to call functions for augmenting help buffers.
abb82152
DE
2313 (describe-function-1): Remove explicit calls to
2314 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2315 `help-fns--obsolete'. Put them in above new variable instead, and
2316 call them through `run-hook-with-args'.
2317 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2318 `eieio-describe-class'. Not meant for interactive use anymore,
2319 but to augment existing help buffers. Remove optional second
684d44ef
SM
2320 argument. Create proper button for file location.
2321 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2322 possible.
2323 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2324 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2325 (describe-method, describe-generic, eieio-describe-method):
2326 Remove aliases.
0f918d96
DE
2327 (eieio-help-constructor, eieio-help-generic): Rename from
2328 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2329 Rewrite to use `insert' in the current buffer and use proper help
2330 buttons.
2331 (eieio-help-find-method-definition)
2332 (eieio-help-find-class-definition): Also accept symbols as
2333 arguments.
2334 (eieio-help-mode-augmentation-maybee): Remove.
2335 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2336 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2337 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2338
136b74c5
PE
23392014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2340
2341 Spelling fixes.
2342 * language/china-util.el (hz-ascii-designation):
2343 Rename from hz-ascii-designnation.
2344 (hz-ascii-designation): Rename from hz-ascii-designnation.
2345 All uses changed.
2346
ec6c7de2
SM
23472014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2350 package-alist.
2351
d6262c7c
BG
23522014-01-08 Bastien Guerry <bzg@gnu.org>
2353
4b9e6087
GM
2354 * emacs-lisp/package.el (package-delete):
2355 Correctly delete the package from package-alist.
d6262c7c 2356
0a3eec32
DU
23572014-01-08 Daiki Ueno <ueno@gnu.org>
2358
2359 * emacs-lisp/package.el (url-recreate-url): Declare.
2360 (url-http-target-url): Declare.
4b9e6087 2361 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2362 (package--check-signature): Don't re-signal errors from
2363 package--with-work-buffer. Suggested by Stefan Monnier.
2364
68f0bb97
BG
23652014-01-07 Bastien Guerry <bzg@gnu.org>
2366
2367 * minibuffer.el (completion--try-word-completion): When both a
2368 hyphen and a space are possible candidates for the character
2369 following a word, display both candidates. (Bug#15980)
2370
7e1899d7
MR
23712014-01-07 Martin Rudalics <rudalics@gmx.at>
2372
2373 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2374 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2375
0030ec15
GM
23762014-01-07 Glenn Morris <rgm@gnu.org>
2377
2378 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2379 (menu-bar-help-menu): Use view-external-packages instead.
2380
2b6b4f20
BG
23812014-01-07 Bastien Guerry <bzg@gnu.org>
2382
2383 * emacs-lisp/package.el (package-delete): Also delete the package
2384 name from `package-alist', not its description only.
2385
e9be0a13
GM
23862014-01-07 Glenn Morris <rgm@gnu.org>
2387
2388 * help.el (view-external-packages):
2389 * menu-bar.el (menu-bar-help-extra-packages):
2390 Visit efaq.info rather than etc/MORE.STUFF.
2391
e4f74da9
JL
23922014-01-07 Juri Linkov <juri@jurta.org>
2393
2394 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2395 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2396
2397 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2398 that shadows RET. (Bug#16342)
2399
de7ce2d1
CY
24002014-01-07 Chong Yidong <cyd@gnu.org>
2401
2402 * isearch.el (isearch-yank-char, isearch-yank-word)
2403 (isearch-yank-line): Doc fix.
2404
6bdd9204
SM
24052014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2408 * emacs-lisp/elint.el (elint-find-builtins):
2409 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2410 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2411 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2412 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2413 * apropos.el (apropos-safe-documentation):
2414 * subr.el (symbol-file): Remove redundant fboundp.
2415 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2416
daccca97
BG
24172014-01-06 Bastien Guerry <bzg@gnu.org>
2418
2419 * hl-line.el (global-hl-line-overlay): Make a local variable.
2420 (global-hl-line-overlays): New variable to store all overlays.
2421 (global-hl-line-mode): Don't delete overlays from the current
2422 buffer when `global-hl-line-sticky-flag' is non-nil.
2423 (global-hl-line-highlight): Add new overlays to
2424 `global-hl-line-overlays'.
2425 (global-hl-line-unhighlight-all): New function to delete all
2426 overlays when turning off `global-hl-line-mode'.
2427 This fixes Bug#16183.
2428
ec00f20f
SM
24292014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * subr.el (set-transient-map): Fix nested case and docstring.
2432
a0031f97
TH
24332014-01-06 Tassilo Horn <tsdh@gnu.org>
2434
2435 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2436 `Texinfo' entry.
2437
bf6a77f3
DC
24382014-01-06 Daniel Colascione <dancol@dancol.org>
2439
2440 Fix defun navigation in vc log view.
2441
2442 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2443 like `beginning-of-defun'.
c295fc18 2444 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2445 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2446 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2447 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2448 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2449
d5081c1e
PE
24502014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2451
2452 Spelling fixes.
2453 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2454 * emacs-lisp/debug.el (cancel-debug-on-entry):
2455 * epg.el (epg-error-to-string):
2456 * files.el (recover-file):
2457 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2458 * mail/emacsbug.el (report-emacs-bug-hook):
2459 * mail/sendmail.el (mail-recover):
2460 * ses.el (ses-yank-resize):
2461 * term/ns-win.el (ns-print-buffer):
2462 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2463 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2464 All uses changed.
2465 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2466
53f6b148
LL
24672014-01-06 Leo Liu <sdl.web@gmail.com>
2468
2469 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2470 to avoid shadowing global key. (Bug#16354)
53f6b148 2471
b82ace2f
DC
24722014-01-06 Daniel Colascione <dancol@dancol.org>
2473
2474 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2475 rst-mode.
2476
3669b636
MR
24772014-01-05 Martin Rudalics <rudalics@gmx.at>
2478
2479 * window.el (balance-windows): Add mising t to fix Bug#16351.
2480
1a29adc2
LMI
24812014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2482
2483 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2484 (bug#16285).
3d95a0f4
LMI
2485 (shr-insert): If we have a word that's longer than `shr-width',
2486 break after it anyway. Otherwise we'll do no breaking once we get
2487 such a long word.
1a29adc2 2488
f4018140
KN
24892014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2490
3fcfc4ee 2491 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2492 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2493 (eww-history-quit): Delete and use quit-window.
2494 (eww-history-kill): Delete, because it doesn't work well and
2495 not necessary.
2496 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2497
4e619754
PE
24982014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2499
73dbf960
PE
2500 Fix misspelling of 'chinese' in rx (Bug#16237).
2501 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2502 chinese-two-byte.
2503
4e619754
PE
2504 Change subword regexps back to vars (Bug#16296).
2505 * progmodes/subword.el (subword-forward-regexp)
2506 (subword-backward-regexp): Change these back to variables.
2507
e18b70fc
SM
25082014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2511 syntax-begin-function (bug#16247).
2512
0d53f628
CY
25132014-01-03 Chong Yidong <cyd@gnu.org>
2514
2515 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2516 (advice--docstring): Delete variable.
2517 (advice--make-1): Leave the docstring empty.
2518 (advice-add): Use function-documentation for advised docstring.
2519
2520 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2521 Ignore function-documentation property when getting documentation.
2522 (ad-activate-advised-definition): Use function-documentation
2523 generate the docstring.
2524 (ad-make-advised-definition): Don't call
2525 ad-make-advised-definition-docstring.
2526 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2527 Delete functions.
2528
2529 * progmodes/sql.el (sql-help): Use function-documentation instead
2530 of dynamic-docstring-function property. No need to autoload now.
2531 (sql--help-docstring): New variable.
2532 (sql--make-help-docstring): Use it.
2533
6f547583
SM
25342014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2535
6ef9aed8
SM
2536 * ielm.el (ielm-tab): Retarget.
2537 (ielm-map): Use ielm-tab for tab.
2538 (ielm-complete-filename): Use comint-filename-completion.
2539 (ielm-complete-symbol): Remove.
2540 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2541 remove ielm-tab from completion-at-point-functions (bug#16224).
2542
6f547583
SM
2543 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2544 Beware signals raised by predicates (bug#16201).
2545
a574edbe
RS
25462014-01-02 Richard Stallman <rms@gnu.org>
2547
e831604d
RS
2548 * dired-aux.el (dired-do-print): Handle printer-name.
2549
6f547583
SM
2550 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2551 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2552 (rmail-epa-decrypt): Turn off mime processing.
2553
3fcfc4ee 2554 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2555 Add parens in message-id.
2556
2557 * mail/rmail.el (rmail-get-coding-function): Variable.
2558 (rmail-get-coding-system): Use it.
2559
04311a16
KH
25602013-12-31 Eli Zaretskii <eliz@gnu.org>
2561
2562 * international/mule-conf.el: Unify the charset indian-is13194.
2563 (indian-is13194): Specify unify-map.
2564
c8d89778
LL
25652013-12-31 Leo Liu <sdl.web@gmail.com>
2566
2567 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2568
e63ace37
DC
25692013-12-30 Daniel Colascione <dancol@dancol.org>
2570
9e0bf19a
DC
2571 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2572 of printing a useless when we resume from sleep.
2573
e63ace37 2574 * progmodes/sh-script.el
c295fc18 2575 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2576 in indentation code. (Bug#16233)
2577
e9d6c46a
JT
25782013-12-28 João Távora <joaotavora@gmail.com>
2579
6f547583
SM
2580 * elec-pair.el (electric-pair-post-self-insert-function):
2581 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2582
bf7bea5d
EZ
25832013-12-28 Eli Zaretskii <eliz@gnu.org>
2584
2585 * frame.el (window-system-for-display): Don't allow to create a
2586 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2587
8449dd1f
GM
25882013-12-28 Glenn Morris <rgm@gnu.org>
2589
9c5a5c77
GM
2590 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2591 Update callers.
2592
2593 * apropos.el (apropos-match-face):
2594 * calculator.el (calculator-displayer):
2595 * dabbrev.el (dabbrev-search-these-buffers-only):
2596 * face-remap.el (buffer-face-mode-face):
2597 * simple.el (yank-handled-properties):
2598 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2599 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2600 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2601 (hashcash-double-spend-database):
2602 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2603 (ruby-deep-indent-paren-style):
2604 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2605 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2606 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2607 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2608 Specify custom types.
2609
bb098075
GM
2610 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2611 * bookmark.el (bookmark-bmenu-use-header-line):
2612 * doc-view.el (doc-view-scale-internally):
2613 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2614 * register.el (register-preview-delay):
2615 * net/shr.el (shr-bullet):
2616 * progmodes/cfengine.el (cfengine-cf-promises)
2617 (cfengine-parameters-indent):
2618 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2619 * textmodes/reftex-vars.el (reftex-label-regexps):
2620 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2621
9c61f806
GM
2622 * net/tls.el (tls-certtool-program): Fix default value.
2623
2624 * desktop.el (desktop-restore-in-current-display):
2625 * newcomment.el (comment-empty-lines):
2626 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2627 (idlwave-pad-keyword):
2628 * progmodes/tcl.el (tcl-tab-always-indent):
2629 * textmodes/reftex-vars.el (reftex-index-default-tag):
2630 * elec-pair.el (electric-pair-skip-whitespace):
2631 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2632
8449dd1f
GM
2633 * emacs-lisp/authors.el (authors-ignored-files)
2634 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2635
fdadeb49
JC
26362013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2637
72140a0f
GM
2638 * shell.el (shell-dynamic-complete-command): Doc fix.
2639 (shell--command-completion-data): Shell completion now matches
2640 executable filenames from the current buffer's directory, on
da5ecfa9 2641 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2642
e572a7d8
LI
26432013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2644
2645 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2646
7514d3f8
SM
26472013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2648
a4151f3b
SM
2649 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2650 (bug#16251).
2651
7514d3f8
SM
2652 * electric.el: Move all electric-pair-* to elec-pair.el.
2653 * elec-pair.el: New file, split from electric.el.
2654
ac5758d1
LI
26552013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2656
2657 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2658 indentation level is larger than the width, because that will
2659 infloop.
2660 (shr-insert): Fill repeatedly long texts, so that Japanese is
2661 formatted correctly (bug#16263).
24a6b65e
LI
2662 (shr-find-fill-point): Off by one error in comparison with the
2663 indentation.
ac5758d1 2664
7514d3f8 26652013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2666
2667 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2668 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2669 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2670 if that keeps or improves their balance in buffers.
2671 (electric-pair-delete-adjacent-pairs): Delete the pair when
2672 backspacing over adjacent matched delimiters.
2673 (electric-pair-open-extra-newline): Open extra newline when
2674 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2675 (electric--sort-post-self-insertion-hook):
2676 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2677 minor-modes are activated.
2678 * simple.el (newline-and-indent): Call newline with interactive
2679 set to t.
2680 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2681 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2682 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2683 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2684 electric-pair-open-newline-between-pairs to nil.
2685
fbcc63a3
FEG
26862013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2687
2688 * progmodes/python.el: Use lexical-binding.
2689 (python-nav-beginning-of-defun): Stop searching ASAP.
2690
ed78d16c
XF
26912013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2692
2693 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2694 Fix interactive spec. Doc fix. (Bug#15754)
2695
38b2c142
KY
26962013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2697
2698 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2699 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2700 Fix edebug spec (bug#16184).
2701
3c856c14
LI
27022013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2703
83fa295c 2704 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2705 (shr-insert): Don't infloop if we can't find a good place to break
2706 the line (bug#16256).
3c856c14 2707
01379221
FEG
27082013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2709
35e951cd 2710 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2711 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2712 python-nav-lisp-forward-sexp-safe.
2713 (python-nav--forward-sexp): New argument SAFE allows switching
2714 forward sexp movement behavior for parens.
2715 (python-nav-forward-sexp): Throw errors on unterminated parens
2716 (Bug#16191).
2717 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2718 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2719 (python-shell-buffer-substring):
2720 Use `python-nav-forward-sexp-safe'.
01379221 2721
99e4926f
LI
27222013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2723
2724 * net/shr.el (shr-find-fill-point): Don't break lines before a
2725 quotation mark.
c6c20584
LI
2726 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2727 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2728 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2729
fec0e828
KN
27302013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2731
2732 * net/eww.el (eww-form-textarea): Use a different face for
2733 textareas than text input since they have different keymaps
2734 (bug#16142).
2735
89c868ad
FEG
27362013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2737
7514d3f8
SM
2738 * progmodes/python.el (python-nav-beginning-of-statement):
2739 Speed up (Bug#15295).
89c868ad 2740
eeef121a
LI
27412013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2742
2743 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2744 the window configuration.
2745
121ea65f
EZ
27462013-12-24 Eli Zaretskii <eliz@gnu.org>
2747
2748 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2749 we run on MS-Windows or MS-DOS.
2750
18cee9ec
MR
27512013-12-24 Martin Rudalics <rudalics@gmx.at>
2752
2753 * window.el (balance-windows-area): Call window-size instead of
2754 window-height and window-width. Bug#16241.
2755
58f2b9a5
LI
27562013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2757
2758 * net/eww.el (eww-bookmark-quit): Remove.
2759 (eww-bookmark-browse): Restore the window configuration when you
2760 choose a bookmark (bug#16144).
2761
d64b6308
DC
27622013-12-24 Daniel Colascione <dancol@dancol.org>
2763
2764 * icomplete.el: Remove redundant :group arguments to `defcustom'
2765 throughout.
2766 (icomplete-show-matches-on-no-input): New customizable variable.
2767 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2768 we have something to show.
7514d3f8 2769 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2770
0da54898
DC
27712013-12-23 Daniel Colascione <dancol@dancol.org>
2772
2773 * icomplete.el: Move `provide' to end of file.
2774
b90aa4f4
TZ
27752013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2776
2777 * net/gnutls.el (gnutls-verify-error): Add version tag.
2778
8cd22a08
CY
27792013-12-23 Chong Yidong <cyd@gnu.org>
2780
2781 * subr.el (set-transient-map): Rename from
2782 set-temporary-overlay-map. Doc fix.
2783
2784 * face-remap.el (text-scale-adjust):
2785 * indent.el (indent-rigidly):
2786 * kmacro.el (kmacro-call-macro):
2787 * minibuffer.el (minibuffer-force-complete):
2788 * repeat.el (repeat):
2789 * simple.el (universal-argument--mode):
2790 * calendar/todo-mode.el (todo-insert-item--next-param):
2791 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2792
7510b021
CY
2793 * indent.el (indent-rigidly): Use substitute-command-keys.
2794
72140a0f 27952013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2796
2797 * net/eww.el (eww-tag-select): Add text-property to jump to next
2798 select field.
e9dc713d 2799 (eww): Add non-supported ftp error.
56890ecd 2800
1f87a56c
DG
28012013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2802
2803 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2804 comments. Handle electric indent after typing `?' and `!'.
2805
dca38cf9
CY
28062013-12-22 Chong Yidong <cyd@gnu.org>
2807
2808 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2809 applicable to a frame, fall back on the defface spec.
2810 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2811
f2351498
DG
28122013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2813
2814 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2815 after `{'. We need it after block openers, and it doesn't seem
2816 to hurt after hash openers.
2817
6cddebc1
DG
28182013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2819
2820 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2821 extracted from `ruby-smie-rules'.
2822 (ruby--electric-indent-chars): New variable.
2823 (ruby--electric-indent-p): New function.
2824 (ruby-mode): Use `electric-indent-functions' instead of
2825 `electric-indent-chars'.
2826
65a1da00
DG
28272013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2828
2829 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2830 docstring.
2831 (ruby-smie-rules): Indent plus one level after `=>'.
2832
b51ad4cf
RS
28332013-12-21 Richard Stallman <rms@gnu.org>
2834
2835 * simple.el (newline): Doc fix.
2836
72140a0f 28372013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2838
e9dc713d 2839 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2840 (eww-history-browse, eww-history-quit, eww-history-kill)
2841 (eww-history-mode-map, eww-history-mode): New command and
2842 functions to list browser histories.
e9dc713d
JB
2843 (eww-form-text): Support text form with disabled
2844 and readonly attributes.
2845 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2846
5e1901c1
RS
28472013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2848
2849 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2850 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2851 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2852 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2853 Use `user-error'.
2854 (eww-bookmark-mode-map): Add menu.
2855 (eww-render, eww-mode): Use `setq-local'.
2856 (eww-tool-bar-map): New variable.
2857 (eww-mode): Set `tool-bar-map'.
2858 (eww-view-source): Check for `html-mode' with `fboundp'.
2859
073d5cfd
LMI
28602013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2861
2862 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2863 elements with text inside. Also remove debugging.
2864
41cf3d11
JD
28652013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2866
2867 * cus-start.el (all): Add ns-use-srgb-colorspace.
2868
aac2b673
CY
28692013-12-21 Chong Yidong <cyd@gnu.org>
2870
2871 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2872 undefined. Thus, theme settings for undefined faces do not take
2873 effect until the faces are defined with defface, the same as with
2874 theme variables.
2875
2876 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2877 (face-spec-reset-face): Don't assign extra properties in temacs.
2878 (face-spec-recalc): Apply X resources too.
2879
bacb0e77
CY
28802013-12-21 Chong Yidong <cyd@gnu.org>
2881
2882 * faces.el (face-spec-set):
2883 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2884 * custom.el (defface): Doc fixes (Bug#16203).
2885
77221051
CY
2886 * indent.el (indent-rigidly-map): Add docstring, and move commands
2887 into named functions.
2888 (indent-rigidly-left, indent-rigidly-right)
2889 (indent-rigidly-left-to-tab-stop)
2890 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2891 indentation direction based on bidi direction, and accumulate
2892 sequential commands in a single undo boundary.
2893 (indent-rigidly--pop-undo): New utility function.
2894
e0eb0550
JB
28952013-12-20 Juanma Barranquero <lekktu@gmail.com>
2896
2897 * faces.el (read-face-name): Require crm.el when using crm-separator.
2898
3282bd2e
DC
28992013-12-20 Daniel Colascione <dancol@dancol.org>
2900
2901 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2902 so that we don't reflow comments into the shebang line.
2903
1d42e5b6
JL
29042013-12-20 Juri Linkov <juri@jurta.org>
2905
2906 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2907 a position when `dired-directory' is non-nil. Check integer
2908 positions with `integerp'.
2909 (toggle-save-place, save-places-to-alist): Add check for
2910 `dired-directory'.
2911 (save-place-find-file-hook): Check integer positions with
2912 `integerp'.
2913 (save-place-dired-hook): Use `dired-goto-file' when
2914 `dired-filename' is found in the assoc list. Check integer
2915 positions with `integerp'.
2916 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2917
2918 * dired.el (dired-initial-position-hook): Rename back from
2919 `dired-initial-point-hook'.
2920 (dired-initial-position): Rename `dired-initial-point-hook' to
2921 `dired-initial-position-hook'.
2922 (dired-file-name-at-point): Doc fix. (Bug#15329)
2923
24da7273
JL
29242013-12-20 Juri Linkov <juri@jurta.org>
2925
2926 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2927 (read-regexp-suggestions): New function.
2928 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2929 Use `read-regexp-suggestions'. Add non-empty default to history
2930 for empty input.
2931 (occur-read-regexp-defaults-function): Remove function.
2932 (occur-read-primary-args): Use `regexp-history-last' instead of
2933 `occur-read-regexp-defaults-function'.
2934
2935 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2936 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2937 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2938 `hi-lock-read-regexp-defaults-function'. Doc fix.
2939 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2940 with `find-tag-default-as-symbol-regexp'. Doc fix.
2941 (hi-lock-read-regexp-defaults): Remove function.
2942 (hi-lock-regexp-okay): Add check for null.
2943
2944 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2945 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2946
2947 * subr.el (find-tag-default-as-symbol-regexp): New function.
2948 (find-tag-default-as-regexp): Move symbol regexp formatting to
2949 `find-tag-default-as-symbol-regexp'.
2950
137f57c8
S
29512013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2952
2953 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2954 (Bug#14179)
2955
f3a66082
SB
29562013-12-20 Stephen Berman <stephen.berman@gmx.net>
2957
2958 * calendar/todo-mode.el: New implementation of item insertion
2959 commands and key bindings.
2960 (todo-key-prompt): New face.
2961 (todo-insert-item): New command.
2962 (todo-insert-item--parameters): New defconst, replacing defvar
2963 todo-insertion-commands-args-genlist.
2964 (todo-insert-item--param-key-alist): New defconst, replacing
2965 defvar todo-insertion-commands-arg-key-list.
2966 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2967 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2968 (todo-insert-item--next-param): New functions.
2969 (todo-insert-item--args, todo-insert-item--argleft)
2970 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2971 New variables.
2972 (todo-key-bindings-t): Change binding of "i" from
2973 todo-insertion-map to todo-insert-item.
2974 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2975 (todo-insertion-command-name, todo-insertion-commands-names)
2976 (todo-define-insertion-command, todo-insertion-commands)
2977 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2978
2f99433b
SB
29792013-12-20 Stephen Berman <stephen.berman@gmx.net>
2980
2981 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2982 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2983 eval-when-compile.
2984 (todo-move-category): Allow choosing a non-existing todo file to
2985 move the category to, and create that file.
2986 (todo-default-priority): New user option.
2987 (todo-set-item-priority): Use it.
2988 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2989 (desktop-restore-file-buffer): Declare.
2990 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2991 (todo-modes-set-2): Locally set desktop-save-buffer to
2992 todo-desktop-save-buffer.
2993 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2994 (auto-mode-alist): Add autoload cookie.
2995
131e4695
BB
29962013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2997
2998 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2999 helpers.el was a poor choice of name.
3cbfb935
BB
3000 (string-remove-prefix): New function.
3001 (string-remove-suffix): New function.
131e4695 3002
c44de18d
MR
30032013-12-20 Martin Rudalics <rudalics@gmx.at>
3004
3005 Fix assignment for new window total sizes.
3006 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
3007 (window--pixel-to-total-1, window--pixel-to-total):
3008 Fix calculation of new total sizes.
c44de18d 3009
ca65efcc
VS
30102013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3011
3012 * comint.el (comint-output-filter): Fix rear-nonsticky property
3013 placement (Bug#16010).
3014
a9574eb7
CY
30152013-12-20 Chong Yidong <cyd@gnu.org>
3016
3017 * faces.el (read-color): Minor fix for completion function.
3018
b520f210
DG
30192013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3020
e0eb0550
JB
3021 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3022 New option. (Bug#16182)
b520f210
DG
3023 (ruby-smie--indent-to-stmt-p): Use it.
3024 (ruby-smie-rules): Revert the logic in the handling of `when'.
3025 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3026 (ruby-deep-arglist, ruby-deep-indent-paren)
3027 (ruby-deep-indent-paren-style): Update docstrings to note that the
3028 vars don't have any effect with SMIE.
3029
26b75b45
JB
30302013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3031
3032 * calc/calc.el (calc-enter, calc-pop): Use the variable
3033 `calc-context-sensitive-enter'.
3034
cf91cee7
LMI
30352013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3036
3037 * net/shr.el (shr-insert): Protect against infloops in degenerate
3038 tables.
3039
51d971b4
RS
30402013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3041
3042 * progmodes/octave.el (octave): Add link to manual and octave
3043 homepage.
3044 (octave-mode-menu): Link to octave-mode manual.
3045
8c2e462a
LL
30462013-12-20 Leo Liu <sdl.web@gmail.com>
3047
3048 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3049 insertion using skeleton-end-newline. (Bug#16138)
3050
501158bc
JL
30512013-12-20 Juri Linkov <juri@jurta.org>
3052
3053 * replace.el (occur-engine): Use `add-face-text-property'
3054 to add the face property to matches and titles. (Bug#14645)
3055
3056 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3057 the palette of other hi-lock colors.
3058 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3059
50ab1da6
JL
30602013-12-19 Juri Linkov <juri@jurta.org>
3061
3062 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3063 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3064 (minibuffer-history-symbol): Move variable declaration closer to
3065 its usage.
3066
3067 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3068 (Bug#14785)
3069
3d6e95e7
JL
30702013-12-19 Juri Linkov <juri@jurta.org>
3071
3072 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3073 New function.
3074 (log-edit-hook): Add it to :options. (Bug#16170)
3075
b41594fd
JL
30762013-12-19 Juri Linkov <juri@jurta.org>
3077
3078 * simple.el (eval-expression-print-format): Don't check for
3079 command names and the last command. Always display additional
3080 formats of the integer result in the echo area, and insert them
3081 to the current buffer only with a zero prefix arg.
3082 Display character when char-displayable-p is non-nil.
3083 (eval-expression): With a zero prefix arg, set `print-length' and
3084 `print-level' to nil, and insert the integer values from
3085 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3086
3087 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3088 `eval-last-sexp-arg-internal'. Doc fix.
3089 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3090 `eval-last-sexp-print-value'. Doc fix.
3091 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3092 Set `print-length' and `print-level' to nil when arg is zero.
3093 (eval-last-sexp): Doc fix.
3094 (eval-defun-2): Print the integer values from
3095 `eval-expression-print-format' at the end.
3096
3097 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3098 values from `eval-expression-print-format' at the end.
3099
3100 * ielm.el (ielm-eval-input): Print the integer
3101 values from `eval-expression-print-format' at the end.
3102
8f2be364
TZ
31032013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3104
3105 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3106 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3107
2230a6e3
SM
31082013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3111 (hl-line-highlight, global-hl-line-highlight): Use it.
3112 (hl-line-overlay): Use defvar-local.
3113
1269a680
JD
31142013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3115
3116 * term/ns-win.el: Require dnd.
3117 (global-map): Remove drag items.
3118 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3119 (ns-set-background-at-mouse):
3120 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3121 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3122 New functions.
1269a680 3123
049638ad
GM
31242013-12-19 Glenn Morris <rgm@gnu.org>
3125
3126 * emacs-lisp/ert.el (ert-select-tests):
3127 Fix string/symbol mixup. (Bug#16121)
3128
ce41edb4
DG
31292013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3130
3131 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3132 keywords to their parent.
3133
7e1549c9
DG
31342013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3135
3136 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3137 first arg to be a string (fixed dead code), or an operator symbol.
3138 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3139 operator symbols.
3140 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3141 did nothing. Don't respond to `(:after ".")', it will be called
3142 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3143 change anything. Only return indentation for binary operators
3144 when they are hanging. De-dent opening paren when its parent is
3145 `.', otherwise it looks bad when the dot is not at bol or eol
3146 (bug#16182).
3147
3ee4cd64
JL
31482013-12-19 Juri Linkov <juri@jurta.org>
3149
3150 * replace.el (query-replace-read-args): Split a non-negative arg
3151 and a negative arg into separate elements.
3152 (query-replace, query-replace-regexp, replace-string)
3153 (replace-regexp): Add arg `backward'. Doc fix.
3154 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3155 move point to the beginning of the match.
3156 (replace-search, replace-highlight): Use new arg `backward'
3157 to set the value of `isearch-forward'.
3158 (perform-replace): Add arg `backward' and use it to perform
3159 replacement backward. (Bug#14979)
3160
3161 * isearch.el (isearch-query-replace): Use a negative prefix arg
3162 to call `perform-replace' with a non-nil arg `backward'.
3163
0cda6b7b
JL
31642013-12-18 Juri Linkov <juri@jurta.org>
3165
3166 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3167 to the default list. Move `log-edit-show-files' to the end.
3168 Add more available functions to options.
3169 (log-edit): Move default specific settings to
3170 `log-edit-insert-message-template'. Don't move point.
3171 (log-edit-insert-message-template): New function.
3172 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3173 (Bug#16170)
3174
b216f0a6
JL
31752013-12-18 Juri Linkov <juri@jurta.org>
3176
3177 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3178 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3179
1d1c55dc
LL
31802013-12-18 Leo Liu <sdl.web@gmail.com>
3181
e9dc713d
JB
3182 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3183 (Bug#16186)
1d1c55dc 3184
64e4c76e
EZ
31852013-12-18 Eli Zaretskii <eliz@gnu.org>
3186
3187 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3188 formats for displaying file sizes when the -s switch is given.
3189 Instead, compute a separate format for displaying the size in
3190 blocks, which is displayed in addition to the "regular" size.
3191 When -h is given in addition to -s, produce size in blocks in
3192 human-readable form as well. (Bug#16179)
3193
b2984e39
TH
31942013-12-18 Tassilo Horn <tsdh@gnu.org>
3195
2230a6e3
SM
3196 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3197 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3198
50ff2e06
CY
31992013-12-18 Chong Yidong <cyd@gnu.org>
3200
0081bc84
CY
3201 * cus-edit.el (custom-magic-alist): Fix "themed" description
3202 (Bug#14348).
3203
a7ee9424
CY
3204 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3205 is non-nil, do not create a new entry in the symbol's theme-value
3206 or theme-face property; update theme-settings only (Bug#14664).
18874304 3207 (custom-available-themes): Doc fix.
a7ee9424 3208
8f942537
CY
3209 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3210 (Bug#15674).
3211
50ff2e06
CY
3212 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3213
83c60f60
KI
32142013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3215
3216 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3217 (Bug#13914).
3218
e0eb0550 32192013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3220
3221 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3222
1f41ee56
GM
32232013-12-18 Glenn Morris <rgm@gnu.org>
3224
3225 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3226 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3227
e82134b1
LW
32282013-12-18 Le Wang <l26wang@gmail.com>
3229
2230a6e3
SM
3230 * comint.el (comint-previous-matching-input-from-input):
3231 Retain point (Bug#13404).
e82134b1 3232
33f5d4c1
CY
32332013-12-18 Chong Yidong <cyd@gnu.org>
3234
3235 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3236
ccc9f6dc
GM
32372013-12-18 Glenn Morris <rgm@gnu.org>
3238
3239 * mail/emacsbug.el (report-emacs-bug):
3240 Only mention enable-multibyte-characters if non-standard.
3241
33dd8e95
JL
32422013-12-17 Juri Linkov <juri@jurta.org>
3243
3244 * arc-mode.el (archive-extract-by-file): Check if directory exists
3245 before deletion to not show irrelevant errors if it doesn't exist.
3246
7a409b30
JL
32472013-12-17 Juri Linkov <juri@jurta.org>
3248
3249 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3250 (Bug#14751)
3251
3252 * net/eww.el (browse-web): Add alias to `eww'.
3253 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3254 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3255
3256 * net/browse-url.el (browse-url-browser-function): Move `eww'
3257 closer to similar functions.
3258
3259 * startup.el (fancy-startup-screen, fancy-about-screen):
3260 Set browse-url-browser-function to eww-browse-url locally.
3261 (Bug#14751)
3262
2d6b6005
SM
32632013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * window.el (window--pixel-to-total): Remove unused `mini' var.
3266 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3267 (split-window): Remove unused `new' var.
3268 (window--display-buffer): Remove unused `frame' and `delta' vars.
3269 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3270 and display-width'.
3271
cf2b7efc
MR
32722013-12-17 Martin Rudalics <rudalics@gmx.at>
3273
3274 * dired.el (dired-mark-pop-up):
3275 * register.el (register-preview): Don't bind
3276 split-height-threshold here since it's now done in
3277 display-buffer-below-selected.
3278
ed3af8a7 32792013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3280
3281 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3282 xterm-rgb-convert-to-16bit.
3283 (rxvt-register-default-colors): Standardize with
3284 xterm-register-default-colors (Bug#14078).
3285
76da3455
DK
32862013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3287
3288 * simple.el (kill-region): Pass mark first, then point, so that
3289 kill-append works right (Bug#12819).
3290 (copy-region-as-kill, kill-ring-save): Likewise.
3291
2b84d763
LL
32922013-12-17 Leo Liu <sdl.web@gmail.com>
3293
3294 * net/rcirc.el (rcirc-add-face):
3295 * eshell/em-prompt.el (eshell-emit-prompt):
3296 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3297 (Bug#16167)
3298
e2f6a0bc
CY
32992013-12-17 Chong Yidong <cyd@gnu.org>
3300
3301 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3302 Suggested by Xue Fuqiao.
3303
35b249a6
DG
33042013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3305
3306 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3307
e9145444
SM
33082013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * net/shr.el (shr-insert-document): Remove unused var
3311 `shr-preliminary-table-render'.
3312 (shr-rescale-image): Remove unused arg `force'.
3313 (shr-put-image): Update calls accordingly.
3314 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3315
5556c0ce
DG
33162013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3317
3318 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3319 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3320 :close-all, to see which indentation method to use (Bug#16116).
3321 (smie-rules-function): Document the method :close-all.
3322
11bade0a
LMI
33232013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3324
1c4b1e61
LMI
3325 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3326
11bade0a
LMI
3327 * net/eww.el (eww-display-html): If we can't find the anchor we're
3328 looking for, then go to point-min.
3329
8fb8c4f3
PE
33302013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3331
3332 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3333 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3334 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3335 Expand dir too, in case it's relative.
3336
6c8e0ae6
JL
33372013-12-16 Juri Linkov <juri@jurta.org>
3338
3339 * desktop.el (desktop-auto-save-timeout): Change default to
3340 `auto-save-timeout'. Doc fix.
3341 (desktop-save): Skip the timestamp in desktop-saved-frameset
3342 when checking for auto-save changes.
3343 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3344 `desktop-auto-save' is called repeatedly by the idle timer.
3345 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3346 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3347 (Bug#15331)
3348
2178e858
JL
33492013-12-16 Juri Linkov <juri@jurta.org>
3350
3351 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3352 (Bug#16035)
3353 (isearch-pre-command-hook): Check `this-command' for symbolp.
3354
39cb42c6
SM
33552013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3358
5b9b750a
TZ
33592013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3360
3361 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3362 (cfengine3--current-function): Bring in the current-function
3363 functionality from `cfengine3--current-word'.
3364 (cfengine3-completion-function): Bring in the
3365 bounds-of-current-word functionality from
3366 `cfengine3--current-word'.
3367
d144ef06
MR
33682013-12-16 Martin Rudalics <rudalics@gmx.at>
3369
39cb42c6
SM
3370 * window.el (display-buffer-below-selected):
3371 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3372
a8bbe298
LL
33732013-12-16 Leo Liu <sdl.web@gmail.com>
3374
3375 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3376 Remove NOMSG arg and all uses changed.
3377
2013a2f9
SM
33782013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3380 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3381 (cua--deactivate-rectangle): Don't deactivate the mark.
3382 (cua-set-rectangle-mark): Don't set mark-active since
3383 cua--activate-rectangle already does it for us.
3384 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3385 non-rectangular region.
3386
3387 * emulation/cua-base.el (cua-repeat-replace-region):
3388 Use with-current-buffer.
3389
3390 * net/gnutls.el: Use cl-lib.
3391 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3392
5ae811dd
TZ
33932013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3394
3395 * emacs-lisp/package.el (package-built-in-p): Support both
3396 built-in and the package.el converted package descriptions.
3397 (package-show-package-list): Allow keywords.
3398 (package-keyword-button-action): Use it instead of
3399 `finder-list-matches'.
3400 (package-menu-filter-interactive): Interactive filtering (by
3401 keyword) function.
3402 (package-menu--generate): Support keywords and change keymappings
3403 and headers when they are given.
3404 (package--has-keyword-p): Helper function.
3405 (package-menu--refresh): Use it.
3406 (package--mapc): Helper function.
3407 (package-all-keywords): Use it.
3408 (package-menu-mode-map): Set up menu items and keybindings to
3409 provide a filtering UI.
3410
31b4827e
TZ
34112013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3412
3413 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3414 the behavior when a certificate fails validation. Defaults to
3415 old behavior: never abort, just warn.
3416 (gnutls-negotiate): Use it.
3417
f93cc74f
MR
34182013-12-14 Martin Rudalics <rudalics@gmx.at>
3419
3420 * window.el (display-buffer-below-selected): Never split window
3421 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3422
f77d7d17
TW
34232013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3424
3425 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3426 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3427
7514d3f8
SM
34282013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3429
aa2bddd7 3430 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3431 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3432
276bc333
DG
34332013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3434
3435 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3436 open-paren tokens when preceded by a open-paren, too.
3437 (ruby-smie-rules): Handle virtual indentation after open-paren
3438 tokens specially. If there is code between it and eol, return the
3439 column where is starts (Bug#16118).
3440
d43957f3
TZ
34412013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3442
a5c1ac0c 3443 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3444 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3445 (cfengine3--current-word): Fix parameters.
3446 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3447 (cfengine3-completion-function, cfengine3--current-function):
3448 Use `assq' for symbols.
d43957f3
TZ
3449 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3450
06a4f110
GM
34512013-12-13 Glenn Morris <rgm@gnu.org>
3452
3453 * loadup.el (load-path): Warn if site-load or site-init changes it.
3454 No more need to reset it when bootstrapping.
3455
978a5fda
TZ
34562013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3457
3458 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3459 locations for cf-promises.
3460 (cfengine-mode-syntax-functions-regex): New caching variable.
3461 (cfengine3-fallback-syntax): Fallback syntax for cases where
3462 cf-promises doesn't run.
3463 (cfengine3--current-word): Reimplement using
3464 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3465 (cfengine3-completion-function, cfengine3--current-function):
3466 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3467 (cfengine3-clear-syntax-cache): New function.
3468 (cfengine3-make-syntax-cache): Simplify and create
3469 `cfengine-mode-syntax-functions-regex' on demand.
3470 (cfengine3-format-function-docstring): Don't call
3471 `cfengine3-make-syntax-cache' explicitly.
3472
71e6691e
MR
34732013-12-13 Martin Rudalics <rudalics@gmx.at>
3474
3475 Fix windmove-find-other-window broken after pixelwise resizing
3476 (Bug#16017).
3477 * windmove.el (windmove-other-window-loc): Revert change from
3478 2013-12-04.
3479 (windmove-find-other-window): Call window-in-direction.
3480 * window.el (window-in-direction): New arguments SIGN, WRAP and
3481 MINI to emulate original windmove-find-other-window behavior.
3482
84c73ba0
DG
34832013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3484
3485 * simple.el (blink-matching--overlay): New variable.
3486 (blink-matching-open): Instead of moving point, highlight the
3487 matching paren with an overlay
3488 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3489
3490 * faces.el (paren-showing-faces, show-paren-match)
3491 (show-paren-mismatch): Move from paren.el.
3492
b9e20952
LL
34932013-12-13 Leo Liu <sdl.web@gmail.com>
3494
3495 * indent.el (indent-region): Disable progress reporter in
3496 minibuffer. (Bug#16108)
3497
3498 * bindings.el (visual-order-cursor-movement): Fix version.
3499
ce030451
FEG
35002013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3501
3502 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3503 Also match after beginning of line.
3504 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3505 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3506
4a9c6865
JL
35072013-12-13 Juri Linkov <juri@jurta.org>
3508
3509 * simple.el <Keypad support>: Remove key bindings duplicated
3510 with bindings.el. (Bug#14397)
3511
2bc170c3
JL
35122013-12-13 Juri Linkov <juri@jurta.org>
3513
3514 * comint.el (comint-mode-map): Replace `delete-char' with
3515 `delete-forward-char'. (Bug#16109)
3516
bc9222c9
FEG
35172013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3518
aa2bddd7 3519 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3520 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3521
cb3a1380
SM
35222013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3525 (advice--make): Pay attention to `depth'.
3526 (advice--make-1): Don't autoload commands eagerly.
3527 * emacs-lisp/elp.el (elp-instrument-function):
3528 * emacs-lisp/trace.el (trace-function-internal):
3529 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3530
3531 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3532
01633a17
EZ
35332013-12-12 Eli Zaretskii <eliz@gnu.org>
3534
3535 * term/w32-win.el (w32-handle-dropped-file):
3536 * startup.el (normal-top-level):
3537 * net/browse-url.el (browse-url-file-url):
3538 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3539 decode file names using 'utf-8' rather than
3540 file-name-coding-system.
3541
09faee72
FEG
35422013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3543
3544 * progmodes/python.el (python-indent-context)
3545 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3546 behavior for comment blocks. (Bug#15916)
09faee72 3547
f4f84024 35482013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3549
cb3a1380
SM
3550 * progmodes/python.el (python-indent-calculate-indentation):
3551 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3552 operators when they are just string constituents. (Bug#15812)
3553
d5ccb7be
JL
35542013-12-12 Juri Linkov <juri@jurta.org>
3555
3556 * uniquify.el (uniquify-buffer-name-style): Change default to
3557 `post-forward-angle-brackets'.
3558
3559 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3560 `uniquify'. Change default to `post-forward-angle-brackets'.
3561
7b3f5679
GM
35622013-12-11 Glenn Morris <rgm@gnu.org>
3563
3564 * emacs-lisp/package.el (finder-list-matches):
3565 Autoload rather than falsely declaring.
3566
f4fe8fdd
TZ
35672013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3568
3569 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3570 (eww-mode-map): Use them.
3571
3c29190f
MR
35722013-12-11 Martin Rudalics <rudalics@gmx.at>
3573
3574 * window.el (display-buffer-in-side-window): Fix doc-string
3575 (Bug#16115).
3576
0cd616a2
JB
35772013-12-11 Juanma Barranquero <lekktu@gmail.com>
3578
3579 * vc/vc-git.el: Silence byte-compiler warnings.
3580 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3581 (log-edit-set-header): Declare.
3582
3ef8e0d1
EZ
35832013-12-11 Eli Zaretskii <eliz@gnu.org>
3584
3585 * Makefile.in (custom-deps, finder-data): Run output file names
3586 through unmsys--file-name. (Bug#16099)
3587
afdadaf7
SM
35882013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3589
7ae3ae39 3590 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3591 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3592
5b4f37ab
SM
3593 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3594 instead of deleting the selection "by hand" (bug#16098).
3595 Rely on insert-for-yank to yank rectangles.
3596 (cua-highlight-region-shift-only): Mark obsolete.
3597 (cua-mode): Don't enable/disable transient-mark-mode,
3598 shift-select-mode (cua-mode works both with and without them), and
3599 pc-selection-mode (obsolete).
3600 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3601 (cua--deactivate-rectangle): Deactivate it.
3602
4b72c12b
SM
3603 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3604 (delete-selection-helper): Make sure yank starts at the top of the
3605 deleted region.
3606 (minibuffer-keyboard-quit): Use region-active-p.
3607
e82af72d
SM
3608 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3609
afdadaf7
SM
3610 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3611 to `delete' (bug#16109).
3612
ed4bc201
RS
36132013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3614
3615 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3616 info manual and show keybindings and set `:group' keyword.
3617
bb8097b9
JL
36182013-12-11 Juri Linkov <juri@jurta.org>
3619
3620 * delsel.el (delete-active-region): Let-bind `this-command'
3621 to prevent `kill-region' from changing its original value.
3622 (delete-selection-helper): Handle `overwrite-mode' for the type
3623 `kill' exactly the same way as for the type `t'.
3624 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3625 Support more commands. (Bug#13312)
3626
c1916ff5
JL
36272013-12-11 Juri Linkov <juri@jurta.org>
3628
3629 * bindings.el: Map kp keys to non-kp keys systematically
3630 with basic modifiers control, meta and shift. (Bug#14397)
3631
7514d3f8 36322013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3633
3634 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3635 "Close browser" menu items. Fix wrong function of "List
3636 bookmarks".
3637
4cc51eaf
JL
36382013-12-11 Juri Linkov <juri@jurta.org>
3639
3640 * misearch.el (multi-isearch-buffers): Set the value of
3641 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3642 arg of isearch-forward to t.
3643 (multi-isearch-buffers-regexp): Set the value of
3644 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3645 arg of isearch-forward-regexp to t.
3646 (multi-isearch-files): Set the value of
3647 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3648 arg of isearch-forward to t.
3649 (multi-isearch-files-regexp): Set the value of
c295fc18 3650 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3651 arg of isearch-forward-regexp to t. (Bug#16035)
3652
3653 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3654 arg of isearch-forward to t.
3655 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3656 arg of isearch-forward-regexp to t.
3657 (dired-isearch-filter-filenames): Remove unnecessary check for
3658 `dired-isearch-filenames'.
3659
3660 * comint.el (comint-history-isearch-backward):
3661 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3662 (comint-history-isearch-backward-regexp):
3663 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3664
ceac12b7
EZ
36652013-12-10 Eli Zaretskii <eliz@gnu.org>
3666
3667 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3668 unmsys--file-name. (Bug#16099)
3669
5a565782
TZ
36702013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3671
cb3a1380
SM
3672 * emacs-lisp/package.el (package-keyword-button-action):
3673 Remove finder.el require dependency.
5a565782 3674
a81fc7ba
TZ
36752013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3676
3677 * emacs-lisp/package.el: Require finder.el.
3678 (describe-package-1): Add keyword buttons.
3679 (package-make-button): New convenience function.
3680 (package-keyword-button-action): Keyword button action using
e0eb0550 3681 `finder-list-matches'.
a81fc7ba 3682
6aaca951
EZ
36832013-12-09 Eli Zaretskii <eliz@gnu.org>
3684
3685 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3686 last commit.
3687
a1099a91
MA
36882013-12-09 Michael Albinus <michael.albinus@gmx.de>
3689
3690 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3691 symlinked files.
3692
8212d9c0
DG
36932013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3694
3695 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3696 after the end of a percent literal.
3697
8f48d131
CD
36982013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3699
cb3a1380
SM
3700 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3701 Handle caret-delimited strings (Bug#16079).
8f48d131 3702
ff8c9764
DG
37032013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3704
cb3a1380
SM
3705 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3706 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3707 `ruby-parse-partial' (Bug#16078).
3708
d64643b4
LL
37092013-12-09 Leo Liu <sdl.web@gmail.com>
3710
3711 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3712
47e59c66
DG
37132013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3714
3715 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3716 (js-switch-indent-offset): New option.
3717 (js--proper-indentation): Use it. And handle the case when
3718 "default" is actually a key in an object literal.
3719 (js--same-line): New function.
3720 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3721 (js--indent-in-array-comp, js--array-comp-indentation):
3722 New functions.
47e59c66
DG
3723 (js--proper-indentation): Use them, to handle array comprehension
3724 continuations.
3725
974ebc9c
LL
37262013-12-08 Leo Liu <sdl.web@gmail.com>
3727
3728 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3729 (flymake-make-overlay): Remove arg MOUSE-FACE.
3730 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3731
27262e39
SM
37322013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3735 New function.
3736 (redisplay-highlight-region-function): Use it.
3737
3738 * emulation/cua-base.el (cua--explicit-region-start)
3739 (cua--last-region-shifted): Remove.
3740 (cua--deactivate): Use deactivate-mark.
3741 (cua--pre-command-handler-1): Don't handle shift-selection.
3742 (cua--post-command-handler-1): Don't change transient-mark-mode.
3743 (cua--select-keymaps): Use region-active-p rather than
3744 cua--explicit-region-start or cua--last-region-shifted.
3745 (cua-mode): Enable shift-select-mode.
3746
6407822c
LL
37472013-12-08 Leo Liu <sdl.web@gmail.com>
3748
27262e39
SM
3749 * progmodes/flymake.el (flymake-popup-current-error-menu):
3750 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3751 (flymake-posn-at-point-as-event, flymake-popup-menu)
3752 (flymake-make-emacs-menu): Remove. (Bug#16077)
3753
00a2b823
SM
37542013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3755
02033d49
SM
3756 * rect.el (rectangle-mark-mode): Activate mark even if
3757 transient-mark-mode is off (bug#16066).
3758 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3759 is > mark and at bolp.
3760
6f8dfccf
SM
3761 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3762 (region-extract-function): Use it.
3763 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3764 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3765 Delete functions.
3766 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3767 kill-ring-save, kill-region, delete-char, delete-forward-char.
3768 Ignore self-insert-iso.
3769
3770 * emulation/cua-gmrk.el (cua--init-global-mark):
3771 Ignore `self-insert-iso'.
3772
3773 * emulation/cua-base.el (cua--prefix-copy-handler)
3774 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3775 checking cua--rectangle.
3776 (cua-delete-region): Use region-extract-function.
3777 (cua-replace-region): Delete function.
3778 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3779 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3780 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3781 (cua--init-keymaps): Don't remap delete-selection commands.
3782 (cua-mode): Use delete-selection-mode instead of rolling our own
3783 (bug#16085).
3784
3785 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3786 Obey region-extract-function.
3787
00a2b823
SM
3788 Make registers and delete-selection-mode work on rectangles.
3789 * register.el (describe-register-1): Don't modify the register's value.
3790 (copy-to-register): Obey region-extract-function.
3791 * delsel.el (delete-active-region): Obey region-extract-function.
3792
a92fa5f1
LL
37932013-12-08 Leo Liu <sdl.web@gmail.com>
3794
3795 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3796 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3797 (flymake-compilation-prevents-syntax-check)
3798 (flymake-start-syntax-check-on-newline)
3799 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3800 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3801 (flymake-xml-program, flymake-master-file-dirs)
3802 (flymake-master-file-count-limit)
3803 (flymake-allowed-file-name-masks): Relocate.
3804 (flymake-makehash, flymake-float-time)
3805 (flymake-replace-regexp-in-string, flymake-split-string)
3806 (flymake-get-temp-dir): Remove.
3807 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3808 (flymake-current-row, flymake-selected-frame)
3809 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3810 related functions. (Bug#16077)
3811
73c8ceea
BB
38122013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3813
3814 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3815
faec28d9
TH
38162013-12-07 Tassilo Horn <tsdh@gnu.org>
3817
3818 * help-fns.el (describe-function-1): Use new advice-* functions
3819 rather than old ad-* functions. Fix function type description and
3820 source links for advised functions and subrs.
3821
e330b646
LMI
38222013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3823
00a2b823 3824 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3825
4803595d
MA
38262013-12-06 Michael Albinus <michael.albinus@gmx.de>
3827
3828 * progmodes/compile.el (compilation-start):
3829 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3830
3831 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3832 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3833
fa834a93
DG
38342013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3835
00a2b823
SM
3836 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3837 Touch up the last change.
fa834a93 3838
b2856a6f
LL
38392013-12-06 Leo Liu <sdl.web@gmail.com>
3840
3841 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3842 (inferior-octave-startup): Always use "octave> " for prompt.
3843 (octave-goto-function-definition)
3844 (octave-sync-function-file-names)
3845 (octave-find-definition-default-filename): Remove redundant backquotes.
3846
af67e79a
DG
38472013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3848
3849 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3850 syntax for `?'.
3851 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3852 where appropriate already.
3853 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3854 end of method names (Bug#15874).
3855
bf093209
JL
38562013-12-06 Juri Linkov <juri@jurta.org>
3857
3858 * isearch.el (isearch--saved-overriding-local-map):
3859 New internal variable.
3860 (isearch-mode): Set it to the initial value of
3861 `overriding-terminal-local-map'.
3862 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3863 with `isearch--saved-overriding-local-map'. (Bug#16035)
3864
16588fad
DG
38652013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3866
00a2b823
SM
3867 * progmodes/octave.el (inferior-octave-completion-table):
3868 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3869 (Bug#11906). Update all references.
3870
3871 * minibuffer.el (completion-table-with-cache): New function.
3872
bf4906d7
CD
38732013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3874
3875 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3876
ff69c18f
TZ
38772013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3878
3879 * net/eww.el (eww-current-source): New variable to store page
3880 source.
3881 (eww-display-html, eww-mode, eww-save-history)
3882 (eww-restore-history): Use it.
3883 (eww-view-source): New command to view page source.
3884 Opportunistically uses `html-mode' to highlight the buffer.
3885 (eww-mode-map): Install it.
3886
b85eff45
MA
38872013-12-05 Michael Albinus <michael.albinus@gmx.de>
3888
3889 * net/dbus.el (dbus-unregister-service)
3890 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3891 Fix docstring.
3892 (dbus-unregister-service): Skip :serial entries in
3893 `dbus-registered-objects-table'.
3894 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3895
39eb0899
TZ
38962013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3897
3898 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3899 around keywords with extra `split-string' argument.
3900
456760a5
MR
39012013-12-04 Martin Rudalics <rudalics@gmx.at>
3902
3903 * windmove.el (windmove-other-window-loc): Handle navigation
3904 between windows (excluding the minibuffer window - Bug#16017).
3905
81961e4c
MA
39062013-12-04 Michael Albinus <michael.albinus@gmx.de>
3907
3908 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3909 in D-Bus type syntax.
3910 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3911 preserve unibyte strings. (Bug#16048)
3912
8497f938
SM
39132013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3916 Call force-mode-line-update is the proper buffer (bug#16042).
3917
dda61916
DG
39182013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3919
3920 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3921 `log-edit-remember-comment', make argument optional. Adjust all
3922 callers.
3923 (log-edit-mode): Add `log-edit-remember-comment' to
3924 `kill-buffer-hook' locally.
3925 (log-edit-kill-buffer): Don't remember comment explicitly since
3926 the buffer is killed anyway.
3927
c085e5b9
JL
39282013-12-04 Juri Linkov <juri@jurta.org>
3929
3930 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3931 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3932
e0eb0550 39332013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3934
3935 * notifications.el (notifications-close-notification): Call the
81961e4c 3936 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3937
39fa32d6
KY
39382013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3939
3940 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3941
9139632a
JL
39422013-12-03 Juri Linkov <juri@jurta.org>
3943
3944 * progmodes/compile.el (compilation-start): Rename window alist
3945 entry `no-display-ok' to `allow-no-window'.
3946
3947 * simple.el (shell-command): Add window alist entry
3948 `allow-no-window' to `display-buffer'.
3949 (async-shell-command): Doc fix.
3950
3951 * window.el (display-buffer-no-window): New action function.
3952 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3953
0f457a37
DG
39542013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3955
3956 * vc/log-edit.el (log-edit-set-header): Extract from
3957 `log-edit-toggle-header'.
3958 (log-edit-extract-headers): Separate the summary, when extracted
3959 from header, from the rest of the message with an empty line.
3960
3961 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3962 line, if present, to the Summary header.
3963
0962f376
SM
39642013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3967 in current-buffer (bug#16029).
3968
f345395c
HE
39692013-12-02 Helmut Eller <eller.helmut@gmail.com>
3970
3971 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3972 (debugger-mode-map): Bind it.
3973 (debugger--backtrace-base): New function.
3974 (debugger-eval-expression): Use it.
3975 (debugger-frame-number): Skip local vars when present.
3976 (debugger--locals-visible-p, debugger--insert-locals)
3977 (debugger--show-locals, debugger--hide-locals): New functions.
3978
a8a15d9d
MA
39792013-12-02 Michael Albinus <michael.albinus@gmx.de>
3980
3981 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3982 "LC_ALL".
3983 (tramp-get-remote-locale): New defun.
3984 (tramp-open-connection-setup-interactive-shell): Use it.
3985
0518b057
LL
39862013-12-02 Leo Liu <sdl.web@gmail.com>
3987
3988 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3989
3990 * progmodes/sh-script.el (sh-shell-process):
3991 * progmodes/octave.el (inferior-octave-process-live-p):
3992 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3993 (gdb-inferior-io-sentinel):
3994 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3995
3adc9c6d
DG
39962013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3997
3998 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3999 `save-selected-window' to `log-edit-hide-buf'. This makes
4000 `log-edit-show-files' idempotent.
4001 (log-edit-show-files): Mark the new window as dedicated.
4002
47e8b74e
DG
40032013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4004
4005 * vc/log-edit.el (log-edit-mode-map): Add binding for
4006 `log-edit-kill-biffer'.
4007 (log-edit-hide-buf): Add a FIXME comment.
4008 (log-edit-add-new-comment): New function, extracted from
4009 `log-edit-done'.
4010 (log-edit-done, log-edit-add-to-changelog): Use it.
4011 (log-edit-kill-buffer): New command.
4012
1f6e1bb0
LMI
40132013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4014
4015 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4016 instead of killing the buffer.
4017
fb651d15
SM
40182013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4021
8feacce0
RS
40222013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4023
fb651d15 4024 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 4025 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4026 (eww-form-checkbox, eww-toggle-checkbox):
4027 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4028
e0eb0550 4029 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4030 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4031 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4032 no :src tag was specified.
4033
fb651d15 4034 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4035 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4036 Use \\` to match beginning of string instead of ^.
4037 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 4038 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 4039
177948a5
RS
4040 * net/shr.el (shr-tag-video): Display content for video if no
4041 poster is available.
eb2dd24d 4042 (shr-tag-audio): Add support for <audio> tag.
177948a5 4043
e0eb0550 4044 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
4045 (eww-process-text-input): Treat input types in
4046 `eww-text-input-types' as text.
4047
8feacce0
RS
4048 * net/shr.el (shr-tag-table): Fix comment typo.
4049
513562a1
LMI
40502013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4051
4052 * net/eww.el (eww-follow-link): New command to avoid reloading
4053 pages when we follow #target links (bug#15243).
de8a5633 4054 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 4055
9dd99753
KN
40562013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4057
4058 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4059 forms.
4060
3e9876de
LMI
40612013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4062
4063 * net/eww.el (eww-restore-history): Update the window title after
4064 moving in the history.
ab6dea82 4065 (eww-current-dom): New variable used to save the current DOM.
3e9876de 4066
52789f7f
DG
40672013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4068
4069 * vc/log-edit.el (log-edit-mode-map): Add binding for
4070 `log-edit-beginning-of-line'.
4071 (log-edit-setup-add-author): New user option.
4072 (log-edit-beginning-of-line): New command.
4073 (log-edit): Move major mode call above the contents setup so that
4074 the local variable values are already applied.
4075 (log-edit): Only insert "Author: " when
4076 `log-edit-setup-add-author' is non-nil.
4077 (log-edit): When SETUP is non-nil, position point after ": "
4078 instead of point-min.
4079
2e6710c3
GM
40802013-12-01 Glenn Morris <rgm@gnu.org>
4081
4082 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4083
fadec31f
EZ
40842013-11-30 Eli Zaretskii <eliz@gnu.org>
4085
4086 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 4087 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
4088 visible. (Bug#16014)
4089
10634b40 40902013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
4091
4092 Support resizing frames and windows pixelwise.
4093 * cus-start.el (frame-resize-pixelwise)
4094 (window-resize-pixelwise): New entries.
4095 * emacs-lisp/debug.el (debug): Use window-total-height instead
4096 of window-total-size.
4097 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
4098 * help.el (describe-bindings-internal): Use help-buffer as
4099 argument for with-help-window.
880e6158
MR
4100 (temp-buffer-max-width): New option.
4101 (resize-temp-buffer-window, help-window-setup)
4102 (with-help-window): Rewrite.
4103 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4104 dragging dividers.
4105 * window.el (frame-char-size, window-min-pixel-height)
4106 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4107 (window-min-pixel-width, window-safe-min-pixel-size)
4108 (window-combination-p, window-safe-min-size)
4109 (window-resizable-p, window--size-to-pixel)
4110 (window--pixel-to-size, window--resize-apply-p): New functions.
4111 (window-safe-min-height): Fix doc-string.
4112 (window-size, window-min-size, window--min-size-1)
4113 (window-sizable, window-sizable-p, window--min-delta-1)
4114 (window-min-delta, window--max-delta-1, window-max-delta)
4115 (window--resizable, window--resizable-p, window-resizable)
4116 (window-full-height-p, window-full-width-p, window-at-side-p)
4117 (window--in-direction-2, window-in-direction)
4118 (window--resize-reset-1, window--resize-mini-window)
4119 (window-resize, window-resize-no-error)
4120 (window--resize-child-windows-normal)
4121 (window--resize-child-windows, window--resize-siblings)
4122 (window--resize-this-window, window--resize-root-window)
4123 (window--resize-root-window-vertically)
4124 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4125 (maximize-window, minimize-window, delete-window)
4126 (quit-restore-window, window-split-min-size, split-window)
4127 (balance-windows-2, balance-windows)
4128 (balance-windows-area-adjust, balance-windows-area)
4129 (window--state-get-1, window-state-get, window--state-put-1)
4130 (window--state-put-2, window-state-put)
fb651d15
SM
4131 (display-buffer-record-window, window--display-buffer):
4132 Make functions handle pixelwise sizing of windows.
880e6158 4133 (display-buffer--action-function-custom-type)
fb651d15
SM
4134 (display-buffer-fallback-action):
4135 Add display-buffer-in-previous-window.
880e6158
MR
4136 (display-buffer-use-some-window): Resize window to height it had
4137 before.
4138 (fit-window-to-buffer-horizontally): New option.
4139 (fit-frame-to-buffer): Describe new values.
4140 (fit-frame-to-buffer-bottom-margin): Replace with
4141 fit-frame-to-buffer-margins.
4142 (window--sanitize-margin): New function.
4143 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4144 using window-text-pixel-size.
4145
f9b697dd
GM
41462013-11-30 Glenn Morris <rgm@gnu.org>
4147
3e2fb4db
GM
4148 * emacs-lisp/bytecomp.el (byte-compile-form):
4149 Make the `interactive-only' warning like the `obsolete' one.
4150 * comint.el (comint-run):
4151 * files.el (insert-file-literally, insert-file):
4152 * replace.el (replace-string, replace-regexp):
4153 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4154 (goto-line, insert-buffer, next-line, previous-line):
4155 Tweak `interactive-only' spec.
4156
f9b697dd
GM
4157 Stop keeping (most) generated cedet grammar files in the repository.
4158 * Makefile.in (semantic): New.
4159 (compile-main): Depend on semantic.
4160
da048127
SM
41612013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4162
7784b779
SM
4163 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4164 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4165
4e36a6a6
SM
4166 * uniquify.el (uniquify-buffer-name-style): Change default.
4167
4168 * loadup.el: Preload "uniquify".
4169
e0ba1308
SM
4170 * time.el (display-time-update): Update all mode lines (bug#15999).
4171
da048127
SM
4172 * electric.el (electric-indent-mode): Enable by default.
4173 * loadup.el: Preload "electric".
4174
015b3b3e
BB
41752013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4176
4177 * emacs-lisp/helpers.el (string-empty-p): New function.
4178 (string-blank-p): New function.
4179
7efb806d
AP
41802013-11-29 Andreas Politz <politza@hochschule-trier.de>
4181
4182 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4183 (Bug#14029).
4184
c8f0efc2
AP
41852013-11-29 Andreas Politz <politza@fh-trier.de>
4186 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4187 allow non-lambda lists as functions.
4188 (imenu--in-alist): Don't recurse into non-subalists.
4189 (imenu): Don't pass function itself as an argument (Bug#14029).
4190
bd15d9d1
SM
41912013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * progmodes/python.el (python-mode-map): Remove binding for ":".
4194 (python-indent-electric-colon): Remove command.
4195 (python-indent-post-self-insert-function): Integrate the previous code
4196 of python-indent-electric-colon. Make it conditional on
4197 electric-indent-mode.
4198 (python-mode): Add ?: to electric-indent-chars.
4199 Move python-indent-post-self-insert-function to the end of
4200 post-self-insert-hook.
4201
1b10adb6
SM
42022013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4203
655ab9a3
SM
4204 * doc-view.el (doc-view-goto-page): Update mode-line.
4205
1b10adb6
SM
4206 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4207
7e3bf78c
GM
42082013-11-27 Glenn Morris <rgm@gnu.org>
4209
4210 * international/charprop.el, international/uni-bidi.el:
4211 * international/uni-category.el, international/uni-combining.el:
4212 * international/uni-comment.el, international/uni-decimal.el:
4213 * international/uni-decomposition.el, international/uni-digit.el:
4214 * international/uni-lowercase.el, international/uni-mirrored.el:
4215 * international/uni-name.el, international/uni-numeric.el:
4216 * international/uni-old-name.el, international/uni-titlecase.el:
4217 * international/uni-uppercase.el:
4218 Remove generated files from VCS repository.
4219
fb6a5d68
EZ
42202013-11-27 Eli Zaretskii <eliz@gnu.org>
4221
4222 * filenotify.el (file-notify-add-watch): Don't special-case
4223 w32notify when computing the directory to watch.
4224
cb6c95a3
GM
42252013-11-27 Glenn Morris <rgm@gnu.org>
4226
20372d0c
GM
4227 Make bootstrap without generated uni-*.el files possible again.
4228 * loadup.el: Update command-line-args checking for unidata-gen.
4229 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4230 * composite.el, international/characters.el:
4231 Handle unicode tables being undefined.
4232
52d6635f 4233 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4234 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4235 (compile-main): Depend on leim rule.
4236 (leim): New rule.
4237 * loadup.el: Move leim-list.el to leim/ subdirectory.
4238 * startup.el (normal-top-level): No more leim directory.
4239 * international/ja-dic-cnv.el (skkdic-convert):
4240 Disable version-control and autoloads in output files.
4241 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4242 Disable version-control and autoloads in output files.
4243 * leim/quail: Move here from ../leim.
4244 * leim/quail/hangul.el (hangul-input-method-activate):
4245 Add autoload cookie.
4246 (generated-autoload-load-name): Set file-local value.
4247 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4248 (generated-autoload-load-name): Set file-local value.
4249
7514d3f8 42502013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4251
e0eb0550 4252 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4253 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4254 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4255
0e2c793f
EZ
42562013-11-26 Eli Zaretskii <eliz@gnu.org>
4257
4258 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4259 reading output from Diff on MS-Windows and MS-DOS.
4260
447bdcb8
BB
42612013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4262
4263 * emacs-lisp/helpers.el (string-reverse): New function.
4264
5fbf6856
MA
42652013-11-26 Michael Albinus <michael.albinus@gmx.de>
4266
4267 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4268 names on MS Windows, like "/[::1]:".
4269
4270 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4271 SWITCHES.
4272
624780f0
GM
42732013-11-26 Glenn Morris <rgm@gnu.org>
4274
0bf3f0fa
GM
4275 * progmodes/python.el (python-indent-guess-indent-offset):
4276 Avoid corner-case error. (Bug#15975)
4277
624780f0
GM
4278 Preload leim-list.el. (Bug#4789)
4279 * loadup.el: Load leim-list.el when found.
4280 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4281
4301875e 42822013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4283
4284 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4285
4301875e
BB
4286 * emacs-lisp/helpers.el (string-join): New function.
4287
1633a815 42882013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4289
4290 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4291 Mark as obsolete and replace it with a symbol property.
4292 (byte-compile-form): Use new 'interactive-only property.
4293 * comint.el, files.el, replace.el, simple.el:
4294 Apply new 'interactive-only properly.
4295
00139435
MR
42962013-11-25 Martin Rudalics <rudalics@gmx.at>
4297
4298 * window.el (display-buffer-at-bottom): Make sure that
4299 split-window-sensibly creates the new window on bottom
4300 (Bug#15961).
4301
5f5b128d
DK
43022013-11-23 David Kastrup <dak@gnu.org>
4303
4304 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4305 on the conflict markers when available.
4306 (smerge--get-marker): New function.
4307 (smerge-end-re, smerge-base-re): Add subgroup.
4308
623891e5
SM
43092013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * frame.el (handle-focus-in, handle-focus-out): Add missing
4312 interactive spec.
4313
05ca27d8
MA
43142013-11-25 Michael Albinus <michael.albinus@gmx.de>
4315
4316 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4317 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4318
511fa0d3
SM
43192013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4320
e82ad66c
SM
4321 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4322 (gomoku--last-pos): New var.
4323 (gomoku--intangible-chars): New const.
4324 (gomoku--intangible): New function.
4325 (gomoku-mode): Use it. Derive from special-mode.
4326 (gomoku-move-up): Adjust line count.
4327 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4328 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4329 Simplify accordingly.
4330
511fa0d3
SM
4331 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4332 Remove blink-cursor code.
4333 (blink-cursor-timer-function, blink-cursor-suspend):
4334 Don't special-case GUIs.
4335 (blink-cursor-mode): Use focus-in/out-hook.
4336
6f20dd03
DG
43372013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4338
4339 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4340 work when annotation is invisible (Bug#13886).
4341
431dec31 43422013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4343
4344 * json.el (json-alist-p): Only return non-nil if the alist has
4345 simple keys (Bug#13518).
4346
431dec31 43472013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4348
4349 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4350 when control-statement is the first statement in a buffer (Bug#15956).
4351
ee4f0261
DG
43522013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4353
4354 * imenu.el (imenu-generic-skip-comments-and-strings):
4355 New option (Bug#15560).
4356 (imenu--generic-function): Use it.
4357
c484f866
JS
43582013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4359
e9dc713d
JB
4360 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4361 (Bug#13898)
c484f866 4362
41ce6f70
BB
43632013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4364
b55aea38
BB
4365 * emacs-lisp/helpers.el: Add some string helpers.
4366 (string-trim-left): Removes leading whitespace.
4367 (string-trim-right): Removes trailing whitespace.
4368 (string-trim): Removes leading and trailing whitespace.
4369
41ce6f70
BB
4370 * subr.el (string-suffix-p): New function.
4371
3cfb6af3
GM
43722013-11-23 Glenn Morris <rgm@gnu.org>
4373
4374 * progmodes/python.el (python-shell-send-file):
4375 Add option to delete file when done. (Bug#15647)
4376 (python-shell-send-string, python-shell-send-region): Use it.
4377
c27924b7
IS
43782013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4379
e1b01c7f
IS
4380 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4381 to set buffer-read-only to t, never to nil. (Bug#15938)
4382
c27924b7
IS
4383 * textmodes/tex-mode.el (latex-noindent-environments):
4384 Add safe-local-variable property. (Bug#15936)
4385
17e0445b
GM
43862013-11-23 Glenn Morris <rgm@gnu.org>
4387
92f78ea3
GM
4388 * textmodes/enriched.el (enriched-mode): Doc fix.
4389 * emacs-lisp/authors.el (authors-renamed-files-alist):
4390 Add enriched.doc -> enriched.txt.
4391
17e0445b
GM
4392 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4393
965bb23a
LL
43942013-11-22 Leo Liu <sdl.web@gmail.com>
4395
4396 * progmodes/octave.el (inferior-octave-startup): Spit out error
4397 message.
4398
d19ffd64
BB
43992013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4400
4401 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4402 Improve docstring.
15ba2182
BB
4403 Add :version.
4404 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4405
7a7567d2
LL
44062013-11-22 Leo Liu <sdl.web@gmail.com>
4407
4408 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4409 (Bug#15076)
8c09f64b
LL
4410 (octave-help-mode): Adapt to change to help-mode-finish to use
4411 derived-mode-p on 2013-09-17.
4412 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4413 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4414
724bc265
LL
44152013-11-22 Leo Liu <sdl.web@gmail.com>
4416
4417 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4418 (inferior-octave-startup, inferior-octave-check-process)
4419 (inferior-octave-track-window-width-change)
4420 (octave-completion-at-point, octave-eldoc-function): Use it.
4421 (octave-kill-process): Provide confirmation. (Bug#10564)
4422
38637cca
LL
44232013-11-21 Leo Liu <sdl.web@gmail.com>
4424
511fa0d3
SM
4425 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4426 Fix obsolete variable comment-use-global-state.
38637cca 4427
06e752b4
RS
44282013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4429
511fa0d3
SM
4430 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4431 Add `octave-source-file'.
06e752b4
RS
4432 (octave-source-file): New function. (Bug#15935)
4433
7514d3f8 44342013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4435
4436 * net/eww.el (eww-local-regex): New variable.
4437 (eww): Use it to detect localhost and similar.
4438
b6ffa04a
LL
44392013-11-21 Leo Liu <sdl.web@gmail.com>
4440
4441 Add completion for command `ag'.
2021a200
LL
4442 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4443 (pcomplete/ag): New function.
e9dc713d 4444 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4445
d1a6bccc
SM
44462013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4449 (bug#14646).
4450 (make-obsolete): Remove interactive spec.
4451
2df10228
GM
44522013-11-21 Glenn Morris <rgm@gnu.org>
4453
4454 * startup.el (command-line-1): Use path-separator with -L.
4455
86fd16b6
TZ
44562013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4457
4458 * emacs-lisp/package.el (describe-package-1): Add package archive
4459 to shown fields.
4460
0449d6cd 44612013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4462
4463 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4464 Change default to "# encoding: %s" to differentiate it from the
4465 default Ruby encoding comment template.
4466
dc7e8c17 44672013-11-20 era eriksson <era+emacsbugs@iki.fi>
4468
4469 * ses.el (ses-mode): Doc fix. (Bug#14748)
4470
f0cfa5fe
LL
44712013-11-20 Leo Liu <sdl.web@gmail.com>
4472
4473 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4474
826dc7b6
DN
44752013-11-19 Dan Nicolaescu <dann@gnu.org>
4476
4477 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4478 when rebase or bisect are in progress.
4479
a6e3a5d5
XF
44802013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4481
4482 * filenotify.el (file-notify-add-watch): Doc fix.
4483
f130cb76
LL
44842013-11-19 Leo Liu <sdl.web@gmail.com>
4485
e0855d7d
LL
4486 * obsolete/rcompile.el: Mark obsolete.
4487
f130cb76 4488 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4489 (compilation-goto-locus, compilation-find-file):
4490 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4491 (Bug#13594)
4492
4493 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4494 new parameter no-display-ok. Return either a window or nil
4495 but never a non-window value.
f130cb76 4496
1f35d401
SM
44972013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4498
25158c76
SM
4499 * electric.el (electric-indent-mode-map): Remove.
4500 (electric-indent-mode): Change the global-map instead (bug#15915).
4501
4502 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4503 Use add-function.
1f35d401 4504
9bc67baa
SM
45052013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4506
986545b5
SM
4507 * emacs-lisp/nadvice.el (remove-function): Align with
4508 add-function's behavior.
4509
9bc67baa
SM
4510 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4511 (gdb--string-regexp): New constant.
4512 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4513 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4514 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4515 submatch 1.
4516 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4517 Adjust use accordingly.
4518 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4519
56cd894e
AS
45202013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4521
4522 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4523 interpolation curlies (Bug#15914).
4524
014690de
JB
45252013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4526
4527 * calc/calc.el (calc-context-sensitive-enter): New variable.
4528 (calc-enter): Use `calc-context-sensitive-enter'.
4529
7e26a6c3
TZ
45302013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4531
4532 * progmodes/cfengine.el: Version bump.
4533 (cfengine-cf-promises): New defcustom to locate cf-promises.
4534 (cfengine3-vartypes): Add new "data" type.
4535 (cfengine3--current-word): New function to get current name-like
4536 word or its bounds.
4537 (cfengine3--current-function): New function to look up a CFEngine
4538 function's definition.
4539 (cfengine3-format-function-docstring): New function.
4540 (cfengine3-make-syntax-cache): New function.
4541 (cfengine3-documentation-function): New function: ElDoc glue.
4542 (cfengine3-completion-function): New function: completion glue.
4543 (cfengine3-mode): Set `compile-command',
4544 `eldoc-documentation-function', and add to
4545 `completion-at-point-functions'.
4546
355204dd
MA
45472013-11-16 Michael Albinus <michael.albinus@gmx.de>
4548
4549 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4550 `tramp-current-connection'.
4551
43cebc23
DG
45522013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4553
4554 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4555 nil/self/true/false with "end of symbol".
4556
a3fed6ff
BB
45572013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4558
4559 * subr.el (version-regexp-alist): Fix a typo.
4560
e675b3e4
MA
45612013-11-15 Michael Albinus <michael.albinus@gmx.de>
4562
4563 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4564 "en_US.utf8" and "LC_CTYPE" to "".
4565 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4566 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4567
a1f03e89
LL
45682013-11-15 Leo Liu <sdl.web@gmail.com>
4569
4570 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4571
5d9d9451
SM
45722013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4573
58362662
CS
4574 * progmodes/gud.el (ctl-x-map):
4575 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4576 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4577
6c1bf086
BB
45782013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4579
0d5363c4
BB
4580 * subr.el (version-regexp-alist):
4581 Recognize hg, svn and darcs versions as snapshot versions.
4582
4e9fc48c
BB
4583 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4584 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4585 (ruby--encoding-comment-required-p): Extract from
4586 `ruby-mode-set-encoding'.
4587 (ruby-mode-set-encoding): Add the ability to always insert an
4588 utf-8 encoding comment. Fix and simplify coding comment update
4589 logic.
6c1bf086 4590
2f7e72f8
MA
45912013-11-14 Michael Albinus <michael.albinus@gmx.de>
4592
4593 * net/tramp-gvfs.el (top): Run init code only when
4594 `tramp-gvfs-enabled' is not nil.
4595 (tramp-gvfs-enabled): Check also :system bus.
4596
0f137a73
SM
45972013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 Sync with upstream verilog-mode revision 78e66ba.
4600 * progmodes/verilog-mode.el (verilog-end-of-defun)
4601 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4602 (verilog-get-end-of-defun): Remove unused argument.
4603 (verilog-comment-depth): Remove unused local `e'.
4604 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4605 Don't pass arg to verilog-get-end-of-defun.
4606
1c276bdd
GM
46072013-11-14 Glenn Morris <rgm@gnu.org>
4608
4609 * obsolete/assoc.el (aget): Prefix dynamic variable.
4610
4611 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4612
ff6ec81d
SM
46132013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4614
4615 * widget.el, hfy-cmap.el: Remove bogus package version number.
4616
75f777b6
GM
46172013-11-13 Glenn Morris <rgm@gnu.org>
4618
1d43dba1
GM
4619 * replace.el (replace-eval-replacement):
4620 Try to give more helpful error message. (Bug#15836)
4621
ff4b7bd5
GM
4622 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4623 (archive-7z-update): Avoid custom type mismatches.
4624
75f777b6
GM
4625 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4626
11151a06
MA
46272013-11-13 Michael Albinus <michael.albinus@gmx.de>
4628
e675b3e4 4629 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4630 address can be empty.
4631
4632 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4633 Accept nil SWITCHES.
4634 (tramp-gvfs-handle-write-region): Implement APPEND.
4635
7b08f97e
DG
46362013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4637
4638 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4639 binary "|" operator and closing block args delimiter.
4640 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4641 (ruby-smie--implicit-semi-p): Not after "|" operator.
4642 (ruby-smie--closing-pipe-p): New function.
4643 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4644 (ruby-smie-rules): Indent after "|".
4645
f201cf3a
GM
46462013-11-12 Glenn Morris <rgm@gnu.org>
4647
4648 * ps-print.el (ps-face-attribute-list):
4649 Handle anonymous faces. (Bug#15827)
4650
e6f759f9
MR
46512013-11-12 Martin Rudalics <rudalics@gmx.at>
4652
4653 * window.el (display-buffer-other-frame): Fix doc-string.
4654 (Bug#15868)
4655
ecda65d4
SM
46562013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4659
7ce8fcc3
MA
46602013-11-11 Michael Albinus <michael.albinus@gmx.de>
4661
4662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4663 (tramp-sh-handle-file-local-copy): Don't write a message when
4664 saving temporary files.
4665
4666 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4667 both directories are remote.
4668 (tramp-smb-handle-directory-files): Do not return double entries.
4669 Do not expand full file names.
4670 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4671 (tramp-smb-handle-write-region): Implement APPEND.
4672 (tramp-smb-get-stat-capability): Fix a stupid bug.
4673
7818df11
SM
46742013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4677
608c2085
NT
46782013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4679
4680 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4681 throwing error over malformed let/let* (bug#15814).
4682
122a7e46
SM
46832013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * iswitchb.el (iswitchb-mode): Mark obsolete.
4686
766284d9
GM
46872013-11-11 Glenn Morris <rgm@gnu.org>
4688
4689 * international/uni-bidi.el, international/uni-category.el:
4690 * international/uni-name.el, international/uni-numeric.el:
4691 Regenerate for Unicode 6.3.0.
4692
7072a4e9
MA
46932013-11-10 Michael Albinus <michael.albinus@gmx.de>
4694
4695 * net/tramp.el (tramp-methods):
4696 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4697 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4698
c9df215b
AS
46992013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4700
608c2085
NT
4701 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4702 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4703
fa47d796
DG
47042013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4705
4706 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4707 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4708 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4709 (ispell-complete-word): Call `ispell-lookup-words' with the value
4710 independent of `ispell-look-p'.
4711
1629a329
DG
47122013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4713
4714 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4715 Not after "||".
4716 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4717 their parent.
4718
ad16897c
SM
47192013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4722 (ruby-font-lock-keywords): Use backquote.
4723
ffa2df72
DG
47242013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4725
4726 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4727 (ruby-smie--backward-token): Only consider full-string matches.
4728
5b97b4c0
JD
47292013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4730
4731 * faces.el (describe-face): Add distant-foreground.
4732
71731c03
BB
47332013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4734
4e9fc48c
BB
4735 * progmodes/ruby-mode.el: Improve encoding comment handling.
4736 (ruby-encoding-magic-comment-style): New option.
4737 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4738 (ruby--insert-coding-comment, ruby--detect-encoding):
4739 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4740 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4741 to control the style of the auto-inserted encoding comment.
71731c03 4742
da3b328d
DG
47432013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4744
ad16897c
SM
4745 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4746 Use `smie-backward-sexp' with token argument.
da3b328d 4747
1606c2d3
MA
47482013-11-08 Michael Albinus <michael.albinus@gmx.de>
4749
4750 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4751 Remove instrumentation code.
4752
b0f4c320
GM
47532013-11-08 Glenn Morris <rgm@gnu.org>
4754
4755 * progmodes/autoconf.el (autoconf-mode):
4756 Tweak comment-start-skip. (Bug#15822)
4757
43668fb1
SM
47582013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4761 at bobp (bug#15826).
4762 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4763
daddb3fd
DH
47642013-11-08 Darren Hoo <darren.hoo@gmail.com>
4765
4766 * man.el (Man-start-calling): New macro, extracted from
4767 Man-getpage-in-background.
4768 (Man-getpage-in-background): Use it.
4769 (Man-update-manpage): New command.
4770 (Man-mode-map): Bind it.
4771
1f923923
DG
47722013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4773
4774 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4775 of "and", "or", "&&" and "||".
4776 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4777 argument. Prohibit opening curly brace because it could only be a
4778 block opener in that position.
daddb3fd
DH
4779 (ruby-smie--forward-token, ruby-smie--backward-token):
4780 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4781 arguments.
4782 (ruby-smie--indent-to-stmt): New function, seeks the end of
4783 previous statement or beginning of buffer.
4784 (ruby-smie-rules): Use it.
4785 (ruby-smie-rules): Check if there's a ":" before a curly block
4786 opener candidate; if there is, it's a hash.
4787
3220d527
SM
47882013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4791 (cl--block-wrapper): Fix last accidental change.
4792
1eb1f9e0
MA
47932013-11-07 Michael Albinus <michael.albinus@gmx.de>
4794
4795 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4796 Instrument, in order to hunt failure on hydra.
4797
e6e4db3c
NT
47982013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4799
4800 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4801 malformed bindings form (bug#15814).
4802
b420ccfc
DG
48032013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4804
4805 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4806 "." compared to " @ ". This incidentally fixes some indentation
4807 examples with "do".
e6e4db3c 4808 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4809 (ruby-smie-grammar): New tokens: "and" and "or".
4810 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4811 Exclude "and" and "or". Remove "do" in order to work around token
4812 priorities.
4813 (ruby-smie-rules): Add all infix tokens. Handle the case of
4814 beginning-of-buffer.
b420ccfc 4815
6b4ac03e
GM
48162013-11-06 Glenn Morris <rgm@gnu.org>
4817
4818 * Makefile.in (setwins_almost, setwins_for_subdirs):
4819 Avoid accidental matches.
4820
5ca114d1
SM
48212013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * menu-bar.el (popup-menu): Use key-binding.
4824
f72552bd
EZ
48252013-11-06 Eli Zaretskii <eliz@gnu.org>
4826
4827 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4828 menus, support also the menus produced by minor modes.
4829 (Bug#15817)
4830
5d5c701e
LL
48312013-11-06 Leo Liu <sdl.web@gmail.com>
4832
4833 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4834 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4835
0a8b75e2
GM
48362013-11-06 Glenn Morris <rgm@gnu.org>
4837
4838 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4839 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4840 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4841
a35287ea
SM
48422013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4843
feca4e2d
SM
4844 * electric.el (electric-indent-just-newline): New command.
4845 (electric-indent-mode-map): New keymap.
4846 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4847 Re-add :group which weren't redundant.
4848
a35287ea
SM
4849 * electric.el (electric-indent-local-mode): New minor mode.
4850 (electric-indent-functions-without-reindent): New var.
4851 (electric-indent-post-self-insert-function): Use it.
4852 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4853
375761b2
EZ
48542013-11-05 Eli Zaretskii <eliz@gnu.org>
4855
9a6ad735
EZ
4856 * international/quail.el (quail-help): Be more explicit about the
4857 meaning of the labels shown on the keys. (Bug#15800)
4858
375761b2
EZ
4859 * startup.el (normal-top-level): Load the subdirs.el files before
4860 setting the locale environment. (Bug#15805)
4861
520a6e4a
SM
48622013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4863
0acfafef
SM
4864 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4865 via arguments so as to get the right ones (bug#15418).
4866
520a6e4a
SM
4867 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4868
15826261
MA
48692013-11-05 Michael Albinus <michael.albinus@gmx.de>
4870
4871 Fix problems found while writing a test suite.
4872
4873 * net/tramp-compat.el (tramp-compat-load): New defun.
4874 * net/tramp.el (tramp-handle-load): Use it.
4875
4876 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4877 "(numberp ok-if-already-exists)" correctly.
4878
d35f31a4
XF
48792013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4880
4881 * international/characters.el (glyphless-char-display-control):
4882 Add usage note.
4883
ae93bc74
BB
48842013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4885
520a6e4a
SM
4886 * progmodes/python.el (python-mode):
4887 * progmodes/scheme.el (scheme-mode):
4888 * progmodes/prolog.el (prolog-mode):
4889 * progmodes/ruby-mode.el (ruby-mode):
4890 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4891 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4892
0ade65b5
SM
48932013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4894
a0d5f7a4
SM
4895 * rect.el (rectangle--highlight-for-redisplay):
4896 * emacs-lisp/smie.el (smie--next-indent-change):
4897 Use buffer-chars-modified-tick.
4898
c93f3f5c
SM
4899 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4900
0ade65b5
SM
4901 * electric.el (electric-indent-post-self-insert-function):
4902 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4903
ef9dd188
HE
49042013-11-04 Helmut Eller <eller.helmut@gmail.com>
4905
4906 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4907
306e7308
NT
49082013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4909
4910 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4911 (bug#15786).
4912
e5afbcac
SM
49132013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4914
1d01ad41
SM
4915 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4916
e5afbcac
SM
4917 * progmodes/python.el: Fix up last change.
4918 (python-shell--save-temp-file): New function.
4919 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4920 `string' comes from the current buffer.
4921 (python-shell-send-string-no-output): Remove `msg' arg.
4922 (python--use-fake-loc): New var.
4923 (python-shell-buffer-substring): Obey it. Try to compensate for the
4924 extra coding line added by python-shell--save-temp-file.
4925 (python-shell-send-region): Use python-shell--save-temp-file and
4926 python-shell-send-file directly. Add `nomain' argument.
4927 (python-shell-send-buffer): Use python-shell-send-region.
4928 (python-electric-pair-string-delimiter): New function.
4929 (python-mode): Use it.
4930
d0065ff1
EZ
49312013-11-04 Eli Zaretskii <eliz@gnu.org>
4932
4933 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4934 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4935 environment and decoding all of the default-directory's to here
4936 from command-line.
4937 (command-line): Decode also argv[0].
4938
4939 * loadup.el: Error out if default-directory is a multibyte string
4940 when we are dumping.
4941
4942 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4943
7397c587
TZ
49442013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4945
4946 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4947 (package-menu--print-info, package-menu--archive-predicate):
4948 Add Archive column to package list.
7397c587 4949
b27cc9fc
MA
49502013-11-04 Michael Albinus <michael.albinus@gmx.de>
4951
4952 Fix problems found while writing a test suite.
4953
4954 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4955 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4956 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4957 to nil when running original file name handler. Otherwise,
4958 there are problems with constructs like "$$FOO".
4959
4960 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4961 for `localname'.
4962
d8c4f18a
BB
49632013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4964
7b530552
BB
4965 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4966
4967 * subr.el (version<, version<=, version=):
4968 Update docstrings with information for snapshot versions.
4969
d8c4f18a
BB
4970 * helpers.el: New library for misc helper functions.
4971 (hash-table-keys): New function returning a list of hash keys.
4972 (hash-table-values): New function returning a list of hash values.
4973
dca01b09
DG
49742013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4975
4976 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4977 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4978
0a749fa0
MN
49792013-11-04 Michal Nazarewicz <mina86@mina86.com>
4980
4981 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4982 checking whether point is after a 1-letter word.
4983
49842013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4985
4986 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4987 Don't infloop when expanding region over `multiline' syntax-type that
4988 begins a line (bug#15778).
4989
4aca7145
SM
49902013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4993 Make it into a proper minor mode.
4994 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4995 (rectangle-mark-mode-map): New keymap.
4996 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4997
a0833f62
GM
49982013-11-04 Glenn Morris <rgm@gnu.org>
4999
5000 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5001
e61845c1
SM
50022013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5005 (ruby-smie-rules): Use smie-rule-parent instead.
5006
5007 * emacs-lisp/smie.el (smie-rule-parent): Always call
5008 smie-indent-virtual rather than only for hanging tokens.
5009 (smie--next-indent-change): New helper command.
5010
62942f89
GM
50112013-11-03 Glenn Morris <rgm@gnu.org>
5012
5013 * Makefile.in (abs_srcdir): Remove.
5014 (emacs): Unset EMACSLOADPATH.
5015
b0b9e592
GM
50162013-11-02 Glenn Morris <rgm@gnu.org>
5017
18ba6a33 5018 * Makefile.in (EMACS): Use a relative filename.
8061810d 5019 (abs_top_builddir): Remove.
18ba6a33
GM
5020 (custom-deps, finder-data, autoloads): Use --chdir.
5021
6a8b929e
GM
5022 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5023
c617f3d0
GM
5024 Use relative filenames in TAGS files.
5025 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5026 (lisptagsfiles4, TAGS): Use relative file names.
5027 (TAGS-LISP): Remove.
5028 (maintainer-clean): No more TAGS-LISP file.
5029
b0b9e592
GM
5030 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5031 (lisptagsfiles4): Use absolute filenames again.
5032 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5033 Remove all *loaddefs files, not just the first. Remove esh-groups.
5034 (maintainer-clean): Delete TAGS, TAGS-LISP.
5035
d1c0ea6a
BB
50362013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5037
e61845c1
SM
5038 * emacs-lisp/package.el (package-version-join):
5039 Recognize snapshot versions.
d1c0ea6a 5040
684d71c6
BB
50412013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5042
5043 * subr.el (version-regexp-alist): Add support for snapshot versions.
5044
3d42b968
DG
50452013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5046
e61845c1
SM
5047 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5048 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
5049 skip over our direct parent if it's an assignment token..
5050 (ruby-smie-rules): Use it.
5051
7ffd3721
DG
50522013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5053
8449dd1f 5054 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
5055 unconditionally. Remove now unnecessary forward declarations.
5056 Remove XEmacs-specific setup.
5057 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5058 (ruby-font-lock-syntactic-keywords)
5059 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5060 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5061 (ruby-here-doc-end-syntax): Remove.
5062 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5063 defined as function.
5064
a3996a2e
BB
50652013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5066
5067 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5068
6f9260e8
BB
50692013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5070
5071 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5072 table and abbrev table, `define-derived-mode' does that for us
5073 anyway.
5074
6014de84
GM
50752013-11-01 Glenn Morris <rgm@gnu.org>
5076
5077 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5078 files is atomic for some time, so no parallel compilation issues).
5079
3c334c14
JD
50802013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5081
5082 * faces.el (face-x-resources): Add :distant-foreground.
5083 (region): Use :distant-foreground for gtk and ns.
5084
9bc236c8
TH
50852013-11-01 Tassilo Horn <tsdh@gnu.org>
5086
5246583b 5087 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
5088 BibTeX.
5089 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5090 (reftex-locate-bibliography-files): Us it.
5091
d14c81ee
CB
50922013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5093
0e7690de
CB
5094 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5095 allow comments in pbm files.
5096
d14c81ee
CB
5097 * term/w32-win.el (dynamic-library-alist): Support newer versions
5098 of libjpeg starting with v7: look only for the DLL from the
5099 version against which Emacs was built.
ac1bf374 5100 Support versions of libpng beyond 1.4.x.
019c8218 5101 Support libtiff v4.x.
d14c81ee 5102
983d0df5
BB
51032013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5104
5105 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5106 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5107 Add property :safe.
5108 (ruby-deep-arglist): Add property :type.
5109
47f58d85
GM
51102013-10-31 Glenn Morris <rgm@gnu.org>
5111
5112 * Makefile.in (custom-deps, finder-data): No need to setq the target
5113 variables, we are in the right directory and the defaults work fine.
5114
4f85b479
GM
51152013-10-30 Glenn Morris <rgm@gnu.org>
5116
ca7dd4cd
GM
5117 * Makefile.in (autoloads): Do not use abs_lisp.
5118
4f85b479
GM
5119 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5120 `newline' does not respect `standard-output', so use `princ'.
5121
cf59e41c
AA
51222013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5123
5124 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5125 * buff-menu.el (Buffer-menu--unmark): New function.
5126 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5127
74cf04fb
GM
51282013-10-30 Glenn Morris <rgm@gnu.org>
5129
b040b60e
GM
5130 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5131
f53d3815
GM
5132 * emacs-lisp/package.el (lm-homepage): Declare.
5133
5413d873
GM
5134 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5135 Fix doc typos.
5136
cecedb36
GM
5137 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5138
74cf04fb
GM
5139 * Makefile.in (finder-data, autoloads, update-subdirs)
5140 (compile-main, compile-clean, compile-always, bootstrap-clean):
5141 Check return value of cd.
5142 (compile-calc): Remove.
5143
195ee2f0
SM
51442013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5145
ae4002ce
SM
5146 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5147
5148 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5149 (byte-compile-and-folded): New function.
5150 (=, <, >, <=, >=): Use it.
5151
5152 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5153 (path-separator, null-device, buffer-file-coding-system)
5154 (lpr-headers-switches): Check system-type before modifying them.
5155 (find-buffer-file-type-coding-system): Mark obsolete.
5156 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5157 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5158 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5159 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5160 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5161 (w32-direct-print-region-helper, w32-direct-print-region-function)
5162 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5163 * startup.el (normal-top-level-add-subdirs-to-load-path):
5164 * ps-print.el (ps-print-region-function):
5165 * lpr.el (print-region-function): Use new name.
5166
53b39e89
SM
5167 * subr.el (custom-declare-variable-early): Remove function.
5168 (custom-declare-variable-list): Remove var.
5169 (error, user-error): Remove `while' loop.
5170 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5171 (user-emacs-directory-warning, locate-user-emacs-file):
5172 Move to files.el.
5173 * simple.el (read-quoted-char-radix, read-quoted-char):
5174 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5175 Move from subr.el.
5176 * custom.el (custom-declare-variable-list): Don't process
5177 custom-declare-variable-list.
5178
195ee2f0
SM
5179 * progmodes/python.el (python-shell-get-buffer): New function.
5180 (python-shell-get-process): Use it.
5181 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5182 Python which encoding was used. Don't split-string since we only care
5183 about the first line. Return the temp-file, if applicable.
5184 (python-shell-send-region): Tell compile.el how to turn locations in
5185 the temp-file into locations in the source buffer.
5186
7e3561ee
SM
51872013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5188
4c9797cb
SM
5189 * subr.el (undefined): Add missing behavior from the C code for
5190 unbound keys.
5191
3472b6c6
SM
5192 * rect.el: Use lexical-binding. Add new rectangular region support.
5193 (rectangle-mark): New command.
5194 (rectangle--region): New var.
5195 (deactivate-mark-hook): Reset rectangle--region.
5196 (rectangle--extract-region, rectangle--insert-for-yank)
5197 (rectangle--highlight-for-redisplay)
5198 (rectangle--unhighlight-for-redisplay): New functions.
5199 (region-extract-function, redisplay-unhighlight-region-function)
5200 (redisplay-highlight-region-function): Use them to handle
5201 rectangular region.
5202 * simple.el (region-extract-function): New var.
5203 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5204 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5205 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5206 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5207 (redisplay-unhighlight-region-function)
5208 (redisplay-highlight-region-function): New vars.
5209 (redisplay--update-region-highlight): New function.
5210 (pre-redisplay-function): Use it.
5211 (exchange-point-and-mark): Don't deactivate the mark before
5212 reactivate-it anyway.
5213 * comint.el (comint-kill-region): Remove yank-handler argument.
5214 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5215 (delete-char): Remove property, since it's now part of their
5216 default behavior.
5217 (self-insert-iso): Remove property since this command doesn't exist.
5218
7e3561ee
SM
5219 * emacs-lisp/package.el (package--download-one-archive)
5220 (describe-package-1): Don't query the user about final newline.
5221
b9bef71f
DC
52222013-10-29 Daniel Colascione <dancol@dancol.org>
5223
5224 * net/tramp.el (tramp-methods): Document new functionality.
5225 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5226 tramp-hostname-checker if method provides one instead of scanning
5227 argument list for "%h" to decide hostname acceptability.
5228
4efc33f0
MA
52292013-10-28 Michael Albinus <michael.albinus@gmx.de>
5230
5231 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5232 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5233 Handle COPY-CONTENTS. (Bug#15737)
5234
ed42a877
DU
52352013-10-28 Daiki Ueno <ueno@gnu.org>
5236
5237 * epa-file.el
7e3561ee
SM
5238 (epa-file-cache-passphrase-for-symmetric-encryption):
5239 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5240
18c9f8a2
XF
52412013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5242
35e951cd 5243 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5244
b1e8e010
AM
52452013-10-27 Alan Mackenzie <acm@muc.de>
5246
5247 Indent statements in macros following "##" correctly.
7e3561ee
SM
5248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5249 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5250
73d40d1e 52512013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5252
5253 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5254
c8c605ac
DG
52552013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5256
5257 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5258 after `=' is probably a new expression.
5259
ca7e59d4
RS
52602013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5261
5262 * man.el (man-imenu-title): New option.
5263 (Man-mode-map): Add menu. (Bug#15722)
5264 (Man-mode): Add imenu to menu.
5265
bae91342
DG
52662013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5267
5268 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5269 specific in what the first arg can be: a non-keyword word,
5270 string/regexp/percent literal opener, opening paren, or unary
5271 operator followed directly by word.
5272
eb89dc14
SM
52732013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5276 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5277 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5278 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5279 Remove vars, they do not apply any more.
5280 (prolog-mode-abbrev-table): Remove redundant declaration.
5281 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5282 (prolog-use-smie): Remove.
5283 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5284 supported by prolog-electric-if-then-else-flag.
5285 (prolog-mode-variables, prolog-menu): Use setq-local.
5286 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5287 Remove binding to `Backspace' since this key doesn't exist anyway.
5288 Remove bindings for electric self-inserting keys.
5289 (prog-mode): Assume it's defined.
5290 (prolog-post-self-insert): New function.
5291 (prolog-mode): Use it.
5292 (prolog-indent-line, prolog-indent-level)
5293 (prolog-find-indent-of-matching-paren)
5294 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5295 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5296 (prolog-goto-next-paren, prolog-in-string-or-comment)
5297 (prolog-tokenize, prolog-inside-mline-comment)
5298 (prolog-find-start-of-mline-comment): Remove functions.
5299 (prolog-find-unmatched-paren, prolog-clause-end)
5300 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5301 (prolog-electric--if-then-else): Rename from
5302 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5303 (prolog-tokenize-searchkey): Remove const.
5304 (prolog-clause-info): Use forward-sexp.
5305 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5306 (prolog-electric-if-then-else): Remove commands.
5307 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5308 for use in post-self-insert-hook.
5309 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5310 for use in post-self-insert-hook.
5311 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5312 for use in post-self-insert-hook.
5313 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5314 adapt it for use in post-self-insert-hook.
5315
3dab0a83
MA
53162013-10-25 Michael Albinus <michael.albinus@gmx.de>
5317
5318 * emacs-lisp/ert.el (ert-run-tests-interactively):
5319 Use `completing-read'. (Bug#9756)
5320
fbfd0e1d
EZ
53212013-10-25 Eli Zaretskii <eliz@gnu.org>
5322
5323 * simple.el (line-move): Call line-move-1 instead of
5324 line-move-visual when the current window hscroll is zero, but
5325 temporary-goal-column indicates we will need to hscroll as result
5326 of the movement. (Bug#15712)
5327
963ce636
DG
53282013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5329
5330 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5331 capitalization. Use :visible instead of :active.
5332 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5333 commands that are used with SMIE.
5334 (ruby-do-end-to-brace): Insert space after `{'.
5335
a0be396a
JA
53362013-10-25 John Anthony <john@jo.hnanthony.com>
5337
f73754c9
JA
5338 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5339
5340 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5341
f5bf77df
GM
53422013-10-25 Glenn Morris <rgm@gnu.org>
5343
5344 * vc/vc.el (vc-print-log): Don't use a working revision unless
5345 one was explicitly specified. (Bug#15322)
5346
37241f62
SM
53472013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * subr.el (add-to-list): Preserve return value in compiler-macro
5350 (bug#15692).
5351
6408a65d
RS
53522013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5353
5354 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5355 result. Ask user to retry using '-all' flag. (Bug#15701)
5356
71e3276b
SM
53572013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * emacs-lisp/smie.el: New smie-config system.
5360 (smie-config): New defcustom.
5361 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5362 (smie-config-guess, smie-config-save): New commands.
5363 (smie-config--mode-local, smie-config--buffer-local)
5364 (smie-config--trace, smie-config--modefuns): New vars.
5365 (smie-config--advice, smie-config--mode-hook)
5366 (smie-config--setter, smie-config-local, smie-config--get-trace)
5367 (smie-config--guess-value, smie-config--guess): New functions.
5368 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5369 text properties. Treat "string fence" syntax like string syntax.
5370
5371 * progmodes/sh-script.el (sh-use-smie): Change default.
5372 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5373 (sh-var-value): Simplify by CSE.
5374 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5375 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5376 is used.
5377 (sh-guess-basic-offset): Use cl-incf.
5378 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5379
60db713e
HE
53802013-10-24 Helmut Eller <eller.helmut@gmail.com>
5381
5382 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5383 (bug#15699).
5384
8b251df6
GM
53852013-10-24 Glenn Morris <rgm@gnu.org>
5386
5387 * Makefile.in (abs_top_srcdir): Remove.
5388 (update-subdirs): Use relative path to update-subdirs.
5389
6be0e22b
EZ
53902013-10-24 Eli Zaretskii <eliz@gnu.org>
5391
5392 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5393 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5394 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5395 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5396
50b5b857
MA
53972013-10-24 Michael Albinus <michael.albinus@gmx.de>
5398
5399 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5400 (ert-test-skipped): New error.
5401 (ert-skip, ert-stats-skipped): New defuns.
5402 (ert--skip-unless): New macro.
5403 (ert-test-skipped): New struct.
5404 (ert--run-test-debugger, ert-test-result-type-p)
5405 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5406 (ert--stats-set-test-and-result, ert-char-for-test-result)
5407 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5408 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5409 Handle skipped tests. (Bug#9803)
50b5b857 5410
6f317c2f
GM
54112013-10-24 Glenn Morris <rgm@gnu.org>
5412
e43817c1
GM
5413 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5414
6f317c2f
GM
5415 * Makefile.in (abs_top_srcdir): New, set by configure.
5416 (update-subdirs): Correct build-aux location.
5417
369bbf71
DG
54182013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5419
8297b2cf
DG
5420 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5421 value, whether we could auto-deduce `backend', or not.
5422
369bbf71
DG
5423 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5424 with parameters" example. Simplify the "is it block or is it
5425 hash" check, but also make it more thorough.
5426
d5f1282f
MF
54272013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5428
5429 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5430
bc4aaa31
SM
54312013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5432
03d44565
SM
5433 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5434 { if it is hanging.
5435
bc4aaa31
SM
5436 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5437 :before ";".
5438
f493ff19
JB
54392013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5440
5441 * progmodes/compile.el (compilation-directory-matcher)
5442 (compilation-page-delimiter):
5443 Support GNU Make-4.0 directory quoting. (Bug#15678)
5444
c744a3b9
LL
54452013-10-23 Leo Liu <sdl.web@gmail.com>
5446
5447 * ido.el (ido-tidy): Handle read-only text.
5448
b8e3b0a9
GM
54492013-10-23 Glenn Morris <rgm@gnu.org>
5450
5451 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5452 (emacs, compile, compile-always):
5453 Quote entities that might contain whitespace.
5454 (custom-deps, finder-data, autoloads): Use abs_lisp.
5455 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5456 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5457 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5458
ee4282cd
DG
54592013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5460
bc4aaa31
SM
5461 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5462 Use `following-char'.
7790a270 5463
ee4282cd 54642013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5465
5466 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5467 * progmodes/ruby-mode.el (ruby-smie-rules):
5468 Remove corresponding workaround. Fix indentation rule of ";" so it
5469 also applies when ";" is the parent.
5470
d40a46d7
XF
54712013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5472
5473 * frame.el (display-screens, display-pixel-height)
5474 (display-pixel-width, display-mm-width, display-backing-store)
5475 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5476 (display-visual-class, display-monitor-attributes-list):
5477 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5478
a0f143c9
MG
54792013-10-22 Michael Gauland <mikelygee@amuri.net>
5480
5481 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5482 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5483
18cacc39
DG
54842013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5485
5486 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5487 TODO. Add "." after " @ ".
5488 (ruby-smie--at-dot-call): New function. Checks if point at method
5489 call with explicit target.
5490 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5491 to the method name tokens when it precedes them.
5492 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5493 (ruby-smie-rules): Add rule for indentation before and after "."
5494 token.
5495
df74c4be
SM
54962013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5497
c6dab55f
SM
5498 * textmodes/remember.el (remember-diary-extract-entries):
5499 Avoid add-to-list.
5500
df74c4be
SM
5501 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5502 an instruction.
5503
8c1ae481
DG
55042013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5505
e9dc713d
JB
5506 * progmodes/ruby-mode.el (ruby-smie-grammar):
5507 Add (almost) all infix operators.
cfef16c0
DG
5508 (ruby-smie--implicit-semi-p): Add new operator chars.
5509
8c1ae481
DG
5510 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5511 `smie-down-list'.
5512 (ruby-smie--args-separator-p): Check that there's no newline
5513 between method call and its arguments.
5514
87756ca9
AM
55152013-10-20 Alan Mackenzie <acm@muc.de>
5516
5517 Allow comma separated lists after Java "implements".
5518
df74c4be
SM
5519 * progmodes/cc-engine.el (c-backward-over-enum-header):
5520 Parse commas.
87756ca9
AM
5521 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5522 from a "disallowed" list in enum fontification.
5523
c25f8957
JB
55242013-10-20 Johan Bockgård <bojohan@gnu.org>
5525
df74c4be 5526 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5527
c25f8957
JB
5528 * progmodes/verilog-mode.el (verilog-mode): Don't set
5529 comment-indent-function globally.
5530
aca5fcdc
JD
55312013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5532
5f161884
JD
5533 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5534 Move Info menu item creation to ns-win.el.
5535
5536 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5537 in menu bar.
5538
a6c4680a 5539 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5540
5541 * term/ns-win.el (ns-initialize-window-system): ... to here.
5542
914b7f98
SM
55432013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * simple.el (newline): Only run post-self-insert-hook when
5546 called interactively.
5547
846ffe77
JB
55482013-10-19 Johan Bockgård <bojohan@gnu.org>
5549
5550 * icomplete.el (icomplete-with-completion-tables): Add :version.
5551
033f22dd
AM
55522013-10-19 Alan Mackenzie <acm@muc.de>
5553
5554 Fix fontification bugs with constructors and const.
5555
5556 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5557 CASE 2) Remove the check for the absence of a suffix construct
5558 after a function declaration with only types (no identifiers) in
5559 the parentheses. Also, accept a function declaration with just a
5560 type inside the parentheses, if this type can be positively
5561 recognised as such, or if a prefix keyword like "explicit" nails
5562 down the construct as a declaration.
5563
58ce0cfc
EZ
55642013-10-19 Eli Zaretskii <eliz@gnu.org>
5565
5566 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5567 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5568 the problem whereby selecting a menu item that leads to a
5569 minibuffer prompt moves the cursor out of the minibuffer window,
5570 making it hard to type at the prompt. Suggested by Stefan Monnier
5571 <monnier@iro.umontreal.ca>.
5572
50e28e7d
JD
55732013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5574
5575 * menu-bar.el: Don't make Services menu.
5576
7deed4bf
RS
55772013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5578
5579 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5580 (ffap-alist): Use ffap-c++-mode for c++-mode.
5581 (ffap-c++-path): New variable.
5582 (ffap-c++-mode): New function.
5583
7bcb455b
JVJ
55842013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5585
5586 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5587
f0ff1cd5
MA
55882013-10-18 Michael Albinus <michael.albinus@gmx.de>
5589
5590 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5591 introduced on 2013-09-08, which results in an infinite loop
5592 requesting a password.
5593
d64da4b7
GM
55942013-10-18 Glenn Morris <rgm@gnu.org>
5595
5596 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5597
ea89ff08
WS
55982013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5599
5600 Sync with upstream verilog-mode revision 1a6ecec7.
5601 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5602 (verilog-mode-release-date): Remove.
5603 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5604 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5605 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5606 (verilog-auto-tieoff-ignore-regexp)
5607 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5608 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5609 (verilog-signals-with, verilog-dir-cache-preserving)
5610 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5611 Doc fixes.
5612 (verilog-case-fold): New option, to control case folding in
5613 regexp searches, bug597.
5614 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5615 (verilog-string-match-fold, verilog-in-paren-count)
5616 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5617 (verilog-at-close-struct-p): New functions.
5618 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5619 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5620 (verilog-leap-to-case-head): Handle "unique0" case.
5621 (verilog-in-constraint-re): New constant.
5622 (verilog-keywords, verilog-type-font-keywords):
5623 Add some SystemVerilog 1800-2012 keywords.
5624 (verilog-label-be): Remove unimplemented argument, bug669.
5625 (verilog-batch-execute-func): When batch expanding clear
5626 create-lockfiles to prevent spurious user locks when a file ends
5627 up not changing.
5628 (verilog-calculate-indent, verilog-calc-1)
5629 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5630 (verilog-do-indent): Fix indentation of nested constraints
5631 and structures.
5632 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5633 (verilog-auto-inst-param): Use verilog-string-match-fold.
5634 (verilog-read-inst-module-matcher):
5635 Fix AUTOINST on gate primitives with #1.
5636 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5637 Reads all user-defined typed variables.
5638 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5639 (verilog-signals-matching-regexp)
5640 (verilog-signals-not-matching-regexp, verilog-auto):
5641 Respect verilog-case-fold.
5642 (verilog-diff-report): Fix line count.
5643 (verilog-auto-assign-modport): Remove unused local `modi'.
5644 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5645 better handle multidimensional arrays.
5646 Fix packed array ports misadding bit index in AUTOINST, bug637.
5647 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5648 to not double-declare existing outputs and inputs, respectively.
5649 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5650 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5651 (verilog-sk-uvm-component): New skeleton.
5652 (verilog-submit-bug-report): Add verilog-case-fold,
5653 remove verilog-mode-release-date.
5654
ef566920
BR
56552013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5656
a12bf61e 5657 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5658 as before.
5659
29df8a0b
RT
56602013-10-18 Reuben Thomas <rrt@sc3d.org>
5661
e0eb0550 5662 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5663 remember buffers (bug#13566).
5664
04a19a79
DC
56652013-10-18 Daniel Colascione <dancol@dancol.org>
5666
5667 When evaluating forms in ielm, direct standard output to ielm
5668 buffer. Add new ielm-return-for-effect command. Remove trailing
5669 whitespace throughout.
5670
5671 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5672 (ielm-return-for-effect): New command.
5673 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5674 (ielm-eval-input): Accept optional `for-effect' parameter.
5675 Bind `standard-output' to stream we create using
04a19a79
DC
5676 `ielm-standard-output-impl'. Suppress printing result when
5677 `for-effect'.
5678 (ielm-standard-output-impl): New function.
5679 (inferior-emacs-lisp-mode): Explain new features in documentation.
5680
4c1f03ef
MA
56812013-10-17 Michael Albinus <michael.albinus@gmx.de>
5682
5683 Code cleanup.
5684
5685 * net/tramp.el (tramp-debug-message): Do not check for connection
5686 buffer.
5687 (tramp-message): Use "vector" connection property.
5688
5689 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5690 (tramp-equal-remote, tramp-eshell-directory-change)
5691 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5692 (tramp-adb-handle-rename-file)
5693 * net/tramp-cmds.el (tramp-list-remote-buffers)
5694 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5695 * net/tramp-compat.el (tramp-compat-process-running-p)
5696 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5697 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5698 (tramp-gvfs-handle-rename-file)
5699 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5700 (tramp-set-file-uid-gid)
5701 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5702 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5703 of `file-remote-p'.
5704
5705 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5706 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5707 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5708 (tramp-gw-open-network-stream): Suppress unrelated traces.
5709
5710 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5711 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5712 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5713 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5714 connection property.
5715
5716 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5717 persistency file.
4c1f03ef
MA
5718
5719 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5720 Refactor common code. Improve debug message.
5721 (tramp-maybe-open-connection)
5722 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5723 connection buffer too early.
5724
5725 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5726 from `tramp-smb-actions-with-acl'.
5727 (tramp-smb-actions-set-acl): New defconst.
5728 (tramp-smb-handle-copy-directory)
5729 (tramp-smb-action-get-acl): New defun, renamed from
5730 `tramp-smb-action-with-acl'.
5731 (tramp-smb-action-set-acl): New defun.
5732 (tramp-smb-handle-set-file-acl): Rewrite.
5733
642eb8b6
GM
57342013-10-17 Glenn Morris <rgm@gnu.org>
5735
5736 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5737
85527ff3
SM
57382013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5739
921c1d62
SM
5740 * skeleton.el (skeleton-newline): Remove.
5741 (skeleton-internal-1): Use (insert "\n") instead.
5742
e333fb10
SM
5743 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5744 let-bindings.
5745
85527ff3
SM
5746 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5747 forward-sexp-function while we redo its job (bug#15613).
5748
c8722a97
JB
57492013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5750
5751 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5752 represented by lists.
5753
7a550bbb
GM
57542013-10-16 Glenn Morris <rgm@gnu.org>
5755
5756 * tmm.el (tmm--history): New dynamic variable.
5757 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5758
f19da8ad
MA
57592013-10-16 Michael Albinus <michael.albinus@gmx.de>
5760
5761 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5762 (tramp-smb-errors): Add error messages.
5763 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5764 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5765 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5766 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5767 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5768 (tramp-smb-get-stat-capability): Fix tests.
5769
a24b9961
DK
57702013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5771
5772 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5773 (bug#15580).
5774
62ad85e6
GM
57752013-10-16 Glenn Morris <rgm@gnu.org>
5776
0283d6b0
GM
5777 * ansi-color.el (ansi-color-drop-regexp):
5778 Add 1J, 1K, 2K. (Bug#15617)
5779
012e2f9f
GM
5780 * files.el (hack-local-variables--warned-lexical): New.
5781 (hack-local-variables):
5782 Warn about misplaced lexical-binding. (Bug#15616)
5783
62ad85e6
GM
5784 * net/eww.el (eww-render): Always set eww-current-url,
5785 and update header line. (Bug#15622)
5786 (eww-display-html): ... Rather than just doing it here.
5787
6456c0ea
EZ
57882013-10-15 Eli Zaretskii <eliz@gnu.org>
5789
5790 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5791 menu navigations commands.
5792
c2de5588
DK
57932013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5794
5795 * progmodes/subword.el (subword-capitalize): Be careful when
5796 the search for [[:alpha:]] fails (bug#15580).
5797
ccd4a783
EZ
57982013-10-14 Eli Zaretskii <eliz@gnu.org>
5799
5800 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5801 to commands that scroll the menu.
5802
1eda1d8d
DG
58032013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5804
c2de5588
DK
5805 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5806 Handle methods ending with `?' and `!'.
1eda1d8d 5807
e70181b8
AM
58082013-10-14 Akinori MUSHA <knu@iDaemons.org>
5809
5810 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5811 `japanese-cp932' to `cp932' to fix the problem where saving a
5812 source file written in Shift_JIS twice would end up having
5813 `coding: japanese-cp932' which Ruby could not recognize.
5814 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5815 in `ruby-encoding-map'.
5816 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5817 doesn't need to be explicitly declared in magic comment.
5818 (ruby-encoding-map): Add type declaration for better customize UI.
5819
9148ee92
GM
58202013-10-13 Glenn Morris <rgm@gnu.org>
5821
a5d38e34
GM
5822 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5823 Occur buffers are read-only. http://bugs.debian.org/720775
5824
9148ee92
GM
5825 * emacs-lisp/authors.el (authors-fixed-entries):
5826 Comment out old alpha stuff.
5827
a9ba094b
DG
58282013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5829
5830 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5831 to `after-save-hook' instead of `before-save-hook'.
5832 (ruby-mode-set-encoding): Use the value of coding system used to
5833 write the file. Call `basic-save-buffer-1' after modifying the
5834 buffer.
5835
7a068717
AM
58362013-10-13 Alan Mackenzie <acm@muc.de>
5837
5838 Fix indentation/fontification of Java enum with
5839 "implements"/generic.
5840
c2de5588
DK
5841 * progmodes/cc-engine.el (c-backward-over-enum-header):
5842 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5843 (c-inside-bracelist-p): Uses new function above.
5844 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5845 function above.
5846 (c-font-lock-enum-tail): Uses new function above.
5847
85b64f02
KH
58482013-10-13 Kenichi Handa <handa@gnu.org>
5849
5850 * international/mule-cmds.el (select-safe-coding-system): Remove a
5851 superfluous condition in chekcing whether a coding system is safe
5852 or not.
5853
fc7f501b
OK
58542013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5855
5856 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5857
fdcb2049
AP
58582013-10-13 Andreas Politz <politza@hochschule-trier.de>
5859
5860 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5861
8c106d17
GM
58622013-10-13 Glenn Morris <rgm@gnu.org>
5863
feab892d
GM
5864 * menu-bar.el (menu-bar-update-buffers):
5865 Unify Buffers menu prompt string. (Bug#15576)
5866
b22d0686
GM
5867 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5868
8c106d17
GM
5869 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5870 Add some entries.
5871 (authors-fixed-entries): Use accented form of name.
5872
1b12c797
SM
58732013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5874
650fa7bf 5875 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5876 method calls (bug#15594).
650fa7bf
SM
5877 (ruby-smie--args-separator-p): New function.
5878 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5879 recognize paren-free method calls.
5880
1b12c797
SM
5881 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5882 internals of universal-argument.
5883
029619c8
EZ
58842013-10-11 Eli Zaretskii <eliz@gnu.org>
5885
5886 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5887 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5888 dropped menu on second mouse click on the menu bar.
029619c8 5889
dd070019
SM
58902013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5893 (explicit-shell-file-name): Declare.
5894 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5895 (sh-completion-at-point-function): New function.
5896 (sh-mode): Use it.
5897 (sh-smie--keyword-p): Remove unused argument.
5898 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5899 vars.
5900 (sh-set-shell): Always setup SMIE, even if we use the
5901 old indentation code.
5902
0922b826
DG
59032013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5904
b68e2926
DG
5905 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5906 cases of ? and =.
5907 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5908 predicate would return nil are almost non-existent.
5909 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5910
0922b826
DG
5911 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5912 cache also after commands that modify the buffer but don't move
5913 point.
5914
ee041f2d
SM
59152013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * env.el (substitute-env-in-file-name): New function.
5918 (substitute-env-vars): Extend the meaning of the optional arg.
5919
a5dab159
EZ
59202013-10-10 Eli Zaretskii <eliz@gnu.org>
5921
5922 * term/w32-win.el (dynamic-library-alist): Define separate lists
5923 of GIF DLLs for versions before and after 5.0.0 of giflib.
5924 (Bug#15531)
5925
0449d6cd 59262013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5927
5928 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5929 not locked, use last revision and current source as
5930 defaults. (Bug#15569)
5931
2f6e161e
MY
59322013-10-10 Masatake YAMATO <yamato@redhat.com>
5933
5934 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5935 menu-bar is hidden.
5936
6c8413fc
MR
59372013-10-10 Martin Rudalics <rudalics@gmx.at>
5938
5939 * window.el (pop-to-buffer-same-window): Fix doc-string.
5940 (Bug#15492)
5941
20832de0
SM
59422013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5945
c6e8ae77
AC
59462013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5947
5948 * calendar/icalendar.el (icalendar-import-file):
5949 Fix interactive spec. (Bug#15482)
5950
9db13baf
GM
59512013-10-10 Glenn Morris <rgm@gnu.org>
5952
9271e90e
GM
5953 * desktop.el (desktop-save): Default to saving in .emacs.d,
5954 since PWD is no longer in desktop-path by default. (Bug#15319)
5955
9db13baf
GM
5956 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5957 now that text mode has a menu with the same entry.
5958 (menu-bar-text-mode-auto-fill): Remove now unused func.
5959 * textmodes/text-mode.el (text-mode-map):
5960 Use auto-fill help text from menu-bar.el.
5961
a0be396a 59622013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5963
5964 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5965
2edcd3c7
JL
59662013-10-09 Juri Linkov <juri@jurta.org>
5967
5968 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5969 instead of this-command-keys. Add universal-argument-more and
5970 universal-argument-minus to the list of prefix commands. (Bug#15568)
5971
574411d0
GM
59722013-10-09 Glenn Morris <rgm@gnu.org>
5973
14afa541
GM
5974 * vc/vc-svn.el (vc-svn-create-repo):
5975 Expand paths in file://... url. (Bug#15446)
5976
574411d0
GM
5977 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5978 Add some entries.
5979 (authors): Remove unused local variables.
5980
79804536
SM
59812013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * profiler.el: Create a more coherent calltree from partial backtraces.
5984 (profiler-format): Hide the tail with `invisible' so that C-s can still
5985 find the hidden elements.
5986 (profiler-calltree-depth): Don't recurse so enthusiastically.
5987 (profiler-function-equal): New hash-table-test.
5988 (profiler-calltree-build-unified): New function.
5989 (profiler-calltree-build): Use it.
5990 (profiler-report-make-name-part): Indent the calltree less.
5991 (profiler-report-mode): Add visibility specs for profiler-format.
5992 (profiler-report-expand-entry, profiler-report-toggle-entry):
5993 Expand the whole subtree when provided with a prefix arg.
5994
238150c8
DG
59952013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5996
5997 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5998 iuwu-mod token.
5999 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6000 hanging iuwu-mod token.
6001 (ruby-smie--forward-token): Do not include a dot after a token in
6002 that token.
6003 (ruby-smie--backward-token): Likewise.
6004
b0949cc4
JL
60052013-10-08 Juri Linkov <juri@jurta.org>
6006
6007 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6008 to isearch-other-control-char.
6009 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6010 and isearch-post-command-hook to post-command-hook.
6011 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6012 and isearch-post-command-hook from post-command-hook.
6013 (isearch-unread-key-sequence)
6014 (isearch-reread-key-sequence-naturally)
6015 (isearch-lookup-scroll-key, isearch-other-control-char)
6016 (isearch-other-meta-char): Remove functions.
6017 (isearch-pre-command-hook, isearch-post-command-hook):
6018 New functions based on isearch-other-meta-char rewritten
6019 relying on the new behavior of overriding-terminal-local-map
6020 that does not replace the local keymaps any more. (Bug#15200)
6021
4ed77415
EZ
60222013-10-08 Eli Zaretskii <eliz@gnu.org>
6023
6024 Support menus on text-mode terminals.
6025 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6026 functionality.
6027
6028 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6029
c2de5588
DK
6030 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6031 Move here from mouse.el.
4ed77415
EZ
6032 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6033 and arrow keys.
6034 (tty-menu-navigation-map): New map for TTY menu navigation.
6035
6036 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6037
6038 * frame.el (display-mouse-p): Report text-mode mouse as available
6039 on w32.
6040 (display-popup-menus-p): Report availability if mouse is
6041 available; don't condition on window-system.
6042
6043 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6044 (tty-menu-selected-face): New faces.
6045
b7d5bd82
TL
60462013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6047
06286513
SM
6048 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6049 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6050 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6051 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6052 New constants.
6053 (lisp-mode-variables): New `elisp' argument.
6054 (emacs-lisp-mode): Use it.
6055 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6056 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6057
b7d5bd82
TL
6058 * indent.el: Use lexical-binding.
6059 (indent-region): Add progress reporter.
6060 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6061 last step.
6062 (indent--next-tab-stop): New function to implement this behavior.
6063 (tab-to-tab-stop, move-to-tab-stop): Use it.
6064
60652013-10-08 Teemu Likonen <tlikonen@iki.fi>
6066
6067 * indent.el (indent-rigidly--current-indentation): New function.
6068 (indent-rigidly-map): New var.
6069 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6070
5ea75d23
BG
60712013-10-08 Bastien Guerry <bzg@gnu.org>
6072
f2726fa2 6073 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 6074
cc5da1ec
SM
60752013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6076
8ffa1a0b
SM
6077 * progmodes/perl-mode.el: Use lexical-binding.
6078 Remove redundant :group args.
6079 (perl-nochange): Change default to be closer to other major modes's
6080 standard behavior.
6081 (perl-indent-line): Don't consider text on current line as a
6082 valid beginning of function from which to indent.
6083
f2223371
SM
6084 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6085 with more than one argument (bug#15538).
6086
44256060
SM
6087 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6088
cc5da1ec
SM
6089 * vc/pcvs.el: Use lexical-binding.
6090 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6091 environment of `eval'.
6092 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6093 than a list of expressions. Adjust callers.
6094 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6095
0ea1599d
DG
60962013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6097
6098 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 6099 case of the dot in a chained method call being on the following line.
0ea1599d 6100
da3e5ebb
SM
61012013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6102
2abb4e65
SM
6103 * electric.el (electric-indent-inhibit): New var.
6104 (electric-indent-post-self-insert-function): Use it.
6105 * progmodes/python.el (python-mode): Set it.
6106
d2e0e795
SM
6107 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6108 open braces.
6109
6110 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6111
bdc6b4c8
SM
6112 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6113 (css-mode): Use electric-indent-chars.
6114
da3e5ebb
SM
6115 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6116 (font-lock-beg, font-lock-end): Move before first use.
6117 (nxml-mode): Use syntax-propertize-function.
6118 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6119 (nxml-extend-after-change-region): Remove.
6120 * nxml/xmltok.el: Use lexical-binding.
6121 (xmltok-save): Use `declare'.
6122 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6123 * nxml/nxml-util.el: Use lexical-binding.
6124 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6125 Use `declare'.
6126 * nxml/nxml-ns.el: Use lexical-binding.
6127 (nxml-ns-save): Use `declare'.
6128 (nxml-ns-prefixes-for): Avoid add-to-list.
6129 * nxml/rng-match.el: Use lexical-binding.
6130 (rng--ipattern): Use cl-defstruct.
6131 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6132 (rng-cons-group-after, rng-subst-group-after)
6133 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6134 Use closures instead of `(lambda...).
6135
f8f91d5d
MA
61362013-10-07 Michael Albinus <michael.albinus@gmx.de>
6137
6138 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6139 of BEG and END.
6140
da3e5ebb
SM
6141 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6142 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6143 (tramp-gvfs-handle-insert-file-contents): Remove function.
6144
da3e5ebb
SM
6145 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6146 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6147
6148 * net/trampver.el: Update release number.
6149
7ccae3b1
SM
61502013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6151
55ca2c0d
SM
6152 * progmodes/compile.el (compilation-parse-errors):
6153 Use compilation--put-prop.
6154 (compilation--ensure-parse): Check compilation-multiline.
6155
731fc3ae
SM
6156 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6157
da3e5ebb
SM
6158 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6159 lexical-binding.
a5833280 6160
2e7ba2c2
SM
6161 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6162
7ccae3b1
SM
6163 * progmodes/ruby-mode.el: Fix recently added tests.
6164 (ruby-smie-grammar): Add - and +.
6165 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6166 (ruby-smie--backward-id): New functions.
6167 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6168 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6169 any more.
6170
85698d63
LL
61712013-10-07 Leo Liu <sdl.web@gmail.com>
6172
6173 * register.el (register-preview-delay)
6174 (register-preview-functions): New variables.
6175 (register-read-with-preview, register-preview)
6176 (register-describe-oneline): New functions.
6177 (point-to-register, window-configuration-to-register)
6178 (frame-configuration-to-register, jump-to-register)
6179 (number-to-register, view-register, insert-register)
6180 (copy-to-register, append-to-register, prepend-to-register)
6181 (copy-rectangle-to-register): Use register-read-with-preview to
6182 read register. (Bug#15525)
6183
3986af6c
DS
61842013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6185
6186 * net/network-stream.el (network-stream-open-starttls): Don't add
6187 --insecure if it's already present, because that gnutls-cli
6188 rejects getting that parameter twice.
6189
5cd9cda9
DG
61902013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6191
6192 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6193 keyword, too.
6194
da9ea6d9
DG
61952013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6196
6197 * newcomment.el (comment-use-global-state): Change default value
6198 to t, mark obsolete (Bug#15251).
6199 (comment-beginning): In addition to `comment-to-syntax', check the
6200 value of `comment-use-global-state'.
6201
34d1a133
SM
62022013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6205 (ruby-comment-column): Follow the global default, by default.
6206 (ruby-smie-grammar): Add assignment syntax.
6207 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6208 open-paren, a comma, or a \.
6209 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6210 and line continuations.
6211 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6212 followed by implicit semi-colons. Add rule for string concatenation
6213 and for indentation at BOB.
27821a89 6214 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6215
6216 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6217 calling next-sexp, since next-token may have skipped chars which
6218 next-sexp doesn't know should be skipped!
6219
6f6ab820
LL
62202013-10-05 Leo Liu <sdl.web@gmail.com>
6221
34d1a133
SM
6222 * progmodes/octave.el (octave-send-region):
6223 Call compilation-forget-errors.
6f6ab820 6224
34ca0f4c
XF
62252013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6226
6227 * vc/vc-svn.el (vc-svn-find-admin-dir):
6228 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6229 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6230 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6231 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6232
a27c1b72
SM
62332013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6236
258ab3bc
SM
62372013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * subr.el (read-passwd): Hide chars even when called within a context
6240 where after-change-functions is disabled (bug#15501).
6241 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6242 until we removed ourself from overriding-terminal-local-map.
6243
939fb29c
LL
62442013-10-04 Leo Liu <sdl.web@gmail.com>
6245
258ab3bc
SM
6246 * progmodes/octave.el (inferior-octave-mode):
6247 Call compilation-forget-errors.
939fb29c 6248
63bd7f35
XF
62492013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6250
6251 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6252
9e6229fa
MA
62532013-10-04 Michael Albinus <michael.albinus@gmx.de>
6254
6255 * net/secrets.el (secrets-create-collection): Add optional
6256 argument ALIAS. Use proper Label keyword. Append ALIAS as
6257 dbus-call-method argument. (Bug#15516)
6258
1dab32a3
LL
62592013-10-04 Leo Liu <sdl.web@gmail.com>
6260
6261 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6262 (inferior-octave-compilation-font-lock-keywords): New variables.
6263 (compilation-error-regexp-alist)
6264 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6265 (inferior-octave-mode): Use compilation-shell-minor-mode.
6266
6cad7ba3
JS
62672013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6268
6269 * minibuffer.el (completion--replace): Be careful that `end' might be
6270 a marker.
6271
acbadd00
DU
62722013-10-03 Daiki Ueno <ueno@gnu.org>
6273
6274 Add support for package signature checking.
6275 * emacs-lisp/package.el (url-http-file-exists-p)
6276 (epg-make-context, epg-context-set-home-directory)
6277 (epg-verify-string, epg-context-result-for)
6278 (epg-signature-status, epg-signature-to-string)
6279 (epg-check-configuration, epg-configuration)
6280 (epg-import-keys-from-file): Declare.
6281 (package-check-signature): New user option.
6282 (package-unsigned-archives): New user option.
6283 (package-desc): Add `signed' field.
6284 (package-load-descriptor): Set `signed' field if .signed file exists.
6285 (package--archive-file-exists-p): New function.
6286 (package--check-signature): New function.
6287 (package-install-from-archive): Check package signature.
6288 (package--download-one-archive): Check archive signature.
6289 (package-delete): Remove .signed file.
6290 (package-import-keyring): New command.
6291 (package-refresh-contents): Import default keyring.
6292 (package-desc-status): Add "unsigned" status.
6293 (describe-package-1, package-menu--print-info)
6294 (package-menu-mark-delete, package-menu--find-upgrades)
6295 (package-menu--status-predicate): Support "unsigned" status.
6296
adf2aa61
SM
62972013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6300 the new compilation scheme using the new byte-codes.
6301
6302 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6303 (byte-pophandler): New byte codes.
6304 (byte-goto-ops): Adjust accordingly.
6305 (byte-compile--use-old-handlers): New var.
6306 (byte-compile-catch): Use new byte codes depending on
6307 byte-compile--use-old-handlers.
6308 (byte-compile-condition-case--old): Rename from
6309 byte-compile-condition-case.
6310 (byte-compile-condition-case--new): New function.
6311 (byte-compile-condition-case): New function that dispatches depending
6312 on byte-compile--use-old-handlers.
6313 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6314 when we can.
6315
6316 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6317 Optimize under `condition-case' and `catch' if
6318 byte-compile--use-old-handlers is nil.
6319 (disassemble-offset): Handle new bytecodes.
6320
328a8179
SM
63212013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * subr.el (error): Use `declare'.
6324 (decode-char, encode-char): Use advertised-calling-convention instead
6325 of the docstring to discourage use of the `restriction' arg.
6326
15a1e936
DU
63272013-10-03 Daiki Ueno <ueno@gnu.org>
6328
6329 * epg.el (epg-verify-file): Add a comment saying that it does not
6330 notify verification error as a return value nor a signal.
6331 (epg-verify-string): Ditto.
6332
376f862a
KR
63332013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6334
6335 * progmodes/compile.el (compilation-start): Try globbing the arg to
6336 `cd' (bug#15417).
6337
a2f93a5f
MA
63382013-10-02 Michael Albinus <michael.albinus@gmx.de>
6339
6340 Sync with Tramp 2.2.8.
6341
6342 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6343 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6344 * net/trampver.el: Update release number.
6345
0daa0804
JD
63462013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6347
6348 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6349 and default-process-coding-system for darwin only.
6350
abd1ae34
SM
63512013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6354
be4e325d
MH
63552013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6356
6357 * vc/vc-git.el (vc-git-grep): Disable pager.
6358
e9155c4a
DG
63592013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6360
494e898b
DG
6361 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6362 Use :url instead of :homepage, as per
6363 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6364
e9155c4a
DG
6365 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6366 non-nil, use `syntax-ppss' (Bug#15251).
6367
481a8e0f
RS
63682013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6369
be4e325d
MH
6370 * progmodes/octave.el (inferior-octave-startup-file):
6371 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6372
056453c6
DG
63732013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6374
be4e325d
MH
6375 * emacs-lisp/package.el (package-desc-from-define):
6376 Accept additional arguments as plist, convert them to an alist and store
6377 them in the `extras' slot.
056453c6
DG
6378 (package-generate-description-file): Convert extras alist back to
6379 plist and append to the `define-package' form arguments.
6380 (package--alist-to-plist): New function.
6381 (package--ac-desc): Add `extras' slot.
6382 (package--add-to-archive-contents): Check if the archive-contents
6383 vector is long enough, and if it is, pass its `extras' slot value
6384 to `package-desc-create'.
6385 (package-buffer-info): Call `lm-homepage', pass the returned value
6386 to `package-desc-from-define'.
6387 (describe-package-1): Render the homepage button (Bug#13291).
6388
be4e325d
MH
6389 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6390 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6391
832966e5
JD
63922013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6393
6394 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6395 and default-process-coding-system to utf-8-unix (Bug#15402).
6396
6cfe977d
XF
63972013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6398
6399 * subr.el (looking-back): Do not recommend using looking-back.
6400
38de11bd
AM
64012013-09-28 Alan Mackenzie <acm@muc.de>
6402
6403 Fix indentation/fontification of Java enum with "implements".
6404
6405 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6406 regexp which matches "implements", etc., in Java.
6407 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6408 specifier clauses coming after "enum".
6409 * progmodes/cc-fonts.el (c-font-lock-declarations)
6410 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6411 after "enum".
6412
1610938f
JD
64132013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6414
6415 * faces.el (region): Change ns_selection_color to
6416 ns_selection_fg_color, add ns_selection_bg_color.
6417
e090f499
LL
64182013-09-28 Leo Liu <sdl.web@gmail.com>
6419
4d2e94d1
LL
6420 * progmodes/octave.el (inferior-octave-completion-table)
6421 (inferior-octave-completion-at-point): Minor tweaks.
6422
e090f499
LL
6423 * textmodes/ispell.el (ispell-lookup-words): Rename from
6424 lookup-words. (Bug#15460)
6425 (lookup-words): Obsolete.
6426 (ispell-complete-word, ispell-command-loop): All uses changed.
6427
7e138a62
RS
64282013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6429
a12bf61e 6430 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6431 (octave-mode-menu): Add octave-send-buffer.
6432 (octave-send-buffer): New function.
6433
5af5ed08
RS
64342013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6435
a12bf61e 6436 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6437 octave-lookfor.
6438 (octave-mode-menu): Add octave-lookfor.
6439 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6440 octave-lookfor.
6441 (octave-lookfor): New function.
6442
3b7b2692
SM
64432013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6444
35e951cd 6445 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6446 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6447 its convention.
6448 (cl--loop-set-iterator-function): New function.
6449 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6450 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6451 Bind `it' with `let' instead of substituting it with `cl-subst'.
6452 (cl--unused-var-p): New function.
6453 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6454 Eliminate some unused variable warnings (bug#15326).
6455
529fb53f
TH
64562013-09-27 Tassilo Horn <tsdh@gnu.org>
6457
6458 * doc-view.el (doc-view-scale-reset): Rename from
6459 `doc-view-reset-zoom-level'.
6460 (doc-view-scale-adjust): New command.
6461 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6462 `doc-view-scale-adjust'.
6463
0550c95a
TH
64642013-09-26 Tassilo Horn <tsdh@gnu.org>
6465
6466 * doc-view.el (doc-view-reset-zoom-level): New command.
6467 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6468 zoom commands (bug#15466).
6469
6950f152
KH
64702013-09-26 Kenichi Handa <handa@gnu.org>
6471
6472 * international/quail.el (quail-help): Make it not a command.
6473
39587580
LL
64742013-09-26 Leo Liu <sdl.web@gmail.com>
6475
6476 * minibuffer.el (completion-all-sorted-completions): Make args
6477 optional as they are.
6478
00578659
DC
64792013-09-25 Daniel Colascione <dancol@dancol.org>
6480
6481 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6482 specs are and that they're not evaluated.
6483
0c173878
SS
64842013-09-24 Sam Steingold <sds@gnu.org>
6485
6486 * midnight.el (clean-buffer-list-kill-regexps)
6487 (clean-buffer-list-kill-buffer-names): Update for the new Man
6488 buffer naming which includes the object name.
6489
84998447
SM
64902013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6493 (eshell-parse-command, eshell-parse-pipeline): Use it since
6494 eshell-separate-commands requires a dynamic scoped var.
6495 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6496
33215353
LL
64972013-09-23 Leo Liu <sdl.web@gmail.com>
6498
6499 * autoinsert.el (auto-insert-alist): Make the value of
6500 lexical-binding match its file setting.
6501
57b16162
JB
65022013-09-23 Juanma Barranquero <lekktu@gmail.com>
6503
c8af4e67
JB
6504 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6505
57b16162
JB
6506 * autoarg.el (autoarg-kp-digit-argument):
6507 * electric.el (Electric-command-loop):
6508 * kmacro.el (kmacro-step-edit-insert):
6509 Do not set universal-argument-num-events.
6510
7186ba60
LL
65112013-09-22 Leo Liu <sdl.web@gmail.com>
6512
6513 * files.el (interpreter-mode-alist): Add octave.
6514
ece15004
AM
65152013-09-21 Alan Mackenzie <acm@muc.de>
6516
6517 C++: fontify identifier in declaration following "public:" correctly.
6518 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6519 to match "public", etc.
6520 (c-decl-prefix-re): Add ":" into the C++ value.
6521 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6522 bit. Add a check for a ":" preceded by "public", etc.
6523
75d83e22
EZ
65242013-09-21 Eli Zaretskii <eliz@gnu.org>
6525
6526 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6527 recognized by GDB 7.5 and later.
6528
d052d3bd
XF
65292013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6530
6531 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6532
31dca772
R
65332013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * subr.el (internal--call-interactively): New const.
6536 (called-interactively-p): Use it (bug#3984).
6537
98ccf24e
XF
65382013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6539
6540 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6541 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6542 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6543
c39cc7d1
SM
65442013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6547 (eshell-ls-orig-insert-directory): Remove.
6548 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6549 (eshell-ls-use-in-dired): Use advice-add/remove.
6550 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6551 Add `orig-fun' arg for use in :around advice.
6552 Make it check (redundantly) eshell-ls-use-in-dired.
6553
9a0289a2
GM
65542013-09-19 Glenn Morris <rgm@gnu.org>
6555
a2c501b8
GM
6556 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6557
c440407a
GM
6558 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6559
9a0289a2
GM
6560 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6561
85e05915
MA
65622013-09-19 Michael Albinus <michael.albinus@gmx.de>
6563
6564 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6565 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6566 (tramp-get-remote-python): New defuns.
6567 (tramp-get-remote-uid-with-perl)
6568 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6569 contributed by yary <not.com@gmail.com> (tiny change).
6570 (tramp-get-remote-uid-with-python)
6571 (tramp-get-remote-gid-with-python): New defuns. Python code
6572 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6573 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6574
ce503312
GM
65752013-09-19 Glenn Morris <rgm@gnu.org>
6576
f7544773
GM
6577 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6578
72fd2877
GM
6579 * eshell/em-unix.el (eshell-remove-entries):
6580 Rename argument to avoid name-clash with global `top-level'.
6581
336b5a56
GM
6582 * eshell/esh-proc.el (eshell-kill-process-function):
6583 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6584 (eshell-reset-after-proc): Remove unused arg `proc'.
6585
57a3a53d
GM
6586 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6587 (directory-files-and-attributes): Mark unused arg.
6588
3261d4af
GM
6589 * eshell/em-unix.el (eshell-remove-entries):
6590 Remove unused arg `path'. Update callers.
6591
8e51b5d0
GM
6592 * eshell/em-hist.el (eshell-hist-parse-arguments):
6593 Remove unused arg `silent'. Update callers.
6594
ce503312
GM
6595 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6596 Fix (f)boundp mix-up.
6597
6598 * eshell/em-smart.el (eshell-smart-scroll-window)
6599 (eshell-disable-after-change):
336b5a56 6600 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6601
ee3ce8a7
AM
66022013-09-18 Alan Mackenzie <acm@muc.de>
6603
6604 Fix fontification of type when followed by "const".
6605 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6606 "known" types from fontification.
6607
ec9177ba
GM
66082013-09-18 Glenn Morris <rgm@gnu.org>
6609
7bb3e768
GM
6610 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6611 (chart-face-list): Drop Emacsen without display-color-p.
6612
5148da15
GM
6613 * net/eww.el (libxml-parse-html-region): Declare.
6614 (eww-display-html): Explicit error if no libxml2 support.
6615
2f68e157
GM
6616 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6617
9019d095
GM
6618 * image.el (image-type-from-buffer, image-multi-frame-p):
6619 Remove --without-x warning/error.
67645389 6620
5f30349b 6621 * mouse.el (mouse-yank-primary):
45069b2e 6622 * term.el (term-mouse-paste):
5f30349b
GM
6623 Reorder to silence --without-x compilation.
6624
cd8edbbe
GM
6625 * mpc.el (doc-view-mode): Silence --without-x compilation.
6626
8a78544e
GM
6627 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6628 Silence --without-x compilation.
6629
12679bfd
GM
6630 * progmodes/gud.el (gud-find-file, gud-mode):
6631 Silence --without-x compilation.
6632 (tooltip-mode): Declare.
30810a05 6633
f0047cb9
GM
6634 * wdired.el (dired-backup-overwrite): Remove declaration.
6635 (wdired-mode-map): Add doc string.
6636
e740f9d2
GM
6637 * custom.el (x-get-resource): Declare.
6638
92d77c89
GM
6639 * eshell/em-glob.el (ange-cache):
6640 * eshell/em-unix.el (ange-cache): Declare.
6641
76e69577
GM
6642 * faces.el (x-display-list, x-open-connection, x-get-resource):
6643 Declare.
7e58af4b
GM
6644
6645 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6646 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6647 Declare.
76e69577 6648
4bd4c0af 6649 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6650
ffb82dbd
GM
6651 * net/gnutls.el (gnutls-log-level): Declare.
6652
986ed135
GM
6653 * net/shr.el (image-size, image-animate): Declare.
6654
e740f9d2
GM
6655 * simple.el (font-info): Declare.
6656
d2f3e9f8
GM
6657 * subr.el (x-popup-dialog): Declare.
6658
047a1a4c
GM
6659 * term/common-win.el (x-select-enable-primary)
6660 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6661 Declare.
6662
f4a1d572
GM
6663 * term/ns-win.el (x-handle-args): Declare.
6664
e843de77
GM
6665 * term/x-win.el (x-select-enable-clipboard): Declare.
6666
5fa89513
GM
6667 * term/w32-win.el (create-default-fontset): Declare.
6668
38702b5b
GM
6669 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6670 Declare.
6671
e740f9d2
GM
6672 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6673 (fit-frame-to-buffer): Explicit error if --without-x.
6674 (mouse-autoselect-window-select): Silence compiler.
6675
49a053fc
GM
6676 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6677
6678 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6679 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6680 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6681 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6682 Remove unused local variables.
6683
6684 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6685
ec9177ba
GM
6686 * textmodes/two-column.el: Make 2C-split work for --without-x.
6687 (scroll-bar-columns): Autoload.
6688 (top-level): Require fringe when compiling.
6689
9f25cb77
LL
66902013-09-18 Leo Liu <sdl.web@gmail.com>
6691
6692 * subr.el (add-hook): Robustify to handle closure as well.
6693
2b42da98
GM
66942013-09-17 Glenn Morris <rgm@gnu.org>
6695
6696 * simple.el (messages-buffer-mode-map): Unbind "g".
6697
e8b66a6a
SM
66982013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6699
9c0ad4f7
SM
6700 * help-mode.el (help-mode-finish): Use derived-mode-p.
6701 Remove obsolete highlighting.
6702
7a806dfb
SM
6703 * play/life.el (life-mode): Use define-derived-mode. Derive from
6704 special-mode.
6705 (life): Let-bind inhibit-read-only.
6706 (life-setup): Avoid `setq'. Use `life-mode'.
6707
96dbf5a8
SM
6708 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6709 which should not be needed any more.
6710 (package-menu-refresh, package-menu-describe-package): Use user-error.
6711
e8b66a6a
SM
6712 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6713 (eshell-post-rewrite-command-hook): Make obsolete.
6714 (eshell-parse-command): Simplify.
6715 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6716 (eshell--cmd): Declare.
6717 (eshell-parse-pipeline): Remove unused var `final-p'.
6718 Pass a dynvar to eshell-post-rewrite-command-hook.
6719 Implement the new eshell-post-rewrite-command-function.
6720 (eshell-invoke-directly): Remove unused arg `input'.
6721 * eshell/esh-io.el (eshell-io-initialize):
6722 Use eshell-post-rewrite-command-function (bug#15399).
6723 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6724 adjust to new calling convention.
6725 (eshell-create-handles): Rename args to avoid clashing with dynvar
6726 `standard-output'.
6727
90582f05
GM
67282013-09-17 Glenn Morris <rgm@gnu.org>
6729
6730 * simple.el (messages-buffer-mode): New major mode.
6731 (messages-buffer): New function.
6732 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6733 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6734 (ert-run-test): Use `messages-buffer' function.
90582f05 6735 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6736 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6737 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6738
39eb0cb5 67392013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6740
6741 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6742
1d42e5b6 6743 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6744
70568a90
SM
67452013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6746
504a0381
SM
6747 * icomplete.el (icomplete-in-buffer): New var.
6748 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6749 vars and replace them with functions.
6750 (icomplete-minibuffer-setup): Adjust accordingly.
6751 (icomplete--completion-table, icomplete--completion-predicate)
6752 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6753 New functions.
6754 (icomplete-forward-completions, icomplete-backward-completions)
6755 (icomplete-simple-completing-p, icomplete-exhibit)
6756 (icomplete-completions): Use them.
6757 (icomplete--in-region-buffer): New var.
6758 (icomplete--in-region-setup): New function.
6759 (icomplete-mode): Use it.
6760
70568a90
SM
6761 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6762 (bug#15379).
6763 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6764 return args and options.
6765 (eshell-eval-using-options): Use the new return value of
6766 eshell--do-opts to set the options's vars in their scope.
6767 (eshell--set-option): Rename from eshell-set-option.
6768 Add arg `opt-vals'.
6769 (eshell--process-option): Rename from eshell-process-option.
6770 Add arg `opt-vals'.
6771 (eshell--process-args): Use an `opt-vals' alist to store the options's
6772 values during their processing and return them additionally to the
6773 remaining args.
6774
578c21bc
DG
67752013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6776
6777 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6778 continuation character an operator, as far as indentation is
6779 concerned (Bug#15369).
6780
c089653d
MR
67812013-09-15 Martin Rudalics <rudalics@gmx.at>
6782
6783 * window.el (window--state-put-2): Don't process buffer state
6784 when buffer doesn't exist any more (Bug#15382).
6785
1e53bb4b
GM
67862013-09-15 Glenn Morris <rgm@gnu.org>
6787
30753242
GM
6788 * eshell/em-unix.el (eshell/rm):
6789 Make -f ignore missing files. (Bug#15373)
6790
1e53bb4b
GM
6791 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6792 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6793 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6794
0d8863b3
GM
67952013-09-14 Glenn Morris <rgm@gnu.org>
6796
6797 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6798
d3fc6549
GM
67992013-09-13 Glenn Morris <rgm@gnu.org>
6800
6801 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6802 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6803
fcd42c11
DA
68042013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6805
6806 * frame.el (x-focus-frame): Mark as declared in frame.c.
6807
7830899f
SM
68082013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * ls-lisp.el: Use advice-add.
6811 (original-insert-directory): Remove.
6812 (ls-lisp--insert-directory): Rename from insert-directory; add
6813 `orig-fun' argument.
6814 (insert-directory): Advise.
6815
84387cd2
EZ
68162013-09-13 Eli Zaretskii <eliz@gnu.org>
6817
6818 * term.el (term-emulate-terminal): Decode the command string
6819 before passing it to term-command-hook. (Bug#15337)
6820
35ffc6ba
GM
68212013-09-13 Glenn Morris <rgm@gnu.org>
6822
5c3f9bcc
GM
6823 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6824
2ada368a
GM
6825 * eshell/esh-ext.el (eshell-search-path): Declare.
6826
fcef2e13
GM
6827 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6828 Otherwise an error occurs if eshell-dirs module not loaded.
6829
35ffc6ba
GM
6830 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6831
35c3d36e
MA
68322013-09-13 Michael Albinus <michael.albinus@gmx.de>
6833
6834 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6835 `tramp-check-proper-host'. Check for a valid method name.
6836
6837 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6838 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6839 * net/tramp-sh.el (tramp-maybe-open-connection):
6840 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6841
6842 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6843 also for hash values.
6844
ae5e4c48
SM
68452013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6846
379add74
SM
6847 * term/ns-win.el (parameters): Don't declare as dynamic.
6848 (before-make-frame-hook): Don't add ineffective function.
6849
ae5e4c48
SM
6850 * eshell/*.el: Use lexical-binding (bug#15231).
6851
b5623270
KH
68522013-09-12 Kenichi Handa <handa@gnu.org>
6853
ae5e4c48 6854 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6855
30213927
GM
68562013-09-12 Glenn Morris <rgm@gnu.org>
6857
be94d713 6858 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6859 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6860
44915370
GM
6861 * subr.el (do-after-load-evaluation): Also give compiler warnings
6862 when obsolete files are used (except by obsolete files).
6863
a6ae021f
GM
6864 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6865 in the status output, assume `filename' is the first. (Bug#15322)
6866
40e64f0c
GM
6867 * vc/vc.el (vc-deduce-fileset): Doc fix.
6868
16d9f896
GM
6869 * calc/calc-help.el (Info-goto-node):
6870 * progmodes/cperl-mode.el (Info-find-node):
6871 * vc/ediff.el (Info-goto-node): Update declarations.
6872
dea01c6e
GM
6873 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6874
759880bf 6875 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6876 (vc-bzr-pull): Require vc-dispatcher.
6877 * vc/vc-git.el (vc-compilation-mode): Declare.
6878 (vc-git-pull): Require vc-dispatcher.
6879
08d66420
GM
6880 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6881
30b626e9
GM
6882 * progmodes/octave.el (help-button-action): Declare.
6883
8c05cb10
GM
6884 * shell.el (shell-directory-tracker): Output error as a message
6885 rather than just returning it as a string.
6886 (shell-process-pushd): Remove useless use of message.
6887
30213927
GM
6888 * dframe.el (dframe-timer-fn):
6889 * files.el (dir-locals-read-from-file):
6890 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6891 (mpc-format):
6892 * reveal.el (reveal-post-command):
6893 * saveplace.el (load-save-place-alist-from-file):
6894 * shell.el (shell-resync-dirs):
6895 * w32-common-fns.el (x-get-selection-value):
6896 * emacs-lisp/copyright.el (copyright-find-copyright):
6897 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6898 * emulation/tpu-edt.el (tpu-copy-keyfile):
6899 * play/bubbles.el (bubbles--mark-neighbourhood):
6900 * progmodes/executable.el
6901 (executable-make-buffer-file-executable-if-script-p):
6902 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6903
d3b049e6
SM
69042013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6905
170266d0
SM
6906 Cleanup Eshell to rely less on dynamic scoping.
6907 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6908 last-value, and ext-command here. Bind `args' closer to `body'.
6909 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6910 (eshell--args): Declare new dynamic var.
6911 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6912 last-value, and ext-command. Pass `args' to `body'.
6913 (eshell-process-args): Bind eshell--args.
6914 (eshell-set-option): Use eshell--args.
6915 * eshell/eshell.el (eshell): Use derived-mode-p.
6916 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6917 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6918 (eshell-glob-function): Declare.
6919 * eshell/esh-util.el: Require cl-lib.
6920 (eshell-read-hosts-file): Avoid add-to-list.
6921 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6922 `err'.
6923 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6924 Declare.
6925 (eshell/diff): Remove unused var `err'.
6926 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6927 `killflag'.
6928 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6929 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6930 first use.
6931 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6932 Move declaration before first use.
6933 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6934 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6935 rely on cl-return.
6936
56834f3b
GM
69372013-09-12 Glenn Morris <rgm@gnu.org>
6938
6939 * term/ns-win.el (global-map): Remove binding for ispell-next,
6940 deleted 1999-05-29. (Bug#15357)
6941
5c91a2b8
GM
69422013-09-11 Glenn Morris <rgm@gnu.org>
6943
da712f22
GM
6944 * echistory.el (electric-command-history): Remove call to deleted func.
6945
512e4cdc
GM
6946 * play/landmark.el (landmark-mode): Fix typos.
6947
d3506ca5
GM
6948 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6949 Check cvs-sort-ignore-file is bound.
6950
5c91a2b8
GM
6951 * savehist.el: No need for cl when compiling on Emacs.
6952
feeff482
SM
69532013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6954
656bd483
SM
6955 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6956 (bug#15338).
d3b049e6
SM
6957 (eshell-self-insert-command, eshell-send-invisible):
6958 Remove unused argument.
656bd483
SM
6959 (eshell-handle-control-codes): Remove unused var `orig'.
6960 Avoid delete-backward-char.
6961
feeff482
SM
6962 * files.el (set-auto-mode): Simplify a bit further.
6963
2a08047a
GM
69642013-09-11 Glenn Morris <rgm@gnu.org>
6965
6966 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6967 (set-auto-mode): Don't regexp-quote elements.
6968 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6969 * progmodes/cc-mode.el (interpreter-mode-alist):
6970 * progmodes/ruby-mode.el (interpreter-mode-alist):
6971 Revert previous change.
6972
34675540
SM
69732013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6974
1b3b87df
SM
6975 * play/snake.el (snake-mode):
6976 * play/mpuz.el (mpuz-mode):
6977 * play/landmark.el (lm-mode):
6978 * play/blackbox.el (blackbox-mode):
6979 * play/5x5.el (5x5-mode):
6980 * obsolete/options.el (Edit-options-mode):
6981 * net/quickurl.el (quickurl-list-mode):
6982 * net/newst-treeview.el (newsticker-treeview-mode):
6983 * mail/rmailsum.el (rmail-summary-mode):
6984 * mail/mspools.el (mspools-mode):
6985 * locate.el (locate-mode):
6986 * ibuffer.el (ibuffer-mode):
6987 * emulation/ws-mode.el (wordstar-mode):
6988 * emacs-lisp/debug.el (debugger-mode):
6989 * array.el (array-mode):
6990 * net/eudc.el (eudc-mode): Use define-derived-mode.
6991 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6992 Move initialization into declaration.
6993 (mairix-searches-mode): Use define-derived-mode.
6994 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6995 (eudc-edit-hotlist): Use dolist.
6996 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6997 (Man-mode): Use define-derived-mode.
6998 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6999 (Info-edit-mode): Use define-derived-mode.
7000 (Info-cease-edit): Use Info-mode.
7001 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7002 into declaration.
7003 (eshell-mode): Use define-derived-mode.
7004 * chistory.el (command-history-mode-map): Rename from
7005 command-history-map.
7006 (command-history-mode): Use define-derived-mode.
da712f22 7007 (Command-history-setup): Remove function.
1b3b87df
SM
7008 * calc/calc.el (calc-trail-mode-map): New var.
7009 (calc-trail-mode): Use define-derived-mode.
7010 (calc-trail-buffer): Set calc-main-buffer manually.
7011 * bookmark.el (bookmark-insert-annotation): New function.
7012 (bookmark-edit-annotation): Use it.
7013 (bookmark-edit-annotation-mode): Make it a proper major mode.
7014 (bookmark-send-edited-annotation): Use derived-mode-p.
7015 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7016 closer to its ideal place. Use \' to match EOS.
7017
34675540
SM
7018 * profiler.el (profiler-calltree-find): Use function-equal.
7019
6a5c15d9
GM
70202013-09-10 Glenn Morris <rgm@gnu.org>
7021
1af4c220
GM
7022 * files.el (interpreter-mode-alist): Convert to regexps.
7023 (set-auto-mode): Adapt for this. (Bug#15306)
7024 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7025 Comment out unused variable.
7026 * progmodes/cc-mode.el (interpreter-mode-alist):
7027 * progmodes/python.el (interpreter-mode-alist):
7028 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7029 * progmodes/sh-script.el (sh-set-shell):
7030 No longer use interpreter-mode-alist to get list of shells.
7031
6a5c15d9
GM
7032 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7033
8c27f5ff
SM
70342013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7035
02ef6c1a 7036 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7037 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
7038 Bind switch-frame explicitly. Replace universal-argument-minus with
7039 a conditional binding.
7040 (universal-argument-num-events, saved-overriding-map): Remove.
7041 (restore-overriding-map): Remove.
7042 (universal-argument--mode): Rename from save&set-overriding-map,
7043 and rewrite.
7044 (universal-argument, universal-argument-more, negative-argument)
7045 (digit-argument): Adjust accordingly.
7046 (universal-argument-minus): Remove.
7047 (universal-argument-other-key): Remove.
7048
8c27f5ff
SM
7049 * subr.el (with-demoted-errors): Add `format' argument.
7050
6480194c
MA
70512013-09-10 Michael Albinus <michael.albinus@gmx.de>
7052
7053 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7054 `tramp-cleanup-connection'.
7055
7056 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7057 parameters KEEP-DEBUG and KEEP-PASSWORD.
7058
7059 * net/tramp.el (tramp-file-name-handler):
7060 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7061 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7062 (tramp-maybe-open-connection):
8c27f5ff
SM
7063 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7064 Use `tramp-cleanup-connection'.
6480194c 7065
8c27f5ff
SM
7066 * net/tramp-sh.el (tramp-maybe-open-connection):
7067 Catch 'uname-changed inside the progress reporter.
6480194c 7068
e5e916d8
GM
70692013-09-10 Glenn Morris <rgm@gnu.org>
7070
9a2c9b47
GM
7071 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7072
e5e916d8
GM
7073 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7074 returns "alternate access method" in mode (eg "-rw-r--r--.").
7075
144e38fe
GM
70762013-09-08 Glenn Morris <rgm@gnu.org>
7077
7078 * saveplace.el (load-save-place-alist-from-file):
7079 Demote errors. (Bug#15305)
7080
af9ff9e8
MA
70812013-09-08 Michael Albinus <michael.albinus@gmx.de>
7082
7083 Improve compatibility with older Emacsen, and XEmacs.
7084
7085 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7086 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
7087 (with-tramp-progress-reporter): Do not let-bind `result'.
7088 This yields to scoping errors in XEmacs.
af9ff9e8
MA
7089 (tramp-handle-make-auto-save-file-name): New function, moved from
7090 tramp-sh.el.
7091
7092 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7093 for `make-auto-save-file-name'.
8c27f5ff
SM
7094 (tramp-adb--gnu-switches-to-ash):
7095 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7096
7097 * net/tramp-cache.el (tramp-cache-print): Call
7098 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7099
7100 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7101 bound. It isn't for XEmacs.
7102
8c27f5ff
SM
7103 * net/tramp-compat.el (tramp-compat-copy-file):
7104 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7105 (tramp-compat-replace-regexp-in-string): New defun.
7106
7107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7108 for `make-auto-save-file-name'.
7109 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7110 `copy-file'.
7111 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7112 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7113 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7114
8c27f5ff
SM
7115 * net/tramp-gw.el (tramp-gw-open-network-stream):
7116 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7117
8c27f5ff
SM
7118 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7119 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7120 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7121 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7122 (tramp-sh-file-inotifywait-process-filter):
7123 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7124 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7125
7126 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7127 for `make-auto-save-file-name'.
8c27f5ff
SM
7128 (tramp-smb-handle-copy-directory):
7129 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7130 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7131 (tramp-smb-handle-copy-file): Improve error message.
7132 (tramp-smb-handle-rename-file): Rename directly only in case
7133 `newname' does not exist yet. This is a restriction of smbclient.
7134 (tramp-smb-maybe-open-connection): Rerun the function only when
7135 `auth-sources' is non-nil.
7136
0ca754d0
KH
71372013-09-08 Kenichi Handa <handa@gnu.org>
7138
e0eb0550 7139 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7140 more characters.
7141
e8dd0787
AM
71422013-09-07 Alan Mackenzie <acm@muc.de>
7143
7144 Correctly fontify Java class constructors.
7145 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7146 in Java Mode.
7147 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7148 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7149 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7150 "typeless" declaration there.
7151
f2f248e7
RW
71522013-09-07 Roland Winkler <winkler@gnu.org>
7153
7154 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7155 field subtitle for entry type book.
7156
67982e2b
SM
71572013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7158
7159 * minibuffer.el: Make minibuffer-complete call completion-in-region
7160 rather than other way around.
7161 (completion--some, completion-pcm--find-all-completions):
7162 Don't delay signals when debugging.
7163 (minibuffer-completion-contents): Beware fields within the
7164 minibuffer contents.
7165 (completion-all-sorted-completions): Use defvar-local.
7166 (completion--do-completion, completion--cache-all-sorted-completions)
7167 (completion-all-sorted-completions, minibuffer-force-complete):
7168 Add args `beg' and `end'.
7169 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7170 (minibuffer-complete): Use completion-in-region.
7171 (completion-complete-and-exit): New fun, extracted from
7172 minibuffer-complete-and-exit.
7173 (minibuffer-complete-and-exit): Use it.
7174 (completion--complete-and-exit): Rename from
7175 minibuffer--complete-and-exit.
7176 (completion-in-region--single-word): New function, extracted from
7177 minibuffer-complete-word.
7178 (minibuffer-complete-word): Use it.
7179 (display-completion-list): Make `common-substring' argument obsolete.
7180 (completion--in-region): Call completion--in-region-1 instead of
7181 minibuffer-complete.
7182 (completion-help-at-point): Pass boundaries to
7183 minibuffer-completion-help as args rather than via an overlay.
7184 (completion-pcm--string->pattern): Use `any-delim'.
7185 (completion-pcm--optimize-pattern): New function.
7186 (completion-pcm--pattern->regex): Handle `any-delim'.
7187 * icomplete.el (icomplete-forward-completions)
7188 (icomplete-backward-completions, icomplete-completions):
7189 Adjust calls to completion-all-sorted-completions and
7190 completion--cache-all-sorted-completions.
7191 (icomplete-with-completion-tables): Default to t.
7192 * emacs-lisp/crm.el (crm--current-element): Rename from
7193 crm--select-current-element. Don't put an overlay but return the
7194 boundaries instead.
7195 (crm--completion-command): Take two new args to bind to the boundaries.
7196 (crm-completion-help): Adjust accordingly.
7197 (crm-complete): Use completion-in-region.
7198 (crm-complete-word): Use completion-in-region--single-word.
7199 (crm-complete-and-exit): Use completion-complete-and-exit.
7200
e17d94a5
SM
72012013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7202
7203 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7204 than dynamically.
7205
96727100
JL
72062013-09-06 Juri Linkov <juri@jurta.org>
7207
7208 * info.el (Info-display-images-node): When image file doesn't exist
7209 display text version of the image if it's provided in the Info file.
7210 Otherwise, display the location of missing image from SRC attribute.
7211 Add help-echo text property from ALT attribute. (Bug#15279)
7212
86cf7329
SM
72132013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7216 (edit-abbrevs-mode): Use define-derived-mode.
7217
7218 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7219 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7220 that it's defined.
7221 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7222 Use define-derived-mode.
7223
7224 * epg.el (epg-start-encrypt): Minor CSE simplification.
7225
816244a2
WX
72262013-09-06 William Xu <william.xwl@gmail.com>
7227
7228 * arc-mode.el: Add support for 7za (bug#15264).
7229 (archive-7z-program): New var.
7230 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7231 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7232 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7233
1486fa31
MA
72342013-09-06 Michael Albinus <michael.albinus@gmx.de>
7235
7236 Remove URL syntax.
7237
7238 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7239 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7240 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7241 (tramp-postfix-host-format, tramp-file-name-regexp)
7242 (tramp-completion-file-name-regexp)
7243 (tramp-completion-dissect-file-name)
7244 (tramp-handle-substitute-in-file-name): Remove 'url case.
7245 (tramp-file-name-regexp-url)
7246 (tramp-completion-file-name-regexp-url): Remove constants.
7247
39785324
GM
72482013-09-06 Glenn Morris <rgm@gnu.org>
7249
7250 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7251
1f896cb7
DG
72522013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7253
7254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7255 keywords" below "here-doc beginnings" (Bug#15270).
7256
c0458e0b
SM
72572013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * subr.el (pop): Use `car-safe'.
7260 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7261 to detect unused `pop' return value.
7262
7263 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7264 var `block-regexp'.
7265 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7266 (python-fill-string): Remove unused var `marker'.
7267 (python-skeleton-add-menu-items): Remove unused var `items'.
7268
7269 * international/mule-cmds.el: Require CL.
7270 (find-coding-systems-for-charsets): Avoid add-to-list.
7271 (sanitize-coding-system-list): New function, extracted from
7272 select-safe-coding-system-interactively.
7273 (select-safe-coding-system-interactively): Use it.
7274 (read-input-method-name): Accept symbols for `default'.
7275
7276 * emacs-lisp/advice.el (defadvice): Add indent rule.
7277
6c42fc3e
DH
72782013-09-05 Daniel Hackney <dan@haxney.org>
7279
7280 * dired-x.el:
7281 * net/ange-ftp.el:
7282 * net/browse-url.el:
7283 * net/dbus.el:
7284 * net/eudc.el:
7285 * net/eudcb-ldap.el:
7286 * net/eww.el:
7287 * net/imap.el:
7288 * printing.el:
7289 * vc/ediff-diff.el:
7290 * vc/ediff-init.el:
7291 * vc/ediff-merg.el:
7292 * vc/ediff-mult.el:
7293 * vc/ediff-util.el:
7294 * vc/ediff-wind.el:
7295 * vc/ediff.el:
7296 * vc/emerge.el:
7297 * vc/pcvs.el:
7298 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7299 byte compiler. Remove some unused let-bound variables.
7300
4c528aab
SM
73012013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7304 a "ref-cell", since it gets better optimized (bug#14883).
7305
bd15c390
GM
73062013-09-05 Glenn Morris <rgm@gnu.org>
7307
7308 * progmodes/cc-awk.el (c-forward-sws): Declare.
7309
1c3ac2e5
GM
73102013-09-04 Glenn Morris <rgm@gnu.org>
7311
7312 * generic-x.el [rul-generic-mode]: Require cc-mode.
7313 (c++-mode-syntax-table): Declare.
7314 (rul-generic-mode-syntax-table): Init in the defvar.
7315
52b1cc79
SM
73162013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7317
c828af56
SM
7318 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7319 (vc-do-command, vc-set-async-update):
7320 * vc/vc-mtn.el (vc-mtn-dir-status):
7321 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7322 (vc-hg-pull, vc-hg-merge-branch):
7323 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7324 (vc-git-merge-branch):
7325 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7326 (vc-cvs-dir-status-files):
7327 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7328 (vc-bzr-dir-status-files):
7329 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7330 * vc/vc-annotate.el: Use lexical-binding.
7331 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7332 (vc-sentinel-movepoint): Declare.
7333 (vc-annotate): Don't use `goto-line'.
7334 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7335 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7336 (vc-sentinel-movepoint): Declare.
7337 * vc/vc-svn.el: Use lexical-binding.
7338 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7339 * vc/vc-sccs.el:
7340 * vc/vc-rcs.el: Use lexical-binding.
7341
abae272c
SM
7342 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7343 `deleted'. Don't drop errors silently.
7344
52b1cc79
SM
7345 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7346
63191d9f
XF
73472013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7348
7349 * vc/vc.el (vc-ignore): Rewrite.
7350 (vc-default-ignore): New function.
7351 (vc-default-ignore-completion-table): Use find-ignore-file.
7352
7353 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7354 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7355 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7356 Remove. Most code moved to vc.el.
7357
9d3f707c
SM
73582013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7359
abae272c 7360 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7361 * net/tramp-smb.el (tramp-smb-get-file-entries):
7362 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7363 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7364
fde38d49
SM
7365 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7366 Update call to it.
7367 (eww-change-select): Remove unused var `properties'.
7368 (eww-make-unique-file-name): Remove unused var `base'.
7369
7370 * finder.el (finder-compile-keywords): Don't mess with windows.
7371
84032db7
SM
7372 * calculator.el (calculator-funcall): Fix typo in last change.
7373
724f5e41
SM
7374 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7375
14b511d4
SM
7376 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7377 <pkg>-autoloads.el file stop us.
7378
9d3f707c 7379 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7380 warnings, and factor out common code.
9d3f707c 7381
88527bc0
DG
73822013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7383
7384 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7385 two-character operators and whether the character preceding them
7386 changes their meaning (Bug#15208).
7387
96edb677
FEG
73882013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7389
7390 Format code sent to Python shell for robustness.
9d3f707c
SM
7391 * progmodes/python.el (python-shell-buffer-substring):
7392 New function.
96edb677
FEG
7393 (python-shell-send-region, python-shell-send-buffer): Use it.
7394
95beaef3
MA
73952013-09-02 Michael Albinus <michael.albinus@gmx.de>
7396
7397 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7398 * net/tramp.el (tramp-user-error): ... here.
7399 (tramp-find-method, tramp-check-proper-host)
7400 (tramp-dissect-file-name, tramp-debug-message)
7401 (tramp-handle-shell-command):
7402 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7403 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7404
7405 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7406
f167c27b
MR
74072013-09-02 Martin Rudalics <rudalics@gmx.at>
7408
7409 * avoid.el (mouse-avoidance-point-position)
7410 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7411 returns nil.
7412
cd16c5f1
FEG
74132013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7414
7415 * progmodes/python.el (python-shell-completion-get-completions):
7416 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7417 (python-nav-if-name-main): New command.
cd16c5f1 7418
e73c3a0d
GM
74192013-09-01 Glenn Morris <rgm@gnu.org>
7420
f8ccce03
GM
7421 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7422 Avoid leading space in $wins. Otherwise the sed command used by
7423 eg compile-main ends up containing "/*.el". (Bug#15170)
7424
e73c3a0d
GM
7425 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7426
415f808e
GM
74272013-08-30 Glenn Morris <rgm@gnu.org>
7428
7429 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7430 Fix is-this-a-directory logic. (Bug#15220)
7431
f069bba8
SM
74322013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7433
112798c1
SM
7434 * textmodes/css-mode.el: Use SMIE.
7435 (css-smie-grammar): New var.
7436 (css-smie--forward-token, css-smie--backward-token)
7437 (css-smie-rules): New functions.
7438 (css-mode): Use them.
7439 (css-navigation-syntax-table): Remove var.
7440 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7441 (css-indent-calculate, css-indent-line): Remove functions.
7442
7443 Misc changes to reduce use of `(lambda...); and other cleanups.
7444 * cus-edit.el: Use lexical-binding.
7445 (customize-push-and-save, customize-apropos)
7446 (custom-buffer-create-internal): Use closures.
7447 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7448 * progmodes/ada-xref.el: Use setq.
7449 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7450 * dframe.el: Use lexical-binding.
7451 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7452 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7453 * descr-text.el: Use lexical-binding.
7454 (describe-text-widget, describe-text-sexp, describe-property-list):
7455 Use closures.
7456 * comint.el (comint-history-isearch-push-state): Use a closure.
7457 * calculator.el: Use lexical-binding.
7458 (calculator-number-to-string): Make it work with lexical-binding.
7459 (calculator-funcall): Same and use cl-letf.
7460
2da4c3ab
SM
7461 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7462 (lisp--company-doc-string, lisp--company-location): New functions.
7463 (lisp-completion-at-point): Use them to improve Company support.
7464
f069bba8
SM
7465 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7466 params of lambda expressions.
7467 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7468 (ruby-smie--opening-pipe-p): New function.
7469 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7470 symbols and matched |...| for formal params.
7471 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7472 from being treated as hanging. Handle "rescue".
7473
6758b6a8
GM
74742013-08-29 Glenn Morris <rgm@gnu.org>
7475
7476 * progmodes/cc-engine.el (c-pull-open-brace):
7477 Move definition before use.
7478
e8dfd197
SM
74792013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7480
7481 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7482 are immutable. Don't use `unsafe' any more.
7483 (cl--defsubst-expand): Don't substitute at the same time as keeping
7484 a residual unused let-binding. Don't use `unsafe' any more.
7485
cc585c96
GM
74862013-08-29 Glenn Morris <rgm@gnu.org>
7487
ba579ea6
GM
7488 * calendar/cal-china.el (calendar-chinese-year-cache):
7489 Recenter on 2015.
7490
8201a87e
GM
7491 * nxml/nxml-util.el (nxml-debug-clear-inside):
7492 Use cl-loop rather than loop.
7493
6ee877c7
GM
7494 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7495
cc585c96
GM
7496 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7497
27be8d39
GM
74982013-08-28 Glenn Morris <rgm@gnu.org>
7499
397440a1
GM
7500 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7501
2bb762d4
GM
7502 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7503
27be8d39
GM
7504 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7505
2d69b99e
SM
75062013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7507
f663baa7
SM
7508 * simple.el (repeat-complex-command--called-interactively-skip):
7509 New function.
7510 (repeat-complex-command): Use it (bug#14136).
7511
dd4f8b74
SM
7512 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7513 (c-define-abbrev-table): Add `doc' argument.
7514 (c-mode-abbrev-table, c++-mode-abbrev-table)
7515 (objc-mode-abbrev-table, java-mode-abbrev-table)
7516 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7517 (awk-mode-abbrev-table): Use it.
7518 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7519 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7520 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7521 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7522 Move initialization into the declaration; and remove any
7523 autoload cookie.
7524
b58969f7
SM
7525 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7526 and dynamic let binding.
7527
4021d6a6
SM
7528 * vc/smerge-mode.el: Remove redundant :group args.
7529
2d69b99e
SM
7530 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7531 to load-path.
7532
274919fd
JL
75332013-08-28 Juri Linkov <juri@jurta.org>
7534
7535 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7536 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7537 (isearch-other-meta-char): Handle an undefined shifted printing
7538 character by downshifting it. (Bug#15200)
7539
121f8c95
JL
75402013-08-28 Juri Linkov <juri@jurta.org>
7541
7542 * isearch.el (isearch-search): Change regexp error message for
7543 non-regexp searches. (Bug#15166)
7544
50b13cde
PE
75452013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7546
7547 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7548 for portability to hosts where /bin/sh has problems.
7549
95888bca
SM
75502013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7553
bbe558f1
JL
75542013-08-27 Juri Linkov <juri@jurta.org>
7555
7556 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7557 in the keyboard macro. (Bug#15126)
7558
26f98a7d
JL
75592013-08-27 Juri Linkov <juri@jurta.org>
7560
7561 * isearch.el (isearch-quote-char): Comment out converting unibyte
7562 to multibyte, thus syncing with its `quoted-insert' counterpart.
7563 (Bug#15166)
7564
7c97d35e
MR
75652013-08-27 Martin Rudalics <rudalics@gmx.at>
7566
7567 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7568 argument in call of get-largest-window (Bug#15185).
7569 Reported by Stephen Leake.
7c97d35e 7570
a0b5606e 75712013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7572
7573 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7574
9e89d835
SM
75752013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7578 from a matcher-function unless there's no more matches (bug#15161).
7579
78fc2530
MA
75802013-08-26 Michael Albinus <michael.albinus@gmx.de>
7581
7582 * minibuffer.el: Revert change from 2013-08-20.
7583
7584 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7585 with text property `tramp-default', if appropriate.
7586 (tramp-check-proper-host): New defun.
7587 (tramp-dissect-file-name): Do not check hostname. Revert change
7588 of 2013-03-18.
7589 (tramp-backtrace): Make VEC-OR-PROC optional.
7590
7591 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7592 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7593 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7594 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7595 Apply `tramp-check-proper-host'.
78fc2530 7596
edca97cd
TH
75972013-08-26 Tassilo Horn <tsdh@gnu.org>
7598
7599 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7600 lambda expression in order to have `describe-variable' display it.
7601
df54bcbd
MA
76022013-08-26 Michael Albinus <michael.albinus@gmx.de>
7603
7604 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7605 BUF can be optional. (Bug#15186)
7606
eed99101
XF
76072013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7608
7609 * progmodes/flymake.el (flymake-get-real-file-name-function):
7610 Fix broken customization. (Bug#15184)
7611
b5eb9035
AM
76122013-08-25 Alan Mackenzie <acm@muc.de>
7613
8a51e842
AM
7614 Improve indentation of bracelists defined by macros (without "=").
7615
7616 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7617 expansion begins with "{", regard it as bracelist when it doesn't
7618 contain a ";".
7619
869455d4
AM
7620 Parse C++ inher-intro when there's a template split over 2 lines.
7621
7622 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7623 rigorously the search for "class" etc. followed by ":".
7624
7625 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7626 random languages a regexp which never matches rather than nil.
7627
b5eb9035
AM
7628 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7629
7630 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7631 (c-awk-regexp-one-line-possibly-open-char-list-re)
7632 (c-awk-one-line-possibly-open-regexp-re)
7633 (c-awk-one-line-non-syn-ws*-re): Remove.
7634 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7635 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7636 (c-awk-space*-unclosed-regexp-/-re): New constants.
7637 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7638 aren't regexp delimiters.
7639
7640 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7641 handling for a rare situation in AWK Mode involving unterminated
7642 strings/regexps.
7643
61611d54
GM
76442013-08-23 Glenn Morris <rgm@gnu.org>
7645
2d85dc34
GM
7646 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7647
cb8d2612
GM
7648 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7649
bb35f42f
GM
7650 * files.el (create-file-buffer): If the result would begin with
7651 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7652
b9808e77
SM
76532013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7654
e3a66363
SM
7655 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7656 text-properties (bug#15155).
7657
b9808e77
SM
7658 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7659 exist any more.
7660 (calc-keypad-redraw): Remove unused var `pad'.
7661 (calc-keypad-press): Remove unused var `menu'.
7662
7fd5f65e
MR
76632013-08-23 Martin Rudalics <rudalics@gmx.at>
7664
b9808e77
SM
7665 * window.el (display-buffer-pop-up-frame):
7666 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7667 use it as the new frame's buffer (Bug#15133).
7668
8352b530
SM
76692013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * calendar/timeclock.el: Minor cleanups.
7672 (timeclock-ask-before-exiting, timeclock-use-display-time):
7673 Use `symbol'.
7674 (timeclock-modeline-display): Define as alias before the
7675 actual definition.
7676 (timeclock-mode-line-display): Use define-minor-mode.
7677 (timeclock-day-list-template): Make it a function, add an argument.
7678 (timeclock-day-list-required, timeclock-day-list-length)
7679 (timeclock-day-list-debt, timeclock-day-list-span)
7680 (timeclock-day-list-break): Adjust calls accordingly.
7681
9f7b1925
SM
76822013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7683
7684 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7685 Use read--expression so that completion works again.
7686
6e50e983
SS
76872013-08-21 Sam Steingold <sds@gnu.org>
7688
7689 Add rudimentary inferior shell interaction
7690 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7691 (sh-set-shell): Reset it.
9f7b1925
SM
7692 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7693 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7694
dbb0d350
SM
76952013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * align.el: Use lexical-binding.
7698 (align-region): Simplify accordingly.
7699
c88586a9
MA
77002013-08-20 Michael Albinus <michael.albinus@gmx.de>
7701
7702 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7703
7704 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7705 `non-essential' up.
7706
f95527c8
MA
77072013-08-17 Michael Albinus <michael.albinus@gmx.de>
7708
7709 * net/tramp.el:
7710 * net/tramp-adb.el:
7711 * net/tramp-cmds.el:
7712 * net/tramp-ftp.el:
7713 * net/tramp-gvfs.el:
7714 * net/tramp-gw.el:
7715 * net/tramp-sh.el: Don't wrap external variable declarations by
7716 `eval-when-compile'.
7717
4b5fe4ee
LMI
77182013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7719
7720 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7721 now that Emacs supports ImageMagick animations.
7722
13c366c9
MA
77232013-08-16 Michael Albinus <michael.albinus@gmx.de>
7724
7725 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7726 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7727
3dfc5cd6
MR
77282013-08-16 Martin Rudalics <rudalics@gmx.at>
7729
7730 * window.el (mouse-autoselect-window-select): Do autoselect when
7731 mouse pointer is on margin.
7732
4bbb4381
WP
77332013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7734
7735 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7736
3a2ddc2d
GM
77372013-08-16 Glenn Morris <rgm@gnu.org>
7738
e8bedf5a
GM
7739 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7740 Handle "Remote Directory" response of some clients. (Bug#15058)
7741
58c4682f
GM
7742 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7743 Tweak warning. (Bug#14926)
7744
57953f49
GM
7745 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7746 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7747
3a2ddc2d
GM
7748 * image-mode.el (image-mode-map): Add menu items to reverse,
7749 increase, decrease, reset animation speed.
7750 (image--set-speed, image-increase-speed, image-decrease-speed)
7751 (image-reverse-speed, image-reset-speed): New functions.
7752 (image-mode-map): Add bindings for speed commands.
7753
7754 * image.el (image-animate-get-speed, image-animate-set-speed):
7755 New functions.
7756 (image-animate-timeout): Respect image :speed property.
7757
10fa0ed3
SM
77582013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7761 previous line (bug#15101).
7762 (debugger-eval-expression, debugger-record-expression):
7763 Use read--expression (bug#15102).
7764
5d89d9d2
MA
77652013-08-15 Michael Albinus <michael.albinus@gmx.de>
7766
7767 Remove byte compiler warnings, visible when compiling with
7768 `byte-compile-force-lexical-warnings' set to t.
7769
7770 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7771 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7772 (tramp-handle-unhandled-file-name-directory)
7773 (tramp-handle-file-notify-add-watch, tramp-action-login)
7774 (tramp-action-succeed, tramp-action-permission-denied)
7775 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7776 arguments with "_".
7777
7778 * net/tramp-adb.el (tramp-adb-parse-device-names)
7779 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7780 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7781 (tramp-adb-handle-file-truename): Remove unused arguments.
7782
7783 * net/tramp-cache.el (tramp-flush-directory-property)
7784 (tramp-flush-connection-property, tramp-list-connections)
7785 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7786
10fa0ed3
SM
7787 * net/tramp-compat.el (tramp-compat-make-temp-file):
7788 Rename FILENAME to F.
5d89d9d2
MA
7789
7790 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7791 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7792 (tramp-zeroconf-parse-workstation-device-names)
7793 (tramp-zeroconf-parse-webdav-device-names)
7794 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7795
7796 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7797 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7798
7799 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7800 arguments.
7801 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7802 (tramp-sh-handle-insert-file-contents-literally)
7803 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7804 with "_".
7805 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7806 Remove unused variables.
7807
7808 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7809 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7810 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7811
7812 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7813 Make them a defconst.
7814 (tramp-uuencode-region): Remove unused variable.
7815
62f33bae
JB
78162013-08-14 Juanma Barranquero <lekktu@gmail.com>
7817
7818 * frameset.el (frameset--prop-setter): New function.
7819 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7820 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7821 parameter was already set in FILTERED. Doc fix.
7822 (frameset--record-minibuffer-relationships): Allow saving a
7823 minibufferless frame without its corresponding minibuffer frame.
7824 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7825 frame, if the frame id matches.
7826 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7827 frames before orphaned ones.
7828 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7829
c660a885
MR
78302013-08-14 Martin Rudalics <rudalics@gmx.at>
7831
7832 * window.el (window-make-atom): Don't overwrite parameter
7833 already present.
7834 (display-buffer-in-atom-window): Handle special case where we
7835 split an already atomic window.
7836 (window--major-non-side-window, display-buffer-in-side-window)
7837 (window--side-check): Ignore minibuffer window when walking
7838 window tree.
7839 (window-deletable-p): Return 'frame only if no other frame uses
7840 our minibuffer window.
7841 (record-window-buffer): Run buffer-list-update-hook.
7842 (split-window): Make sure window--check-frame won't destroy an
7843 existing atomic window in case the new window gets nested
7844 inside.
7845 (display-buffer-at-bottom): Ignore minibuffer window when
7846 walking window tree. Don't split a side window.
7847 (pop-to-buffer): Don't set-buffer here, the select-window call
7848 should do that.
7849 (mouse-autoselect-window-select): Autoselect only if we are in the
7850 text portion of the window.
7851
8259030d
LMI
78522013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7853
21c58ae2
LMI
7854 * net/shr.el (shr-parse-image-data): New function to grab both the
7855 data itself and the Content-Type.
7856 (shr-put-image): Use it.
7857
7858 * net/eww.el (eww-display-image): Ditto.
7859
8259030d
LMI
7860 * image.el (image-content-type-suffixes): New variable.
7861
ad756449
FEG
78622013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7863
7864 * progmodes/python.el (python-imenu--build-tree)
7865 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7866
f73f4ce6
XF
78672013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7868
7869 * simple.el (backward-word): Mention the optional argument.
7870
1f585e65
SM
78712013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * frameset.el (frameset--make): Rename constructor from make-frameset.
7874 (frameset-p, frameset-valid-p): Don't autoload.
7875 (frameset-valid-p): Use normal accessors.
7876
af1c6c84
GM
78772013-08-13 Glenn Morris <rgm@gnu.org>
7878
55e47f95
GM
7879 * progmodes/compile.el (compile-command): Tweak example in doc.
7880 * obsolete/scribe.el (scribe-mode):
7881 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7882
f0024d8c
GM
7883 * mail/feedmail.el (feedmail-confirm-outgoing)
7884 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7885
7886 * cus-start.el (truncate-partial-width-windows): Fix type.
7887
7888 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7889
af1c6c84
GM
7890 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7891
5514cc4c
SM
78922013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * emacs-lisp/timer.el (timer--time-setter): New function.
7895 (timer--time): Use it as gv-setter.
7896
7897 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7898 setter is not a symbol.
7899
7997a2f1
GJ
79002013-08-12 Grégoire Jadi <daimrod@gmail.com>
7901
7902 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7903 if sending fails. This makes debugging easier.
7904
01f1a9ab
JB
79052013-08-12 Juanma Barranquero <lekktu@gmail.com>
7906
7907 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7908 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7909 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7910
594a4307
EZ
79112013-08-12 Eli Zaretskii <eliz@gnu.org>
7912
7913 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7914
7a22490f 79152013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7916
7917 * format.el (format-annotate-function):
7918 Handle read-only text properties in the source. (Bug#14887)
7919
3e41a054
LMI
79202013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7921
5514cc4c
SM
7922 * net/eww.el (eww-display-html): Ignore coding system errors.
7923 One web site uses "utf-8lias" as the coding system.
3e41a054 7924
7ec326db
JB
79252013-08-11 Juanma Barranquero <lekktu@gmail.com>
7926
7927 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7928
5660113b
JB
79292013-08-10 Juanma Barranquero <lekktu@gmail.com>
7930
9a4ebc74
JB
7931 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7932 (tutorial--detailed-help): Remove unused local variables.
7933 (tutorial--save-tutorial-to): Use ignore-errors.
7934 (help-with-tutorial): Use looking-at-p.
7935
7936 * view.el (view-buffer-other-window, view-buffer-other-frame):
7937 Mark unused arguments.
7938
7939 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7940 (woman-select-symbol-fonts, woman, woman-find-file)
7941 (woman-insert-file-contents, woman-non-underline-faces):
7942 Use string-match-p.
7943 (woman1-unquote): Move declaration.
7944
7945 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7946 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7947 argument. Remove unused local variable.
7948 (xml-parse-elem-type): Use string-match-p.
7949 (xml-substitute-numeric-entities): Use ignore-errors.
7950
45fdb482
JB
7951 * calculator.el (calculator): Mark unused argument.
7952 (calculator-paste, calculator-quit, calculator-integer-p):
7953 Use ignore-errors.
7954 (calculator-string-to-number, calculator-decimal, calculator-exp)
7955 (calculator-op-or-exp): Use string-match-p.
7956
7957 * dired.el (dired-buffer-more-recently-used-p): Declare.
7958 (dired-insert-set-properties, dired-insert-old-subdirs):
7959 Use ignore-errors.
7960
7961 * dired-aux.el (dired-compress): Use ignore-errors.
7962 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7963 (dired-do-async-shell-command, dired-do-shell-command)
7964 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7965 (dired-insert-subdir-validate): Use string-match-p.
7966 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7967 (dired-add-entry): Use string-match-p, looking-at-p.
7968 (dired-insert-subdir-newpos): Remove unused local variable.
7969
7970 * filenotify.el (file-notify-callback): Remove unused local variable.
7971
7972 * filesets.el (filesets-error): Mark unused argument.
7973 (filesets-which-command-p, filesets-filter-dir-names)
7974 (filesets-directory-files, filesets-get-external-viewer)
7975 (filesets-ingroup-get-data): Use string-match-p.
7976
7977 * find-file.el (ff-other-file-name, ff-other-file-name)
7978 (ff-find-the-other-file, ff-cc-hh-converter):
7979 Remove unused local variables.
7980 (ff-get-file-name): Use string-match-p.
7981 (ff-all-dirs-under): Use ignore-errors.
7982
7983 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7984 (follow-select-if-visible): Remove unused local variable.
7985
7986 * forms.el (read-file-filter): Move declaration.
7987 (forms--make-format, forms--make-parser, forms-insert-record):
7988 Quote function with #'.
7989 (forms--update): Use string-match-p. Quote function with #'.
7990
7991 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7992 (help-make-xrefs): Use looking-at-p.
7993 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7994
7995 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7996 (ibuffer-confirm-operation-on): Use string-match-p.
7997
7998 * msb.el (msb-item-handler, msb-dired-item-handler):
7999 Mark unused arguments.
8000
8001 * ses.el (ses-decode-cell-symbol)
8002 (ses-kill-override): Remove unused local variable.
8003 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8004 (ses-load): Use ignore-errors, looking-at-p.
8005 (ses-jump-safe): Use ignore-errors.
8006 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8007
8008 * tabify.el (untabify, tabify): Mark unused arguments.
8009
8010 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8011 Mark unused argument.
8012 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8013 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8014
c880af52
JB
8015 * emacs-lisp/timer.el (timer--time): Define setter with
8016 gv-define-setter to avoid deprecation warning.
8017
5660113b 8018 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 8019 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
8020 (cmpl-statistics-block): Remove (body was commented out).
8021 All callers changed.
8022 (add-completions-from-buffer, load-completions-from-file):
8023 Remove unused variables.
8024
156aab80
JB
80252013-08-09 Juanma Barranquero <lekktu@gmail.com>
8026
5c5dee78
JB
8027 * filecache.el (file-cache-delete-file-list):
8028 Print message only when told so.
8029 (file-cache-files-matching): Use #' in mapconcat argument.
8030
156aab80
JB
8031 * ffap.el (ffap-url-at-point): Fix reference to variable
8032 thing-at-point-default-mail-uri-scheme.
8033
ad9dcd70
SM
80342013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8035
54bd972f
SM
8036 * subr.el (define-error): New function.
8037 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8038 error-file-not-found and define with define-error.
8039 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8040 and define with define-error.
8041 * userlock.el (file-locked, file-supersession):
8042 * simple.el (mark-inactive):
8043 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8044 * progmodes/ada-mode.el (ada-mode-errors):
8045 * play/life.el (life-extinct):
8046 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8047 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8048 * nxml/rng-util.el (rng-error):
8049 * nxml/rng-uri.el (rng-uri-error):
8050 * nxml/rng-match.el (rng-compile-error):
8051 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8052 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8053 * nxml/nxml-rap.el (nxml-scan-error):
8054 * nxml/nxml-outln.el (nxml-outline-error):
8055 * net/soap-client.el (soap-error):
8056 * net/gnutls.el (gnutls-error):
8057 * net/ange-ftp.el (ftp-error):
8058 * mpc.el (mpc-proc-error):
8059 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8060 (json-number-format, json-string-escape, json-string-format)
8061 (json-key-format, json-object-format):
8062 * jka-compr.el (compression-error):
8063 * international/quail.el (quail-error):
8064 * international/kkc.el (kkc-error):
8065 * emacs-lisp/ert.el (ert-test-failed):
8066 * calc/calc.el (calc-error, inexact-result, math-overflow)
8067 (math-underflow):
8068 * bookmark.el (bookmark-error-no-filename):
8069 * epg.el (epg-error): Define with define-error.
8070
0ea9e53a
SM
8071 * time.el (display-time-event-handler)
8072 (display-time-next-load-average): Don't call sit-for since it seems
8073 unnecessary (bug#15045).
8074
b0429158
SM
8075 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8076 Use #' instead of ' to quote functions.
8077 (checkdoc-output-mode): Use setq-local.
8078 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8079 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8080 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8081 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8082 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8083 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8084 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8085 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8086
ad9dcd70
SM
8087 * ido.el (ido-completion-help): Fix up compiler warning.
8088
77187e6f
JB
80892013-08-09 Juanma Barranquero <lekktu@gmail.com>
8090
8091 * frameset.el (frameset-p): Add autoload cookie.
8092 (frameset--jump-to-register): New function, based on code moved from
8093 register.el.
8094 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8095
8096 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8097 (frameset-restore, frameset-save, frameset-session-filter-alist):
8098 Remove declarations.
8099 (register-alist): Doc fix.
8100 (frameset-to-register): Move to frameset.el.
8101 (jump-to-register, describe-register-1): Remove frameset-specific code.
8102
9d3aa82c
JB
81032013-08-08 Juanma Barranquero <lekktu@gmail.com>
8104
8105 * allout-widgets.el (allout-widgets-pre-command-business)
8106 (allout-widgets-post-command-business)
8107 (allout-widgets-after-change-handler)
8108 (allout-decorate-item-and-context, allout-set-boundary-marker)
8109 (allout-body-modification-handler)
8110 (allout-graphics-modification-handler): Mark ignored arguments.
8111 (allout-widgets-post-command-business)
8112 (allout-widgets-exposure-change-processor)
8113 (allout-widgets-exposure-undo-processor)
8114 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8115 (allout-parse-item-at-point, allout-decorate-item-guides)
8116 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8117 * allout.el (epa-passphrase-callback-function): Declare.
8118 (allout-overlay-insert-in-front-handler)
8119 (allout-overlay-interior-modification-handler)
8120 (allout-isearch-end-handler, allout-chart-siblings)
8121 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8122 (allout-yank-processing, allout-process-exposed)
8123 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8124 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8125 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8126 (lisp-indent-defform): Mark ignored arguments.
8127 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8128 (calculate-lisp-indent): Remove unused variables.
8129 * international/characters.el (indian-2-column, arabic-2-column)
8130 (tibetan): Mark ignored arguments.
8131 (use-cjk-char-width-table): Mark ignored arguments.
8132 Remove unused variables.
8133 * international/fontset.el (build-default-fontset-data)
8134 (x-compose-font-name, create-fontset-from-fontset-spec):
8135 Mark ignored arguments.
8136 (fontset-plain-name): Remove unused variables.
8137 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8138 (keyboard-coding-system): Mark ignored arguments.
8139 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8140 * help.el (resize-temp-buffer-window):
8141 * window.el (display-buffer-in-major-side-window)
8142 (display-buffer-in-side-window, display-buffer-in-previous-window):
8143 Remove unused variables.
8144 * isearch.el (isearch-forward-symbol):
8145 * version.el (emacs-bzr-version-bzr):
8146 * international/mule-cmds.el (current-language-environment):
8147 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8148 (x-handle-display):
8149 * term/pc-win.el (x-list-fonts, x-display-planes)
8150 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8151 (x-server-version, x-display-screens, x-display-mm-height)
8152 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8153 (x-selection-owner-p, x-own-selection-internal)
8154 (x-disown-selection-internal, x-get-selection-internal)
8155 (msdos-initialize-window-system):
8156 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8157 * term/x-win.el (x-handle-no-bitmap-icon):
8158 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8159 (vc-default-find-file-hook, vc-default-extra-menu):
8160 Mark ignored arguments.
8161
0ca3f70e
SM
81622013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8165 break-condition in the context of the debugged code (bug#12685).
8166
74c5d24c
CS
81672013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8168
8169 * comint.el:
8170 Do not use an overlay to highlight the last prompt. (Bug#14744)
8171 (comint-mode): Make comint-last-prompt buffer local.
8172 (comint-last-prompt): New variable.
8173 (comint-last-prompt-overlay): Remove. Superseded by
8174 comint-last-prompt.
0ca3f70e
SM
8175 (comint-snapshot-last-prompt, comint-output-filter):
8176 Use comint-last-prompt.
74c5d24c 8177
c03c02ee
JB
81782013-08-08 Juanma Barranquero <lekktu@gmail.com>
8179
a3738d20 8180 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8181 (frameset-save): Check validity of the resulting frameset.
8182
04263d23
XF
81832013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8184
8185 * ido.el (ido-record-command): Add doc string.
8186
76c5e5ab
JB
81872013-08-08 Juanma Barranquero <lekktu@gmail.com>
8188
8189 * frameset.el (frameset): Do not disable creation of the default
8190 frameset-p predicate. Doc fix.
8191 (frameset-valid-p): New function, copied from the old predicate-p.
8192 Add additional checks.
8193 (frameset-restore): Check with frameset-valid-p.
8194 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8195 (frameset-name, frameset-description, frameset-properties)
8196 (frameset-states): Add docstring.
f9dbf1cb
JB
8197 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8198 (frameset-filter-alist): Doc fixes.
76c5e5ab 8199
bd0c3c0b
JB
82002013-08-08 Juanma Barranquero <lekktu@gmail.com>
8201
8202 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8203
c735544c
SM
82042013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8207 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8208 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8209 (byte-compile-normal-call): Remove obsolescence check.
8210
2805a651
JB
82112013-08-08 Juanma Barranquero <lekktu@gmail.com>
8212
3677ffeb
JB
8213 * frameset.el (frameset-restore): Doc fix.
8214
2805a651
JB
8215 * register.el (frameset-frame-id, frameset-frame-with-id)
8216 (frameset-p, frameset-restore, frameset-save): Declare.
8217 (register-alist): Document framesets.
8218 (frameset-session-filter-alist): Declare.
8219 (frameset-to-register): New function.
8220 (jump-to-register): Implement jumping to framesets. Doc fix.
8221 (describe-register-1): Describe framesets.
8222
8223 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8224
a912c016
JB
82252013-08-07 Juanma Barranquero <lekktu@gmail.com>
8226
8227 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8228 Use lexical-binding.
8229
8230 * frameset.el (frameset): Use type vector, not list (incompatible
8231 change). Do not declare a new constructor, use the default one.
8232 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8233 `name' and `description', respectively, and add read-only slot
8234 `timestamp'. Doc fixes.
8235 (frameset-copy, frameset-persistent-filter-alist)
8236 (frameset-filter-alist, frameset-switch-to-gui-p)
8237 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8238 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8239 (frameset-filter-iconified, frameset-keep-original-display-p):
8240 Doc fixes.
8241 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8242 Rename from frameset-filter-(save|restore)-param. All callers changed.
8243 Doc fix.
8244 (frameset-p): Adapt to change to vector and be more thorough.
8245 Change arg name to OBJECT. Doc fix.
8246 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8247 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8248 All callers changed.
8249 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8250 All callers changed.
8251 (frameset--record-minibuffer-relationships): Rename from
8252 frameset--process-minibuffer-frames. All callers changed.
8253 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8254 Use new default constructor (again). Doc fix.
c295fc18 8255 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8256 All callers changed.
8257 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8258 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8259 Doc fix.
8260 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8261 PARAMETERS and WINDOW-STATE, respectively.
8262 (frameset-restore): Add new keyword argument PREDICATE.
8263 Reset frameset--target-display to nil. Doc fix.
8264
bb41480a
SM
82652013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8266
f001e98e
SM
8267 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8268 (bat-mode): Use it.
8269 (bat-mode-syntax-table): Mark \n as end-of-comment.
8270 (bat-font-lock-keywords): Remove comment rule.
8271
7679edb1
SM
8272 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8273 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8274
bb41480a
SM
8275 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8276 (byte-compile-callargs-warn): Use `push'.
8277 (byte-compile-arglist-warn): Ignore higher-order "calls".
8278 (byte-compile-file-form-autoload): Use `pcase'.
8279 (byte-compile-function-form): If quoting a symbol, check that it exists.
8280
cdc1ebb9
EZ
82812013-08-07 Eli Zaretskii <eliz@gnu.org>
8282
8283 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8284 and add a few popular commands found in batch files.
8285 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8286 (dos-mode): Doc fixes.
8287
312b1740
SM
82882013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8291 (dos-mode): Use setq-local. Add space after "rem".
8292 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8293 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8294
400a3178
AM
82952013-08-07 Arni Magnusson <arnima@hafro.is>
8296
8297 * progmodes/dos.el: New file.
8298 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8299 dos-mode.
8300
3b5c03d3
GM
83012013-08-06 Glenn Morris <rgm@gnu.org>
8302
8303 * calendar/calendar.el: Add new faces, and day-header-array.
8304 (calendar-weekday-header, calendar-weekend-header)
8305 (calendar-month-header): New faces.
8306 (calendar-day-header-construct): New function.
8307 (calendar-day-header-width): Also :set calendar-day-header-array.
8308 (calendar-american-month-header, calendar-european-month-header)
8309 (calendar-iso-month-header): Use calendar- faces.
8310 (calendar-generate-month):
8311 Use calendar-day-header-array for day headers; apply faces to them.
8312 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8313 (calendar-abbrev-construct): Add optional maxlen argument.
8314 (calendar-day-name-array): Doc fix.
8315 (calendar-day-name-array, calendar-abbrev-length)
8316 (calendar-day-abbrev-array):
8317 Also :set calendar-day-header-array, and maybe redraw.
8318 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8319 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8320 (calendar-day-name): Add option to use header array.
8321
ec6a2d7a
LMI
83222013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8323
8324 * net/shr.el (shr-render-td): Remove debugging.
8325 (shr-render-td): Make width computation consistent by defaulting
8326 all zero-width columns to 10 characters. This may not be optimal,
8327 but it's at least consistent.
2122cb6d
LMI
8328 (shr-make-table-1): Redo last change to fix the real problem in
8329 colspan handling.
ec6a2d7a 8330
ed4fd9c5
DA
83312013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8332
0ca3f70e
SM
8333 * files.el (cache-long-line-scans):
8334 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8335
64e22afe
JB
83362013-08-06 Juanma Barranquero <lekktu@gmail.com>
8337
024b38fc
JB
8338 * frameset.el (frameset, frameset-filter-alist)
8339 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8340 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8341 (frameset-compute-pos): Rename from frameset--compute-pos,
8342 and add docstring.
8343 (frameset-move-onscreen): Use frameset-compute-pos.
8344 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8345
64e22afe
JB
8346 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8347 Fix typos in docstrings.
8348
c8c2aca8
DA
83492013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8350
8351 * frame.el (get-other-frame): Tiny cleanup.
8352
1d237bba
JB
83532013-08-06 Juanma Barranquero <lekktu@gmail.com>
8354
8951efef
JB
8355 * vc/vc.el (vc-default-ignore-completion-table):
8356 Silence byte-compiler warning.
8357
307764cc 8358 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8359 slot, which can indeed be nil.
307764cc
JB
8360 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8361 Move entry for `left' from persistent to live filter alist.
8362 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8363 Doc fixes.
8364 (frameset-filter-params): When restoring a frame, copy items added to
8365 `filtered', to avoid unwittingly modifying the original parameters.
8366 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8367 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8368
1d237bba
JB
8369 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8370 to use looking-at-p instead of looking-at. (Bug#15028)
8371
dc6c0eda
SM
83722013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 Revert introduction of isearch-filter-predicates (bug#14714).
8375 Rely on add-function instead.
8376 * isearch.el (isearch-filter-predicates): Rename it back to
8377 isearch-filter-predicate.
8378 (isearch-message-prefix): Use advice-function-mapc and advice
8379 properties to get the isearch-message-prefix.
8380 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8381 instead of run-hook-with-args-until-failure.
8382 (isearch-filter-visible): Not obsolete any more.
8383 * loadup.el: Preload nadvice.
8384 * replace.el (perform-replace): Revert to funcall
8385 instead of run-hook-with-args-until-failure.
8386 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8387 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8388 dired-isearch-filenames-toggle; make it into a proper minor mode.
8389 Use add/remove-function.
8390 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8391 Call the minor-mode rather than add/remove-hook.
8392 (dired-isearch-filter-filenames):
8393 Remove isearch-message-prefix property.
8394 * info.el (Info--search-loop): New function, extracted from Info-search.
8395 Funcall isearch-filter-predicate instead of
8396 run-hook-with-args-until-failure isearch-filter-predicates.
8397 (Info-search): Use it.
8398 (Info-mode): Use isearch-filter-predicate instead of
8399 isearch-filter-predicates.
8400
290d5b58
DA
84012013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8402
8403 Do not call to `selected-window' where it is assumed by default.
8404 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8405 `window-hscroll', `window-width', `window-height', `window-buffer',
8406 `window-frame', `window-start', `window-point', `next-window'
8407 and `window-display-table'.
8408 * abbrev.el (abbrev--default-expand):
8409 * bs.el (bs--show-with-configuration):
8410 * buff-menu.el (Buffer-menu-mouse-select):
8411 * calc/calc.el (calc):
8412 * calendar/calendar.el (calendar-generate-window):
8413 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8414 (diary-make-entry):
8415 * comint.el (send-invisible, comint-dynamic-complete-filename)
8416 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8417 * completion.el (complete):
8418 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8419 * disp-table.el (describe-current-display-table):
8420 * doc-view.el (doc-view-insert-image):
8421 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8422 * ehelp.el (with-electric-help):
8423 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8424 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8425 * emacs-lisp/helper.el (Helper-help-scroller):
8426 * emulation/cua-base.el (cua--post-command-handler-1):
8427 * eshell/esh-mode.el (eshell-output-filter):
8428 * ffap.el (ffap-gnus-wrapper):
8429 * help-macro.el (make-help-screen):
8430 * hilit-chg.el (highlight-compare-buffers):
8431 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8432 * hl-line.el (global-hl-line-highlight):
8433 * icomplete.el (icomplete-simple-completing-p):
8434 * isearch.el (isearch-done):
8435 * jit-lock.el (jit-lock-stealth-fontify):
8436 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8437 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8438 * mpc.el (mpc-tagbrowser, mpc):
8439 * net/rcirc.el (rcirc-any-buffer):
8440 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8441 * play/landmark.el (landmark-max-width, landmark-max-height):
8442 * play/zone.el (zone):
8443 * progmodes/compile.el (compilation-goto-locus):
8444 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8445 * progmodes/etags.el (find-tag-other-window):
8446 * progmodes/fortran.el (fortran-column-ruler):
8447 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8448 * progmodes/verilog-mode.el (verilog-point-text):
8449 * reposition.el (reposition-window):
8450 * rot13.el (toggle-rot13-mode):
8451 * server.el (server-switch-buffer):
8452 * shell.el (shell-dynamic-complete-command)
8453 (shell-dynamic-complete-environment-variable):
8454 * simple.el (insert-buffer, set-selective-display)
8455 (delete-completion-window):
8456 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8457 (speedbar-recenter):
8458 * startup.el (fancy-splash-head):
8459 * textmodes/ispell.el (ispell-command-loop):
8460 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8461 * tutorial.el (help-with-tutorial):
8462 * vc/add-log.el (add-change-log-entry):
8463 * vc/compare-w.el (compare-windows):
8464 * vc/ediff-help.el (ediff-indent-help-message):
8465 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8466 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8467 (ediff-setup-control-frame):
8468 * vc/emerge.el (emerge-position-region):
8469 * vc/pcvs-util.el (cvs-bury-buffer):
8470 * window.el (walk-windows, mouse-autoselect-window-select):
8471 * winner.el (winner-set-conf, winner-undo): Related users changed.
8472
38276e01
JB
84732013-08-05 Juanma Barranquero <lekktu@gmail.com>
8474
8475 * frameset.el (frameset--set-id): Doc fix.
8476 (frameset-frame-id, frameset-frame-id-equal-p)
8477 (frameset-locate-frame-id): New functions.
8478 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8479 (frameset-restore): Use them.
8480
12b4c0ea
DA
84812013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8482
8483 Do not call to `selected-frame' where it is assumed by default.
8484 Affected functions are `raise-frame', `redraw-frame',
8485 `frame-first-window', `frame-terminal' and `delete-frame'.
8486 * calendar/appt.el (appt-disp-window):
8487 * epg.el (epg-wait-for-completion):
8488 * follow.el (follow-delete-other-windows-and-split)
8489 (follow-avoid-tail-recenter):
8490 * international/mule.el (set-terminal-coding-system):
8491 * mail/rmail.el (rmail-mail-return):
8492 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8493 * progmodes/f90.el (f90-add-imenu-menu):
8494 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8495 * server.el (server-switch-buffer):
8496 * simple.el (delete-completion-window):
8497 * talk.el (talk):
8498 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8499 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8500 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8501 * vc/ediff.el (ediff-documentation): Related users changed.
8502 * frame.el (selected-terminal): Remove the leftover.
8503
17f25e76
GM
85042013-08-05 Glenn Morris <rgm@gnu.org>
8505
8506 * calendar/calendar.el (calendar-generate-month):
8507 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8508 (calendar-generate-month, calendar-font-lock-keywords):
8509 Fix for calendar-day-header-width > length of any day name.
17f25e76 8510
063233c3
JB
85112013-08-05 Juanma Barranquero <lekktu@gmail.com>
8512
8513 * desktop.el (desktop-clear): Use new name of sort predicate.
8514
8515 * frameset.el (frameset): Add docstring. Move :version property to its
8516 own `version' slot.
8517 (frameset-copy): Rename from copy-frameset.
8518 (frameset-p): Check more thoroughly.
8519 (frameset-prop): Do not check for :version, which is no longer a prop.
8520 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8521 Use new :never value instead of t.
8522 (frameset-filter-alist): Expand and clarify docstring.
8523 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8524 (frameset-filter-minibuffer, frameset-filter-save-param)
8525 (frameset-filter-restore-param, frameset-filter-iconified):
8526 Add pointer to docstring of frameset-filter-alist.
8527 (frameset-filter-params): Rename filter values to be more meaningful:
8528 :never instead of t, and reverse the meanings of :save and :restore.
8529 (frameset--process-minibuffer-frames): Clarify error message.
8530 (frameset-save): Avoid unnecessary and confusing call to framep.
8531 Use new BOA constructor for framesets.
8532 (frameset--reuse-list): Doc fix.
8533 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8534 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8535 (frameset-minibufferless-first-p): Doc fix.
8536 Rename from frameset-sort-frames-for-deletion.
8537 (frameset-restore): Doc fixes. Use new function names.
8538 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8539
d5671a82
JB
85402013-08-04 Juanma Barranquero <lekktu@gmail.com>
8541
8542 * desktop.el (desktop-restore-forces-onscreen)
8543 (desktop-restore-reuses-frames): Document :keyword constant values.
8544 (desktop-filter-parameters-alist): Remove, now identical to
8545 frameset-filter-alist.
8546 (desktop--filter-tty*): Remove, moved to frameset.el.
8547 (desktop-save-frameset, desktop-restore-frameset):
8548 Do not pass :filters argument.
8549
8550 * frameset.el (frameset-live-filter-alist)
8551 (frameset-persistent-filter-alist): New variables.
8552 (frameset-filter-alist): Use them. Add autoload cookie.
8553 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8554 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8555 `frameset--id' (it's supposed to be internal to frameset.el).
8556 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8557 (frameset--initial-params): New function.
8558 (frameset--get-frame): Use it. Doc fix.
8559 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8560 Accept :all, not 'all.
8561 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8562 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8563 with fbound symbols. Fix frame id matching, and remove matching ids if
8564 the frame being restored is deleted. Obey :delete.
8565
671d5c16
SM
85662013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * subr.el (macrop): New function.
8569 (text-clone--maintaining): New var.
8570 (text-clone--maintain): Rename from text-clone-maintain. Use it
8571 instead of inhibit-modification-hooks.
8572
8573 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8574 a proxy, so as handle autoloads and redefinitions of the target.
8575 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8576
8577 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8578 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8579 (pcase--mutually-exclusive-p): New function.
8580 (pcase--split-consp): Use it.
8581 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8582 mutually exclusive with the current predicate.
8583
8584 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8585 (edebug-macrop): Remove. Use `macrop' instead.
8586 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8587 (ad-macro-p):
8588 * eshell/esh-cmd.el (eshell-macrop):
8589 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8590
1d44e9dc
SM
85912013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8594 (advice-mapc): New function, using it.
8595 (advice-function-member-p): New function.
8596 (advice--normalize): Store the cdr in advice--saved-rewrite since
8597 that's the part that will be changed.
8598 (advice--symbol-function): New function.
8599 (advice-remove): Handle removal before the function is defined.
8600 Adjust to new advice--saved-rewrite.
8601 (advice-member-p): Use advice-function-member-p and
8602 advice--symbol-function.
8603
5414a283
JB
86042013-08-04 Juanma Barranquero <lekktu@gmail.com>
8605
51d30f2c
JB
8606 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8607 (frameset-filter-minibuffer): Doc fix.
8608 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8609 (frameset--set-id, frameset--process-minibuffer-frames)
8610 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8611 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8612
5414a283
JB
8613 * desktop.el (desktop-clear): Only delete frames when called
8614 interactively and desktop-restore-frames is non-nil. Doc fix.
8615 (desktop-read): Set desktop-saved-frameset to nil.
8616
ab419665
XF
86172013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8618
8619 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8620 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8621 (vc--add-line, vc--remove-regexp): New functions.
8622
8623 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8624 (vc-svn-ignore-completion-table): New function.
8625
8626 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8627 (vc-hg-ignore-completion-table)
ab419665
XF
8628 (vc-hg-find-ignore-file): New functions.
8629
8630 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8631 (vc-git-ignore-completion-table)
ab419665
XF
8632 (vc-git-find-ignore-file): New functions.
8633
8634 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8635
8636 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8637 (vc-bzr-ignore-completion-table)
ab419665
XF
8638 (vc-bzr-find-ignore-file): New functions.
8639
2613dea2
JB
86402013-08-03 Juanma Barranquero <lekktu@gmail.com>
8641
8642 * frameset.el (frameset-prop): New function and setter.
8643 (frameset-save): Do not modify frame list passed by the caller.
8644
9c959872
SM
86452013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8648
a104f656
SM
86492013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8650
70122acf
SM
8651 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8652 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8653
a104f656
SM
8654 * custom.el (custom-initialize-default, custom-initialize-set)
8655 (custom-initialize-reset, custom-initialize-changed): Affect the
8656 toplevel-default-value (bug#6275, bug#14586).
8657 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8658 for bug#6275.
8659
f078d570
JB
86602013-08-02 Juanma Barranquero <lekktu@gmail.com>
8661
185e3b5a
JB
8662 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8663 Add cl-def* expressions.
8664
f078d570
JB
8665 * frameset.el (frameset-filter-params): Fix order of arguments.
8666
9421876d
JB
86672013-08-02 Juanma Barranquero <lekktu@gmail.com>
8668
8669 Move code related to saving frames to frameset.el.
8670 * desktop.el: Require frameset.
8671 (desktop-restore-frames): Doc fix.
8672 (desktop-restore-reuses-frames): Rename from
8673 desktop-restoring-reuses-frames.
8674 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8675 (desktop-clear): Clear frames too.
8676 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8677 (desktop--filter-tty*, desktop-save, desktop-read):
8678 Use frameset functions.
8679 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8680 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8681 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8682 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8683 (desktop--process-minibuffer-frames, desktop-save-frames)
8684 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8685 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8686 (desktop--sort-states, desktop-restoring-frames-p)
8687 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8688 (desktop-restoring-frameset-p, desktop-restore-frameset)
8689 (desktop--check-dont-save, desktop-save-frameset): New functions.
8690 (desktop--app-id): New constant.
8691 (desktop-first-buffer, desktop-buffer-ok-count)
8692 (desktop-buffer-fail-count): Move before first use.
8693 * frameset.el: New file.
8694
76dc5996
SM
86952013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * files.el: Use lexical-binding.
8698 (dir-locals-read-from-file): Remove unused `err' variable.
8699 (hack-dir-local-variables--warned-coding): New var.
8700 (hack-dir-local-variables): Use it to avoid repeated warnings.
8701 (make-backup-file-name--default-function): New function.
8702 (make-backup-file-name-function): Use it as default.
8703 (buffer-stale--default-function): New function.
8704 (buffer-stale-function): Use it as default.
8705 (revert-buffer-insert-file-contents--default-function): New function.
8706 (revert-buffer-insert-file-contents-function): Use it as default.
8707 (insert-directory): Avoid add-to-list.
8708
8709 * autorevert.el (auto-revert-handler): Simplify.
8710 Use buffer-stale--default-function.
8711
06d36e2b
TH
87122013-08-01 Tassilo Horn <tsdh@gnu.org>
8713
5f648ab4
TH
8714 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8715
06d36e2b
TH
8716 * whitespace.el (whitespace-ensure-local-variables): New function.
8717 (whitespace-cleanup-region): Call it.
8718 (whitespace-turn-on): Call it.
8719
a43dc424
MA
87202013-08-01 Michael Albinus <michael.albinus@gmx.de>
8721
8722 Complete file name handlers.
8723
8724 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8725 (tramp-handle-verify-visited-file-modtime)
8726 (tramp-handle-file-notify-rm-watch): New functions.
8727 (tramp-call-process): Do not bind `default-directory'.
8728
44e18199
JB
8729 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8730 Order alphabetically.
afe1e4c8
GM
8731 <access-file, add-name-to-file, dired-call-process>:
8732 <dired-compress-file, file-acl, file-notify-rm-watch>:
8733 <file-ownership-preserved-p, file-selinux-context>:
8734 <make-directory-internal, make-symbolic-link, set-file-acl>:
8735 <set-file-selinux-context, set-visited-file-modtime>:
8736 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8737 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8738
8739 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8740 <file-notify-add-watch, file-notify-rm-watch>:
8741 <set-file-times, set-visited-file-modtime>:
8742 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8743 (with-tramp-gvfs-error-message)
8744 (tramp-gvfs-handle-set-visited-file-modtime)
8745 (tramp-gvfs-fuse-file-name): Remove.
8746 (tramp-gvfs-handle-file-notify-add-watch)
8747 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8748 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8749
44e18199
JB
8750 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8751 Order alphabetically.
afe1e4c8
GM
8752 <file-notify-rm-watch>: Use default Tramp handler.
8753 <executable-find>: Remove private handler.
a43dc424
MA
8754 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8755 `default-directory'.
8756 (tramp-sh-handle-executable-find)
8757 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8758 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8759 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8760 Do not use `format' in `tramp-message'.
8761
8762 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8763 <file-notify-rm-watch, set-visited-file-modtime>:
8764 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8765 (tramp-smb-call-winexe): Do not bind `default-directory'.
8766
7188b515
XF
87672013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8768
8769 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8770
2412ee1a
DG
87712013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8772
8773 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8774 use it.
8775 (log-view-diff-changeset): Same.
8776 (log-view-diff-common): Call backend command `previous-revision'
8777 to find out the previous revision, in both cases. Swap the
8778 variables `to' and `fr', so that `fr' usually refers to the
8779 earlier revision (Bug#14989).
8780
5002a754
KRC
87812013-07-31 Kan-Ru Chen <kanru@kanru.info>
8782
8783 * ibuf-ext.el (ibuffer-filter-by-filename):
8784 Make it work with dired buffers too.
8785
44e18199 87862013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8787
8788 * emacs-lisp/re-builder.el (reb-color-display-p):
8789 * files.el (save-buffers-kill-terminal):
8790 * net/browse-url.el (browse-url):
8791 * server.el (server-save-buffers-kill-terminal):
8792 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8793 Prefer nil to selected-frame for the first arg of frame-parameter.
8794
aeca3fbb
XF
87952013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8796
8797 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8798
158bc55c
SB
87992013-07-30 Stephen Berman <stephen.berman@gmx.net>
8800
8801 * minibuffer.el (completion--twq-all): Try and preserve each
8802 completion's case choice (bug#14907).
8803
d50fceab
LMI
88042013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8805
ac38e731
LMI
8806 * net/network-stream.el (open-network-stream): Mention the new
8807 :nogreeting parameter.
8808 (network-stream-open-starttls): Use the :nogreeting parameter
8809 (bug#14938).
8810
1211de50
LMI
8811 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8812
997798bf
LMI
8813 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8814 more natural than popping.
8815
d50fceab 8816 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8817 (shr-urlify): Highlight under mouse.
d50fceab 8818
5c09de04
XF
88192013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8820
207d1d04
XF
8821 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8822
8823 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8824
5c09de04
XF
8825 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8826 buffer for output.
8827
3cd51eaa
XF
8828 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8829 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8830
44e18199 8831 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8832 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8833
8834 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8835
8836 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8837 buffer for output.
8838
35a89bdd
EZ
88392013-07-29 Eli Zaretskii <eliz@gnu.org>
8840
8841 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8842 initial frame is minibuffer-less. (Bug#14841)
8843
78822e94
MA
88442013-07-29 Michael Albinus <michael.albinus@gmx.de>
8845
8846 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8847 option.
8848
8849 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8850 (tramp-maybe-open-connection): Use it.
8851
9503c190
JB
88522013-07-28 Juanma Barranquero <lekktu@gmail.com>
8853
8854 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8855 minimal set of parameters passed when creating a frame, because
8856 the minibuffer status of a frame cannot be changed later.
8857
d5a845b4
SB
88582013-07-28 Stephen Berman <stephen.berman@gmx.net>
8859
8860 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8861 replace-regexp-in-string and inadvertent omissions in previous change.
8862 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8863 name of filtered items buffer.
d5a845b4 8864
ddeffb17
JB
88652013-07-28 Juanma Barranquero <lekktu@gmail.com>
8866
8867 * desktop.el: Optionally force offscreen frames back onscreen.
8868 (desktop-restoring-reuses-frames): New option.
8869 (desktop--compute-pos, desktop--move-onscreen): New functions.
8870 (desktop--make-frame): Use desktop--move-onscreen.
8871
f5950f7a
AM
88722013-07-27 Alan Mackenzie <acm@muc.de>
8873
8874 Fontify a Java generic method as a function.
8875 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8876 value to t.
8877
ae43b66a
SB
88782013-07-27 Stephen Berman <stephen.berman@gmx.net>
8879
8880 * calendar/todo-mode.el: Add command to rename todo files.
8881 (todo-rename-file): New command.
8882 (todo-key-bindings-t): Add key binding for it. Change the
8883 bindings of todo-filter-regexp-items(-multifile) to use `x'
8884 instead of `r', since the latter is better suited to the new
8885 renaming command.
8886
5ab78d3d
AM
88872013-07-27 Alan Mackenzie <acm@muc.de>
8888
8889 Make Java try-with-resources statement parse properly.
8890 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8891 (c-block-stmt-1-2-key): New language constants/variables.
8892 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8893 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8894 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8895 with c-block-stmt-1-2-key.
5ab78d3d 8896
d85c4d50
JB
88972013-07-27 Juanma Barranquero <lekktu@gmail.com>
8898
8899 * desktop.el (desktop--make-frame): Apply most frame parameters after
8900 creating the frame to force (partially or totally) offscreen frames to
8901 be restored as such.
8902
e4c467f9
XF
89032013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8904
8905 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8906 (Bug#14948)
e4c467f9 8907
7ced0d04
SM
89082013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8911 `base' arg of backtrace-frame.
8912
fec92060
EZ
89132013-07-26 Eli Zaretskii <eliz@gnu.org>
8914
8915 * simple.el (list-processes): Doc fix.
8916
d58d31fb
JB
89172013-07-26 Juanma Barranquero <lekktu@gmail.com>
8918
8919 * desktop.el (desktop--select-frame):
d85c4d50 8920 Try harder to reuse existing frames.
d58d31fb 8921
53ff3e77
SM
89222013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8925 (edebug-eval): Use backtrace-eval.
8926 (edebug--display, edebug--recursive-edit): Don't let-bind the
8927 edebug-outer-* vars that keep track of variables we locally let-bind.
8928 (edebug-outside-excursion): Don't restore outside values of locally
8929 let-bound vars.
8930 (edebug--display): Use user-error.
8931 (cl-lexical-debug, cl-debug-env): Remove.
8932
045f7a53
JB
89332013-07-26 Juanma Barranquero <lekktu@gmail.com>
8934
8935 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8936 are restored to be sure that they are visible before deleting any
8937 remaining ones.
8938
59070b32
MM
89392013-07-26 Matthias Meulien <orontee@gmail.com>
8940
742a3501
XF
8941 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8942 vc-print-root-log. (Bug#14948)
59070b32 8943
b1fb3596
RS
89442013-07-26 Richard Stallman <rms@gnu.org>
8945
8946 Add aliases for encrypting mail.
8947 * epa.el (epa-mail-aliases): New option.
8948 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8949 Bind inhibit-read-only so read-only text doesn't ruin everything.
8950 (epa-mail-default-recipients): New subroutine broken out.
8951 Handle epa-mail-aliases.
8952
56ea7291
SM
89532013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 Add support for lexical variables to the debugger's `e' command.
8956 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8957 vars, except for debugger-outer-match-data.
8958 (debugger-frame-number): Move check for "on a function call" from
8959 callers into it. Add `skip-base' argument.
8960 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8961 (debugger-env-macro): Only reset the state stored in non-variables,
8962 i.e. current-buffer and match-data.
8963 (debugger-eval-expression): Rewrite using backtrace-eval.
8964 * subr.el (internal--called-interactively-p--get-frame): Remove.
8965 (called-interactively-p):
8966 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8967 `base' arg of backtrace-frame instead.
8968
15ac32d5
GM
89692013-07-26 Glenn Morris <rgm@gnu.org>
8970
8358a09d
GM
8971 * align.el (align-regexp): Doc fix. (Bug#14857)
8972 (align-region): Explicit error if subexpression missing/does not match.
8973
15ac32d5
GM
8974 * simple.el (global-visual-line-mode):
8975 Do not duplicate the mode lighter. (Bug#14858)
8976
f47ad11b
MR
89772013-07-25 Martin Rudalics <rudalics@gmx.at>
8978
8979 * window.el (display-buffer): In display-buffer bind
8980 split-window-keep-point to t, bug#14829.
8981
02530987
JB
89822013-07-25 Juanma Barranquero <lekktu@gmail.com>
8983
8984 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8985 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8986 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8987 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8988 Change accordingly.
f63ebeb5
JB
8989 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8990 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8991
6ccb9cab 89922013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8993
6ccb9cab 8994 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8995
cb3a56d2
JB
89962013-07-25 Juanma Barranquero <lekktu@gmail.com>
8997
8998 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8999 parameter to modify-frame-parameters if the value has not changed;
9000 this is a workaround for bug#14949.
9001 (desktop--make-frame): On cl-delete-if call, check parameter name,
9002 not full parameter.
9003
7aa7fff0
XF
90042013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9005
9006 * vc/vc.el (vc-ignore): New function.
9007
9008 * vc/vc-svn.el (vc-svn-ignore): New function.
9009
9010 * vc/vc-hg.el (vc-hg-ignore): New function.
9011
9012 * vc/vc-git.el (vc-git-ignore): New function.
9013
9014 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9015 (vc-dir-ignore): New function.
9016
9017 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 9018 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
9019
9020 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9021
9022 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9023
889acc5c
JB
90242013-07-24 Juanma Barranquero <lekktu@gmail.com>
9025
9026 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9027 (desktop-restore-frames): Warn when deleting an existing frame failed.
9028
86c40970
GM
90292013-07-24 Glenn Morris <rgm@gnu.org>
9030
9031 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9032
d5d3c58a
MA
90332013-07-24 Michael Albinus <michael.albinus@gmx.de>
9034
9035 * filenotify.el (file-notify-supported-p):
9036 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9037 Remove functions.
9038
35e951cd 9039 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
9040 (auto-revert-notify-add-watch):
9041 * net/tramp.el (tramp-file-name-for-operation):
9042 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9043 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9044 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9045 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9046 Remove `file-notify-supported-p' entry.
9047
d100084b
GM
90482013-07-24 Glenn Morris <rgm@gnu.org>
9049
9050 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 9051 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 9052
ac93e56b
SM
90532013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9054
249eea30
SM
9055 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9056 checked with memq (bug#14935).
9057
ac93e56b
SM
9058 * files.el (revert-buffer-function): Use a non-nil default.
9059 (revert-buffer-preserve-modes): Declare var to
9060 provide access to the `preserve-modes' argument.
9061 (revert-buffer): Let-bind it.
9062 (revert-buffer--default): New function, extracted from revert-buffer.
9063
2cdeb903
SM
90642013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * lpr.el: Signal print errors more prominently.
9067 (print-region-function): Don't default to nil.
9068 (lpr-print-region): New function, extracted from print-region-1.
9069 Check lpr's return value and signal an error in case of problem.
9070 (print-region-1): Use it.
9071 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9072 versions instead.
9073 (ps-printer-name): Default to nil.
9074 (ps-printer-name-option): Default to lpr-printer-switch.
9075 (ps-print-region-function): Don't default to nil.
9076 (ps-postscript-code-directory): Simplify default.
9077 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9078 (ps-string-list, ps-eval-switch, ps-flatten-list)
9079 (ps-flatten-list-1): Remove.
9080 (ps-multibyte-buffer): Avoid setq.
9081 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9082 (print-region-function, ps-print-region-function): Don't set them here.
9083
73600831
XF
90842013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9085
35e951cd
JB
9086 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9087 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9088 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
9089 (ido-decorations): Doc fix.
9090
73600831
XF
9091 * ansi-color.el: Fix old URL.
9092
3d012865
MM
90932013-07-23 Michael R. Mauger <michael@mauger.com>
9094
e903c210 9095 * progmodes/sql.el: Version 3.3
3d012865
MM
9096 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9097 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9098 (sql-interactive-remove-continuation-prompt): Rewrite, use
9099 functions above. Fix continuation prompt and complete output line
9100 handling.
9101 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9102 redirected output buffer.
9103 (sql-mode): Restore deleted code (Bug#13591).
9104
da77a2e2
JB
91052013-07-23 Juanma Barranquero <lekktu@gmail.com>
9106
9107 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9108
80ff0c71
MA
91092013-07-23 Michael Albinus <michael.albinus@gmx.de>
9110
9111 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9112
9113 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9114 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9115 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9116
b61d71e4
JB
91172013-07-23 Juanma Barranquero <lekktu@gmail.com>
9118
9119 * desktop.el (desktop-clear): Simplify; remove useless checks
9120 against invalid buffer names.
9121 (desktop-list*): Use cl-list*.
9122 (desktop-buffer-info, desktop-create-buffer): Simplify.
9123
c3512092
LL
91242013-07-23 Leo Liu <sdl.web@gmail.com>
9125
9126 * bookmark.el (bookmark-make-record): Restore NAME as a default
9127 value. (Bug#14933)
9128
0ac26976
SM
91292013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9130
7d22ce18
SM
9131 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9132 extracted from autoload--insert-text.
9133 (autoload--insert-text): Remove.
9134 (autoload--print-cookie-text): New function, extracted from
9135 autoload--insert-cookie-text.
9136 (autoload--insert-cookie-text): Remove.
9137 (autoload-generate-file-autoloads): Adjust calls accordingly.
9138
9b2607e8
SM
9139 * winner.el (winner-hook-installed-p): Remove.
9140 (winner-mode): Simplify accordingly.
9141
c43a8618
SM
9142 * subr.el (add-to-list): Fix compiler-macro when `append' is
9143 not constant. Don't use `cl-member' for the base case.
9144
0ac26976
SM
9145 * progmodes/subword.el: Fix boundary case (bug#13758).
9146 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9147 own group.
9148 (subword-backward-regexp): Make it a constant.
9149 (subword-forward-internal): Don't treat a trailing capital as the
9150 beginning of a word.
9151
6874724a
AR
91522013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9153
9154 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9155 global value of tabulated-list-revert-hook (bug#14930).
9156
70f1b5e8
JB
91572013-07-22 Juanma Barranquero <lekktu@gmail.com>
9158
a1c80d9d
JB
9159 * desktop.el: Require 'cl-lib.
9160 (desktop-before-saving-frames-functions): New hook.
9161 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9162 for frames being saved. Rename from desktop--save-minibuffer-frames.
9163 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9164 Do not save frames with non-nil `desktop-dont-save' parameter.
9165 Filter out deleted frames.
a1c80d9d
JB
9166 (desktop--find-frame): Use cl-find-if.
9167 (desktop--select-frame): Use cl-(first|second|third) to access values
9168 of desktop-mini.
9169 (desktop--make-frame): Use cl-delete-if.
9170 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9171 (desktop-restore-frames): Use cl-(first|second|third) to access values
9172 of desktop-mini. Look for visible frame at the end, not while
9173 restoring frames.
9174
70f1b5e8
JB
9175 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9176 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9177 Use string-match-p, looking-at-p (bug#14927).
9178
728dc3cc
JB
91792013-07-21 Juanma Barranquero <lekktu@gmail.com>
9180
56bc453c
JB
9181 * desktop.el (desktop-saved-frame-states):
9182 Rename from desktop--saved-states; all users changed.
9183 (desktop-save-frames): Rename from desktop--save-frames.
9184 Do not save state to desktop file.
9185 (desktop-save): Save desktop-saved-frame-states to desktop file
9186 and reset to nil.
9187 (desktop-restoring-frames-p): New function.
9188 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9189 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9190 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9191
728dc3cc
JB
9192 * desktop.el: Correctly restore iconified frames.
9193 (desktop--filter-iconified-position): New function.
9194 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9195
862f1c9c
GM
91962013-07-20 Glenn Morris <rgm@gnu.org>
9197
c4074c9f
GM
9198 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9199 Let `message' do the formatting.
9200 (def-gdb-preempt-display-buffer): Add explicit format.
9201
d828e5f9
GM
9202 * image-dired.el (image-dired-track-original-file):
9203 Use with-current-buffer.
9204 (image-dired-track-thumbnail): Use with-current-buffer.
9205 Avoid changing point of wrong window.
9206
862f1c9c
GM
9207 * image-dired.el (image-dired-track-original-file):
9208 Avoid changing point of wrong window. (Bug#14909)
9209
f0398ec1 92102013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9211
9212 * progmodes/gdb-mi.el (gdb-done-or-error):
9213 Guard against "%" in gdb output. (Bug#14127)
9214
1451928f
AS
92152013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9216
763a086d
JB
9217 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9218 (Bug#14826)
f7a03897 9219
1451928f
AS
9220 * international/mule.el (coding-system-iso-2022-flags): Fix last
9221 change.
9222
99107004
KH
92232013-07-20 Kenichi Handa <handa@gnu.org>
9224
763a086d
JB
9225 * international/mule.el (coding-system-iso-2022-flags):
9226 Add `8-bit-level-4'. (Bug#8522)
99107004 9227
48494e06
LMI
92282013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
8ba8eec5
LMI
9230 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9231 (bug#14815).
9232
dfbc66e3
LMI
9233 * net/eww.el (eww-process-text-input): Allow inputting when the
9234 point is at the start of the line, as the properties aren't
9235 front-sticky.
9236
48494e06
LMI
9237 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9238 degenerate widths.
9239
77c92cb9
RS
92402013-07-19 Richard Stallman <rms@gnu.org>
9241
aec7da77
RS
9242 * epa.el (epa-popup-info-window): Doc fix.
9243
77c92cb9
RS
9244 * subr.el (split-string): New arg TRIM.
9245
945c5bb1
JB
92462013-07-18 Juanma Barranquero <lekktu@gmail.com>
9247
9248 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9249 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9250
e06ec67f
MA
92512013-07-18 Michael Albinus <michael.albinus@gmx.de>
9252
c7064f05 9253 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9254 `file-notify-support'. Do not autoload. Adapt all uses.
9255 (file-notify-supported-p): New defun.
9256
c7064f05
JB
9257 * autorevert.el (auto-revert-use-notify):
9258 Use `file-notify-supported-p' instead of `file-notify-support'.
9259 Adapt docstring.
e06ec67f
MA
9260 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9261
9262 * net/tramp.el (tramp-file-name-for-operation):
9263 Add `file-notify-supported-p'.
9264
9265 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9266 New defun.
9267 (tramp-sh-file-name-handler-alist): Add it as handler for
9268 `file-notify-supported-p '.
9269
9270 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9272 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9273 Add `ignore' as handler for `file-notify-*' functions.
9274
5dc8a629
EZ
92752013-07-17 Eli Zaretskii <eliz@gnu.org>
9276
9277 * simple.el (line-move-partial, line-move): Don't start vscroll or
9278 scroll-up if the current line is not taller than the window.
9279 (Bug#14881)
9280
77aea2fb
DG
92812013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9282
9283 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9284 highlight question marks in the method names as strings.
ac72c08d
DG
9285 (ruby-block-beg-keywords): Inline.
9286 (ruby-font-lock-keyword-beg-re): Extract from
9287 `ruby-font-lock-keywords'.
77aea2fb 9288
18c26d81
JD
92892013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9290
9291 * frame.el (blink-cursor-blinks): New defcustom.
9292 (blink-cursor-blinks-done): New defvar.
9293 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9294 (blink-cursor-timer-function): Check if number of blinks has been
9295 done on X and NS.
9296 (blink-cursor-suspend, blink-cursor-check): New defuns.
9297
da48522e
GM
92982013-07-15 Glenn Morris <rgm@gnu.org>
9299
9300 * edmacro.el (edmacro-format-keys): Fix previous change.
9301
0463c1ef
PE
93022013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9303
9304 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9305 The hack didn't work outside English locales anyway.
9306
b43f6451
JB
93072013-07-15 Juanma Barranquero <lekktu@gmail.com>
9308
9309 * simple.el (define-alternatives): Rename from alternatives-define,
9310 per RMS' suggestion.
9311
b958c0ad
JB
93122013-07-14 Juanma Barranquero <lekktu@gmail.com>
9313
9314 * desktop.el (desktop-restore-frames): Change default to t.
9315 (desktop-restore-in-current-display): Now offer more options.
9316 (desktop-restoring-reuses-frames): New customization option.
9317 (desktop--saved-states): Doc fix.
9318 (desktop-filter-parameters-alist): New variable, renamed and expanded
9319 from desktop--excluded-frame-parameters.
9320 (desktop--target-display): New variable.
9321 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9322 (desktop--filter-tty*, desktop--filter-*-color)
9323 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9324 (desktop--filter-save-desktop-parm)
9325 (desktop-restore-in-original-display-p): New functions.
9326 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9327 (desktop--save-minibuffer-frames): New function, inspired by a similar
9328 function from Martin Rudalics.
9329 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9330 (desktop--restore-in-this-display-p): Remove.
9331 (desktop--find-frame): Rename from desktop--find-frame-in-display
9332 and add predicate argument.
9333 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9334 (desktop--reuse-list): New variable.
9335 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9336 New functions.
9337 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9338
f6dd8b36
MA
93392013-07-14 Michael Albinus <michael.albinus@gmx.de>
9340
9341 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9342
2ce3c565
DG
93432013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9344
763a086d
JB
9345 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9346 Highlight conversion methods on Kernel.
2ce3c565 9347
2cdb7698
AM
93482013-07-13 Alan Mackenzie <acm@muc.de>
9349
9350 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9351 and comment it out. This out-commenting enables certain C++
9352 declarations to be parsed correctly.
9353
1a67b811
EZ
93542013-07-13 Eli Zaretskii <eliz@gnu.org>
9355
1b796d6b
EZ
9356 * international/mule.el (define-coding-system): Doc fix.
9357
1a67b811
EZ
9358 * simple.el (default-font-height): Don't call font-info if the
9359 frame's default font didn't change since the frame was created.
9360 (Bug#14838)
9361
58fbe886
LL
93622013-07-13 Leo Liu <sdl.web@gmail.com>
9363
9364 * ido.el (ido-read-file-name): Guard against non-symbol value.
9365
1f0480d4
FEG
93662013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9367
9368 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9369 in nested defuns.
9370
97ead0e5
LL
93712013-07-13 Leo Liu <sdl.web@gmail.com>
9372
9373 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9374 ido-set-matches call. (Bug#6852)
9375
0880a952
DG
93762013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9377
35e951cd 9378 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9379 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9380 Ruby 2.0.
9381 (ruby-font-lock-keywords): Distinguish calls to functions with
9382 module-like names from module references. Highlight character
9383 literals.
9384
a7d8babb
SDJ
93852013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9386
9387 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9388 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9389
acfcc8c5
JB
93902013-07-12 Juanma Barranquero <lekktu@gmail.com>
9391
9392 * desktop.el (desktop--v2s): Remove unused local variable.
9393 (desktop-save-buffer): Make defvar-local; adjust docstring.
9394 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9395 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9396
051f2775
AS
93972013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9398
9399 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9400
f24e7572
GM
94012013-07-12 Eli Zaretskii <eliz@gnu.org>
9402
9403 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9404 (Bug#14842)
9405
539a920c
GM
94062013-07-12 Glenn Morris <rgm@gnu.org>
9407
9408 * doc-view.el: Require cl-lib at runtime too.
9409 (doc-view-remove-if): Remove.
9410 (doc-view-search-next-match, doc-view-search-previous-match):
9411 Use cl-remove-if.
9412
9413 * edmacro.el: Require cl-lib at runtime too.
9414 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9415 (edmacro-mismatch, edmacro-subseq): Remove.
9416
9417 * shadowfile.el: Require cl-lib.
9418 (shadow-remove-if): Remove.
9419 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9420 Use cl-remove-if.
9421
9422 * wid-edit.el: Require cl-lib.
9423 (widget-choose): Use cl-remove-if.
9424 (widget-remove-if): Remove.
9425
9426 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9427 (ebrowse-delete-if-not): Remove.
9428 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9429 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9430 Use cl-delete-if-not.
9431
1048af7c
JB
94322013-07-12 Juanma Barranquero <lekktu@gmail.com>
9433
9434 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9435 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9436
6c0674ee
LL
94372013-07-12 Leo Liu <sdl.web@gmail.com>
9438
9439 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9440
a19b3c2d
GM
94412013-07-11 Glenn Morris <rgm@gnu.org>
9442
4582a01c
GM
9443 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9444 (edebug-gensym-index, edebug-gensym):
9445 Remove reimplementation of cl-gensym.
9446 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9447
9448 * thumbs.el: Require cl-lib at run-time too.
9449 (thumbs-gensym-counter, thumbs-gensym):
9450 Remove reimplementation of cl-gensym.
9451 (thumbs-temp-file): Use cl-gensym.
9452
a19b3c2d
GM
9453 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9454 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9455 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9456 (ert--union, ert--gensym-counter, ert--gensym-counter)
9457 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9458 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9459 (ert-make-test-unbound, ert--expand-should-1)
9460 (ert--expand-should, ert--should-error-handle-error)
9461 (should-error, ert--explain-equal-rec)
9462 (ert--plist-difference-explanation, ert-select-tests)
9463 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9464 Use cl-lib functions rather than reimplementations.
9465
88f6a933
MA
94662013-07-11 Michael Albinus <michael.albinus@gmx.de>
9467
9468 * net/tramp.el (tramp-methods): Extend docstring.
9469 (tramp-connection-timeout): New defcustom.
9470 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9471 (with-tramp-progress-reporter): Simplify.
9472 (tramp-process-actions): Improve messages.
9473
9474 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9475 * net/tramp-sh.el (tramp-maybe-open-connection):
9476 Use `tramp-connection-timeout'.
afe1e4c8 9477 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9478 (Bug#14808)
9479
a43d577e
LL
94802013-07-11 Leo Liu <sdl.web@gmail.com>
9481
9482 * ido.el (ido-read-file-name): Conform to the requirements of
9483 read-file-name. (Bug#11861)
9484 (ido-read-directory-name): Conform to the requirements of
9485 read-directory-name.
9486
d77974bf
JB
94872013-07-11 Juanma Barranquero <lekktu@gmail.com>
9488
9489 * subr.el (delay-warning): New function.
9490
35cb8a3e
EZ
94912013-07-10 Eli Zaretskii <eliz@gnu.org>
9492
9493 * simple.el (default-line-height): New function.
9494 (line-move-partial, line-move): Use it instead of computing the
9495 line height inline.
9496 (line-move-partial): Always compute ROWH. If the last line is
9497 partially-visible, but its text is completely visible, allow
9498 cursor to enter such a partially-visible line.
9499
525c5c77
MA
95002013-07-10 Michael Albinus <michael.albinus@gmx.de>
9501
9502 Improve error messages. (Bug#14808)
9503
9504 * net/tramp.el (tramp-current-connection): New defvar, moved from
9505 tramp-sh.el.
0ac26976 9506 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9507 needed anymore.
0ac26976
SM
9508 (tramp-error-with-buffer): Show message in minibuffer.
9509 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9510 (with-tramp-progress-reporter): Improve messages.
9511 (tramp-process-actions): Use progress reporter. Delete process in
9512 case of error. Improve messages.
9513
763a086d
JB
9514 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9515 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9516 (tramp-current-connection): Remove.
525c5c77
MA
9517 (tramp-maybe-open-connection): The car of
9518 `tramp-current-connection' are the first 3 slots of the vector.
9519
c7a4d368
TZ
95202013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9521
9522 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9523 inside continued strings.
9524
954b166e
PE
95252013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9526
9527 Timestamp fixes for undo (Bug#14824).
9528 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9529
56973319
LL
95302013-07-10 Leo Liu <sdl.web@gmail.com>
9531
9532 * files.el (require-final-newline): Allow safe local value.
9533 (Bug#14834)
9534
5550a72c
LL
95352013-07-09 Leo Liu <sdl.web@gmail.com>
9536
9537 * ido.el (ido-read-directory-name): Handle fallback.
9538 (ido-read-file-name): Update DIR to ido-current-directory.
9539 (Bug#1516)
c28b9050 9540 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9541
70c46b28
DG
95422013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9543
9544 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9545 "autoload". Remove "warn lower camel case" section, previously
9546 commented out. Highlight negation char. Do not highlight the
9547 target in singleton method definitions.
9548
0b64b838
SM
95492013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9550
7fd72e2c
SM
9551 * faces.el (tty-setup-hook): Declare the hook.
9552
0b64b838
SM
9553 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9554 and detect when a guard/pred depends on local vars (bug#14773).
9555 (pcase--u1): Adjust caller.
9556
ab49d60b
EZ
95572013-07-08 Eli Zaretskii <eliz@gnu.org>
9558
9559 * simple.el (line-move-partial, line-move): Account for
9560 line-spacing.
701d79aa
EZ
9561 (line-move-partial): Avoid setting vscroll when the last
9562 partially-visible line in window is of default height.
ab49d60b 9563
2d756ae0
LMI
95642013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9565
9566 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9567 been used a while.
9568
ed095bd7
JB
95692013-07-07 Juanma Barranquero <lekktu@gmail.com>
9570
9571 * subr.el (read-quoted-char): Remove unused local variable `char'.
9572
f1e6674b
MK
95732013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9574
584ee3fc
GM
9575 * ediff.el (ediff-version): Version update.
9576 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9577 (ediff-merge-with-ancestor-command, ediff-directories-command)
9578 (ediff-directories3-command, ediff-merge-directories-command)
9579 (ediff-merge-directories-with-ancestor-command): New functions.
9580 All are command-line interfaces to ediff: to facilitate calling
9581 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9582
9583 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9584 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9585
584ee3fc
GM
9586 * viper.el (viper-version): Version update.
9587 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9588
584ee3fc
GM
95892013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9592 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9593 (viper-intercept-ESC-key): Simplify.
9594 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9595 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9596 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9597 (viper-setup-ESC-to-escape): New functions.
9598 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9599 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9600
9aff9b38
EZ
96012013-07-07 Eli Zaretskii <eliz@gnu.org>
9602
5165d44a
JB
9603 * simple.el (default-font-height, window-screen-lines):
9604 New functions.
9aff9b38
EZ
9605 (line-move, line-move-partial): Use them instead of
9606 frame-char-height and window-text-height. This makes scrolling
9607 text smoother when the buffer's default face uses a font that is
9608 different from the frame's default font.
9609
1afb1d07
JD
96102013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9611
9612 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9613 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9614
23de972a
EZ
96152013-07-06 Eli Zaretskii <eliz@gnu.org>
9616
9617 * simple.el (line-move-partial): Adjust the row returned by
9618 posn-at-point for the current window-vscroll. (Bug#14567)
9619
54a42486
MA
96202013-07-06 Michael Albinus <michael.albinus@gmx.de>
9621
35e951cd 9622 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9623 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9624 spaces.
9625
34ada5f4
MR
96262013-07-06 Martin Rudalics <rudalics@gmx.at>
9627
9628 * window.el (window-state-put-stale-windows): New variable.
9629 (window--state-put-2): Save list of windows without matching buffer.
9630 (window-state-put): Remove "bufferless" windows if possible.
9631
11e03d89
JB
96322013-07-06 Juanma Barranquero <lekktu@gmail.com>
9633
9634 * simple.el (alternatives-define): Remove leftover :group keyword.
9635 Tweak docstring.
9636
3504a4be
LL
96372013-07-06 Leo Liu <sdl.web@gmail.com>
9638
9639 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9640 (ido-enable-virtual-buffers): New variable.
9641 (ido-buffer-internal, ido-toggle-virtual-buffers)
9642 (ido-make-buffer-list): Use it.
9643 (ido-exhibit): Support turning on and off virtual buffers
9644 automatically.
9645
61e56e2c
JB
96462013-07-06 Juanma Barranquero <lekktu@gmail.com>
9647
9648 * simple.el (alternatives-define): New macro.
9649
321e1a9c
SM
96502013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * subr.el (read-quoted-char): Use read-key.
9653 (sit-for): Let read-event decode tty input (bug#14782).
9654
d610f6dd
SB
96552013-07-05 Stephen Berman <stephen.berman@gmx.net>
9656
9657 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9658 mode command and externally. Fix various related bugs.
9659 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9660 (todo-delete-file): New command.
9661 (todo-check-file): New function.
9662 (todo-show): Handle external deletion of the file we're trying to
9663 show (bug#14688). Replace called-interactively-p by an optional
9664 prefix argument to avoid problematic interaction with catch form
9665 when byte compiled (bug#14702).
9666 (todo-quit): Handle external deletion of the archive's todo file.
9667 Make sure the buffer that was visiting the archive file is still
9668 live before trying to bury it.
9669 (todo-category-completions): Handle external deletion of any
9670 category completion files.
9671 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9672 of todo files, in case of external deletion.
9673 (todo-add-file): Replace unnecessary setq by let-binding.
9674 (todo-find-archive): Check whether there are any archives.
9675 Replace unnecessary setq by let-binding.
9676 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9677 archive buffer whether or not the archive already exists.
9678 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9679 check if the archive is new; if it is, update list of archives.
9680 (todo-default-todo-file): Allow nil to be a valid value for when
9681 there are no todo files.
9682 (todo-reevaluate-default-file-defcustom): Use corrected definition
9683 of todo-default-todo-file.
9684 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9685 (todo-delete-category, todo-show-categories-table)
9686 (todo-category-number): Clarify comment.
9687 (todo-filter-items): Clarify documentation string.
9688 (todo-show-current-file, todo-display-as-todo-file)
9689 (todo-reset-and-enable-done-separator): Tweak documentation string.
9690 (todo-done-separator): Make separator length window-width, since
9691 bug#2749 is now fixed.
9692
ddbdfd6f
MA
96932013-07-05 Michael Albinus <michael.albinus@gmx.de>
9694
321e1a9c
SM
9695 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9696 Support both "gvfs-monitor-dir" and "inotifywait".
9697 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9698 `tramp-sh-file-notify-process-filter'.
9699 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9700 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9701
96eb829a
LL
97022013-07-05 Leo Liu <sdl.web@gmail.com>
9703
9704 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9705
cf13177e
YM
97062013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9707
9708 * frame.el (display-pixel-height, display-pixel-width)
9709 (display-mm-height, display-mm-width): Mention behavior on
9710 multi-monitor setups in docstrings.
9711 (w32-display-monitor-attributes-list): Declare function.
9712 (display-monitor-attributes-list): Use it.
9713
864c58ca
MA
97142013-07-04 Michael Albinus <michael.albinus@gmx.de>
9715
9716 * filenotify.el: New package.
9717
9718 * autorevert.el (top): Require filenotify.el.
9719 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9720 instead.
9721 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9722 (auto-revert-notify-handler): Use `file-notify-*' functions.
9723
9724 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9725
321e1a9c
SM
9726 * net/tramp.el (tramp-file-name-for-operation):
9727 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9728
9729 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9730 for `file-notify-add-watch' and `file-notify-rm-watch'.
9731 (tramp-process-sentinel): Improve trace.
9732 (tramp-sh-handle-file-notify-add-watch)
9733 (tramp-sh-file-notify-process-filter)
9734 (tramp-sh-handle-file-notify-rm-watch)
9735 (tramp-get-remote-inotifywait): New defuns.
9736
96673afe
JL
97372013-07-03 Juri Linkov <juri@jurta.org>
9738
9739 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9740 call of `occur-read-primary-args' to interactive spec.
9741
9742 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9743 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9744
924494f4
MM
97452013-07-03 Matthias Meulien <orontee@gmail.com>
9746
9747 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9748 `Buffer-menu-multi-occur'. Add it to the menu.
9749 (Buffer-menu-mode): Document it in docstring.
9750 (Buffer-menu-multi-occur): New command. (Bug#14673)
9751
56f75efc
DG
97522013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9753
9754 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9755 keywords and built-ins.
9756
9b057d61
GM
97572013-07-03 Glenn Morris <rgm@gnu.org>
9758
208dee4d
GM
9759 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9760
9b057d61
GM
9761 Make info-xref checks case-sensitive by default
9762 * info.el (Info-find-node, Info-find-in-tag-table)
9763 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9764 Add option for exact case matching of nodes.
9765 * info-xref.el (info-xref): New custom group.
9766 (info-xref-case-fold): New option.
9767 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9768
e01aa29c
LL
97692013-07-03 Leo Liu <sdl.web@gmail.com>
9770
9771 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9772
3086ca2e
DG
97732013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9774
9775 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9776 middle of block statement initially, lower the depth. Remove
9777 FIXME comment, not longer valid. Remove middle of block statement
9778 detection, no need to do that anymore since we've been using
9779 `ruby-parse-region' here.
9780
a3b49114
JD
97812013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9782
9783 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9784
08e5c823 97852013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9786
9787 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9788
2addf922
JB
97892013-07-01 Juanma Barranquero <lekktu@gmail.com>
9790
9791 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9792 (desktop-restore-in-current-display): New customization option.
9793 (desktop--excluded-frame-parameters): Add `font'.
9794 (desktop--save-frames): Rename from desktop--save-windows.
9795 (desktop--restore-in-this-display-p): New function.
9796 (desktop--make-full-frame): Remove unwanted width/height from
9797 full(width|height) frames.
9798 (desktop--restore-frames): Rename from desktop--restore-windows.
9799 Obey desktop-restore-current-display. Do not delete old frames or
9800 select a new frame unless we were able to restore at least one frame.
9801
ef099a94
MN
98022013-06-30 Michal Nazarewicz <mina86@mina86.com>
9803
9804 * files.el (find-file-noselect): Simplify conditional expression.
9805
a12bf61e 9806 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9807 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9808
9809 Add `remember-notes' function to store random notes across Emacs
9810 restarts.
3fcfc4ee
JB
9811 * textmodes/remember.el (remember-data-file): Add :set callback to
9812 affect notes buffer (if any).
ef099a94
MN
9813 (remember-notes): New command.
9814 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9815 New defcustoms for the `remember-notes' function.
9816 (remember-notes-save-and-bury-buffer): New command.
9817 (remember-notes-mode-map): New variable.
9818 (remember-mode): New minor mode.
9819 (remember-notes--kill-buffer-query): New function.
9820 * startup.el (initial-buffer-choice): Add notes to custom type.
9821
0865d506
EZ
98222013-06-30 Eli Zaretskii <eliz@gnu.org>
9823
0ba54312
EZ
9824 * bindings.el (right-char, left-char): Don't call sit-for, this is
9825 no longer needed. Use arithmetic comparison only for numerical
9826 arguments.
9827
ef099a94
MN
9828 * international/mule-cmds.el (select-safe-coding-system):
9829 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9830
2fae38e5
LMI
98312013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9832
9833 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9834 progression on degenerate tables.
ef099a94 9835 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9836
a47cbd64
JB
98372013-06-30 Juanma Barranquero <lekktu@gmail.com>
9838
9839 Some fixes and improvements for desktop frame restoration.
9840 It is still experimental and disabled by default.
9841 * desktop.el (desktop--save-windows): Put the selected frame at
9842 the head of the list.
9843 (desktop--make-full-frame): New function.
9844 (desktop--restore-windows): Try to re-select the frame that was
9845 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9846 just show an error message and continue. Set up maximized frames
9847 so they have default non-maximized dimensions.
a47cbd64 9848
6dbafa30
DG
98492013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9850
ef099a94
MN
9851 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9852 Don't start heredoc inside a string or comment.
6dbafa30 9853
4c672a0f
EZ
98542013-06-29 Eli Zaretskii <eliz@gnu.org>
9855
9856 * bindings.el (visual-order-cursor-movement): New defcustom.
9857 (right-char, left-char): Provide visual-order cursor motion by
9858 calling move-point-visually. Update the doc strings.
9859
50960f36
KH
98602013-06-28 Kenichi Handa <handa@gnu.org>
9861
9862 * international/mule.el (define-coding-system): New coding system
9863 properties :inhibit-null-byte-detection,
9864 :inhibit-iso-escape-detection, and :prefer-utf-8.
9865 (set-buffer-file-coding-system): If :charset-list property of
9866 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9867 appropriate for setting.
9868
c1ea3abf
JB
9869 * international/mule-cmds.el (select-safe-coding-system):
9870 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9871 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9872
9873 * international/mule-conf.el (prefer-utf-8): New coding system.
9874 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9875 files.
9876
75dbaf9d
IK
98772013-06-28 Ivan Kanis <ivan@kanis.fr>
9878
eadb6068
IK
9879 * net/shr.el (shr-render-region): New function.
9880
75dbaf9d
IK
9881 * net/eww.el: Autoload `eww-browse-url'.
9882
9ea5cf9f
DG
98832013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9884
c1ea3abf
JB
9885 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9886 Adapt to `package-desc-version' being a list.
9887 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9888 archive element.
9889
39c0e36f
JB
98902013-06-27 Juanma Barranquero <lekktu@gmail.com>
9891
9892 New experimental feature to save&restore window and frame setup.
9893 * desktop.el (desktop-save-windows): New defcustom.
9894 (desktop--saved-states): New var.
9895 (desktop--excluded-frame-parameters): New defconst.
9896 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9897 (desktop--restore-windows, desktop--save-windows): New functions.
9898 (desktop-save): Call `desktop--save-windows'.
9899 (desktop-read): Call `desktop--restore-windows'.
9900
7f13406b
LMI
99012013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9902
ef099a94 9903 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9904
1e072639
SB
99052013-06-27 Stephen Berman <stephen.berman@gmx.net>
9906
9907 * info.el (Info-try-follow-nearest-node): Move search for footnote
9908 above search for node name to prevent missing a footnote (bug#14717).
9909
f3e2cbde
SB
99102013-06-27 Stephen Berman <stephen.berman@gmx.net>
9911
9912 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9913
99906aa0
LL
99142013-06-27 Leo Liu <sdl.web@gmail.com>
9915
9916 * net/eww.el (eww-read-bookmarks): Check file size.
9917
539f75f4
SM
99182013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9921 advice--pending if newdef is nil or an autoload (bug#13820).
9922 (advice-mapc): New function.
9923
843571cb
LMI
99242013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9925
9926 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9927 probably.
23a75d7f 9928 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9929 (eww-add-bookmark): New command.
9930 (eww-bookmark-mode): New mode and commands.
a285ce99 9931 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9932 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9933
f2136e1e
GM
99342013-06-26 Glenn Morris <rgm@gnu.org>
9935
eab35f39
GM
9936 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9937 (hfy-size): Handle ttys. (Bug#14668)
9938
f2136e1e
GM
9939 * info-xref.el: Update for Texinfo 5 change in *note format.
9940 (info-xref-node-re, info-xref-note-re): New constants.
9941 (info-xref-check-buffer): Use info-xref-note-re.
9942
a49ff80c
SM
99432013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9944
a343d218
SM
9945 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9946
a49ff80c
SM
9947 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9948 nil terminate the loop (bug#14718).
9949
8308f184
LMI
99502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9951
9952 * net/eww.el: Rework history traversal. When going forward/back,
9953 put these actions into the history, too, so that they can be
9954 replayed.
26bf2b82 9955 (eww-render): Move the history reset to the correct buffer.
8308f184 9956
ec64c273
JL
99572013-06-25 Juri Linkov <juri@jurta.org>
9958
9959 * files-x.el (modify-dir-local-variable): Change the header comment
9960 in the file with directory local variables. (Bug#14692)
9961
e080a9d7
JL
9962 * files-x.el (read-file-local-variable-value): Add `default'.
9963 (Bug#14710)
9964
bfbc93a1
IK
99652013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9966
9967 * net/eww.el (eww-make-unique-file-name): Create a unique file
9968 name before saving to entering `y' accidentally asynchronously.
9969
99702013-06-25 Ivan Kanis <ivan@kanis.fr>
9971
9972 * net/eww.el (eww-download): New command and keystroke.
9973
16f74f10
LMI
99742013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9975
a49ff80c 9976 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9977
9978 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9979 be more consistent with Info and dired.
9980
9981 * net/eww.el (eww-mode-map): Ditto.
9982
12059709
SM
99832013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9986 packages from archives.
9987 (package-archive-contents): Change format; include obsolete packages.
9988 (package-desc): Use `dir' to mark builtin packages.
9989 (package--from-builtin): Set the `dir' field to `builtin'.
9990 (generated-autoload-file, version-control): Declare.
9991 (package-compute-transaction): Change first arg and return value to be
9992 lists of package-descs. Adjust to new package-archive-contents format.
9993 (package--add-to-archive-contents): Adjust to new
9994 package-archive-contents format.
9995 (package-download-transaction): Arg is now a list of package-descs.
9996 (package-install): If `pkg' is a package name, pass it as
9997 a requirement, so it is subject to the usual (e.g. disabled) checks.
9998 (describe-package): Accept package-desc as well.
9999 (describe-package-1): Describe a specific package-desc. Add links to
10000 other package-descs for the same package name.
10001 (package-menu-describe-package): Pass the actual package-desc.
10002 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10003 works correctly.
10004 (package-desc-status): New function.
10005 (package-menu--refresh): New function, extracted
10006 from package-menu--generate.
10007 (package-menu--generate): Use it.
10008 (package-delete): Update package-alist.
10009 (package-menu-execute): Don't call package-initialize.
10010
10011 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10012 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10013 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10014 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10015 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10016 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10017
8bbdea0f
MR
100182013-06-25 Martin Rudalics <rudalics@gmx.at>
10019
10020 * window.el (window--state-get-1): Workaround for bug#14527.
10021 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10022
e82b0991
LMI
100232013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10024
10025 * net/eww.el (eww-back-url): Implement the history by stashing all
10026 the data into a list.
d3f0f918 10027 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10028
c763842b
SM
100292013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10030
10031 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10032 for values and use read--expression for expressions (bug#14710).
10033 (read-file-local-variable): Avoid setq.
10034 (read-file-local-variable-mode): Use minor-mode-list.
10035
bceff189
RW
100362013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10037
864c58ca 10038 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
10039 for DOI URLs.
10040
45f431c6
RW
100412013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10042
864c58ca 10043 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
10044 Update imenu-support when dialect changes.
10045
f42d8237
LL
100462013-06-25 Leo Liu <sdl.web@gmail.com>
10047
10048 * ido.el (ido-read-internal): Allow forward slash on windows.
10049
be549ce6
LMI
100502013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10051
10052 * net/eww.el (eww): Start of strings is \\`, not ^.
10053
71d4c19d
IK
100542013-06-24 Ivan Kanis <ivan@kanis.fr>
10055
5196f88a
IK
10056 * net/shr.el (shr-browse-url): Fix interactive spec.
10057
71d4c19d
IK
10058 * net/eww.el (eww): Add a trailing slash to domain names.
10059
ae36ca55
JB
100602013-06-24 Juanma Barranquero <lekktu@gmail.com>
10061
10062 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10063
0ebd92a3
LMI
100642013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10065
bdaa086b
LMI
10066 * net/shr.el (shr-browse-url): Use an external browser if given a
10067 prefix.
10068
c763842b 10069 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 10070
b89fc156
IK
100712013-06-24 Ivan Kanis <ivan@kanis.fr>
10072
10073 * net/eww.el (eww): Work more correctly for file: URLs.
10074 (eww-detect-charset): Allow quoted charsets.
10075 (eww-yank-page-url): New command and keystroke.
10076
18eb4bca
DU
100772013-06-24 Daiki Ueno <ueno@gnu.org>
10078
10079 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10080 file name of gpg executable.
10081 (epg-context-program): New function.
10082 (epg-context-home-directory): New function.
10083 (epg-context-set-program): New function.
10084 (epg-context-set-home-directory): New function.
10085 (epg--start): Use `epg-context-program' instead of
10086 'epg-gpg-program'.
10087 (epg--list-keys-1): Likewise.
10088
6c6268c8
LL
100892013-06-24 Leo Liu <sdl.web@gmail.com>
10090
10091 * ido.el (ido-read-internal): Fix bug#14620.
10092
5e400cb3
JB
100932013-06-23 Juanma Barranquero <lekktu@gmail.com>
10094
10095 * faces.el (face-documentation): Simplify.
10096 (read-face-attribute, tty-find-type, x-resolve-font-name):
10097 Use `string-match-p'.
10098 (list-faces-display): Use `string-match-p'. Simplify.
10099 (face-spec-recalc): Check face to avoid face alias loops.
10100 (read-color): Use `string-match-p' and non-capturing parenthesis.
10101
f3f9606c
LMI
101022013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10103
10104 * net/shr.el (shr-rescale-image): Use the new
10105 :max-width/:max-height functionality.
10106
a3ca09b9
IK
101072013-06-23 Ivan Kanis <ivan@kanis.fr>
10108
10109 * net/eww.el (eww-search-prefix): New variable.
10110 (eww): Use it.
f865b474
IK
10111 (eww-external-browser): New variable.
10112 (eww-mode-map): New keystroke.
10113 (eww-browse-with-external-browser): New command.
a3ca09b9 10114
e854cfc7
IK
10115 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10116
18bb9e21
JB
101172013-06-23 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10120 Don't skip aligning the next header field when padding is 0;
10121 otherwise, field width is not respected unless the title is as
10122 wide as the field.
10123
5b165ade
SM
101242013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * emacs-lisp/package.el (package-el-version): Remove.
10127 (package-process-define-package): Fix inf-loop.
10128 (package-install): Allow symbols as arguments again.
10129
12adebe9
DG
101302013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10131
10132 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10133 add some more keyword-like methods.
10134 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10135
388573ee
JB
101362013-06-22 Juanma Barranquero <lekktu@gmail.com>
10137
10138 * bs.el (bs-buffer-show-mark): Make defvar-local.
10139 (bs-mode): Use setq-local.
10140
10141 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10142 (emacs-lock--try-unlocking): Make defvar-local.
10143
4582a01c 101442013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10145
2663dd23
GM
10146 * play/cookie1.el (cookie-apropos): Minor simplification.
10147
3d94f3ad
GM
10148 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10149
f72e2fdb
DG
101502013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10151
10152 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10153 `regexp-opt', it breaks the build during dumping.
10154
73eab938
DG
101552013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10156
c763842b
SM
10157 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10158 Highlight keyword-like methods on Kernel and Module with
73eab938 10159 font-lock-builtin-face.
5cf8176d
DG
10160 (auto-mode-alist): Consolidate different entries into one regexp
10161 and add more *file-s.
73eab938 10162
d26255f6
SB
101632013-06-21 Stephen Berman <stephen.berman@gmx.net>
10164
10165 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10166
10167 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10168 (diary-entry): Use it in the action of this button type instead of
10169 diary-goto-entry.
10170
10171 * calendar/todo-mode.el: New version.
10172 (todo-add-category): Append new category to end of file and give
10173 it the highest number, instead of putting it at the beginning and
10174 giving it 0. Incorporate noninteractive functionality.
10175 (todo-forward-category): Adapt to 1-based category numbering.
10176 Allow skipping over archived categories.
10177 (todo-backward-category): Derive from todo-forward-category.
10178 (todo-backward-item, todo-forward-item): Make noninteractive and
10179 delegate interactive part to new commands. Make sensitive to done items.
10180 (todo-categories): Make value an alist of category names and
10181 vectors of item counts.
10182 (todo-category-beg): Make a defconst.
10183 (todo-category-number): Use 1 instead of 0 as initial value.
10184 (todo-category-select): Make sensitive to overlays, optional item
10185 highlighting and done items.
10186 (todo-delete-item): Make sensitive to overlays and marked and done items.
10187 (todo-edit-item): Make sensitive to overlays and editing of
10188 date/time header optional. Add format checks.
10189 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10190 no-op if point is not on an item. Advertise using todo-edit-quit.
10191 (todo-edit-mode): Make sensitive to new format, font-locking, and
10192 multiple todo files.
10193 (todo-insert-item, todo-insert-item-here): Derive from
10194 todo-basic-insert-item and extend functionality.
10195 (todo-item-end, todo-item-start): Make sensitive to done items.
10196 (todo-item-string): Don't return text properties. Restore point.
10197 (todo-jump-to-category): Make sensitive to multiple todo files and
10198 todo archives. Use extended category completion.
10199 (todo-lower-item, todo-raise-item): Rename to *-priority and
10200 derive from todo-set-item-priority.
10201 (todo-mode): Derive from special-mode. Make sensitive to new
10202 format, font-locking and multiple todo files. Make read-only.
10203 (todo-mode-map): Don't suppress digit keys, so they can supply
10204 prefix arguments. Add many new key bindings.
10205 (todo-prefix): Insert as an overlay instead of file text.
10206 Change semantics from diary date expression to purely visual mark.
10207 (todo-print): Rename to todo-print-buffer. Make buffer display
10208 features printable. Remove option to restrict number of items
10209 printed. Add option to print to file.
10210 (todo-print-function): Rename to todo-print-buffer-function.
10211 (todo-quit): Extend to handle exiting new todo modes.
10212 (todo-remove-item): Make sensitive to overlays.
10213 (todo-save): Extend to buffers of filtered items.
10214 (todo-show): Make sensitive to done items, multiple todo files and
10215 new todo modes. Offer to convert legacy todo file before creating
10216 first new todo file.
10217 (todo-show-priorities): Rename to todo-top-priorities.
10218 Change semantics of value 0.
10219 (todo-top-priorities): Rename to todo-filter-top-priorities,
10220 derive from todo-filter-items and extend functionality.
10221 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10222 and extend functionality to other types of filtered items.
10223 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10224 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10225 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10226 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10227 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10228 (todo-edit-mode-hook, todo-entry-prefix-function)
10229 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10230 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10231 (todo-initials, todo-insert-threshold, todo-item-string-start)
10232 (todo-line-string, todo-menu, todo-mode-hook)
10233 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10234 (todo-print-priorities, todo-remove-separator)
10235 (todo-save-top-priorities-too, todo-string-count-lines)
10236 (todo-string-multiline-p, todo-time-string-format)
10237 (todo-tmp-buffer-name): Remove.
10238 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10239 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10240 (todo-edit-category-diary-inclusion)
10241 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10242 (todo-edit-file, todo-edit-item-date-day)
10243 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10244 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10245 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10246 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10247 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10248 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10249 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10250 (todo-filter-top-priorities-multifile, todo-find-archive)
10251 (todo-find-filtered-items-file, todo-go-to-source-item)
10252 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10253 (todo-jump-to-archive-category, todo-lower-category)
10254 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10255 (todo-move-category, todo-move-item, todo-next-button)
10256 (todo-next-item, todo-padded-string, todo-powerset)
10257 (todo-previous-button, todo-previous-item)
10258 (todo-print-buffer-to-file, todo-raise-category)
10259 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10260 (todo-set-category-number, todo-set-item-priority)
10261 (todo-set-top-priorities-in-category)
10262 (todo-set-top-priorities-in-file, todo-show-categories-table)
10263 (todo-sort-categories-alphabetically-or-numerically)
10264 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10265 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10266 (todo-toggle-item-header, todo-toggle-item-highlighting)
10267 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10268 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10269 (todo-unarchive-items, todo-unmark-category): New commands.
10270 (todo-absolute-file-name, todo-add-to-buffer-list)
10271 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10272 (todo-basic-insert-item, todo-category-completions)
10273 (todo-category-number, todo-category-string-matcher-1)
10274 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10275 (todo-check-format, todo-clear-matches)
10276 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10277 (todo-current-category, todo-date-string-matcher)
10278 (todo-define-insertion-command, todo-diary-expired-matcher)
10279 (todo-diary-goto-entry, todo-diary-item-p)
10280 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10281 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10282 (todo-done-item-section-p, todo-done-separator)
10283 (todo-done-string-matcher, todo-files, todo-filter-items)
10284 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10285 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10286 (todo-insert-category-line, todo-insert-item-from-calendar)
10287 (todo-insert-sort-button, todo-insert-with-overlays)
10288 (todo-insertion-command-name, todo-insertion-key-bindings)
10289 (todo-label-to-key, todo-longest-category-name-length)
10290 (todo-make-categories-list, todo-mode-external-set)
10291 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10292 (todo-modes-set-3, todo-multiple-filter-files)
10293 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10294 (todo-read-category, todo-read-date, todo-read-dayname)
10295 (todo-read-file-name, todo-read-time)
10296 (todo-reevaluate-category-completions-files-defcustom)
10297 (todo-reevaluate-default-file-defcustom)
10298 (todo-reevaluate-filelist-defcustoms)
10299 (todo-reevaluate-filter-files-defcustom)
10300 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10301 (todo-reset-done-separator, todo-reset-done-separator-string)
10302 (todo-reset-done-string, todo-reset-global-current-todo-file)
10303 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10304 (todo-reset-prefix, todo-set-categories)
10305 (todo-set-date-from-calendar, todo-set-show-current-file)
10306 (todo-set-top-priorities, todo-short-file-name)
10307 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10308 (todo-total-item-counts, todo-update-buffer-list)
10309 (todo-update-categories-display, todo-update-categories-sexp)
10310 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10311 New functions.
10312 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10313 New major modes.
10314 (todo-categories, todo-display, todo-edit, todo-faces)
10315 (todo-filtered): New defgroups.
10316 (todo-archived-only, todo-button, todo-category-string, todo-date)
10317 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10318 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10319 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10320 (todo-add-item-if-new-category, todo-always-add-time-string)
10321 (todo-categories-align, todo-categories-archived-label)
10322 (todo-categories-category-label, todo-categories-diary-label)
10323 (todo-categories-done-label, todo-categories-number-separator)
10324 (todo-categories-todo-label, todo-categories-totals-label)
10325 (todo-category-completions-files, todo-completion-ignore-case)
10326 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10327 (todo-done-separator-string, todo-done-string)
10328 (todo-files-function, todo-filter-done-items, todo-filter-files)
10329 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10330 (todo-initial-category, todo-initial-file, todo-item-mark)
10331 (todo-legacy-date-time-regexp, todo-mode-line-function)
10332 (todo-nondiary-marker, todo-number-prefix)
10333 (todo-print-buffer-function, todo-show-current-file)
10334 (todo-show-done-only, todo-show-first, todo-show-with-done)
10335 (todo-skip-archived-categories, todo-top-priorities-overrides)
10336 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10337 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10338 New defcustoms.
10339 (todo-category-done, todo-date-pattern, todo-date-string-start)
10340 (todo-diary-items-buffer, todo-done-string-start)
10341 (todo-filtered-items-buffer, todo-item-start)
10342 (todo-month-abbrev-array, todo-month-name-array)
10343 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10344 (todo-top-priorities-buffer): New defconsts.
10345 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10346 (todo-categories-with-marks, todo-category-string-face)
10347 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10348 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10349 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10350 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10351 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10352 (todo-font-lock-keywords, todo-global-current-todo-file)
10353 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10354 (todo-insertion-commands-args)
10355 (todo-insertion-commands-args-genlist)
10356 (todo-insertion-commands-names, todo-insertion-map)
10357 (todo-key-bindings-t, todo-key-bindings-t+a)
10358 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10359 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10360 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10361 (todo-visited): New variables.
10362
cad5d1cb
GM
103632013-06-21 Glenn Morris <rgm@gnu.org>
10364
10365 * play/cookie1.el (cookie-apropos): Add optional display argument.
10366 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10367 (psychoanalyze-pinhead): Use cookie-doctor.
10368
9e277302
JB
103692013-06-21 Juanma Barranquero <lekktu@gmail.com>
10370
10371 * emacs-lisp/package.el (tar-get-file-descriptor)
10372 (tar--extract): Declare.
10373
c5b0993e
EW
103742013-06-21 Eduard Wiebe <usenet@pusto.de>
10375
10376 Extend flymake's warning predicate to be a function (bug#14217).
10377 * progmodes/flymake.el (flymake-warning-predicate): New.
10378 (flymake-parse-line): Use it.
10379 (flymake-warning-re): Make obsolete alias to
10380 `flymake-warning-predicate'.
10381
a7d2d465
SM
103822013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10385 (package-obsolete-list): Remove.
10386 (package-activate): Remove min-version argument. Add `force' argument.
10387 Adjust to new package-alist format.
10388 (package-mark-obsolete): Remove.
10389 (package-unpack): Force reload of the package's autoloads.
10390 (package-installed-p): Check builtins if the installed package is not
10391 recent enough.
10392 (package-initialize): Don't reset package-obsolete-list.
10393 Don't specify which package version to activate.
10394 (package-process-define-package, describe-package-1)
10395 (package-menu--generate): Adjust to new package-alist format.
10396
cedf5c9d
JB
103972013-06-21 Juanma Barranquero <lekktu@gmail.com>
10398
10399 * allout-widgets.el (allout-widgets-mode-off)
10400 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10401 (allout-widgets-post-command-business)
10402 (allout-widgets-after-copy-or-kill-function)
10403 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10404 (allout-decorate-item-and-context)
10405 (allout-graphics-modification-handler): Fix typos in docstrings.
10406 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10407
10408 * cmuscheme.el (scheme-start-file): Doc fix.
10409 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10410 (scheme-input-filter): Use `string-match-p'.
10411
10412 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10413
10414 * dired-x.el: Use Dired consistently in docstrings.
10415
10416 * dired.el: Use Dired consistently in docstrings.
10417 (dired-readin, dired-mode): Use `setq-local'.
10418 (dired-switches-alist): Make defvar-local.
10419 (dired-buffers-for-dir): Use `zerop'.
10420 (dired-safe-switches-p, dired-switches-escape-p)
10421 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10422 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10423 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10424 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10425 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10426 (dired-toggle-marks, dired-mark-files-containing-regexp)
10427 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10428 (dired-flag-auto-save-files, dired-flag-backup-files):
10429 Use `looking-at-p'.
10430 (dired-mark-files-regexp, dired-build-subdir-alist):
10431 Use `string-match-p', `looking-at-p'.
10432
10433 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10434 (direct-print-region-helper): Use `string-match-p'.
10435
aed838b5
LL
104362013-06-21 Leo Liu <sdl.web@gmail.com>
10437
cedf5c9d
JB
10438 * comint.el (comint-redirect-results-list-from-process):
10439 Fix infinite loop.
aed838b5 10440
d80a808f
LMI
104412013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10442
10443 * net/eww.el (eww-update-header-line-format): Quote % characters.
10444
e7a526e3
GM
104452013-06-21 Glenn Morris <rgm@gnu.org>
10446
10447 * play/cookie1.el (cookie): New custom group.
10448 (cookie-file): New option.
10449 (cookie-check-file): New function.
10450 (cookie): Make it interactive. Make start and end messages optional.
10451 Interactively, display the result. Default to cookie-file.
10452 (cookie-insert): Default to cookie-file.
10453 (cookie-snarf): Make start and end messages optional.
10454 Default to cookie-file. Use with-temp-buffer.
10455 (cookie-read): Rename from read-cookie.
10456 Make start and end messages optional. Default to cookie-file.
10457 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10458 Do not autoload it.
e7a526e3
GM
10459 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10460 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10461
62efb35e
LL
104622013-06-21 Leo Liu <sdl.web@gmail.com>
10463
10464 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10465
21e3f963
GM
104662013-06-21 Glenn Morris <rgm@gnu.org>
10467
10468 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10469
fd846ab4
SM
104702013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10471 Daniel Hackney <dan@haxney.org>
10472
10473 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10474 Consolidate the single-file vs tarball code.
10475 (package-desc-suffix): New function.
10476 (package-desc-full-name): Don't bother inlining it.
10477 (package-load-descriptor): Return the new package-desc.
10478 (package-mark-obsolete): Remove unused arg `package'.
10479 (package-unpack): Make it work for single files as well.
10480 Make it update package-alist.
10481 (package--make-autoloads-and-stuff): Rename from
10482 package--make-autoloads-and-compile. Don't compile any more.
10483 (package--compile): New function.
10484 (package-generate-description-file): New function, extracted from
10485 package-unpack-single.
10486 (package-unpack-single): Remove.
10487 (package--with-work-buffer): Add indentation and debugging info.
10488 (package-download-single): Remove.
10489 (package-install-from-archive): Rename from package-download-tar, make
10490 it take a pkg-desc, and make it work for single files as well.
10491 (package-download-transaction): Simplify.
10492 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10493 external tar program.
10494 (package-install-from-buffer): Remove `pkg-desc' argument.
10495 Use package-tar-file-info for tar-mode buffers.
10496 (package-install-file): Simplify accordingly.
10497 (package-archive-base): Change to take a pkg-desc.
10498 * tar-mode.el (tar--check-descriptor): New function, extracted from
10499 tar-get-descriptor.
10500 (tar-get-descriptor): Use it.
10501 (tar-get-file-descriptor): New function.
10502 (tar--extract): New function, extracted from tar-extract.
10503 (tar--extract): Use it.
10504 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10505 case the summary uses non-ascii. Adjust to new calling convention of
10506 package-tar-file-info.
10507
b7deae5e
LL
105082013-06-21 Leo Liu <sdl.web@gmail.com>
10509
fd846ab4
SM
10510 * comint.el (comint-redirect-results-list-from-process):
10511 Fix random delay. (Bug#14681)
b7deae5e 10512
7a65a0b2
JB
105132013-06-21 Juanma Barranquero <lekktu@gmail.com>
10514
10515 * profiler.el (profiler-format-number): Use log, not log10.
10516
1493c2af
JB
105172013-06-20 Juanma Barranquero <lekktu@gmail.com>
10518
10519 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10520
aff6371e
SM
105212013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10524 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10525 yet available.
10526 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10527 (AUTOGENEL): ... here.
10528 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10529 (cl--defsubst-expand): Use it.
10530
89561f72
PE
105312013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10532
10533 * subr.el (log10): Move here from C code, and declare as obsolete.
10534 All uses of (log10 X) replaced with (log X 10).
10535
47199123
JB
105362013-06-20 Juanma Barranquero <lekktu@gmail.com>
10537
10538 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10539 Declare with `defvar-local'.
10540 (tabulated-list-use-header-line, tabulated-list-entries)
10541 (tabulated-list-padding, tabulated-list-printer)
10542 (tabulated-list-sort-key): Declare with `defvar-local'.
10543 (tabulated-list-init-header, tabulated-list-print-fake-header):
10544 Use `setq-local'.
10545
4a172eab
MA
105462013-06-20 Michael Albinus <michael.albinus@gmx.de>
10547
47199123
JB
10548 * arc-mode.el (archive-mode): Add `archive-write-file' to
10549 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10550
5fc0acc0
JB
105512013-06-20 Juanma Barranquero <lekktu@gmail.com>
10552
d5b27848
JB
10553 * cus-edit.el (custom-commands): Fix typos.
10554 (custom-display): Fix tooltip text.
10555 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10556 Fix typos in docstrings.
10557 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10558 (custom-unlispify-menu-entry, custom-magic-value-create)
10559 (custom-add-see-also, custom-group-value-create): Use ?\s.
10560 (custom-guess-type, customize-apropos, editable-field)
10561 (custom-face-value-create): Use `string-match-p'.
10562 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10563
10564 * custom.el (custom-load-symbol): Use `string-match-p'.
10565
a5c581d8
JB
10566 * ansi-color.el: Convert to lexical binding.
10567 (ansi-colors): Fix URL.
10568 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10569 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10570 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10571
970ad972
G
105722013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573
10574 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10575
10576 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10577
105782013-06-19 Tom Tromey <tromey@redhat.com>
10579
10580 * net/eww.el (eww-top-url): Remove.
10581 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10582 (eww-render): Set new variables. Don't set eww-top-url.
10583 (eww-handle-link): Handle "prev", "home", and "contents".
10584 Downcase the rel text.
10585 (eww-top-url): Choose best top URL.
10586
105872013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10588
10589 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10590 relying in widget.el. Using widget.el leads to too many
10591 user interface inconsistencies.
10592 (eww-self-insert): Implement entering commands in text fields.
10593 (eww-process-text-input): New function to make text input field editing
10594 work.
10595 (eww-submit): Rewrite to use the new-style form methods.
10596 (eww-select-display): Display the correct selected item.
10597 (eww-change-select): Implement changing the select value.
10598 (eww-toggle-checkbox): Implement radio/checkboxes.
10599 (eww-update-field): Fix compilation error.
10600 (eww-tag-textarea): Implement <textarea>.
10601
10602 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10603 we don't shadow mode-specific bindings.
10604
10605 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10606 nothing to push.
10607
10608 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10609
4582a01c 106102013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10611
10612 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10613
15b263dc
MA
106142013-06-19 Michael Albinus <michael.albinus@gmx.de>
10615
10616 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10617 not needed.
10618
10619 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10620
8f5297f7
LMI
106212013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10622
10623 * net/browse-url.el (browse-url-browser-function):
10624 `eww-browse-url' has the right calling signature, `eww' does not.
10625
011c4552
GM
106262013-06-19 Glenn Morris <rgm@gnu.org>
10627
2285bd27
GM
10628 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10629 Only eval autoloaded macros.
10630 (byte-compile-autoload): Only give the macro warning for macros.
10631
1d653303
GM
10632 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10633 (ps-underlined-faces): Declare.
10634
bdd779ec
GM
10635 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10636 (speedbar-add-supported-extension): Declare.
10637
011c4552
GM
10638 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10639 Don't include a date stamp in the header of the generated file;
10640 it leads to needless differences between output files.
10641
e59dfb0e
MA
106422013-06-19 Michael Albinus <michael.albinus@gmx.de>
10643
c763842b
SM
10644 * net/secrets.el (secrets-struct-secret-content-type):
10645 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10646 Some servers do not offer introspection.
e59dfb0e 10647
102626e2
SM
106482013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * electric.el (electric-pair-mode): Improve interaction with
10651 electric-layout-mode.
10652 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10653 (electric-pair-syntax): Use text-mode-syntax-table in comments
10654 and strings.
10655 (electric-pair--insert): New function.
10656 (electric-pair-post-self-insert-function): Use it and
10657 electric--after-char-pos.
10658
ad528125
LL
106592013-06-19 Leo Liu <sdl.web@gmail.com>
10660
10661 * progmodes/octave.el (octave-help): Fix regexp.
10662
924d6997
G
106632013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10664
10665 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10666 (shr-table-horizontal-line): Allow nil as a value, and change the
10667 default.
10668 (shr-insert-table-ruler): Respect the nil value.
10669
106702013-06-18 Tom Tromey <tromey@barimba>
10671
10672 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10673 New defvars.
10674 (eww-open-file): New defun.
10675 (eww-render): Initialize new variables.
10676 (eww-display-html): Handle "link" and "a".
10677 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10678 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10679 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10680 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10681 New defuns.
924d6997 10682
d1bbba4f
DG
106832013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10684
10685 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10686 Distinguish ternary operator tokens from slash symbol and slash
10687 char literal.
10688
14dd22d2
JB
106892013-06-18 Juanma Barranquero <lekktu@gmail.com>
10690
10691 Convert symbol prettification into minor mode and global minor mode.
10692
10693 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10694 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10695 (prettify-symbols--keywords): Rename from
10696 `prog-prettify-symbols-alist' and make a local defvar.
10697 (prettify-symbols--compose-symbol): Rename from
10698 `prog--prettify-font-lock-compose-symbol'.
10699 (prettify-symbols--make-keywords): Rename from
10700 `prog-prettify-font-lock-symbols-keywords' and simplify.
10701 (prog-prettify-install): Remove.
10702 (prettify-symbols-mode): New minor mode, based on
10703 `prog-prettify-install'.
10704 (turn-on-prettify-symbols-mode): New function.
10705 (global-prettify-symbols-mode): New globalized minor mode.
10706
10707 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10708 * progmodes/cfengine.el (cfengine3-mode):
10709 * progmodes/perl-mode.el (perl-mode): Don't call
10710 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10711
292c880c
JL
107122013-06-18 Juri Linkov <juri@jurta.org>
10713
10714 * files-x.el (modify-file-local-variable-message): New function.
10715 (modify-file-local-variable)
10716 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10717 and call `modify-file-local-variable-message' when it's non-nil.
10718 (add-file-local-variable, delete-file-local-variable)
10719 (add-file-local-variable-prop-line)
10720 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10721 and use it. (Bug#9820)
10722
0950aa27
JL
107232013-06-18 Juri Linkov <juri@jurta.org>
10724
10725 * emulation/vi.el (vi-shell-op):
10726 * emulation/vip.el (vip-execute-com, ex-command):
10727 * emulation/viper-cmd.el (viper-exec-bang):
10728 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10729 the call of `shell-command-on-region'. (Bug#14637)
10730
10731 * simple.el (shell-command-on-region): Doc fix.
10732
8fbcca16
SM
107332013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10736 (bug#14633).
10737
dd7426ea
GM
107382013-06-18 Glenn Morris <rgm@gnu.org>
10739
4ba54f7d
GM
10740 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10741
dd7426ea
GM
10742 * newcomment.el (comment-search-forward, comment-search-backward):
10743 Doc fix. (Bug#14376)
10744
58aa805b
JB
107452013-06-18 Juanma Barranquero <lekktu@gmail.com>
10746
10747 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10748 (buffer-face-mode-invoke): Doc fix.
10749
9a08a617
MM
107502013-06-18 Matthias Meulien <orontee@gmail.com>
10751
10752 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10753 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10754
f2f426ca
GM
107552013-06-18 Glenn Morris <rgm@gnu.org>
10756
9445f99b
GM
10757 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10758 Replace obsolete function generic-make-keywords with its expansion.
10759
e0df2d14
GM
10760 * progmodes/python.el (ffap-alist): Declare.
10761
f2f426ca
GM
10762 * textmodes/reftex.el (bibtex-mode-map): Declare.
10763
f7f9a720
SM
107642013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10767 (package-unpack, package-unpack-single): Return the pkg-dir.
10768 (package-download-transaction): Use it to update package-alist.
10769
57ff04e0
LMI
107702013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10771
10772 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10773 possible choice.
10774
c048c022
JL
107752013-06-17 Juri Linkov <juri@jurta.org>
10776
10777 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10778
b5bcaee5
DG
107792013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10780
a020afb9
JB
10781 * emacs-lisp/package.el (package-load-descriptor):
10782 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10783 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10784
551e07e5
JB
107852013-06-17 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * startup.el (command-line): Expand package name returned by
10788 `package--description-file' (bug#14639).
10789
d363bffb
DG
107902013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10791
10792 * emacs-lisp/package.el (package-load-descriptor): Do not call
10793 `emacs-lisp-mode', just use its syntax table.
10794
f612933b
JB
107952013-06-17 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10798 `font-lock-extra-managed-props' if any prettifying keyword is added.
10799 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10800 (prog-mode): Use `setq-local'.
10801
db3b7db5
SM
108022013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10803
10804 * international/characters.el (standard-case-table): Set syntax of ?»
10805 and ?« to punctuation.
10806
f3d674df
JB
108072013-06-16 Juanma Barranquero <lekktu@gmail.com>
10808
10809 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10810 Save relevant match data before calling `syntax-ppss' (bug#14595).
10811
31489a32
JL
108122013-06-15 Juri Linkov <juri@jurta.org>
10813
10814 * files-x.el (modify-file-local-variable-prop-line): Add local
10815 variables to the end of the existing comment on the first line.
10816 Use `file-auto-mode-skip' to skip interpreter magic line,
10817 and also skip XML declaration.
10818
66bd25ab
SM
108192013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * startup.el (package--builtin-versions): New var.
10822 (package-subdirectory-regexp): Remove.
10823 (package--description-file): Hard code its value instead.
10824
10825 * emacs-lisp/package.el: Don't activate packages older than builtin.
10826 (package-obsolete-list): Rename from package-obsolete-alist, and make
10827 it into a simple list of package-desc.
10828 (package-strip-version): Remove.
10829 (package-built-in-p): Use package--builtin-versions.
10830 (package-mark-obsolete): Simplify.
10831 (package-process-define-package): Mark it obsolete if older than the
10832 builtin version.
10833 (package-handle-response): Use line-end-position.
10834 (package-read-archive-contents, package--download-one-archive):
10835 Simplify.
10836 (package--add-to-archive-contents): Skip if older than the builtin or
10837 installed version.
10838 (package-menu-describe-package): Fix last change.
10839 (package-list-unversioned): New var.
10840 (package-menu--generate): Use it.
10841
10842 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10843 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10844 (autoload-builtin-package-versions): New variable.
10845 (autoload-generate-file-autoloads): Use them.
10846 Remove the list of autoloaded functions/macros from the
10847 (autoload...) comments.
10848
10849 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10850
9583ec36
EZ
108512013-06-15 Eli Zaretskii <eliz@gnu.org>
10852
10853 * simple.el (line-move-partial): Don't jump to the next screen
10854 line as soon as it becomes visible. Instead, continue enlarging
10855 the vscroll until the portion of a tall screen line that's left on
10856 display is about the height of the frame's default font.
10857 (Bug#14567)
10858
f0100d8a
GM
108592013-06-15 Glenn Morris <rgm@gnu.org>
10860
b86a85ca
GM
10861 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10862 compilation-error-regexp-alist void, or local while let-bound.
10863
f0100d8a
GM
10864 * progmodes/make-mode.el (makefile-mode-syntax-table):
10865 Treat "=" as punctuation. (Bug#14614)
10866
05e7ce90
JB
108672013-06-15 Juanma Barranquero <lekktu@gmail.com>
10868
10869 * help-fns.el (describe-variable):
10870 Add extra line for permanent-local variables.
10871
12e5e86e
SH
108722013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10873
10874 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10875 Add export, import, library. (Bug#9164)
10876 (library): Set indent function.
10877
230dcbaf
GM
108782013-06-14 Glenn Morris <rgm@gnu.org>
10879
10880 * term/xterm.el (xterm--query):
10881 Stop after first matching handler. (Bug#14615)
10882
e36b2d20 108832013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10884
10885 Add support for dired in saveplace.
10886 * dired.el (dired-initial-position-hook): New variable.
10887 (dired-initial-position): Call hook to place cursor position.
10888 * saveplace.el (save-place-to-alist): Add dired position.
10889 (save-place-dired-hook): New function.
10890
0b31660d
SM
108912013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10892
bf1e6ae8
SM
10893 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10894 through a symbol rather than letrec.
10895
1b8dff23
SM
10896 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10897 (package-desc): Add `dir' field.
10898 (package-desc-full-name): New function.
10899 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10900 (package-maybe-load-descriptor): Remove.
10901 (package-load-all-descriptors): Just call package-load-descriptor.
10902 (package--disabled-p): New function.
10903 (package-desc-vers, package-desc-doc): Remove aliases.
10904 (package--dir): Remove function.
10905 (package-activate): Check if a package is disabled.
10906 (package-process-define-package): New function, extracted from
10907 define-package.
10908 (define-package): Turn into a place holder.
10909 (package-unpack-single, package-tar-file-info):
10910 Use package--description-file.
10911 (package-compute-transaction): Use package--disabled-p.
10912 (package-download-transaction): Don't call
10913 package-maybe-load-descriptor since they're all loaded anyway.
10914 (package-install): Change argument to be a pkg-desc.
10915 (package-delete): Use a single pkg-desc argument.
10916 (describe-package-1): Use package-desc-dir instead of package--dir.
10917 Use package-desc property instead of package-symbol.
10918 (package-install-button-action): Adjust accordingly.
10919 (package--push): Rewrite.
10920 (package-menu--print-info): Adjust accordingly. Change the ID format
10921 to be a pkg-desc.
10922 (package-menu-describe-package, package-menu-get-status)
10923 (package-menu--find-upgrades, package-menu-mark-upgrades)
10924 (package-menu-execute, package-menu--name-predicate):
10925 Adjust accordingly.
10926 * startup.el (package--description-file): New function.
10927 (command-line): Use it.
10928 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10929 Use package-desc-version.
10930
0b31660d
SM
10931 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10932 (byte-compile-preprocess): Use it.
10933 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10934 can't quite recognize.
10935 (byte-compile-add-to-list): Remove.
10936 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10937 (cconv-closure-convert): Add assertion.
10938
10939 * emacs-lisp/map-ynp.el: Use lexical-binding.
10940 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10941 Factor out some repeated code.
10942
de0503df
SM
109432013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * subr.el (with-eval-after-load): New macro.
10946 (eval-after-load): Allow form to be a function.
10947 take advantage of lexical-binding.
10948 (do-after-load-evaluation): Use dolist and adjust to new format.
10949 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10950
bc5c8c5a
JL
109512013-06-13 Juri Linkov <juri@jurta.org>
10952
10953 * replace.el (perform-replace): Display "symbol " and other search
10954 modes from `isearch-message-prefix' in the *Help* buffer.
10955
10956 * isearch.el (isearch-query-replace): Add " symbol" and other
10957 possible search modes from `isearch-message-prefix' to the prompt.
10958 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10959 when reading a regexp to collect.
10960
a22289f7
JL
109612013-06-13 Juri Linkov <juri@jurta.org>
10962
10963 * isearch.el (word-search-regexp): Match whitespace if the search
10964 string begins or ends in whitespace. The LAX arg is applied to
10965 both ends of the search string. Use `regexp-quote' and explicit
10966 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10967 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10968 boundaries are replaced with symbol boundaries, and characters
10969 between symbols match non-word non-symbol syntax. (Bug#14602)
10970
cb89acab
JL
109712013-06-13 Juri Linkov <juri@jurta.org>
10972
10973 * isearch.el (isearch-del-char): Don't exceed the length of
10974 `isearch-string' by the prefix arg. (Bug#14563)
10975
6e8cfc81
JL
109762013-06-13 Juri Linkov <juri@jurta.org>
10977
10978 * isearch.el (isearch-yank-word, isearch-yank-line)
10979 (isearch-char-by-name, isearch-quote-char)
10980 (isearch-printing-char, isearch-process-search-char):
10981 Add optional count prefix arg. (Bug#14563)
10982
10983 * international/isearch-x.el
10984 (isearch-process-search-multibyte-characters):
10985 Add optional count prefix arg.
10986
c23d55f4
VS
109872013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10990 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10991 lexical-binding.
10992
109932013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10994
10995 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10996
ba947bc4
GM
109972013-06-13 Glenn Morris <rgm@gnu.org>
10998
8baeb37a
GM
10999 * startup.el (tty-handle-args):
11000 Don't just discard "--" and anything after. (Bug#14608)
11001
ba947bc4
GM
11002 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11003
9abefce4
MA
110042013-06-13 Michael Albinus <michael.albinus@gmx.de>
11005
11006 Implement changes in Secret Service API. Make it backward compatible.
11007 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11008 (secrets-create-item): Use it. Prefix properties with interface.
11009
5755011f
MH
110102013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11011
11012 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11013 (term-emulate-terminal): Respect term-suppress-hard-newline.
11014
1261d2da
S
110152013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11016
11017 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11018 Only remove a `thumb-file' overlay. (Bug#14548)
11019
868490bb
GJ
110202013-06-12 Grégoire Jadi <daimrod@gmail.com>
11021
11022 * mail/reporter.el (reporter-submit-bug-report):
11023 Handle missing package-name. (Bug#14600)
11024
79d7167f
TH
110252013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11026
11027 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11028 (reftex-citation-prompt, reftex-default-bibliography)
11029 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11030 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11031 (reftex-bib-sort-author, reftex-bib-sort-year)
11032 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11033 (reftex-extract-bib-entries-from-thebibliography)
11034 (reftex-get-bibkey-default, reftex-get-bib-names)
11035 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11036 (reftex-format-bib-entry, reftex-parse-bibitem)
11037 (reftex-format-bibitem, reftex-do-citation)
11038 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11039 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11040 (reftex-insert-bib-matches, reftex-format-citation)
11041 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11042 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11043 existing comments into docstrings.
11044
5f9dbd7a
XF
110452013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11046
11047 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11048
94df41ab
AS
110492013-06-12 Andreas Schwab <schwab@suse.de>
11050
11051 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11052 for auto-save files.
11053
a7f3fecc
GM
110542013-06-12 Glenn Morris <rgm@gnu.org>
11055
001809f6
GM
11056 * ido.el (ido-delete-ignored-files): Remove.
11057 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11058 Go back to calling ido-ignore-item-p directly.
a7f3fecc 11059
834b5ded
EL
110602013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11061
08c73ed2
EL
11062 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11063
834b5ded
EL
11064 * ido.el (ido-delete-ignored-files): New function,
11065 split from ido-make-file-list-1.
11066 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11067 (ido-make-file-list-1): Use ido-delete-ignored-files.
11068
daabf15a
LL
110692013-06-12 Leo Liu <sdl.web@gmail.com>
11070
11071 * progmodes/octave.el (inferior-octave-startup)
11072 (inferior-octave-completion-table)
11073 (inferior-octave-track-window-width-change)
11074 (octave-eldoc-function-signatures, octave-help)
11075 (octave-find-definition): Use single quoted strings.
11076 (inferior-octave-startup-args): Change default value.
11077 (inferior-octave-startup): Do not hard code "-i" and
11078 "--no-line-editing".
11079 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11080 (inferior-octave-directory-tracker): Use it.
11081 (octave-goto-function-definition): Robustify.
11082 (octave-help): Support highlighting operators in 'See also'.
11083 (octave-find-definition): Find subfunctions only in Octave mode.
11084
cf4e5178
SM
110852013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * help-fns.el (help-fns--compiler-macro): If the handler function is
11088 named, then put a link to it.
11089 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11090 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11091 (cl-typep): Use it.
11092 (cl-eval-when): Simplify debug spec.
11093 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11094 compiler-macro function instead of setting `compiler-macro-file'.
11095
99c81280 110962013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
11097
11098 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11099 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11100
f56be016
SM
111012013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11102 Daniel Hackney <dan@haxney.org>
11103
11104 First part of Daniel Hackney's patch to package.el.
11105 * emacs-lisp/package.el: Use defstruct.
11106 (package-desc): New, main struct.
11107 (package--bi-desc, package--ac-desc): New structs, used to describe the
11108 format in external files.
11109 (package-desc-vers): Replace with package-desc-version accessor.
11110 (package-desc-doc): Replace with package-desc-summary accessor.
11111 (package-activate-1): Remove `package' arg since the pkg-vec now
11112 includes the name.
11113 (define-package): Use package-desc-from-define.
11114 (package-unpack-single): Change file-name arg to be a symbol.
11115 (package--add-to-archive-contents): Use package-desc-create and new
11116 accessor functions to package--ac-desc.
11117 (package-buffer-info, package-tar-file-info): Return a package-desc.
11118 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11119 arg to be a package-desc.
11120 (package-install-file): Adjust accordingly. Use \' to match EOS.
11121 (package--from-builtin): New function.
11122 (describe-package-1, package-menu--generate): Use it.
11123 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11124 (package-generate-autoloads): Idem and return the name of the file.
11125 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11126 Change pkg-info arg to be a package-desc.
11127 Use package-make-ac-desc.
11128 (package-upload-file): Use \' to match EOS.
11129 * finder.el (finder-compile-keywords): Use package-make-builtin.
11130
31119d63
SM
111312013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11132
931a2762
SM
11133 * vc/vc.el (vc-deduce-fileset): Change error message.
11134 (vc-read-backend): New function.
11135 (vc-next-action): Use it.
11136
5a3eb0c6
SM
11137 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11138
e3eb1bb7
SM
11139 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11140 (prolog-font-lock-keywords): Use regexp-opt instead.
11141 Don't manually highlight strings.
11142 (prolog-mode-variables): Simplify comment-start-skip.
11143 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11144
31119d63
SM
11145 * emacs-lisp/generic.el (generic--normalise-comments)
11146 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11147 (generic-mode-set-comments): Use them.
11148 (generic-bracket-support): Use setq-local.
11149 (generic-make-keywords-list): Declare obsolete.
11150
7de135d0
GM
111512013-06-11 Glenn Morris <rgm@gnu.org>
11152
11153 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11154 Prettify after setting font-lock-defaults. (Bug#14574)
11155
fa6bc6fd
JB
111562013-06-11 Juanma Barranquero <lekktu@gmail.com>
11157
11158 * replace.el (query-replace, occur-read-regexp-defaults-function)
11159 (replace-search):
11160 * subr.el (declare-function, number-sequence, local-set-key)
11161 (substitute-key-definition, locate-user-emacs-file)
11162 (with-silent-modifications, split-string, eval-after-load):
11163 Fix typos, remove unneeded backslashes and reflow some docstrings.
11164
cf1f9b9a
SM
111652013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11166
11167 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11168 default for Elisp files.
11169
56602a4b
GM
111702013-06-11 Glenn Morris <rgm@gnu.org>
11171
11172 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11173 although define-derived-mode was doing this anyway. (Bug#14583)
11174
30ae0b2c
JB
111752013-06-10 Juanma Barranquero <lekktu@gmail.com>
11176
11177 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11178 Fix make-variable-buffer-local call to refer to the correct variable.
11179
fa472906
AG
111802013-06-10 Aidan Gauland <aidalgol@amuri.net>
11181
11182 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11183 (eshell-visual-subcommands, eshell-visual-options):
11184 Add summary line to docstrings. Add cross-references.
fa472906 11185
ff4871b9
GM
111862013-06-10 Glenn Morris <rgm@gnu.org>
11187
11188 * epa.el (epa-read-file-name): New function. (Bug#14510)
11189 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11190
04fcf1b0
AG
111912013-06-09 Aidan Gauland <aidalgol@amuri.net>
11192
11193 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11194 output redirection to be ignored with visual commands.
11195
88b00caa
AG
111962013-06-09 Aidan Gauland <aidalgol@amuri.net>
11197
11198 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11199 (eshell-term-initialize): Move long lambda to separate function
11200 eshell-visual-command-p.
27821a89 11201 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11202 * eshell/em-script.el (eshell-script-initialize):
11203 Add missing #' to lambda.
88b00caa 11204
fda74125
LL
112052013-06-08 Leo Liu <sdl.web@gmail.com>
11206
11207 * progmodes/octave.el (octave-add-log-current-defun): New function.
11208 (octave-mode): Set add-log-current-defun-function.
11209 (octave-goto-function-definition): Do not move point if not found.
11210 (octave-find-definition): Enhance to try subfunctions first.
11211
467f3b33
GM
112122013-06-08 Glenn Morris <rgm@gnu.org>
11213
11214 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11215 (byte-compile-backward-char, byte-compile-backward-word):
11216 Improve previous change, to handle non-explicit nil.
11217
544badc3
SM
112182013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11221 (smie--opener/closer-at-point): New function.
11222 (smie--matching-block-data): Use it. Don't match from right after an
11223 opener or right before a closer. Obey smie-blink-matching-inners.
11224 Don't signal a mismatch for repeated inners like "switch..case..case".
11225
a175bf33
LL
112262013-06-07 Leo Liu <sdl.web@gmail.com>
11227
11228 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11229 to t. (Bug#14303)
ce8209d4
LL
11230 (octave-function-header-regexp): Fix. (Bug#14570)
11231 (octave-help-mode-finish-hook, octave-help-mode-finish):
11232 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11233
11234 * newcomment.el (comment-search-backward): Revert last change.
11235 (Bug#14434)
11236
11237 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11238
a822acff
EZ
112392013-06-07 Eli Zaretskii <eliz@gnu.org>
11240
11241 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11242 through xargs, to avoid failure due to MS-Windows limitations on
11243 command-line length.
11244
961166f5
GM
112452013-06-06 Glenn Morris <rgm@gnu.org>
11246
d0341459
GM
11247 * font-lock.el (lisp-font-lock-keywords-2):
11248 Treat user-error like error.
11249
961166f5
GM
11250 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11251 (byte-compile-backward-char, byte-compile-backward-word):
11252 Handle explicit nil arguments. (Bug#14565)
11253
80fa505f
AM
112542013-06-05 Alan Mackenzie <acm@muc.de>
11255
11256 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11257 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11258 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11259 (Bug#9706)
80fa505f 11260
fccdc796
SM
112612013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * autorevert.el (auto-revert-notify-handler): Use memq.
11264 Hide assertion failure.
11265
11266 * skeleton.el: Use cl-lib.
11267 (skeleton-further-elements): Use defvar-local.
11268 (skeleton-insert): Use cl-progv.
11269
9bfff84b
TZ
112702013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11271
11272 * progmodes/prog-mode.el (prog-prettify-symbols)
11273 (prog-prettify-install): Update docstrings.
11274
55577e7c
SM
112752013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * simple.el: Move all the prog-mode code to prog-mode.el.
11278 * progmodes/prog-mode.el: New file.
11279 * loadup.el: Add prog-mode.el.
11280
8fc57765
TZ
112812013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11282
11283 * simple.el (prog-prettify-symbols): Add version.
11284 (prog-prettify-install): Add convenience function to prettify symbols.
11285
11286 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11287 (perl--augmented-font-lock-keywords-1)
11288 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11289 variables and use it.
11290
11291 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11292 (cfengine3-mode): Remove unneeded variable and use it.
11293
11294 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11295 (lisp--augmented-font-lock-keywords-1)
11296 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11297 Remove unneeded variables and use it.
11298
650645d5 112992013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11300
11301 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11302 to point when opening the connection. (Bug#14380)
28f5da6d 11303
781b4af6
SM
113042013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * subr.el (load-history-regexp, load-history-filename-element)
11307 (eval-after-load, after-load-functions, do-after-load-evaluation)
11308 (eval-next-after-load, display-delayed-warnings)
11309 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11310 definition of save-match-data.
11311 (overriding-local-map): Remove accidental obsolescence declaration.
11312
11313 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11314
3ca0d0b4
TZ
113152013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11316
11317 Generalize symbol prettify support to prog-mode and implement it
11318 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11319 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11320 (prog--prettify-font-lock-compose-symbol)
11321 (prog-prettify-font-lock-symbols-keywords): New variables and
11322 functions to support symbol prettification.
11323 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11324 (lisp--augmented-font-lock-keywords-1)
11325 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11326 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11327 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11328 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11329 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11330 * progmodes/perl-mode.el (perl-prettify-symbols)
11331 (perl--font-lock-compose-symbol)
11332 (perl--font-lock-symbols-keywords): Move to prog-mode.
11333 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11334 (perl-font-lock-keywords-1)
11335 (perl-font-lock-keywords-2): Remove explicit prettify support.
11336 (perl--augmented-font-lock-keywords)
11337 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11338 (perl--augmented-font-lock-keywords-2, perl-mode):
11339 Implement prettify support.
3ca0d0b4 11340
976cb066
LL
113412013-06-05 Leo Liu <sdl.web@gmail.com>
11342
27821a89 11343 Re-implement SMIE matching block highlight using
976cb066
LL
11344 show-paren-data-function. (Bug#14395)
11345 * emacs-lisp/smie.el (smie-matching-block-highlight)
11346 (smie--highlight-matching-block-overlay)
11347 (smie--highlight-matching-block-lastpos)
11348 (smie-highlight-matching-block)
11349 (smie-highlight-matching-block-mode): Remove.
11350 (smie--matching-block-data-cache): New variable.
11351 (smie--matching-block-data): New function.
11352 (smie-setup): Use smie--matching-block-data for
11353 show-paren-data-function.
11354
11355 * progmodes/octave.el (octave-mode-menu): Fix.
11356 (octave-find-definition): Skip garbage lines.
11357
208d0342
SM
113582013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 Fix compilation error with simultaneous dynamic+lexical scoping.
11361 Add warning when a defvar appears after the first let-binding.
11362 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11363 (byte-compile-close-variables): Initialize it.
11364 (byte-compile--declare-var): New function.
11365 (byte-compile-file-form-defvar)
11366 (byte-compile-file-form-define-abbrev-table)
11367 (byte-compile-file-form-custom-declare-variable): Use it.
11368 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11369 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11370 (byte-compile-bind): Handle dynamic bindings that shadow
11371 lexical bindings.
11372 (byte-compile-unbind): Make arg non-optional.
11373 (byte-compile-let): Simplify.
11374 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11375 (cconv--analyse-function, cconv-analyse-form): Populate it.
11376 Protect byte-compile-bound-variables to limit the scope of defvars.
11377 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11378 Remove unneeded rule for `declare'.
11379
11380 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11381 so as to avoid depending on cl-adjoin at run-time.
11382 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11383
11384 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11385 (macroexp--warn-and-return): Use it.
11386
1ac2891e
GM
113872013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11388
a12bf61e 11389 * subr.el: Convert to lexical binding.
1ac2891e
GM
11390 (overriding-local-map): Make obsolete.
11391 (add-to-list): Doc fix. Add compiler macro.
11392 (read-key): Swap values of local maps.
11393
2587b005
LL
113942013-06-05 Leo Liu <sdl.web@gmail.com>
11395
11396 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11397
f1da3c88
LL
113982013-06-04 Leo Liu <sdl.web@gmail.com>
11399
11400 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11401 (compilation-auto-jump): Suppress the "Mark set" message to give
11402 way to exit message.
11403
3caa391f
AM
114042013-06-04 Alan Mackenzie <acm@muc.de>
11405
11406 Remove faulty optimisation from indentation calculation.
11407 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11408 search limit based on 2000 characters back from indent-point.
11409
068922a2
TH
114102013-06-03 Tassilo Horn <tsdh@gnu.org>
11411
11412 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11413
1f8fdd53
SM
114142013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11415
bbcc4d97
SM
11416 * emacs-lisp/lisp.el: Use lexical-binding.
11417 (lisp--local-variables-1, lisp--local-variables): New functions.
11418 (lisp--local-variables-completion-table): New var.
208d0342 11419 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11420
1f8fdd53
SM
11421 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11422 eagerly (bug#14422).
11423
c9628c79
MA
114242013-06-03 Michael Albinus <michael.albinus@gmx.de>
11425
11426 * autorevert.el (auto-revert-notify-enabled)
11427 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11428 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11429 (auto-revert-notify-handler): Handle also gfilenotify.
11430
e7b41c4c 11431 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11432 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11433 Remove.
c9628c79 11434
e5e4a942
JL
114352013-06-03 Juri Linkov <juri@jurta.org>
11436
11437 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11438 `M-s h .'. (Bug#14427)
11439
11440 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11441 command `hi-lock-face-symbol-at-point'.
11442 (hi-lock-face-symbol-at-point): New command.
11443 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11444 (hi-lock-menu): Add `highlight-symbol-at-point'.
11445 (hi-lock-mode): Doc fix.
11446
11447 * isearch.el (isearch-forward-symbol-at-point): New command.
11448 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11449 (isearch-highlight-regexp): Add a regexp which matches
11450 words/symbols for word/symbol mode.
11451
11452 * subr.el (find-tag-default-bounds): New function with the body
11453 mostly moved from `find-tag-default'.
11454 (find-tag-default): Move most code to `find-tag-default-bounds',
11455 call it and apply `buffer-substring-no-properties' afterwards.
11456
26b3353a
TH
114572013-06-03 Tassilo Horn <tsdh@gnu.org>
11458
781b4af6
SM
11459 * eshell/em-term.el (eshell-term-initialize):
11460 Use `cl-intersection' rather than `intersection'.
26b3353a 11461
51b60f53
XF
114622013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11463
fe054b63 11464 * vc/log-view.el: Doc fix.
d3ffe17c 11465 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11466
a0eb10b3 114672013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11468
11469 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11470 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11471 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11472 (eieio-unbound, eieio-default-superclass)
11473 (eieio--define-field-accessors, method-static, method-before)
11474 (method-primary, method-after, method-num-lists)
11475 (method-generic-before, method-generic-primary)
11476 (method-generic-after, method-num-slots)
11477 (eieio-specialized-key-to-generic-key)
11478 (eieio--check-type, class-v, class-p)
11479 (eieio-class-name, define-obsolete-function-alias)
11480 (eieio-class-parents-fast, eieio-class-children-fast)
11481 (same-class-fast-p, class-constructor, generic-p)
11482 (generic-primary-only-p, generic-primary-only-one-p)
11483 (class-option-assoc, class-option, eieio-object-p)
11484 (class-abstract-p, class-method-invocation-order)
11485 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11486 (eieio-class-un-autoload, eieio-defclass)
11487 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11488 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11489 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11490 (eieio-defgeneric-reset-generic-form)
11491 (eieio-defgeneric-form-primary-only)
11492 (eieio-defgeneric-reset-generic-form-primary-only)
11493 (eieio-defgeneric-form-primary-only-one)
11494 (eieio-defgeneric-reset-generic-form-primary-only-one)
11495 (eieio-unbind-method-implementations)
11496 (eieio--defmethod, eieio--typep)
11497 (eieio-perform-slot-validation, eieio-validate-slot-value)
11498 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11499 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11500 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11501 (eieio-slot-name-index, eieio-class-slot-name-index)
11502 (eieio-set-defaults, eieio-initarg-to-attribute)
11503 (eieio-attribute-to-initarg, eieio-c3-candidate)
11504 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11505 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11506 (eieio-class-precedence-list, eieio-generic-call-methodname)
11507 (eieio-generic-call-arglst, eieio-generic-call-key)
11508 (eieio-generic-call-next-method-list)
11509 (eieio-pre-method-execution-functions, eieio-generic-call)
11510 (eieio-generic-call-primary-only, eieiomt-method-list)
11511 (eieiomt-optimizing-obarray, eieiomt-install)
11512 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11513 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11514 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11515 (defclass): Remove `eval-and-compile' from macro.
11516 (call-next-method, shared-initialize): Instead of using
11517 `scoped-class' variable, use new eieio--scoped-class, and
11518 eieio--with-scoped-class.
11519 (initialize-instance): Rename local variable 'scoped-class' to
11520 'this-class' to remove ambiguitity from old global.
11521
11522 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11523 eieio.el.
4f405069
JB
11524 (eieio--scoped-class-stack): New variable.
11525 (eieio--scoped-class): New fcn.
890f7890
DE
11526 (eieio--with-scoped-class): New scoping macro.
11527 (eieio-defclass): Use pushnew instead of add-to-list.
11528 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11529 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11530 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11531 `scoped-class' variable, use new eieio--scoped-class, and
11532 eieio--with-scoped-class.
11533
11534 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11535
d105b0e2
TH
115362013-06-02 Tassilo Horn <tsdh@gnu.org>
11537
11538 * eshell/esh-ext.el (eshell-external-command): Pass args to
11539 `eshell-find-interpreter'.
11540 (eshell-find-interpreter): Add new second parameter ARGS.
11541
11542 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11543 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11544
11545 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11546 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11547
11548 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11549 (eshell-visual-options): New defcustom.
11550 (eshell-escape-control-x): Adapt docstring.
11551 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11552 `eshell-visual-options' in addition to `eshell-visual-commands'.
11553 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11554
f46305c8 115552013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11556
11557 * progmodes/python.el (python-indent-block-enders): Add break,
11558 continue and raise keywords.
11559
d870df21
GM
115602013-06-01 Glenn Morris <rgm@gnu.org>
11561
9133b82e
GM
11562 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11563
02c992ec 11564 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11565 * progmodes/cc-cmds.el (delete-forward-p):
11566 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11567 * progmodes/cc-engine.el (buffer-syntactic-context):
11568 * progmodes/cc-fonts.el (face-property-instance):
11569 * progmodes/cc-mode.el (set-keymap-parents):
11570 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11571 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11572 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11573 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11574 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11575
31e7b090
GM
11576 * progmodes/cc-vars.el (other): Emacs has this widget since
11577 at least 21.1, so don't (re)define it.
11578
d870df21
GM
11579 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11580 Replace the obsolete alias pcomplete-arg-quote-list.
11581
c75c93c7
LL
115822013-06-01 Leo Liu <sdl.web@gmail.com>
11583
11584 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11585 punctuation syntax.
11586 (inferior-octave-minimal-columns)
11587 (inferior-octave-last-column-width): New variables.
11588 (inferior-octave-track-window-width-change): New function.
11589 (inferior-octave-mode): Adjust column width so that Octave output,
11590 for example from 'ls', can fit into the window nicely.
11591
973d1e12
DG
115922013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11593
11594 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11595 Highlight expansions inside regexp literals.
11596
0888c286
GM
115972013-05-31 Glenn Morris <rgm@gnu.org>
11598
e26aac1f
GM
11599 * obsolete/sym-comp.el (symbol-complete):
11600 Replace obsolete completion-annotate-function.
11601
0888c286
GM
11602 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11603
19bb8e62
DG
116042013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11605
781b4af6
SM
11606 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11607 New function, checks if point is inside a literal that allows
19bb8e62
DG
11608 expression expansion.
11609 (ruby-syntax-propertize-expansion): Use it.
11610 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11611 around the body.
11612
01dea85f
JL
116132013-05-30 Juri Linkov <juri@jurta.org>
11614
11615 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11616 to "\M-si".
11617 (isearch-invisible): New variable.
11618 (isearch-forward): Doc fix.
11619 (isearch-mode): Set `isearch-invisible'
11620 to the value of `search-invisible'.
11621 (isearch-toggle-case-fold): Doc fix.
11622 (isearch-toggle-invisible): New command.
11623 (isearch-query-replace): Let-bind `search-invisible'
11624 to the value of `isearch-invisible'.
11625 (isearch-search): Use `isearch-invisible' instead of
11626 `search-invisible'. Let-bind `search-invisible'
11627 to the value of `isearch-invisible'. (Bug#11378)
11628
ab1bdce5
JL
116292013-05-30 Juri Linkov <juri@jurta.org>
11630
11631 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11632 call when `query-flag' is nil and `search-invisible' is non-nil.
11633 (Bug#11746)
11634
d6d236e2
GM
116352013-05-30 Glenn Morris <rgm@gnu.org>
11636
8accd027
GM
11637 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11638
2a8bed1c
GM
11639 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11640 (cc-require): Suppress spurious "noruntime" warnings.
11641 (cc-require-when-compile): Use fboundp, for sake of compiler.
11642
d6d236e2
GM
11643 * progmodes/cc-mode.el: Move load of cc-vars before that of
11644 cc-langs (which in turn loads cc-vars), to quieten compiler.
11645
9190b35b
SM
116462013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * paren.el: Simplify the code.
11649 (show-paren-mode): Always start the timer.
11650 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11651 (show-paren--overlay, show-paren--overlay-1): Rename from
11652 show-paren-overlay and show-paren-overlay-1, and initialize to an
11653 overlay rather than to nil.
11654 (show-paren-function): Misc cleanup and simplifications.
11655
4f8d1cf6
SM
116562013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * paren.el (show-paren-data-function): New hook.
11659 (show-paren--default): New function, extracted from show-paren-function.
11660 (show-paren-function): Use show-paren-data-function.
11661
02d844b5
GM
116622013-05-30 Glenn Morris <rgm@gnu.org>
11663
d209d4a9
GM
11664 * ielm.el (ielm-map, ielm-complete-symbol):
11665 Use completion-at-point rather than obsolete functions.
11666 (inferior-emacs-lisp-mode): Doc fix.
11667 Set completion-at-point-functions, rather than
11668 comint-dynamic-complete-functions.
11669
2082faa6
GM
11670 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11671 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11672 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11673
dd8620de
GM
11674 * image.el (image-animated-p): Tweak definition.
11675
ceca95b1
GM
11676 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11677 (rlogin-process-connection-type): Tweak default. Add set-after.
11678 (rlogin-host): Doc fix.
11679 (rlogin): Tweak prompt.
11680 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11681
ee9f1acc
GM
11682 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11683 * progmodes/tcl.el (inferior-tcl-mode-map):
11684 Use completion-at-point rather than obsolete alias.
11685
45ce222e
GM
11686 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11687
02d844b5
GM
11688 * minibuffer.el (read-file-name-completion-ignore-case):
11689 Move before completion--in-region, for eager macro expansion.
11690
ac44d6c1
JL
116912013-05-29 Juri Linkov <juri@jurta.org>
11692
11693 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11694 for total count of matching lines. Add `global-matches' for total
11695 count of matches. Rename `matches' to `lines' for count of
11696 matching lines. Add `matches' for count of matches.
11697 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11698 to `prev-line' for line number of prev match endpt.
11699 Increment `matches' for every match. Print the number of
11700 matching lines in the header.
11701 (occur-context-lines): Rename `lines' to `curr-line'.
11702 Rename `prev-lines' to `prev-line'. (Bug#14017)
11703
3c9c9d38
JL
117042013-05-29 Juri Linkov <juri@jurta.org>
11705
11706 * replace.el (perform-replace): Add `skip-read-only-count',
11707 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11708 Increment them for corresponding conditions and report the number
11709 of skipped occurrences in the final message. (Bug#11746)
11710 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11711 (replace-string, replace-regexp): Doc fix.
11712
33e249a2
SM
117132013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11714
8e399682
SM
11715 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11716
33e249a2 11717 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11718 prog-mode-map (bug#14504).
33e249a2 11719
f236dd84
LL
117202013-05-29 Leo Liu <sdl.web@gmail.com>
11721
11722 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11723 (octave-help): Small simplification.
11724
11725 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11726 off the highlight first.
11727
3694d13f
GM
117282013-05-29 Glenn Morris <rgm@gnu.org>
11729
03983bdc
GM
11730 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11731 Handle idlwave-last-system-routine-info-cons-cell being nil.
11732
bc74a74a
GM
11733 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11734 (idlwave-write-paths): Simplify via with-temp-buffer.
11735
8b394200
GM
11736 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11737 * emulation/cua-rect.el: Also load cua-base at run time.
11738
3694d13f
GM
11739 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11740 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11741 (cperl-imenu-on-info): Require imenu.
11742
336d7284
AM
117432013-05-28 Alan Mackenzie <acm@muc.de>
11744
11745 Handle "capitalised keywords" correctly.
33e249a2 11746 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11747
cb29c582
AG
117482013-05-28 Aidan Gauland <aidalgol@amuri.net>
11749
781b4af6 11750 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11751
690e44b2
GM
117522013-05-28 Glenn Morris <rgm@gnu.org>
11753
e658d75c
GM
11754 * vc/vc-arch.el (vc-exec-after): Declare.
11755 (vc-switches): Autoload.
11756 * vc/vc-bzr.el: No need to require vc when compiling.
11757 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11758 (vc-resynch-buffer, vc-dir-refresh): Declare.
11759 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11760 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11761 (vc-resynch-buffer): Declare.
11762 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11763 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11764 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11765 (grep-read-regexp, grep-read-files, grep-expand-template)
11766 (vc-dir-refresh): Declare.
11767 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11768 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11769 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11770 * vc/vc-mtn.el (vc-exec-after): Declare.
11771 (vc-switches): Autoload.
11772 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11773 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11774 (vc-file-tree-walk): Declare.
712b9732
GM
11775 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11776 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11777 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11778 * vc/vc-svn.el (vc-exec-after): Declare.
11779 (vc-switches, vc-setup-buffer): Autoload.
11780 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11781 Autoload.
11782 (vc-resynch-buffer): Declare.
11783
98e87fb3
GM
11784 * obsolete/fast-lock.el (byte-compile-warnings):
11785 Don't warn about obsolete features in this obsolete file.
11786
f5379553
GM
11787 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11788 Move definition before use.
11789
7a20ef83
GM
11790 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11791 (dun-unix-verbs): Remove dun-zippy.
11792 (dun-zippy): Remove function.
11793
690e44b2
GM
11794 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11795
3a52ccf7
JL
117962013-05-27 Juri Linkov <juri@jurta.org>
11797
11798 * replace.el (replace-search): New function with code moved out
11799 from `perform-replace'.
11800 (replace-highlight, replace-dehighlight): Move function definitions
11801 up closer to `replace-search'. (Bug#11746)
11802
d289938a
JL
118032013-05-27 Juri Linkov <juri@jurta.org>
11804
11805 * replace.el (perform-replace): Ignore invisible matches.
11806 In addition to checking `query-replace-skip-read-only', also
11807 filter out matches by calling `run-hook-with-args-until-failure'
11808 on `isearch-filter-predicates', and also check `search-invisible'
11809 for t or call `isearch-range-invisible'.
11810 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11811
66fc57e3
JL
118122013-05-27 Juri Linkov <juri@jurta.org>
11813
11814 * isearch.el (isearch-filter-predicates): Rename from
11815 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11816 (isearch-message-prefix): Display text from the property
11817 `isearch-message-prefix' of the currently active filters.
11818 (isearch-search): Don't compare `isearch-filter-predicate' with
11819 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11820 on `isearch-filter-predicates'. Also check `search-invisible' for t
11821 or call `isearch-range-invisible'.
11822 (isearch-filter-visible): Make obsolete.
11823 (isearch-lazy-highlight-search):
11824 Call `run-hook-with-args-until-failure' on
11825 `isearch-filter-predicates' and use `isearch-range-invisible'.
11826
11827 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11828 `isearch-filter-predicates' instead of `funcall'ing
11829 `isearch-filter-predicate'.
11830 (Info-mode): Set `Info-isearch-filter' to
11831 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11832
11833 * dired-aux.el (dired-isearch-filter-predicate-orig):
11834 Remove variable.
11835 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11836 (dired-isearch-filenames-end): Add and remove
11837 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11838 instead of changing the value of `isearch-filter-predicate'.
11839 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11840 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11841 Put property `isearch-message-prefix' to "filename " on
11842 `dired-isearch-filter-filenames'.
11843
11844 * wdired.el (wdired-change-to-wdired-mode):
11845 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11846 locally instead of changing `isearch-filter-predicate'.
11847 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11848
f1a60a0f
DG
118492013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11850
11851 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11852 return the commit hash (Bug#14459). Also set the
11853 `vc-git-detached' property.
11854 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11855 (vc-git-mode-line-string): Use the same help-echo format whether
11856 in detached mode or not, because we know the actual revision now.
11857 When in detached mode, shorten the revision to 7 chars.
11858
7f17cc40
SM
118592013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11860
11861 * emacs-lisp/easy-mmode.el (define-minor-mode):
11862 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11863 mode hook and provide a docstring.
11864
25c8401c
AM
118652013-05-27 Alan Mackenzie <acm@muc.de>
11866
11867 Remove spurious syntax-table text properties inserted by C-y.
11868 * progmodes/cc-mode.el (c-after-change): Also clear hard
11869 syntax-table property with value nil.
11870
dde84790
MA
118712013-05-27 Michael Albinus <michael.albinus@gmx.de>
11872
11873 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11874 when reading the events; the buffer layout shall not be changed.
11875
837fd9af
LL
118762013-05-27 Leo Liu <sdl.web@gmail.com>
11877
11878 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11879 New variable.
11880 (inferior-octave-directory-tracker): Automatically re-sync
11881 default-directory.
11882 (octave-help): Improve handling of 'See also'.
11883
4fd996b3
SM
118842013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11885
416f1802
SM
11886 * doc-view.el: Minor naming convention tweaks.
11887 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11888
4fd996b3
SM
11889 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11890 even if there's no `display' property yet (bug#14435).
11891
a052ef3b
EZ
118922013-05-25 Eli Zaretskii <eliz@gnu.org>
11893
4fd996b3 11894 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11895
11896 * Makefile.in (custom-deps, finder-data, autoloads)
11897 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11898 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11899 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11900
c9023370
SM
119012013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11902
11903 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11904 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11905 Don't burp at EOB.
c9023370 11906
24d699fa
LL
119072013-05-25 Leo Liu <sdl.web@gmail.com>
11908
11909 * comint.el (comint-previous-matching-input): Do not flood the
11910 *Messages* buffer with trivial messages.
11911
17e5c0cc
SM
119122013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * progmodes/flymake.el (flymake-nop): Don't return a string.
11915 (flymake-set-at): Fix typo.
11916
11917 * simple.el (read--expression): New function, extracted from
11918 eval-expression. Set completion-at-point-functions (bug#14465).
11919 (eval-expression, eval-minibuffer): Use it.
11920
5d028165
XF
119212013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11922
11923 * progmodes/flymake.el (flymake-save-buffer-in-file)
11924 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11925 (flymake-selected-frame, flymake-log, flymake-ins-after)
11926 (flymake-set-at, flymake-get-buildfile-from-cache)
11927 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11928 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11929 Refine the doc string.
11930 (flymake-get-file-name-mode-and-masks): Reformat.
11931 (flymake-get-real-file-name-function): Fix a minor bug.
11932
7a1d7ba7
JL
119332013-05-24 Juri Linkov <juri@jurta.org>
11934
11935 * progmodes/grep.el (grep-mode-font-lock-keywords):
11936 Support =linenumber= format used by git-grep for lines with
11937 function names. (Bug#13549)
11938
650cff3d
SM
119392013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11942 0 after a semi-colon; it works better for smie-auto-fill.
11943 (octave--indent-new-comment-line): New function.
11944 (octave-indent-new-comment-line): Use it (indirectly).
11945 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11946 modify comment-line-break-function.
11947
11948 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11949 (smie-setup): Use add-function to set it.
11950
9631677d
SS
119512013-05-24 Sam Steingold <sds@gnu.org>
11952
11953 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11954 argument (before the `interactive' argument).
11955
50105835
SM
119562013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * image-mode.el (image-mode-winprops): Add winprops to
11959 image-mode-winprops-alist before running
11960 image-mode-new-window-functions.
11961 * doc-view.el (doc-view-new-window-function): Don't delay
11962 doc-view-goto-page via timers (bug#14435).
11963
57b9823e
TH
119642013-05-24 Tassilo Horn <tsdh@gnu.org>
11965
11966 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11967 (doc-view-desktop-save-buffer): New function.
11968 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11969 (desktop-buffer-mode-handlers):
11970 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11971 handler.
11972 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11973 `desktop-save-buffer' function.
11974
91aafa16
MA
119752013-05-24 Michael Albinus <michael.albinus@gmx.de>
11976
11977 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11978 (tramp-gvfs-file-name-handler): Raise a user error when
11979 `tramp-gvfs-enabled' is nil.
11980 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11981 Do not raise a user error when loading package. (Bug#14447)
11982
ec076379
MA
11983 * net/xesam.el: Move to obsolete/.
11984
db785726
GM
119852013-05-24 Glenn Morris <rgm@gnu.org>
11986
af5c7606
GM
11987 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11988
e5d1916a
GM
11989 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11990
ded62b08
GM
11991 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11992 (Info-find-node, Man-getpage-in-background): Declare.
11993
9e614a3f
GM
11994 * mail/unrmail.el (unrmail):
11995 Replace obsolete detect-coding-with-priority.
11996
892f8ca3
GM
11997 * net/socks.el (socks-split-string): Use this rather than split-string.
11998 (socks-nslookup-host): Update for above change.
11999 (dynamic-choice, s5-dynamic-choice-match)
12000 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12001 Comment out unused code.
12002
3c291973
GM
12003 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12004 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12005 (gud-tooltip-echo-area): Make obsolete.
12006 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12007
43cc956b
GM
12008 * progmodes/js.el (js--optimize-arglist): Declare.
12009
dab49a3b
GM
12010 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12011
36b9d085
GM
12012 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12013 (ediff-window-C): Declare.
12014
e354ae76
GM
12015 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12016 Tweak requires to silence compiler.
12017
b8e57bf4
GM
12018 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12019 (he-search-string, he-tried-table, he-expand-list)
12020 (he-init-string, he-string-member, he-substitute-string)
12021 (he-reset-string): Declare.
12022
db785726
GM
12023 * obsolete/options.el (list-options): Use custom-variable-p,
12024 rather than obsolete alias.
12025
b3531901
SS
120262013-05-23 Sam Steingold <sds@gnu.org>
12027
12028 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12029 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12030 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12031
bdda4c66
SM
120322013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12033
12034 * emacs-lisp/smie.el (smie-indent-forward-token)
12035 (smie-indent-backward-token): Handle string tokens (bug#14381).
12036
c43d45f9
TH
120372013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12038
fe1eb856
RS
12039 * ielm.el (ielm-menu): New menu.
12040 (inferior-emacs-lisp-mode): Set comment-start.
96172128 12041
fe1eb856
RS
120422013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12043
a12bf61e 12044 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
12045 Fix deactivate action.
12046
a12bf61e 12047 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 12048 Add cleveref macros.
074dd971 12049
a12bf61e 12050 * textmodes/reftex-parse.el
c43d45f9
TH
12051 (reftex-locate-bibliography-files): Accept options for
12052 bibliography commands.
a12bf61e 12053 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
12054 Add addbibresource. Basic Biblatex support.
12055
7764286e
MA
120562013-05-23 Michael Albinus <michael.albinus@gmx.de>
12057
12058 * net/tramp-gvfs.el (top):
12059 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12060 when loading package. (Bug#14447)
12061
d361bc10
GM
120622013-05-23 Glenn Morris <rgm@gnu.org>
12063
8fa23984
GM
12064 * progmodes/js.el: No need to load comint when compiling.
12065 (ring-insert, comint-send-string, comint-send-input)
12066 (comint-last-input-end, ido-chop): Declare.
12067
a5c7df1a
GM
12068 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12069 * vc/ediff-mult.el: Adjust requires.
12070 (ediff-directories-internal, ediff-directory-revisions-internal)
12071 (ediff-patch-file-internal): Declare.
12072 * vc/ediff-ptch.el: Adjust requires.
12073 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12074 (ediff-find-file): Autoload.
12075 * vc/ediff-util.el: No need to load ediff when compiling.
12076 (ediff-regions-internal): Declare.
12077 * vc/ediff-wind.el: Adjust requires.
12078 (ediff-compute-toolbar-width): Define when compiling.
12079 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12080 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12081 (dired-get-filename, dired-get-marked-files)
12082 (ediff-last-dir-patch, ediff-patch-default-directory)
12083 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12084 (ediff-patch-buffer-internal): Declare.
12085
e2aec513
GM
12086 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12087 (ispell-process, ispell-buffer-local-words, lm-summary)
12088 (lm-section-start, lm-section-end): Declare.
12089 (checkdoc-ispell-init): Simplify.
12090
e68bbd7c
GM
12091 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12092 (he-string-member, he-reset-string, he-substitute-string): Declare.
12093
7efe0991
GM
12094 * eshell/em-ls.el: Adjust requires.
12095 (eshell-glob-regexp): Declare.
f87b1284
GM
12096 * eshell/em-tramp.el: Adjust requires.
12097 (eshell-parse-command): Autoload.
12098 * eshell/em-xtra.el: Adjust requires.
12099 (eshell-parse-command): Autoload.
12100 * eshell/esh-ext.el: Adjust requires.
12101 (eshell-parse-command, eshell-close-handles): Autoload.
12102 * eshell/esh-io.el: Adjust requires.
12103 (eshell-output-filter): Autoload.
12104 * eshell/esh-util.el: No need to load tramp when compiling.
12105 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12106 Declare.
12107 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12108 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12109 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12110 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12111 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12112 * eshell/esh-opt.el, eshell/esh-proc.el:
12113 * eshell/esh-var.el: Adjust requires.
12114 * eshell/eshell.el: Do not require esh-util twice.
12115 (eshell-add-input-to-history): Declare.
12116 (eshell-command): Check history module is active before using it.
12117
d361bc10
GM
12118 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12119
85d090a9
LL
121202013-05-22 Leo Liu <sdl.web@gmail.com>
12121
12122 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12123
5d0acd9d
MA
121242013-05-22 Michael Albinus <michael.albinus@gmx.de>
12125
12126 * autorevert.el (auto-revert-notify-add-watch)
12127 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12128 it indicates changes in file modification time.
12129
0cdffd7d
GM
121302013-05-22 Glenn Morris <rgm@gnu.org>
12131
ca5995ec
GM
12132 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12133 Always delete the autoloaded function from the noruntime and
12134 unresolved functions lists.
12135
6450907e
GM
12136 * allout.el: No need to load epa, epg, overlay when compiling.
12137 (epg-context-set-passphrase-callback, epg-list-keys)
12138 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12139 (epg-key-user-id-list): Declare.
12140
9c6906f6
GM
12141 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12142 (viper-set-parsing-style-toggling-macro)
12143 (viper-set-emacs-state-searchstyle-macros):
12144 Use called-interactively-p on Emacs.
12145 (viper-looking-back): Make it an obsolete alias. Update callers.
12146 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12147 Use looking-back rather than viper-looking-back.
12148 (viper-tmp-insert-at-eob, viper-enlarge-region)
12149 (viper-read-string-with-history, viper-register-to-point)
12150 (viper-append-to-register, viper-change-state-to-vi)
12151 (viper-backward-char-carefully, viper-forward-char-carefully)
12152 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12153 (viper-change-state-to-emacs): Declare.
12154 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12155 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12156 * emulation/viper-mous.el: Do not load viper-cmd.
12157 (viper-backward-char-carefully, viper-forward-char-carefully)
12158 (viper-forward-word, viper-adjust-window): Declare.
12159
5f70c169
GM
12160 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12161
b1b7f300
GM
12162 * progmodes/idlw-help.el (idlwave-help-fontify):
12163 Use called-interactively-p.
12164
f6ebbb46
GM
12165 * term/w32console.el (w32-get-console-codepage)
12166 (w32-get-console-output-codepage): Declare.
12167
0cdffd7d
GM
12168 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12169 Remove unnecessary declarations.
12170 (dframe-message): Doc fix.
12171
12172 * info.el (dframe-select-attached-frame, dframe-current-frame):
12173 Declare.
12174
12175 * speedbar.el (speedbar-message): Make it an obsolete alias.
12176 Update all callers.
12177 (speedbar-with-attached-buffer)
12178 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12179 (speedbar-with-writable): Use backquote.
12180 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12181 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12182 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12183 rather than speedbar- aliases.
12184 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12185 (speedbar-make-specialized-keymap, speedbar-insert-button)
12186 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12187 (speedbar-do-function-pointer): Declare.
12188 (rmail-speedbar-button, rmail-speedbar-find-file)
12189 (rmail-speedbar-move-message):
12190 Use dframe-with-attached-buffer rather than speedbar- alias.
12191 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12192 (dframe-message, speedbar-make-specialized-keymap)
12193 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12194 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12195 (speedbar-insert-button, dframe-select-attached-frame)
12196 (dframe-maybee-jump-to-attached-frame)
12197 (speedbar-change-initial-expansion-list)
12198 (speedbar-previously-used-expansion-list-name): Declare.
12199 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12200 Use dframe-message, dframe-with-attached-buffer rather than
12201 speedbar- aliases.
12202 (gud-sentinel): Silence compiler.
12203 * progmodes/vhdl-mode.el (speedbar-refresh)
12204 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12205 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12206 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12207 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12208 (speedbar-file-lists, speedbar-make-tag-line)
12209 (speedbar-line-directory, speedbar-goto-this-file)
12210 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12211 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12212 (speedbar-make-button, speedbar-reset-scanners)
12213 (speedbar-files-item-info, speedbar-line-text)
12214 (speedbar-find-file-in-frame, speedbar-set-timer)
12215 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12216 (speedbar-with-writable): Do not (re)define it.
12217 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12218 rather than speedbar- alias.
12219
ee44b62a
LL
122202013-05-21 Leo Liu <sdl.web@gmail.com>
12221
12222 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12223 menu items.
12224 (octave-mode): Tweak fill-nobreak-predicate.
12225 (inferior-octave-startup): Check process to avoid infinite loop.
12226 (inferior-octave): Pop to buffer first to show abornmal process
12227 exit information.
12228
640f050f
GM
122292013-05-21 Glenn Morris <rgm@gnu.org>
12230
79458038
GM
12231 * printing.el (pr-menu-bar): Define when compiling.
12232
9cc3e83f
LL
122332013-05-21 Leo Liu <sdl.web@gmail.com>
12234
12235 * progmodes/octave.el (octave-auto-fill): Remove.
12236 (octave-indent-new-comment-line): Improve.
12237 (octave-mode): Use auto fill mode through
4f405069 12238 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12239 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12240 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12241 (octave-help): Show parent directory.
12242
f440830d
GM
122432013-05-21 Glenn Morris <rgm@gnu.org>
12244
12245 * files.el (dired-unmark):
12246 * progmodes/gud.el (gdb-input): Update declarations.
12247
12248 * calculator.el (electric, ehelp): No need to load when compiling.
12249 (Electric-command-loop, electric-describe-mode): Declare.
12250
12251 * doc-view.el (doc-view-current-converter-processes): Move before use.
12252
12253 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12254 Move MODE-set-explicitly definition before use.
12255
12256 * international/mule-diag.el (mule-diag):
12257 Don't use obsolete window-system-version.
12258
12259 * mail/feedmail.el (smtpmail): No need to load when compiling.
12260 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12261
12262 * mail/mail-utils.el (rfc822): No need to load when compiling.
12263 (rfc822-addresses): Autoload it.
12264 (mail-strip-quoted-names): Trivial simplification.
12265
12266 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12267 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12268
12269 * net/snmp-mode.el (tempo): Don't duplicate requires.
12270
12271 * progmodes/prolog.el (info): No need to load when compiling.
12272 (comint): Require before shell requires it.
12273 (Info-goto-node): Autoload it.
12274 (Info-follow-nearest-node): Declare.
12275 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12276
12277 * textmodes/artist.el (picture-mode-exit): Declare.
12278
12279 * textmodes/reftex-parse.el (reftex-parse-from-file):
12280 Trivial rewrite so the compiler can parse it better.
12281
b4da2cbb
LL
122822013-05-20 Leo Liu <sdl.web@gmail.com>
12283
12284 * progmodes/octave.el (octave-help-mode-map)
12285 (octave-help-mode-finish-hook): New variables.
12286 (octave-help-mode, octave-help-mode-finish): New functions.
12287 (octave-help): Use octave-help-mode.
12288
33c0f65b
GM
122892013-05-20 Glenn Morris <rgm@gnu.org>
12290
12291 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12292
1a0a0a8a
DG
122932013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12294
12295 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12296 start at point, so that expansion starting right after opening
12297 slash in a regexp is recognized.
12298 (ruby-syntax-before-regexp-re): New defvar, extracted from
12299 ruby-syntax-propertize-function. Since the value of this regexp
12300 is looked up at runtime now, we should be able to turn
12301 `ruby-syntax-methods-before-regexp' into a defcustom later.
12302 (ruby-syntax-propertize-function): Split regexp matching into two
12303 parts, for opening and closing slashes. That allows us to skip
12304 over string interpolations and support multiline regexps.
12305 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12306 for them, which calls `ruby-syntax-propertize-expansion'.
12307 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12308 call to `ruby-syntax-propertize-function'.
12309 (ruby-syntax-propertize-expansion): Extracted from
12310 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12311 (ruby-syntax-propertize-percent-literal): Leave point right after
12312 the percent symbol, so that the expression expansion rule can
12313 propertize the contents.
462388b6
DG
12314 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12315 heredoc openers.
12316 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12317
c1a6c0a4
JL
123182013-05-18 Juri Linkov <juri@jurta.org>
12319
12320 * man.el (Man-default-man-entry): Remove `-' from the end
12321 of the default value. (Bug#14400)
12322
8051fccd
GM
123232013-05-18 Glenn Morris <rgm@gnu.org>
12324
12325 * comint.el (comint-password-prompt-regexp):
12326 Allow "password for XXX" where XXX contains colons (eg https://...).
12327
5e80b74f
LL
123282013-05-18 Leo Liu <sdl.web@gmail.com>
12329
12330 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12331 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12332 (octave-source-directories): Don't check process.
12333 (octave-source-directories, octave-find-definition): Doc fix.
12334
521a54c5
GM
123352013-05-18 Glenn Morris <rgm@gnu.org>
12336
86a94b05
GM
12337 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12338 Remove backspace/delete bindings. (Bug#14392)
12339
521a54c5
GM
12340 * cus-dep.el (custom-make-dependencies): Sort the output.
12341 (custom-versions-load-alist): Convert comment to doc.
12342
42caeb89
LL
123432013-05-17 Leo Liu <sdl.web@gmail.com>
12344
12345 * newcomment.el (comment-search-backward): Stricter in finding
12346 comment start. (Bug#14303)
12347
12348 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12349 (octave-comment-start-skip): Properly anchored.
12350
e219dd97
LL
123512013-05-17 Leo Liu <sdl.web@gmail.com>
12352
fe1eb856
RS
12353 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12354 Clean up when turned off. (Bug#14395)
e219dd97
LL
12355 (smie--highlight-matching-block-overlay): No longer buffer-local.
12356 (smie-highlight-matching-block): Adjust.
12357
dc5dcb4b
PE
123582013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12359
12360 Doc string fix for "nanoseconds" (Bug#14406).
12361 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12362 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12363
1db165f0
JB
123642013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12365
12366 * calc/calc-units.el (math-extract-units): Preserve powers
12367 of units.
12368
c7a8fcac
LL
123692013-05-17 Leo Liu <sdl.web@gmail.com>
12370
12371 * subr.el (delete-consecutive-dups): New function.
12372 * ido.el (ido-set-matches-1): Use it.
12373 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12374 * ido.el (ido-remove-consecutive-dups): Remove.
12375
f678b18a
SM
123762013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12377
12378 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12379 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12380 regexp-opt's `words'.
12381
ebfe68e8
LL
123822013-05-16 Leo Liu <sdl.web@gmail.com>
12383
12384 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12385 (smie--highlight-matching-block-overlay)
12386 (smie--highlight-matching-block-lastpos)
12387 (smie--highlight-matching-block-timer): New variables.
12388 (smie-highlight-matching-block): New function.
12389 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12390 (smie-setup): Conditionally enable smie-blink-matching-open.
12391
bc8bc17d
WS
123922013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12393
12394 Sync with upstream verilog-mode r840.
12395 * progmodes/verilog-mode.el (verilog-mode-version)
12396 (verilog-mode-release-date): Update.
12397 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12398 (verilog-sig-tieoff): Fix string error on
12399 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12400 (verilog-read-decls): Fix parameters confusing
12401 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12402
df065a0b
EZ
124032013-05-16 Eli Zaretskii <eliz@gnu.org>
12404
12405 * subr.el (reveal-filename): New function.
12406
12407 * loadup.el: Compute Emacs executable versions on MS-Windows,
12408 where executables have the .exe extension. Add a hard link
12409 emacs-XX.YY.ZZ.exe on MS-Windows.
12410
12411 * Makefile.in (XARGS_LIMIT): New variable.
12412 (custom-deps, finder-data, autoloads)
12413 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12414 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12415 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12416 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12417
2d4bf34b
LL
124182013-05-16 Leo Liu <sdl.web@gmail.com>
12419
12420 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12421 (octave-mode-menu, octave-mode-map): Remove its uses.
12422
6b9c2d85
RZ
124232013-05-16 Reto Zimmermann <reto@gnu.org>
12424
12425 Sync with upstream vhdl mode v3.34.2.
12426 * progmodes/vhdl-mode.el: Use `push' throughout.
12427 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12428 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12429 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12430 (vhdl-actual-generic-name): New option to derive actual generic name.
12431 (vhdl-port-paste-signals): Replace formal by actual generics.
12432 (vhdl-beautify): New name for old group vhdl-align. Update users.
12433 (vhdl-beautify-options): New option.
12434 (vhdl-last-input-event): New compat alias. Use throughout.
12435 (vhdl-goto-line): Replace user level function `goto-line'.
12436 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12437 vhdl-fix-statement-buffer.
12438 (vhdl-create-mode-menu): Add some entries.
12439 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12440 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12441 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12442 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12443 to force statements on one line.
12444 (vhdl-remove-trailing-spaces-region):
12445 New, split from vhdl-remove-trailing-spaces.
12446 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12447 Respect vhdl-beautify-options.
12448 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12449 (vhdl-update-sensitivity-list): Not add with index if exists without.
12450 Not include array index with signal. Ignore keywords in comments.
12451 (vhdl-get-visible-signals): Regexp tweaks.
12452 (vhdl-template-component-inst): Handle empty library.
12453 (vhdl-template-type): Add template for 'enum' type.
12454 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12455 Use vhdl-replace-string.
12456 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12457 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12458 (vhdl-speedbar-initialize): Update for above name change.
12459 (vhdl-compose-wire-components): Fix in handling of constants.
12460 (vhdl-error-regexp-emacs-alist): New variable.
12461 (vhdl-error-regexp-add-emacs): New function;
12462 adds support for new compile.el (Emacs 22+)
12463 (vhdl-generate-makefile-1): Change target order for single lib. units.
12464 Allow use of absolute file names.
12465
9df4ec5e
LL
124662013-05-16 Leo Liu <sdl.web@gmail.com>
12467
12468 * simple.el (prog-indent-sexp): Indent enclosing defun.
12469
f5ba00a6
GM
124702013-05-15 Glenn Morris <rgm@gnu.org>
12471
ed8be7ff
GM
12472 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12473 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12474 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12475 (whitespace-highlight): Move to whitespace group.
12476
12477 * comint.el (comint-source):
12478 * pcmpl-linux.el (pcmpl-linux):
12479 * shell.el (shell-faces):
12480 * eshell/esh-opt.el (eshell-opt):
12481 * international/ccl.el (ccl): Remove empty custom groups.
12482
12483 * completion.el (dynamic-completion-mode):
12484 * jit-lock.el (jit-lock-debug-mode):
12485 * minibuffer.el (completion-in-region-mode):
12486 * type-break.el (type-break-mode-line-message-mode)
12487 (type-break-query-mode):
12488 * emulation/tpu-edt.el (tpu-edt-mode):
12489 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12490 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12491 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12492
12493 * term/xterm.el (xterm): Change parent group to terminals.
12494
12495 * master.el (master): Remove empty custom group.
12496 (master-mode): Remove unused :group argument.
12497 * textmodes/refill.el (refill): Remove empty custom group.
12498 (refill-mode): Remove unused :group argument.
12499
12500 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12501
82a7c41b
GM
12502 * cus-dep.el: Provide a feature.
12503 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12504 Don't mistakenly ignore files whose basenames match a basename
12505 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12506 Add a fallback method for getting :group.
f5ba00a6 12507
6d65486d
JL
125082013-05-15 Juri Linkov <juri@jurta.org>
12509
da547b32
JL
12510 * isearch.el (isearch-char-by-name): Rename from
12511 `isearch-insert-char-by-name'. Doc fix.
12512 (isearch-forward): Mention `isearch-char-by-name' in
12513 the docstring. (Bug#13348)
12514
6d65486d
JL
12515 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12516 `exit-minibuffer' instead of
12517 `isearch-nonincremental-exit-minibuffer'.
12518 (isearch-edit-string): Remove mention of
12519 `isearch-nonincremental-exit-minibuffer' from docstring.
12520 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12521 (isearch-forward-exit-minibuffer)
12522 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12523
c9990474
SM
125242013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12525
6e911150
SM
12526 * loadup.el: Just use unversioned DOC.
12527
c9990474
SM
12528 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12529 literals as extending to EOB.
12530 (nxml-last-fontify-end): Remove unused variable.
12531 (nxml-after-change1): Use with-silent-modifications.
12532 (nxml-extend-after-change-region): Simplify.
12533 (nxml-extend-after-change-region1): Remove function.
12534 (nxml-after-change1): Don't adjust for dependent regions.
12535 (nxml-fontify-matcher): Simplify.
12536 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12537 (xmltok-add-dependent): Remove function.
12538 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12539 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12540 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12541 unclosed <[[, <?, comment, and other literals as extending to EOB.
12542 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12543 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12544 Remove functions.
12545 (rng-do-some-validation-1): Don't mark dependent regions.
12546 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12547 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12548 (nxml-clear-dependent-regions): Remove functions.
12549 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12550 (nxml-ensure-scan-up-to-date):
12551 Don't clear&mark dependent regions.
12552
e3772e98
LL
125532013-05-15 Leo Liu <sdl.web@gmail.com>
12554
c9990474
SM
12555 * progmodes/octave.el (octave-goto-function-definition):
12556 Improve and fix callers.
e3772e98 12557
5ac2eb34
SM
125582013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12559
c46c57b0
SM
12560 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12561 the setter (bug#14387).
12562
5ac2eb34
SM
12563 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12564 surrounding group (bug#14402).
12565
180ed218
JL
125662013-05-14 Juri Linkov <juri@jurta.org>
12567
12568 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12569 (Bug#14390)
12570
0ac0fecb
GM
125712013-05-14 Glenn Morris <rgm@gnu.org>
12572
12573 * progmodes/f90.el (f90-imenu-generic-expression):
12574 Fix typo in 2013-05-08 change. (Bug#14402)
12575
2e78e6a7
JPG
125762013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12577
5ac2eb34
SM
12578 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12579 Remove signals for which replies are never received.
2e78e6a7 12580
53267cca
JPG
125812013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12582
12583 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12584 (gdb-handler-alist, gdb-handler-number): Remove variables.
12585 (gdb-handler-list): New variable.
12586 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12587 (gdb-pending-handler-p, gdb-handle-reply)
12588 (gdb-remove-all-pending-triggers): New functions.
12589 (gdb-discard-unordered-replies): New defcustom.
12590 (gdb-handler): New defstruct.
12591 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12592 instead of gdb-pending-triggers. Update docstring.
12593 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12594 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12595 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12596 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12597 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12598 (gdb-frame-handler): Pending triggers are now automatically managed.
12599 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12600 Remove argument.
12601 (gdb-input): Automatically handles pending triggers. Update docstring.
12602 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12603 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12604 Update comments.
12605 (gdb-done-or-error): Now use gdb-handle-reply.
12606
d04ce803
JPG
126072013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12608
12609 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12610 gdb-debug-log.
12611
0114073a
GM
126122013-05-14 Glenn Morris <rgm@gnu.org>
12613
12614 * subr.el (user-emacs-directory-warning): New option.
12615 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12616
4d25fd7e
LL
126172013-05-14 Leo Liu <sdl.web@gmail.com>
12618
12619 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12620 during redisplay.
12621 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12622 (octave-font-lock-texinfo-comment): Fix invalid search bound
12623 error: wrong side of point.
4d25fd7e 12624
27c8b6eb
GM
126252013-05-14 Glenn Morris <rgm@gnu.org>
12626
61aaeb01
GM
12627 * progmodes/flymake.el (flymake-xml-program): New option.
12628 (flymake-xml-init): Use it.
12629
5bf90bc5
GM
12630 * term/xterm.el: Provide a feature.
12631
12632 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12633
f4c7dfd2
GM
126342013-05-13 Glenn Morris <rgm@gnu.org>
12635
12636 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12637 Add compat aliases as a hack workaround. (Bug#14384)
12638
2aeb3a1d
LL
126392013-05-13 Leo Liu <sdl.web@gmail.com>
12640
b0e069c2
LL
12641 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12642 ###, and %!.
f5a9432f
LL
12643 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12644 C-M-q.
b0e069c2
LL
12645 (octave-comment-start-skip): Include %!.
12646 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12647
30ea8374
LL
126482013-05-12 Leo Liu <sdl.web@gmail.com>
12649
12650 * progmodes/octave.el (inferior-octave-startup): Store the value
12651 of __octave_srcdir__ for octave-source-directories.
12652 (inferior-octave-check-process): New function refactored out of
12653 inferior-octave-send-list-and-digest.
12654 (octave-source-directories)
12655 (octave-find-definition-filename-function): New variables.
12656 (octave-source-directories)
12657 (octave-find-definition-default-filename): New functions.
12658 (octave-find-definition): Improve to find functions implemented in C++.
12659
472a3834
GM
126602013-05-12 Glenn Morris <rgm@gnu.org>
12661
12662 * calendar/diary-lib.el (diary-outlook-format-1):
12663 Don't include dayname in the output. (Bug#14349)
12664
3191b52f
GM
126652013-05-11 Glenn Morris <rgm@gnu.org>
12666
0060ac73
GM
12667 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12668
3191b52f
GM
12669 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12670 Treat cc-provide like provide.
12671
e065ba74
KR
126722013-05-11 Kevin Ryde <user42@zip.com.au>
12673
12674 * cus-dep.el (custom-make-dependencies):
12675 Use generated-autoload-load-name for the sake of files such
12676 such cedet/semantic/bovine/c.el, where the base file name
12677 is not in load-path. (Bug#5277)
12678
36f84c37
GM
126792013-05-11 Glenn Morris <rgm@gnu.org>
12680
12681 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12682 Provide features.
12683
c8730c3a
LL
126842013-05-11 Leo Liu <sdl.web@gmail.com>
12685
12686 * progmodes/octave.el (octave-indent-comment): Improve.
12687 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12688 (octave-eldoc-function-signatures, octave-eldoc-function):
12689 New functions.
c8730c3a
LL
12690 (octave-mode, inferior-octave-mode): Add eldoc support.
12691
212e29f2
RS
126922013-05-11 Richard Stallman <rms@gnu.org>
12693
12694 * epa.el (epa-decrypt-file): Take output file name as argument
12695 and read it using `interactive'.
12696
083fe0d7
LL
126972013-05-11 Leo Liu <sdl.web@gmail.com>
12698
12699 * progmodes/octave.el (octave-beginning-of-line)
12700 (octave-end-of-line): Check before using up-list because it jumps
12701 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12702 (octave-indent-comment): New function.
12703 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12704 (octave-begin-keywords, octave-end-keywords)
12705 (octave-reserved-words, octave-smie-bnf-table)
12706 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12707
8582e4c4
GM
127082013-05-11 Glenn Morris <rgm@gnu.org>
12709
f20def1f
GM
12710 * faces.el (internal-face-x-get-resource):
12711 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12712 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12713 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12714 Fix declarations.
f20def1f 12715
445f95e2
GM
12716 * calc/calc-menu.el: Make it loadable in isolation.
12717
12718 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12719 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12720 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12721 (eudc-bbdb-query-internal): Require 'bbdb.
12722
99fb2756
GM
12723 * lpr.el (lpr-headers-switches):
12724 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12725
12726 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12727
0da7ad96
GM
12728 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12729
8582e4c4
GM
12730 * term.el (term-set-escape-char): Make it idempotent.
12731
f71c50d0
LL
127322013-05-10 Leo Liu <sdl.web@gmail.com>
12733
5ac2eb34
SM
12734 * progmodes/octave.el (inferior-octave-completion-table):
12735 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12736 completion due to bug#11906.
12737 (octave-beginning-of-defun): Re-write to be more general.
12738
d5837773
GM
127392013-05-10 Glenn Morris <rgm@gnu.org>
12740
12741 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12742
027c0f75
SM
127432013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * comint.el (comint-redirect-send-command-to-process): Use :around
12746 rather than :override for comint-redirect-filter.
12747 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12748 Call it instead of comint-redirect-original-filter-function (which
12749 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12750
4465bfb4
JD
127512013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12752
12753 * frame.el (display-monitor-attributes-list): Add NS case.
12754 (ns-display-monitor-attributes-list): Declare.
12755
2d809ffa 127562013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12757
12758 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12759
e54eeb9b
GM
127602013-05-09 Glenn Morris <rgm@gnu.org>
12761
56cd351d
GM
12762 * international/fontset.el (vertical-centering-font-regexp):
12763 Set standard-value.
12764
d84b6108
GM
12765 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12766
a931698a
GM
12767 * bookmark.el (bookmark-search-delay):
12768 * cus-start.el (vertical-centering-font-regexp):
12769 * ps-mule.el (ps-mule-font-info-database-default):
12770 * ps-print.el (ps-default-fg, ps-default-bg):
12771 * type-break.el (type-break-good-break-interval):
12772 * whitespace.el (whitespace-indentation-regexp)
12773 (whitespace-space-after-tab-regexp):
12774 * emacs-lisp/testcover.el (testcover-1value-functions)
12775 (testcover-noreturn-functions, testcover-progn-functions)
12776 (testcover-prog1-functions):
12777 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12778 * eshell/em-glob.el (eshell-glob-translate-alist):
12779 * play/tetris.el (tetris-tty-colors):
12780 * progmodes/cpp.el (cpp-face-default-list):
12781 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12782 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12783 (idlwave-help-browser-generic-args):
12784 * progmodes/make-mode.el (makefile-special-targets-list):
12785 * progmodes/python.el (python-shell-virtualenv-path):
12786 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12787 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12788 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12789 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12790 * textmodes/reftex-vars.el (reftex-format-label-function):
12791 * textmodes/remember.el (remember-diary-file): Fix custom types.
12792
e54eeb9b
GM
12793 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12794 Add :version.
12795
455851dd
LL
127962013-05-09 Leo Liu <sdl.web@gmail.com>
12797
12798 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12799 Restore file completion. (Bug#14300)
455851dd
LL
12800 (inferior-octave-startup): Fix incorrect highlighting for the
12801 first prompt.
12802
a9e4425b
SM
128032013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * progmodes/ruby-mode.el: First cut at SMIE support.
12806 (ruby-use-smie): New var.
12807 (ruby-smie-grammar): New constant.
12808 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12809 (ruby-smie--forward-token, ruby-smie--backward-token)
12810 (ruby-smie-rules): New functions.
12811 (ruby-mode-variables): Setup SMIE if applicable.
12812
060ca408
EZ
128132013-05-08 Eli Zaretskii <eliz@gnu.org>
12814
12815 * simple.el (line-move-visual): Signal beginning/end of buffer
12816 only if vertical-motion moved less than it was requested. Avoids
12817 silly incorrect error messages when there are display strings with
12818 multiple newlines at EOL.
12819
1d5963cc
SM
128202013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12823 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12824 (prolog-char-quote-workaround):
12825 * progmodes/cperl-mode.el (cperl-under-as-char):
12826 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12827 Mark as obsolete.
12828 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12829 their declaration.
12830 (vhdl-mode-syntax-table-init): Remove.
12831
c9990474
SM
12832 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12833 last change.
1d5963cc
SM
12834
12835 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12836 syntax for "_".
12837 (ld-script-font-lock-keywords):
12838 Change regexps to use things like \_< and \_>.
12839
12840 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12841 Change all regexps to use things like \_< and \_>.
12842
12843 * progmodes/autoconf.el (autoconf-definition-regexp)
12844 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12845 Handle a _ with symbol syntax.
12846 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12847
c9990474
SM
12848 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12849 Consolidate declaration.
1d5963cc
SM
12850 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12851 the declaration.
12852 (ada-create-syntax-table): Remove.
12853 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12854 already has the right syntax nowadays.
12855 (ada-goto-next-word): Don't change the syntax of "_".
12856
12857 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12858 with-wrapper-hook.
12859
72d3cfca
SS
128602013-05-08 Sam Steingold <sds@gnu.org>
12861
12862 * thingatpt.el (thing-at-point): Accept optional second argument
12863 NO-PROPERTIES to strip the text properties from the return value.
12864 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12865 to `thing-at-point' instead of stripping the properties ourselves.
12866 Also, when `thing-at-point' fails to find a url, prepend "http://"
12867 to the filename at point on the assumption that the user is
12868 pointing at something like gnu.org/gnu.
12869
5cb15713
JB
128702013-05-08 Juanma Barranquero <lekktu@gmail.com>
12871
12872 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12873 * faces.el (crm-separator):
12874 Silence byte-compiler.
12875
12876 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12877 (tool-bar-map): Remove unneeded defvars.
12878
ea78b95b
LL
128792013-05-08 Leo Liu <sdl.web@gmail.com>
12880
12881 Re-work a fix for bug#10994 based on Le Wang's patch.
12882 * ido.el (ido-remove-consecutive-dups): New helper.
12883 (ido-completing-read): Use it.
12884 (ido-chop): Revert fix for bug#10994.
12885
dc7466df
AS
128862013-05-08 Adam Spiers <emacs@adamspiers.org>
12887
12888 * cus-edit.el (custom-save-variables):
12889 Pretty-print long values. (Bug#14187)
12890
9ecf672a
GM
128912013-05-08 Glenn Morris <rgm@gnu.org>
12892
12893 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12894 (m4-mode-syntax-table): Init in the defvar.
12895 (m4-mode-abbrev-table): Let define-derived-mode define it.
12896
3f555be8
TT
128972013-05-08 Tom Tromey <tromey@redhat.com>
12898
12899 * progmodes/m4-mode.el (m4-mode-syntax-table):
12900 Do not treat "_" as word constituent. (Bug#14167)
12901
7cc8ae06
GM
129022013-05-07 Glenn Morris <rgm@gnu.org>
12903
4f58bc06
GM
12904 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12905 Remove explicit eshell-isearch-cancel-map.
12906
7cc8ae06
GM
12907 * progmodes/f90.el (f90-smart-end-names): New option.
12908 (f90-smart-end): Doc fix.
12909 (f90-end-block-optional-name): New constant.
12910 (f90-block-match): Respect f90-smart-end-names.
12911
ceb57e59
SM
129122013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12915 about implicit semi-colons (bug#14218).
12916
4e3f9230
YM
129172013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12918
12919 * frame.el (display-monitor-attributes-list)
12920 (frame-monitor-attributes): New functions.
12921
203a5572
LL
129222013-05-06 Leo Liu <sdl.web@gmail.com>
12923
12924 * progmodes/octave.el (octave-syntax-propertize-function): Change
12925 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12926 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12927 (octave-completion-at-point): Rename from
203a5572
LL
12928 octave-completion-at-point-function.
12929 (inferior-octave-directory-tracker): Robustify.
12930 (octave-text-functions): Remove and fix its uses. No such things
12931 any more.
12932
ee6cff99
SM
129332013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12934
12935 * emacs-lisp/trace.el (trace--display-buffer): New function.
12936 (trace-make-advice): Use it.
12937
32985194
JL
129382013-05-06 Juri Linkov <juri@jurta.org>
12939
12940 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12941 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12942 Doc fix.
12943 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12944 in the help string. (Bug#12985)
12945
a1c700de
KD
129462013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12947
12948 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12949
c67c0839
SM
129502013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12951
323885fd
SM
12952 * progmodes/perl-mode.el: Add support for here documents.
12953 (perl-syntax-propertize-function): Match here-doc markers.
12954 (perl-syntax-propertize-special-constructs): Find their end.
12955 (perl-imenu-generic-expression): Use [:alnum:].
12956
c67c0839
SM
12957 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12958 (advice--add-function): Refresh the advice if already present
12959 (bug#14317).
12960
d491e7a8
IA
129612013-05-06 Ivan Andrus <darthandrus@gmail.com>
12962
12963 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12964
ddf9925e
GM
129652013-05-06 Glenn Morris <rgm@gnu.org>
12966
7cc3af27
GM
12967 * w32-fns.el (w32-charset-info-alist): Declare.
12968
16e343d6
GM
12969 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12970 of its defcustom properties.
12971 (eshell-cmpl-initialize): No need to load pcomplete.
12972
7d889a47
GM
12973 * generic-x.el: No need to require comint when compiling.
12974
ddf9925e
GM
12975 * net/eudc-export.el: Make it loadable without bbdb.
12976 (top-level): Use require rather than load-library.
12977 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12978 (eudc-batch-export-records-to-bbdb)
12979 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12980 Require bbdb.
12981
1e2c18df
SM
129822013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12985 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12986 some tweaks, instead.
12987
02502a5f
LL
129882013-05-05 Leo Liu <sdl.web@gmail.com>
12989
12990 * progmodes/octave.el (octave-font-lock-keywords)
12991 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12992 (inferior-octave-send-list-and-digest): Improve error message.
12993 (octave-mode, inferior-octave-mode): Use setq-local.
12994 (octave-help): Set info-lookup-mode.
12995
0dc04f42
RS
129962013-05-05 Richard Stallman <rms@gnu.org>
12997
6c54491c
RS
12998 * vc/compare-w.el (compare-windows-whitespace):
12999 Treat no-break space as whitespace.
13000
0dc04f42
RS
13001 * mail/rmailsum.el (rmail-summary-rmail-update):
13002 Detect empty summary and don't change selected message.
13003 (rmail-summary-goto-msg): Likewise.
13004
df8f35df
RS
13005 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13006 Doc fixes, rename args.
13007
5356e1a3
AM
130082013-05-05 Alan Mackenzie <acm@muc.de>
13009
13010 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13011
d44014cb
JL
130122013-05-05 Juri Linkov <juri@jurta.org>
13013
13014 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13015 to not add the length of the summary segment to the return value.
13016 (Bug#14125)
13017
c129b51f
LL
130182013-05-05 Leo Liu <sdl.web@gmail.com>
13019
13020 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13021 (inferior-octave-output-filter): Remove.
13022 (octave-send-region, inferior-octave-startup): Fix callers.
13023 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13024 (octave-binary-file-extensions): New user variable.
13025 (octave-find-definition): Confirm if opening binary files.
13026 (octave-help-file): Use octave-find-definition to get the binary
13027 confirmation.
13028 (octave-help): Adjust for octave-help-file change.
13029
aa7dab97
SM
130302013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13033 Merge the two entries that handle function definitions.
13034 (pascal--syntax-propertize): New const.
13035 (pascal-mode): Use it. Use setq-local.
13036
fd3a9a6b
GM
130372013-05-04 Glenn Morris <rgm@gnu.org>
13038
13039 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13040 (diary-from-outlook): Respect diary-from-outlook-function.
13041
30c7e542
SM
130422013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13043
13044 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13045 Move the declaration from C.
13046 (read-minibuffer, eval-minibuffer): Move from C.
13047 (completion-setup-function): Avoid minibuffer-completion-contents.
13048
b54f978b
LL
130492013-05-03 Leo Liu <sdl.web@gmail.com>
13050
13051 * progmodes/octave.el (octave-font-lock-keywords): Do not
13052 dehighlight 'end' in comments or strings.
30c7e542
SM
13053 (octave-completing-read, octave-goto-function-definition):
13054 New helpers.
d4d0f9b3
LL
13055 (octave-help-buffer): New user variable.
13056 (octave-help-file, octave-help-function): New button types.
13057 (octave-help): New command and bind it to C-h ;.
13058 (octave-find-definition): New command and bind it to M-.
d74a1581 13059 (user-error): Alias to error if not defined.
b54f978b 13060
27135018
LL
130612013-05-02 Leo Liu <sdl.web@gmail.com>
13062
13063 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13064 for \. (bug#14332)
13065 (octave-font-lock-keywords): Include [ and {.
13066
0d634d3a
LL
130672013-05-02 Leo Liu <sdl.web@gmail.com>
13068
13069 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13070 (inferior-octave): Remove calling comint-mode and return the buffer.
13071 (inferior-octave-startup): Cosmetic changes.
13072
b4c8295e
LL
130732013-05-02 Leo Liu <sdl.web@gmail.com>
13074
30c7e542
SM
13075 * progmodes/octave.el (octave-syntax-propertize-function):
13076 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 13077
f12ad6ec
GM
130782013-05-02 Glenn Morris <rgm@gnu.org>
13079
13080 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13081 * desktop.el (vc-dir-mode): Just autoload it here.
13082
30cac1e0
AM
130832013-05-02 Alan Mackenzie <acm@muc.de>
13084
13085 Eliminate variable c-standard-font-lock-fontify-region-function.
13086 * progmodes/cc-mode.el
13087 (c-standard-font-lock-fontify-region-function): Remove.
13088 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13089
d8ef28b1
LL
130902013-05-01 Leo Liu <sdl.web@gmail.com>
13091
2640d52e 13092 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 13093 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 13094 variables were removed from Octave in 2007.
d8ef28b1
LL
13095 (inferior-octave-startup): Fix uses.
13096 (comint-line-beginning-position): Remove compatibility code for
13097 emacs 21.
13098
ac63ec89
JL
130992013-05-01 Juri Linkov <juri@jurta.org>
13100
13101 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13102
9e9be37c
JL
131032013-05-01 Juri Linkov <juri@jurta.org>
13104
13105 * comint.el (comint-previous-matching-input): Don't print message
13106 "History item: %d" when `isearch-mode' is active.
13107 (comint-history-isearch-message): Print message "History item: %d"
13108 when `comint-input-ring-index' is not empty and this function is
13109 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13110
9b92c13b
LL
131112013-05-01 Leo Liu <sdl.web@gmail.com>
13112
13113 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13114 definitions. Use completion-at-point to insert keywords.
13115 (octave-abbrev-start): Remove.
13116 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13117
b12d33d7
LL
131182013-04-30 Leo Liu <sdl.web@gmail.com>
13119
13120 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13121 change.
13122
3d1c39fa
AM
131232013-04-30 Alan Mackenzie <acm@muc.de>
13124
13125 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13126 * progmodes/cc-engine.el (c-back-over-member-initializers):
13127 new function.
3d1c39fa
AM
13128 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13129 (most) member init lists.
13130
5147fc17
RS
131312013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13132
13133 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13134 variable.
13135
5b78d7fc
LL
131362013-04-30 Leo Liu <sdl.web@gmail.com>
13137
13138 * progmodes/octave.el (octave-variables): Remove. No builtin
13139 variables any more. All converted to functions.
13140 (octave-font-lock-keywords, octave-completion-at-point-function):
13141 Fix uses.
13142 (octave-font-lock-texinfo-comment): New user variable.
13143 (octave-texinfo-font-lock-keywords): New variable for texinfo
13144 comment block.
13145 (octave-function-comment-block): New face.
13146 (octave-font-lock-texinfo-comment): New function.
13147 (octave-mode): Font lock texinfo comment block.
13148
38d8527b
LL
131492013-04-29 Leo Liu <sdl.web@gmail.com>
13150
13151 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13152 indexing expression.
13153 (octave-continuation-string): Do not use \.
13154 (inferior-octave-complete-impossible): Remove.
13155 (inferior-octave-completion-table)
13156 (inferior-octave-completion-at-point): Remove its uses.
13157 (inferior-octave-startup): completion_matches was introduced to
13158 Octave in 1996 so safe to assume it.
13159 (octave-function-file-comment): Improve to follow how Octave does it.
13160 (octave-update-function-file-comment): Tweak.
13161
2ec12cb0
LL
131622013-04-29 Leo Liu <sdl.web@gmail.com>
13163
13164 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13165 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13166 (octave-function-file-comment): Fix typo.
13167 (octave-sync-function-file-names): Use read-char-choice.
13168
6eaed048
JB
131692013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13170
13171 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13172 to t for the less important warnings.
13173
3ffa2d4f
DH
131742013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13175
13176 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13177
685c9501
GM
131782013-04-27 Glenn Morris <rgm@gnu.org>
13179
13180 * vc/log-view.el (log-view-current-entry):
13181 Treat "---" separator lines as part of the following rev. (Bug#14169)
13182
0208ede7
JL
131832013-04-27 Juri Linkov <juri@jurta.org>
13184
13185 * subr.el (read-number): Doc fix about using it by interactive
13186 code letter `n'. (Bug#14254)
13187
5db9dace
JL
131882013-04-27 Juri Linkov <juri@jurta.org>
13189
13190 * desktop.el (desktop-auto-save-timeout): New option.
13191 (desktop-file-checksum): New variable.
13192 (desktop-save): Add optional arg `auto-save' and don't auto-save
13193 if nothing changed.
13194 (desktop-auto-save-timer): New variable.
13195 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13196 (after-init-hook): Call `desktop-auto-save-set-timer'.
13197 Suggested by Reuben Thomas <rrt@sc3d.org> in
13198 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13199
b7260dd4
LL
132002013-04-27 Leo Liu <sdl.web@gmail.com>
13201
13202 * progmodes/octave.el (octave-function-file-p)
13203 (octave-skip-comment-forward, octave-function-file-comment)
13204 (octave-update-function-file-comment): New functions.
13205 (octave-mode-map): Bind C-c ; to
13206 octave-update-function-file-comment.
13207 (octave-mode-menu): Add octave-update-function-file-comment.
13208 (octave-mode, inferior-octave-mode): Fix doc-string.
13209 (octave-insert-defun): Conform to Octave's coding convention.
13210 (Bug#14285)
13211
13212 * files.el (basic-save-buffer): Don't let errors in
13213 before-save-hook prevent saving buffer.
13214
c46da669
RW
132152013-04-20 Roland Winkler <winkler@gnu.org>
13216
13217 * faces.el (read-face-name): Use completing-read if arg multiple
13218 is nil.
13219
a81ee1eb
IL
132202013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13221
13222 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13223 displayed, move point to after the totals line.
13224 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13225 for the details.
13226
4fac34ce
SM
132272013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13230 Add current dir to the load-path.
13231 (package-generate-autoloads): Don't rely on
13232 autoload-ensure-default-file.
13233
f6bfc063
RT
132342013-04-26 Reuben Thomas <rrt@sc3d.org>
13235
d40ab5cf
BG
13236 * textmodes/remember.el (remember-store-in-files): Document that
13237 the file name format is passed to `format-time-string'.
f6bfc063 13238
e55d3b04
LL
132392013-04-26 Leo Liu <sdl.web@gmail.com>
13240
13241 * progmodes/octave.el (octave-sync-function-file-names): New function.
13242 (octave-mode): Use it in before-save-hook.
13243
e53052d3
SM
132442013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13245
140ef50c
SM
13246 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13247 (bug#14274).
13248
e53052d3
SM
13249 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13250 \n and comment, even if it's not an implicit ; (bug#14218).
13251
af80458d 132522013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13253
13254 * subr.el (read-number): Once more use `read' rather than
13255 `string-to-number', to trap non-numeric input. (Bug#14254)
13256
af80458d 132572013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13258
13259 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13260 Use `syntax-multiline' text property consistently instead of
8a621d53 13261 `font-lock-multiline'. (Bug#14237)
70203c2e 13262
e6ea1f6c
GM
132632013-04-26 Glenn Morris <rgm@gnu.org>
13264
13265 * emacs-lisp/shadow.el (list-load-path-shadows):
13266 No longer necessary to check for duplicate simple.el, since
13267 2012-07-07 change to init_lread to not include installation lisp
13268 directories in load-path when running uninstalled. (Bug#14270)
13269
070ccca4
LL
132702013-04-26 Leo Liu <sdl.web@gmail.com>
13271
13272 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13273 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13274 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13275 octave-in-string-or-comment-p.
13276 (octave-in-comment-p, octave-in-string-p)
13277 (octave-in-string-or-comment-p): Replace defsubst with defun.
13278
9d1c5fb6
PE
132792013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13280
13281 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13282
c034abda
BG
132832013-04-25 Bastien Guerry <bzg@gnu.org>
13284
13285 * textmodes/remember.el (remember-data-directory)
13286 (remember-directory-file-name-format): Fix custom types.
13287
584ea277
LL
132882013-04-25 Leo Liu <sdl.web@gmail.com>
13289
e53052d3
SM
13290 * progmodes/octave.el (octave-completion-at-point-function):
13291 Make use of inferior octave process.
584ea277
LL
13292 (octave-initialize-completions): Remove.
13293 (inferior-octave-completion-table): New function.
13294 (inferior-octave-completion-at-point): Use it.
13295 (octave-completion-alist): Remove.
13296
1693b06a
SM
132972013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13300 (opascal-mode-syntax-table): New var.
13301 (opascal-literal-kind, opascal-is-literal-end)
13302 (opascal-literal-token-at): Rewrite.
13303 (opascal--literal-start-re, opascal-font-lock-keywords)
13304 (opascal--syntax-propertize): New constants.
13305 (opascal-font-lock-defaults): Adjust.
13306 (opascal-mode): Use them. Set comment-<foo> variables as well.
13307 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13308 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13309 (delphi-other-face, opascal-other-face): Remove face variables.
13310 (opascal-save-state): Remove macro.
13311 (opascal-fontifying-progress-step): Remove constant.
13312 (opascal--ignore-changes): Remove var.
13313 (opascal-set-token-property, opascal-parse-next-literal)
13314 (opascal-is-stable-literal, opascal-complete-literal)
13315 (opascal-is-literal-start, opascal-face-of)
13316 (opascal-parse-region, opascal-parse-region-until-stable)
13317 (opascal-fontify-region, opascal-after-change)
13318 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13319 (opascal-debug-parse-region, opascal-debug-parse-window)
13320 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13321 (opascal-debug-fontify-buffer): Remove.
13322 (opascal-debug-mode-map): Adjust accordingly.
13323
be64c05d
LL
133242013-04-25 Leo Liu <sdl.web@gmail.com>
13325
13326 Merge octave-mod.el and octave-inf.el into octave.el with some
13327 cleanups.
13328 * progmodes/octave.el: New file renamed from octave-mod.el.
13329 * progmodes/octave-inf.el: Merged into octave.el.
13330 * progmodes/octave-mod.el: Renamed to octave.el.
13331
d79d37bd
TH
133322013-04-25 Tassilo Horn <tsdh@gnu.org>
13333
13334 * textmodes/reftex-vars.el
13335 (reftex-label-ignored-macros-and-environments): New defcustom.
13336
13337 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13338
ced3fc5d
SM
133392013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13342 (smie-indent-keyword): Improve the check to ensure that the next
13343 comment is really on the same line.
13344 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13345
13346 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13347 semi-colons if the line is not otherwise empty (bug#14218).
13348
1c141dad
GM
133492013-04-25 Glenn Morris <rgm@gnu.org>
13350
13351 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13352
5058062a
SM
133532013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13354
13355 * progmodes/opascal.el (opascal-set-token-property): Rename from
13356 opascal-set-text-properties and only set `token' (bug#14134).
13357 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13358 (opascal-literal-text-properties): Remove.
13359 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13360 Adjust callers.
13361
5db9dace 133622013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13363
13364 * textmodes/remember.el (remember-handler-functions): Add an
13365 option for a new handler `remember-store-in-files'.
13366 (remember-data-directory, remember-directory-file-name-format):
13367 New options.
13368 (remember-store-in-files): New function to store remember notes
13369 as separate files within a directory.
13370
4391916c
MH
133712013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13372
13373 * progmodes/compile.el (compilation-next-error-function):
13374 Pass "formats" to compilation-find-file (bug#11777).
13375
bb7cdf58
GM
133762013-04-24 Glenn Morris <rgm@gnu.org>
13377
3b8fe752 13378 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13379 * vc/vc-hg.el (vc-hg-print-log):
13380 * vc/vc-svn.el (vc-svn-print-log):
13381 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13382
bb7cdf58
GM
13383 * vc/vc-bzr.el (vc-bzr-print-log):
13384 * vc/vc-cvs.el (vc-cvs-print-log):
13385 * vc/vc-git.el (vc-git-print-log):
13386 * vc/vc-hg.el (vc-hg-print-log):
13387 * vc/vc-mtn.el (vc-mtn-print-log):
13388 * vc/vc-rcs.el (vc-rcs-print-log):
13389 * vc/vc-sccs.el (vc-sccs-print-log):
13390 * vc/vc-svn.el (vc-svn-print-log):
13391 * vc/vc.el (vc-print-log-internal): Doc fixes.
13392
b46a056e
GM
133932013-04-23 Glenn Morris <rgm@gnu.org>
13394
13395 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13396 Remove venerable code attempting to avoid substitute-command-keys.
13397
0aecf718
TH
133982013-04-23 Tassilo Horn <tsdh@gnu.org>
13399
4391916c
MH
13400 * textmodes/reftex-vars.el (reftex-label-regexps):
13401 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13402
117f94cf
SM
134032013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13404
4391916c 13405 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13406 Use lexical-binding.
13407 (jit-lock-force-redisplay): Use markers, check buffer's continued
13408 existence and beware narrowed buffers.
13409 (jit-lock-fontify-now): Adjust call accordingly.
13410
1d829c64
SM
134112013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13412
13413 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13414 to avoid misleading the user.
13415
72d548a9
LL
134162013-04-22 Leo Liu <sdl.web@gmail.com>
13417
13418 * info-look.el: Prefer latex2e.info. (Bug#14240)
13419
d0853629
MA
134202013-04-22 Michael Albinus <michael.albinus@gmx.de>
13421
13422 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13423
13424 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13425 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13426 (tramp-set-completion-function, tramp-parse-putty):
13427 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13428 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13429 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13430 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13431 (tramp-call-local-coding-command): Use `tramp-call-process'
13432 instead of `tramp-compat-call-process'.
13433
13434 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13435 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13436 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13437 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13438 (tramp-maybe-send-script): Check for Perl binary.
13439 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13440
38cc0210
DU
134412013-04-22 Daiki Ueno <ueno@gnu.org>
13442
13443 * epg.el (epg-context-pinentry-mode): New function.
13444 (epg-context-set-pinentry-mode): New function.
13445 (epg--start): Pass --pinentry-mode option to gpg command.
13446
cc641ee1
XF
134472013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13448
02d844b5 13449 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13450 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13451 `completion-at-point'. (Bug#13774)
5d4e5c31 13452
cc641ee1
XF
13453 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13454 default key binding for `describe-distribution' has been moved to
13455 `C-h C-o'. (Bug#13970)
13456
1b42ee43
GM
134572013-04-21 Glenn Morris <rgm@gnu.org>
13458
13459 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13460 Add doc strings.
13461 (vc-print-log): Clarify interactive prompt.
13462
a6d63d97
GM
134632013-04-20 Glenn Morris <rgm@gnu.org>
13464
13465 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13466 No longer include timestamp etc information.
13467
d7f5c16f
RW
134682013-04-20 Roland Winkler <winkler@gnu.org>
13469
13470 * faces.el (read-face-name): Bug fix, return just one face if arg
13471 multiple is nil. (Bug#14209)
13472
bcd7a0a4
SM
134732013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13474
13475 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13476 (remove-function): Autoload.
13477
13478 * comint.el (comint-redirect-original-filter-function): Remove.
13479 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13480 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13481 (vc-cvs-annotate-command):
bcd7a0a4
SM
13482 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13483 * progmodes/prolog.el (prolog-consult-compile):
13484 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13485 Use add/remove-function instead.
13486 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13487 (gud-tooltip-process-output, gud-tooltip-tips):
13488 Use add/remove-function instead.
13489 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13490 (scheme-interaction-mode, exit-scheme-interaction-mode):
13491 Use add/remove-function instead.
13492
13493 * vc/vc-dispatcher.el: Use lexical-binding.
13494 (vc--process-sentinel): Rename from vc-process-sentinel.
13495 Change last arg to be the code to run. Don't use vc-previous-sentinel
13496 and vc-sentinel-commands any more.
13497 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13498 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13499
e36b2d20 135002013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13501
bcd7a0a4 13502 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13503 Handle function names with a single character. (Bug#14111)
4d3268ba 13504
27821a89 135052013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13506
13507 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13508 for subroutines defined in an eval (bug#14182).
13509
7d688336
TV
135102013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13511
13512 * bookmark.el (bookmark-completing-read): Improve handling of empty
13513 string (bug#14176).
13514
31dcede0
SM
135152013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13516
13517 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13518
adc31213
FEG
135192013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13520
13521 New faster Imenu implementation (bug#14058).
13522 * progmodes/python.el:
13523 (python-imenu-prev-index-position):
13524 (python-imenu-format-item-label-function)
13525 (python-imenu-format-parent-item-label-function)
13526 (python-imenu-format-parent-item-jump-label-function):
13527 New vars.
13528 (python-imenu-format-item-label)
13529 (python-imenu-format-parent-item-label)
13530 (python-imenu-format-parent-item-jump-label)
13531 (python-imenu--put-parent, python-imenu--build-tree)
13532 (python-imenu-create-index, python-imenu-create-flat-index)
13533 (python-util-popn): New functions.
13534 (python-mode): Set imenu-create-index-function to
13535 python-imenu-create-index.
13536
cdca8255
SM
135372013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13538
13539 * winner.el (winner-active-region): Use region-active-p, activate-mark
13540 and deactivate-mark (bug#14225).
13541
13542 * simple.el (deactivate-mark): Don't inline it.
13543
beb42340
MA
135442013-04-18 Michael Albinus <michael.albinus@gmx.de>
13545
13546 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13547
fc7f4d7e
TH
135482013-04-18 Tassilo Horn <tsdh@gnu.org>
13549
13550 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13551 file extensions from the archive-mode entry in order to prefer
13552 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13553
29f47822
LL
135542013-04-18 Leo Liu <sdl.web@gmail.com>
13555
13556 * bindings.el (help-event-list): Add ?\?.
13557
d36ed1c8
SM
135582013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13559
13560 * subr.el (with-wrapper-hook): Declare obsolete.
13561 * simple.el (filter-buffer-substring-function): New hook.
13562 (filter-buffer-substring): Use it.
13563 (filter-buffer-substring-functions): Mark obsolete.
13564 * minibuffer.el (completion-in-region-function): New hook.
13565 (completion-in-region): Use it.
13566 (completion-in-region-functions): Mark obsolete.
13567 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13568 * abbrev.el (abbrev-expand-function): New hook.
13569 (expand-abbrev): Use it.
13570 (abbrev-expand-functions): Mark obsolete.
13571 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13572 and :filter-return.
13573
04754d36
FEG
135742013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13575
13576 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13577 and do not care about match data.
13578
dd8791e9
SM
135792013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13582 completion tables when completing error conditions and
13583 `declare' arguments.
13584 (lisp-complete-symbol, field-complete): Mark as obsolete.
13585 (check-parens): Unmatched parens are user errors.
13586 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13587
ffe54a13
AM
135882013-04-17 Michal Nazarewicz <mina86@mina86.com>
13589
dd8791e9
SM
13590 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13591 command changed buffer (ie. `flyspell-pre-buffer' is not current
13592 buffer), which prevents making decisions based on invalid value of
13593 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13594 cause an error when `flyspell-pre-point' was nil after switching
13595 buffers.
13596 (flyspell-post-command-hook): No longer needs to change buffers when
13597 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13598
ec7e39f2
AM
135992013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13600
13601 * textmodes/ispell.el (ispell-add-per-file-word-list):
13602 Fix `flyspell-correct-word-before-point' error when accepting
13603 words and `coment-padding' is an integer by using
13604 `comment-normalize-vars' (Bug #14214).
13605
083850a6
FEG
136062013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13607
13608 New defun movement commands.
13609 * progmodes/python.el (python-nav--syntactically)
13610 (python-nav--forward-defun, python-nav-backward-defun)
13611 (python-nav-forward-defun): New functions.
13612
619ed6e1
FEG
136132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13614
13615 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13616 (python-syntax-context): Use named compiler-macro for backwards
13617 compatibility with Emacs 24.x.
13618
7a1beb6c
LL
136192013-04-17 Leo Liu <sdl.web@gmail.com>
13620
13621 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13622 octave-hide-process-buffer.
13623
2d3fa3e5
SM
136242013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13627 (bug#14216).
13628
7ce5be54
JPG
136292013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13630
13631 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13632 Fix adjustment of offset when receiving incomplete responses from GDB
13633 (bug#14129).
13634
351edece
SM
136352013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13638 python-mode-abbrev-table.
13639 (python-skeleton-define): Adjust accordingly.
13640 (python-mode-abbrev-table): New table that inherits from it so that
13641 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13642
13643 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13644 (abbrev-symbol): Use it.
13645 (abbrev--before-point): Use it since we already handle inheritance.
13646
613f9481
LL
136472013-04-16 Leo Liu <sdl.web@gmail.com>
13648
13649 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13650 binding to info-lookup-symbol.
13651
51646b62
JB
136522013-04-16 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * minibuffer.el (completion--twq-all):
13655 * term/ns-win.el (ns-initialize-window-system):
13656 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13657
efb3f01d
SM
136582013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13659
36c0a301
SM
13660 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13661 global bindings.
13662
efb3f01d
SM
13663 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13664
fb549d64
DG
136652013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13666
13667 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13668 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13669 to nil.
13670 (ruby-end-of-defun): Remove the unused arg, change the docstring
13671 to reflect that this function is only used as the value of
13672 `end-of-defun-function'.
13673 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13674 to reflect an earlier change that beginning/end-of-defun functions
13675 jump between methods in a class definition, as well as top-level
13676 functions.
13677
21e8fe2f
SM
136782013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13679
13680 * minibuffer.el (minibuffer-complete): Don't just scroll
13681 a *Completions* that's been iconified.
13682 (minibuffer-force-complete): Make sure repetitions do cycle when going
13683 through completion-in-region -> minibuffer-complete.
13684
20e527d0
AM
136852013-04-15 Alan Mackenzie <acm@muc.de>
13686
13687 Correct the placement of c-cpp-delimiters when there're #s not at
13688 col 0.
13689
13690 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13691 place a submatch around the #.
21e8fe2f
SM
13692 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13693 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13694 on the #, not BOL.
13695
dabefae5
SM
136962013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13697
13698 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13699 (advice--member-p): New arg `name'.
13700 (advice--add-function, advice-member-p): Use it (bug#14202).
13701
85c9ab64
AM
137022013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13703
13704 Reformulate java imenu-generic-expression.
13705 The old expression contained ill formed regexps.
13706
13707 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13708 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13709 (cc-imenu-java-method-arg-regexp): New defconsts.
13710 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13711 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13712 handling of spaces in the regexp.
13713
0f821d99
AM
137142013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13715
13716 * textmodes/ispell.el (ispell-command-loop): Remove
13717 flyspell highlight of a word when ispell accepts it (bug #14178).
13718
eb922adf
MA
137192013-04-15 Michael Albinus <michael.albinus@gmx.de>
13720
13721 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13722 uses code from the previous `ange-ftp-run-real-handler'.
13723 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13724 only in case that function exist. This is needed for proper
13725 unloading of Tramp.
13726
4d9a0979
TH
137272013-04-15 Tassilo Horn <tsdh@gnu.org>
13728
13729 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13730
13731 * textmodes/reftex.el (reftex-compile-variables): Use it.
13732
a829b0dc
SM
137332013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13734
91e8293c
SM
13735 * files.el (normal-mode): Only use default major-mode if no other mode
13736 was specified.
13737
830aed4d
SM
13738 * emacs-lisp/trace.el (trace-values): New function.
13739
a829b0dc
SM
13740 * files.el: Allow : in local variables (bug#14089).
13741 (hack-local-variable-regexp): New var.
13742 (hack-local-variables-prop-line, hack-local-variables): Use it.
13743
7ae9f0fb
RW
137442013-04-13 Roland Winkler <winkler@gnu.org>
13745
13746 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13747 data before it gets modified by bibtex-beginning-of-entry.
13748
6646e848
RW
137492013-04-13 Roland Winkler <winkler@gnu.org>
13750
13751 * textmodes/bibtex.el (bibtex-url): Doc fix.
13752
137532013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13754
13755 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13756 does not visit a BibTeX file, exclude it from the list of buffers
13757 returned by bibtex-initialize.
13758
0aa3616e
SB
137592013-04-13 Stephen Berman <stephen.berman@gmx.net>
13760
13761 * window.el (split-window): Remove interactive form, since as a
13762 command this function is a special case of split-window-below.
13763 Correct doc string.
13764
011cddd6
RW
137652013-04-12 Roland Winkler <winkler@gnu.org>
13766
13767 * faces.el (read-face-name): Do not override value of arg default.
13768 Allow single faces and strings as default values. Remove those
13769 elements from return value that are not faces.
13770 (describe-face): Simplify.
13771 (face-at-point): New optional args thing and multiple so that this
13772 function can provide the same functionality previously provided by
13773 read-face-name.
13774 (make-face-bold, make-face-unbold, make-face-italic)
13775 (make-face-unitalic, make-face-bold-italic, invert-face)
13776 (modify-face, read-face-and-attribute): Use face-at-point.
13777
13778 * cus-edit.el (customize-face, customize-face-other-window)
13779 * cus-theme.el (custom-theme-add-face)
13780 * face-remap.el (buffer-face-set)
13781 * facemenu.el (facemenu-set-face): Use face-at-point.
13782
f24e0036
MA
137832013-04-12 Michael Albinus <michael.albinus@gmx.de>
13784
13785 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13786
da3cda2d
TH
137872013-04-10 Tassilo Horn <tsdh@gnu.org>
13788
13789 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13790 off leading { and trailing } from field values.
13791
15e54145
SM
137922013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13793
78ce603d
SM
13794 * emacs-lisp/timer.el (timer--check): New function.
13795 (timer--time, timer-set-function, timer-event-handler): Use it.
13796 (timer-set-idle-time): Simplify.
13797 (timer--activate): CSE.
13798 (timer-event-handler): Give more info in error message.
13799 (internal-timer-start-idle): New function, moved from C.
13800
15e54145
SM
13801 * mpc.el (mpc-proc): Add `restart' argument.
13802 (mpc-proc-cmd): Use it.
13803 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13804 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13805 less often.
13806
7144c627
MY
138072013-04-10 Masatake YAMATO <yamato@redhat.com>
13808
13809 * progmodes/sh-script.el: Implement `sh-mode' own
13810 `add-log-current-defun-function' (bug#14112).
13811 (sh-current-defun-name): New function.
13812 (sh-mode): Use the function.
13813
b39792eb
BG
138142013-04-09 Bastien Guerry <bzg@gnu.org>
13815
13816 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13817
8acdeb71
SM
138182013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13819
6fcdab68
SM
13820 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13821
8acdeb71
SM
13822 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13823 timer (bug#14156).
13824
e3e7b504
NF
138252013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13826
13827 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13828 declaration.
13829
201bb296
LL
138302013-04-07 Leo Liu <sdl.web@gmail.com>
13831
13832 * pcmpl-x.el: New file.
13833
ebb19708
DA
138342013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13835
13836 Do not set x-display-name until X connection is established.
13837 This is needed to prevent from weird situation described at
13838 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13839 * frame.el (make-frame): Set x-display-name after call to
13840 window system initialization function, not before.
13841 * term/x-win.el (x-initialize-window-system): Add optional
13842 display argument and use it.
13843 * term/w32-win.el (w32-initialize-window-system):
13844 * term/ns-win.el (ns-initialize-window-system):
13845 * term/pc-win.el (msdos-initialize-window-system):
13846 Add compatible optional display argument.
13847
33bb237a
EZ
138482013-04-06 Eli Zaretskii <eliz@gnu.org>
13849
13850 * files.el (normal-backup-enable-predicate): On MS-Windows and
13851 MS-DOS compare truenames of temporary-file-directory and of the
13852 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13853 don't fail comparison by compare-strings. Also, compare file
13854 names case-insensitively on MS-Windows and MS-DOS.
13855
134abf1f
SM
138562013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13859 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13860
d695cb94
DG
138612013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13862
e3e7b504
NF
13863 * whitespace.el (whitespace-color-on, whitespace-color-off):
13864 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13865
f4ad7ea1 138662013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13867
13868 * ispell.el (ispell-set-spellchecker-params):
13869 Really set `ispell-args' for all equivs.
13870
632556e4
SM
138712013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13872
13873 * ido.el (ido-completions): Use extra elements of ido-decorations
13874 (bug#14143).
13875 (ido-decorations): Update docstring.
13876
2a417372
MA
138772013-04-05 Michael Albinus <michael.albinus@gmx.de>
13878
13879 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13880 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13881 nil during initialization, in order not to miss changes since the
13882 file was opened. (Bug#14140)
13883
fc164b0c
LL
138842013-04-05 Leo Liu <sdl.web@gmail.com>
13885
13886 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13887
0ccecc08
JB
138882013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13889
13890 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13891
51af1aa2
GM
138922013-04-04 Glenn Morris <rgm@gnu.org>
13893
13894 * electric.el (electric-pair-inhibit-predicate): Add :version.
13895
b208ebc6
SM
138962013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13897
13898 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13899 when a package is required several times (bug#14082).
13900
f3d3eaf0
RW
139012013-04-04 Roland Winkler <winkler@gnu.org>
13902
13903 * faces.el (read-face-name): Behave as promised by the docstring.
13904 Assume that arg default is a list of faces.
13905 (describe-face): Call read-face-name with list of default faces.
13906
2575da50
TV
139072013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13908
13909 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13910 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13911 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13912 the header.
13913 (bookmark-exit-hook-internal): Save even if list is empty.
13914
397703b4
YH
139152013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13916
13917 * emacs-lisp/package.el (package-pinned-packages): New var.
13918 (package--add-to-archive-contents): Obey it (bug#14118).
13919
691e26ae
AM
139202013-04-03 Alan Mackenzie <acm@muc.de>
13921
8a621d53
JB
13922 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13923 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13924
13925 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13926 parameter `not-in-delimiter'. Handle being inside comment opener.
13927 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13928 character in case we're typing a '*' after a '/'.
13929 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13930 instead by passing the parameter to c-state-pp-to-literal.
13931
13932 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13933 for elt. 7 of a parse state.
13934
4b725a70
PE
139352013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13936
13937 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13938 * international/latin1-disp.el, international/mule-util.el:
13939 * language/cyril-util.el, language/european.el, language/ind-util.el:
13940 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13941 * language/tibetan.el, language/viet-util.el:
13942 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13943
15c579f0
SM
139442013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13947 (electric-pair-post-self-insert-function): Use it.
13948 (electric-pair-default-inhibit): New function, extracted from
13949 electric-pair-post-self-insert-function.
13950
a77e2924
RW
139512013-03-31 Roland Winkler <winkler@gnu.org>
13952
13953 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13954
2bd8a4a8
SM
139552013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13956
13957 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13958
8d3655be 139592013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13960
13961 Un-indent after "pass" and "return" statements (Bug#13888)
13962 * progmodes/python.el (python-indent-block-enders): New var.
13963 (python-indent-calculate-indentation): Use it.
13964
8d3655be 139652013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13966
13967 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13968 defun. Defining it as defalias could introduce too eager
13969 byte-compiler optimization. (Bug#14030)
13970
8d3655be 139712013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13972
13973 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13974
0b1619da
LL
139752013-03-30 Leo Liu <sdl.web@gmail.com>
13976
13977 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13978 (kmacro-execute-from-register): Pass the keyboard macro to
13979 kmacro-call-macro or repeating won't work correctly.
13980
0b938190
TZ
139812013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13982
13983 * progmodes/subword.el: Back to using `forward-symbol'.
13984
13985 * subr.el (forward-whitespace, forward-symbol)
13986 (forward-same-syntax): Move from thingatpt.el.
13987
35710234
LL
139882013-03-29 Leo Liu <sdl.web@gmail.com>
13989
13990 * kmacro.el (kmacro-to-register): New command.
13991 (kmacro-execute-from-register): New function.
13992 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13993
efc0bb73
SM
139942013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * mpc.el: Use defvar-local and setq-local.
13997 (mpc--proc-connect): Connection failures are not bugs.
13998 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13999 (mpc-volume-map): Bind to the up-events.
14000
75a2f981
TZ
140012013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14002
14003 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14004 instead of `forward-symbol'.
14005
17c781d1
SM
140062013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14007
14008 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14009 (edebug--recursive-edit): Use it.
14010 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14011 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14012
f67bfbcf
LL
140132013-03-28 Leo Liu <sdl.web@gmail.com>
14014
14015 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14016
b59f639d
EZ
140172013-03-27 Eli Zaretskii <eliz@gnu.org>
14018
14019 * facemenu.el (list-colors-callback): New defvar.
14020 (list-colors-redisplay): New function.
14021 (list-colors-display): Install list-colors-redisplay as the
14022 revert-buffer-function. (Bug#14063)
14023
f557c1b1
SM
140242013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14025
b1da2957
SM
14026 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14027 and suffixes don't overlap (bug#14061).
14028
f557c1b1
SM
14029 * case-table.el: Use lexical-binding.
14030 (case-table-get-table): New function.
14031 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14032
002668e1
TZ
140332013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14034
14035 * progmodes/subword.el: Add `superword-mode' to do word motion
14036 over symbol_words (parallels and leverages `subword-mode' which
14037 does word motion inside MixedCaseWords).
14038
73572c72
AG
140392013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14040
78b8f320 14041 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 14042 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 14043
69b2c07e
SM
140442013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14045
14046 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14047 Change return value to be a sexp. Delay `get-buffer' to after
14048 restoring the desktop (bug#13951).
14049
08bb5ee2
LL
140502013-03-26 Leo Liu <sdl.web@gmail.com>
14051
14052 * register.el: Move semantic tag handling back to
14053 cedet/semantic/senator.el. (Bug#14052)
14054
8d4c974e
SM
140552013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14058 into the prompt either (bug#13963).
14059
b234d92c
SM
140602013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14061
14062 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14063 part of "(error-foo)".
14064
ddfa3cb4
JL
140652013-03-24 Juri Linkov <juri@jurta.org>
14066
14067 * replace.el (list-matching-lines-prefix-face): New defcustom.
14068 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14069 `occur-engine' if `face-differs-from-default-p' returns t.
14070 (occur-engine): Add `,' inside backquote construct to evaluate
14071 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14072 Pass `prefix-face' to the functions `occur-context-lines' and
14073 `occur-engine-add-prefix'.
14074 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14075 `prefix-face' and propertize the prefix with `prefix-face'.
14076 (Bug#14017)
14077
7b0e2f85
LL
140782013-03-24 Leo Liu <sdl.web@gmail.com>
14079
14080 * nxml/rng-valid.el (rng-validate-while-idle)
14081 (rng-validate-quick-while-idle): Guard against deleted buffer.
14082 (Bug#13999)
14083
14084 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14085 is the last entry in kill-buffer-hook.
14086
14087 * files.el (kill-buffer-hook): Doc fix.
14088
b3082f49
DG
140892013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14090
b234d92c
SM
14091 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14092 Make it safe-local.
bde73d27 14093
b3082f49
DG
14094 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14095
a320a2db
LL
140962013-03-23 Leo Liu <sdl.web@gmail.com>
14097
7e74b0fb
LL
14098 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14099 Remove.
14100
14101 * nxml/rng-valid.el (rng-validate-mode)
14102 (rng-after-change-function, rng-do-some-validation):
14103 * nxml/rng-maint.el (rng-validate-buffer):
14104 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14105 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14106 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14107 (nxml-extend-after-change-region): Use with-silent-modifications.
14108
a320a2db
LL
14109 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14110 timer-idle-list.
14111
14112 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14113 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14114 timer-idle-list. (Bug#13999)
14115
e38e6780
JL
141162013-03-23 Juri Linkov <juri@jurta.org>
14117
14118 * info.el (info-index-match): New face.
14119 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14120 main pattern and add text properties with the new face to matches
14121 in index entries relative to the beginning of the index entry.
14122 (Bug#14015)
14123
e8cc7880
DE
141242013-03-21 Eric Ludlam <zappo@gnu.org>
14125
39c87140 14126 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14127 Inhibit read only while inserting objects.
14128
9bb0d822
TZ
141292013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14130
14131 * progmodes/cfengine.el: Update docs to mention
14132 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14133 symbol motion. Remove "_" from the word syntax.
14134
aa703640
TZ
141352013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14136
14137 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14138 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14139
afff09d0
JL
141402013-03-20 Juri Linkov <juri@jurta.org>
14141
14142 * info.el (Info-next-reference-or-link)
14143 (Info-prev-reference-or-link): New functions.
14144 (Info-next-reference, Info-prev-reference): Use them.
14145 (Info-try-follow-nearest-node): Handle footnote navigation.
14146 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14147
9a1ff164
SM
141482013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14149
14150 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14151 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14152
2667d15d
PE
141532013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14154
14155 Suppress unnecessary non-ASCII chatter during build process.
14156 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14157 (batch-skkdic-convert): Suppress most of the chatter.
14158 It's not needed so much now that machines are faster,
14159 and its non-ASCII component was confusing; see Dmitry Gutov in
14160 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14161
438b0579
LL
141622013-03-20 Leo Liu <sdl.web@gmail.com>
14163
14164 * ido.el (ido-chop): Fix bug#10994.
14165
c128ab07
DG
141662013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14167
14168 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14169 Remove vars.
9a1ff164
SM
14170 (whitespace-color-on, whitespace-color-off):
14171 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14172
0e6008c5
SM
141732013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14174
14175 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14176 remapping in mode-line.
14177 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14178
627b52b0
DG
141792013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14180
14181 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14182 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14183 (whitespace-font-lock-keywords): Change description.
14184 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14185 the constructed keywords instead.
14186 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14187
50c3a20b
LL
141882013-03-19 Leo Liu <sdl.web@gmail.com>
14189
14190 * progmodes/compile.el (compilation-display-error): New command.
14191 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14192 C-o. (Bug#13992)
14193
2aa2157b
PE
141942013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14195
14196 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14197
e477dbfa
JD
141982013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14199
14200 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14201
64ab82d1
MA
142022013-03-18 Michael Albinus <michael.albinus@gmx.de>
14203
14204 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14205
14206 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14207 * net/tramp-gvfs.el (top):
14208 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14209 (tramp-handle-shell-command): Use it.
14210 (tramp-dissect-file-name): Raise an error when hostname is a
14211 method name, and neither method nor user is specified.
14212
14213 * net/trampver.el: Update release number.
14214
33cef733
LL
142152013-03-18 Leo Liu <sdl.web@gmail.com>
14216
14217 Make sure eldoc can be turned off properly.
14218 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14219 eldoc-mode.
14220 (eldoc-display-message-p): Revert last change.
14221 (eldoc-display-message-no-interference-p)
14222 (eldoc-print-current-symbol-info): Tweak.
14223
2167b7b2
TH
142242013-03-18 Tassilo Horn <tsdh@gnu.org>
14225
14226 * doc-view.el (doc-view-new-window-function): Check the new window
14227 overlay's display property instead the char property of the
14228 buffer's first char. Use `with-selected-window' instead of
14229 `save-window-excursion' with `select-window'.
14230 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14231 display property instead the char property of the buffer's first char.
2167b7b2 14232
982efbcd
PE
142332013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14234
14235 Automate the build of ja-dic.el (Bug#13984).
14236 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14237 from the input, rather than assume that it's been done for us by the
14238 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14239 the current date into a ja-dic.el comment, as that complicates
14240 regression testing.
14241
2fcc7665
SM
142422013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * whitespace.el: Fix double evaluation.
14245 (whitespace-space, whitespace-hspace, whitespace-tab)
14246 (whitespace-newline, whitespace-trailing, whitespace-line)
14247 (whitespace-space-before-tab, whitespace-indentation)
14248 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14249 obsolete defvars.
14250 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14251 (whitespace-color-on): Use a single font-lock-add-keywords call.
14252 Fix double-evaluation of face variables.
14253
67c0a6e6
MA
142542013-03-17 Michael Albinus <michael.albinus@gmx.de>
14255
2fcc7665
SM
14256 * net/tramp-adb.el (tramp-adb-parse-device-names):
14257 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14258 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14259
69489f1d
LL
142602013-03-17 Leo Liu <sdl.web@gmail.com>
14261
14262 Extend eldoc to display info in the mode-line. (Bug#13978)
14263 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14264 (eldoc-mode-line-string): New variable.
14265 (eldoc-minibuffer-message): New function.
14266 (eldoc-message-function): New variable.
14267 (eldoc-message): Use it.
14268 (eldoc-display-message-p)
2fcc7665
SM
14269 (eldoc-display-message-no-interference-p):
14270 Support eldoc-post-insert-mode.
69489f1d
LL
14271
14272 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14273 (eval-expression): Run it.
14274
9c44569e
RW
142752013-03-17 Roland Winkler <winkler@gnu.org>
14276
14277 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14278 strings in the list of return values.
14279
327f1f6f
JB
142802013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14281
14282 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14283 radix before checking for HMS forms.
14284
67ed8fcd
LL
142852013-03-16 Leo Liu <sdl.web@gmail.com>
14286
14287 * progmodes/scheme.el: Add indentation and font-locking for λ.
14288 (Bug#13975)
14289
78be8b64 142902013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14291
14292 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14293 token before point (bug#13942).
14294
78be8b64 142952013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14296
95b43468 14297 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14298
98e775e6
EZ
142992013-03-16 Eli Zaretskii <eliz@gnu.org>
14300
14301 * startup.el (command-line-normalize-file-name): Fix handling of
14302 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14303 <xfq.free@gmail.com> in
14304 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14305
2edd6029
MA
143062013-03-15 Michael Albinus <michael.albinus@gmx.de>
14307
14308 Sync with Tramp 2.2.7.
14309
14310 * net/trampver.el: Update release number.
14311
d35f5864
TH
143122013-03-14 Tassilo Horn <tsdh@gnu.org>
14313
e903c210 14314 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14315 (doc-view-insert-image): Don't modify overlay associated to
14316 non-live windows, and implement horizontal centering of image in
14317 case it's smaller than the window.
14318 (doc-view-new-window-function): Force redisplay of new windows on
14319 doc-view buffers.
d35f5864 14320
1c4a85ed
KF
143212013-03-13 Karl Fogel <kfogel@red-bean.com>
14322
14323 * saveplace.el (save-place-alist-to-file): Don't sort
14324 `save-place-alist', just pretty-print it (bug#13882).
14325
85b66a21
MA
143262013-03-13 Michael Albinus <michael.albinus@gmx.de>
14327
a020afb9
JB
14328 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14329 Check whether `default-file-name-coding-system' is bound.
14330 It isn't in XEmacs.
85b66a21 14331
175600da
SM
143322013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14333
e7f7cb1a
SM
14334 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14335 backquotes for `obsolete' (bug#13929).
14336
175600da
SM
14337 * international/mule.el (find-auto-coding): Include file name in
14338 obsolescence warning (bug#13922).
14339
ca68a22e
TZ
143402013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14341
14342 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14343 for CFEngine 3-specific indentation.
14344 (cfengine3-indent-line): Use it. Fix up category regex.
14345 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14346
940e5099
SM
143472013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14348
14349 * type-break.el (type-break-file-name):
14350 * textmodes/remember.el (remember-data-file):
14351 * strokes.el (strokes-file):
14352 * shadowfile.el (shadow-initialize):
14353 * saveplace.el (save-place-file):
14354 * ps-bdf.el (bdf-cache-file):
14355 * progmodes/idlwave.el (idlwave-config-directory):
14356 * net/quickurl.el (quickurl-url-file):
14357 * international/kkc.el (kkc-init-file-name):
14358 * ido.el (ido-save-directory-list-file):
14359 * emulation/viper.el (viper-custom-file-name):
14360 * emulation/vip.el (vip-startup-file):
14361 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14362 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14363
cc725808
PE
143642013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14365
14366 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14367 * language/thai-word.el: Switch to UTF-8.
14368
a020afb9 14369See ChangeLog.16 for earlier changes.
e3d51b27
MR
14370
14371;; Local Variables:
14372;; coding: utf-8
e3d51b27
MR
14373;; End:
14374
ba318903 14375 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14376
14377 This file is part of GNU Emacs.
14378
14379 GNU Emacs is free software: you can redistribute it and/or modify
14380 it under the terms of the GNU General Public License as published by
14381 the Free Software Foundation, either version 3 of the License, or
14382 (at your option) any later version.
14383
14384 GNU Emacs is distributed in the hope that it will be useful,
14385 but WITHOUT ANY WARRANTY; without even the implied warranty of
14386 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14387 GNU General Public License for more details.
14388
14389 You should have received a copy of the GNU General Public License
14390 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.