lisp/vc/vc.el (vc-rollback): Use set-buffer-modified-p.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
835af719
JB
12014-03-23 Juanma Barranquero <lekktu@gmail.com>
2
3 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4
6ddc4422
DC
52014-03-23 Daniel Colascione <dancol@dancol.org>
6
7 Change subword-mode to use `find-word-boundary-function-table' and
8 replace `capitalized-words-mode'. Also, convert to lexical
9 binding.
10
11 * progmodes/cap-words.el: Delete now-obsolete file.
12 * progmodes/subword.el: Reimplement using
13 `find-word-boundary-function-table'.
14 (subword-mode-map): Hollow out.
15 (capitalized-words-mode): Define as obsolete alias for
16 `subword-mode'.
17 (subword-mode,superword-mode): Tweak documentation to reflect new
18 implementation; call `subword-setup-buffer'.
19 (subword-forward,subword-capitalize): Add underscore to indicate
20 unused variable.
21 (subword-find-word-boundary-function-table): New constant.
22 (subword-empty-char-table): New constant.
23 (subword-setup-buffer): New function.
24 (subword-find-word-boundary): New function.
25
c6b0fbe7
DC
262014-03-23 Daniel Colascione <dancol@dancol.org>
27
28 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
29 list to look for keyword arguments instead of `memq', fixing
30 (Bug#3647) --- unfortunately, only for freshly-compiled code.
31 Please make bootstrap.
32
5076d275
GM
332014-03-22 Glenn Morris <rgm@gnu.org>
34
5dbc3244
GM
35 * dired.el (dired-read-regexp): Make obsolete.
36 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
37 (dired-flag-files-regexp):
38 * dired-aux.el (dired-mark-read-regexp):
39 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
40
00156f95
GM
41 * startup.el (fancy-startup-text):
42 * help.el (describe-gnu-project): Visit online info about GNU project.
43
f9c81e7b
GM
44 * help-fns.el (help-fns--interactive-only): New function.
45 (help-fns-describe-function-functions): Add the above function.
46 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
47 (next-line, previous-line): Remove hand-written interactive-only
48 information from doc strings, it is auto-generated now.
49 * bookmark.el (bookmark-write):
50 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
51 (epa-mail-import-keys): Mark interactive-only,
52 and remove hand-written interactive-only information from doc strings.
53 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
54 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
55 * files.el (not-modified):
56 * simple.el (mark-whole-buffer): Mark interactive-only.
57
5076d275
GM
58 * emacs-lisp/byte-run.el (defun-declarations-alist):
59 Add interactive-only. Doc tweak.
60 (macro-declarations-alist): Doc tweak.
61 * subr.el (declare): Doc tweak (add xref to manual).
62 * comint.el (comint-run):
63 * files.el (insert-file-literally, insert-file):
64 * replace.el (replace-string, replace-regexp):
65 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
66 (delete-forward-char, goto-line, insert-buffer, next-line)
67 (previous-line): Set interactive-only via declare.
68
1197f2e6
DG
692014-03-22 Dmitry Gutov <dgutov@yandex.ru>
70
71 * emacs-lisp/package.el (package-desc): Use the contents of the
72 quoted form, not its cdr. (Bug#16873)
73
aac06179
JB
742014-03-22 Juanma Barranquero <lekktu@gmail.com>
75
76 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
77 benefit of doc.c; change parameter profile to match the X function.
78
3e7bc044
LL
792014-03-22 Leo Liu <sdl.web@gmail.com>
80
81 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
82 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
83
59271b3e
RS
842014-03-21 Richard Stallman <rms@gnu.org>
85
8266cd88
RS
86 * battery.el (battery-linux-sysfs): Search for each field
87 from the beginning of the buffer.
88
16ec0742
RS
89 * subr.el (set-transient-map): Clear out function and value
90 of the temporary symbol when we're done with it.
91
59271b3e
RS
92 * mail/rmailsum.el (rmail-summary-delete-forward):
93 Optimize case of reaching end and handling count.
94 (rmail-summary-mark-deleted): Optimize when N is current msg.
95 Don't create new summary line.
96 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
97 (rmail-summary-undelete-many): Rewrite for speed.
98 (rmail-summary-msg-number): New function.
99
100 * mail/rmail.el (rmail-delete-message): Update summary.
101 (rmail-undelete-previous-message): Handle repeat count arg.
102 (rmail-delete-backward, rmail-delete-forward): Likewise.
103
0d8ac93e
DC
1042014-03-21 Daniel Colascione <dancol@dancol.org>
105
106 * mail/emacsbug.el (report-emacs-bug): Include memory usage
107 information in bug reports.
108
1e92a8a3
MA
1092014-03-21 Michael Albinus <michael.albinus@gmx.de>
110
111 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
112 and `tramp-copy-env'.
113
114 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
115 (tramp-maybe-open-connection): Handle `tramp-login-env'.
116
78540c42
GM
1172014-03-21 Glenn Morris <rgm@gnu.org>
118
119 * electric.el (electric-indent-post-self-insert-function): Add doc.
120
1fc8f655
DG
1212014-03-21 Dmitry Gutov <dgutov@yandex.ru>
122
dcf78667
DG
123 * emacs-lisp/package.el (package-compute-transaction):
124 Use `version-list-<=' to compare the requirement version against
125 the version of package already to be installed. Update the error
126 message. (Bug#16826)
127
1fc8f655
DG
128 * progmodes/ruby-mode.el (ruby-smie-rules):
129 Add indentation rule for ` @ '. (Bug#17050)
130
dada060d
JB
1312014-03-21 Juanma Barranquero <lekktu@gmail.com>
132
133 * align.el (align-regexp): Remove superfluous backslash.
134
135 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
136 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
137 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
138 Fix docstring typos.
139 (ffap-next): Use C-u in docstring.
140 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
141 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
142 Remove superfluous backslashes.
143 (ffap-string-at-point): Reflow docstring.
144
145 * server.el (server-host): Reflow docstring.
146 (server-unload-function): Fix docstring typo.
147 (server-eval-at): Remove superfluous backslash.
148
149 * skeleton.el (skeleton-insert): Remove superfluous backslash.
150 (skeleton-insert): Doc fix.
151 (skeleton-insert): Reflow docstring.
152
153 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
154 (tty-color-approximate, tty-color-by-index, tty-color-values)
155 (tty-color-desc): Remove superfluous backslashes.
156
f428101f
GM
1572014-03-21 Glenn Morris <rgm@gnu.org>
158
26e91130
GM
159 * cus-start.el (history-length): Bump :version.
160
aa3a7b51
GM
161 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
162 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
163 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
164 Don't set `make-backup-files'.
165
f428101f
GM
166 * info.el (info--prettify-description): New function,
167 to give info-finder descriptions consistent case, punctuation.
168 (Info-finder-find-node): Use it. Sort packages.
169 Refer to "description" rather than "commentary".
170
6ce1b56e
JB
1712014-03-21 Juanma Barranquero <lekktu@gmail.com>
172
173 * frameset.el (frameset--print-register): New function.
174 (frameset-to-register): Use it.
175
b730af26
JB
1762014-03-20 Juanma Barranquero <lekktu@gmail.com>
177
45393801
JB
178 * progmodes/hideif.el (hif-string-to-number): New function.
179 (hif-tokenize): Use it to understand non-decimal floats.
180
814e26fa
JB
181 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
182
b730af26
JB
183 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
184
049fac7c
SM
1852014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
186
494ec1e7
SM
187 * electric.el (electric-newline-and-maybe-indent): New command.
188 Bind it globally to C-j.
189 (electric-indent-mode): Don't mess with the global map any more.
190 Don't drop the post-self-insert-hook is some buffer is still using it
191 (bug#16770).
192 * bindings.el (global-map): Remove C-j binding.
193
049fac7c
SM
194 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
195 the docstring of functions advised before dumping (bug#16993).
196
f15ec1ba 1972014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
198
199 * ps-print.el (ps-generate-postscript-with-faces):
200 Explicitly deactivate the mark (bug#16866).
201 * simple.el (deactivate-mark): Update region highlight.
202
f88bdc45
JB
2032014-03-19 Juanma Barranquero <lekktu@gmail.com>
204
205 * emacs-lisp/package.el (describe-package-1):
206 Decode commentary (bug#16733).
207
6b88e570
JB
2082014-03-18 Juanma Barranquero <lekktu@gmail.com>
209
210 * custom.el (defcustom): Doc fix: recommend avoiding destructive
211 modification of the value argument of :set (bug#16755).
212
ac9b4703
SM
2132014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * simple.el (newline-and-indent): Do autofill (bug#17031).
216
2b7858ec
DG
2172014-03-18 Dmitry Gutov <dgutov@yandex.ru>
218
219 * newcomment.el (comment-normalize-vars): Only add escaping check
220 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
221 (comment-beginning): Use `narrow-to-region' instead of moving back
222 one character.
223 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
224 (comment-start-skip): Update the docstring.
225
11eff3ae
RS
2262014-03-18 Richard Stallman <rms@gnu.org>
227
228 * dired.el (dired-display-file): Force use of other window.
229
07f44fdb
JB
2302014-03-18 Daniel Colascione <dancol@dancol.org>
231
232 * startup.el (tty-handle-args): Remove debug message from 2007.
233
2342014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
235
236 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
237 (advice--make-interactive-form): Use it to avoid (auto)loading function.
238 (advice--make-1, advice-add, advice-remove):
239 Remove braindead :advice-pending hack.
240
61debe4a
GM
2412014-03-17 Glenn Morris <rgm@gnu.org>
242
243 * calendar/calendar.el (calendar-generate-month): Apply weekend
244 face to the right days; fixes 2013-08-06 change. (Bug#17028)
245
8273986b
MA
2462014-03-17 Michael Albinus <michael.albinus@gmx.de>
247
248 * net/tramp.el (tramp-action-out-of-band): Read pending output.
249 (tramp-call-process): Trace also DESTINATION.
250
251 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
252 Quote file names when they are local. Remove superfluous trace.
253
4f8aeb84
DG
2542014-03-17 Dmitry Gutov <dgutov@yandex.ru>
255
218feefc
DG
256 * newcomment.el (comment-beginning): If `comment-start-skip'
257 doesn't match, move back one char and try again. (Bug#16971)
258
6c187ef5
SM
259 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
260 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
261 Set `comment-start-skip' to a simpler value that doesn't try to
262 check if the semicolon is escaped (this is handled by
263 `syntax-ppss' now). (Bug#16971)
264
265 * progmodes/scheme.el (scheme-mode-variables): Same.
266
b92631bf
MR
2672014-03-16 Martin Rudalics <rudalics@gmx.at>
268
269 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
270 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
271 current (Bug#16816, Bug#17007).
272 (with-current-buffer-window): New macro doing the same as
273 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
274 * help.el (help-print-return-message): Warn in doc-string to not
275 use this in `with-help-window'.
276 (describe-bindings-internal): Call `describe-buffer-bindings'
277 from within help buffer. See Juanma's scenario in (Bug#16816).
278 (with-help-window): Update doc-string.
279 * dired.el (dired-mark-pop-up):
280 * files.el (save-buffers-kill-emacs):
281 * register.el (register-preview): Use `with-current-buffer-window'
282 instead of `with-temp-buffer-window'.
283
57348c4d
JB
2842014-03-16 Juanma Barranquero <lekktu@gmail.com>
285
286 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
287 Implement inserting into current buffer, documented in their docstrings.
288 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
289 (rst-section-tree-point, rst-forward-section, rst-indent)
290 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
291 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
292 (rst-font-lock-handle-adornment-pre-match-form)
293 (rst-repeat-last-character): Reflow docstrings.
294 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
295 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
296 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
297 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
298 Fix docstring typos.
299 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
300 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
301 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
302
fd16b061
JB
3032014-03-15 Juanma Barranquero <lekktu@gmail.com>
304
a2403e3d
JB
305 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
306 for compatibility with other ports.
307 (ns-initialize-window-system): Use it. It is set in term/common-win.el
308 from the -xrm command line argument, but in the Nextstep port its value
309 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
310
fd16b061
JB
311 * progmodes/python.el (defconst, python-syntax-count-quotes)
312 (python-indent-region, python-indent-shift-right)
313 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
314 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
315 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
316 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
317 (inferior-python-mode, python-shell-make-comint, run-python-internal)
318 (python-shell-buffer-substring, python-shell-send-buffer)
319 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
320 (python-completion-complete-at-point, python-fill-docstring-style)
321 (python-eldoc-function, python-imenu-format-item-label)
322 (python-imenu-format-parent-item-label)
323 (python-imenu-format-parent-item-jump-label)
324 (python-imenu--build-tree, python-imenu-create-index)
325 (python-imenu-create-flat-index): Fix docstring typos.
326 (python-indent-context, python-shell-prompt-regexp, run-python):
327 Remove superfluous backslashes.
328 (python-indent-line, python-nav-beginning-of-defun)
329 (python-shell-get-buffer, python-shell-get-process)
330 (python-info-current-defun, python-info-current-line-comment-p)
331 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
332 (python-indent-post-self-insert-function, python-shell-send-file)
333 (python-shell-completion-get-completions)
334 (python-shell-completion-complete-or-indent)
335 (python-eldoc--get-doc-at-point): Reflow docstrings.
336
e94807f0
GM
3372014-03-14 Glenn Morris <rgm@gnu.org>
338
88103345
GM
339 * emacs-lisp/package.el (package-menu-mode-map):
340 Replace use of obsolete function alias. Tweak menu item text.
341
f2dd4ba8
GM
342 * info.el (Info-finder-find-node):
343 Ignore the `emacs' metapackage. (Bug#10813)
344
ac0f82ef
GM
345 * finder.el (finder-list-matches): Include unversioned packages
346 in the result of a keyword search.
347
e94807f0
GM
348 * finder.el (finder--builtins-descriptions): New constant.
349 (finder-compile-keywords): Use finder--builtins-descriptions.
350
50d434d1
DG
3512014-03-14 Dmitry Gutov <dgutov@yandex.ru>
352
353 * simple.el (blink-matching-paren): Describe the new value,
354 `jump', enabling the old behavior.
355 (blink-matching-open): Use that value. (Bug#17008)
356
56759cf1
GM
3572014-03-14 Glenn Morris <rgm@gnu.org>
358
459d74ef
GM
359 * finder.el (finder-no-scan-regexp): Add leim-list.
360 (finder-compile-keywords):
361 Don't skip files with same basename. (Bug#14010)
362 * Makefile.in (setwins_finder): New, excluding leim.
363 (finder-data): Use setwins_finder.
364
56759cf1
GM
365 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
366 (help-function-arglist, help-make-usage): Move from here...
367 * help.el (help-split-fundoc, help-add-fundoc-usage)
368 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
369 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
370
7644aa97
JB
3712014-03-14 Juanma Barranquero <lekktu@gmail.com>
372
373 * net/socks.el (socks, socks-override-functions)
fd16b061 374 (socks-find-services-entry):
7644aa97
JB
375 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
376 (hif-find-ifdef-block):
377 * progmodes/modula2.el (m2-indent): Fix docstring typos.
378
379 * net/tls.el (tls-program): Reflow docstring.
380
381 * progmodes/pascal.el (pascal-mode-abbrev-table)
382 (pascal-imenu-generic-expression, pascal-auto-endcomments)
383 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
384 (pascal-outline-mode): Fix docstring typos.
385 (pascal-mode): Let define-derived-mode document mode hook.
386 (pascal-uncomment-area): Reflow.
387 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
388
389 * progmodes/opascal.el (opascal-compound-block-indent)
390 (opascal-case-label-indent): Fix docstring typos.
391 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
392
1f44df94
DG
3932014-03-13 Dmitry Gutov <dgutov@yandex.ru>
394
07f44fdb
JB
395 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
396 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 397
0d71dfb3
TW
3982014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
399
400 * emacs-lisp/package.el (package--prepare-dependencies):
401 Accept requirements without explicit version (bug#14941).
402
d27a1a7b
JB
4032014-03-12 Juanma Barranquero <lekktu@gmail.com>
404
a5765a3d
JB
405 * register.el (register-separator, copy-to-register): Doc fixes.
406 (register-preview-default): Remove unnecessary call to concat.
407
d27a1a7b
JB
408 * frameset.el (frameset-restore): When checking for a visible frame,
409 use the action map instead of calling visible-frame-list.
410
08dfa0b7
JB
4112014-03-12 Jonas Bernoulli <jonas@bernoul.li>
412
413 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
414
8960529e
MR
4152014-03-12 Martin Rudalics <rudalics@gmx.at>
416
417 * window.el (fit-frame-to-buffer): Get maximum width from
418 display's width instead of height.
419
8a51e8e4
GM
4202014-03-12 Glenn Morris <rgm@gnu.org>
421
46456005
GM
422 * desktop.el (desktop-restore-frames)
423 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
424 (desktop-restore-reuses-frames): Doc tweaks.
425
8a51e8e4
GM
426 * electric.el (electric-indent-mode): Doc fix.
427
5983b317
JB
4282014-03-12 Juanma Barranquero <lekktu@gmail.com>
429
430 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
431 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
432 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
433 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
434 (cvs-dired-use-hook): Fix docstring typos.
435 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
436 Doc fixes.
437
438 * vc/pcvs-defs.el (cvs-auto-remove-handled)
439 (cvs-auto-remove-directories, cvs-default-ignore-marks)
440 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
441 (cvs-execute-single-dir): Fix docstring typos.
442
443 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
444 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
445
446 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
447
448 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
449 Fix docstring typos.
450
13c00cf0
JB
4512014-03-12 Juanma Barranquero <lekktu@gmail.com>
452
453 * frameset.el (frameset--jump-to-register): Add autoload; it could be
454 called from jump-to-register after unloading the frameset package.
455
536a17e3
SM
4562014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
459 (bug#16975). Deactivate the mark before setting it to nil.
460 (activate-mark): Do nothing if region is already active.
461
baf8d0ac
JB
4622014-03-11 Juanma Barranquero <lekktu@gmail.com>
463
464 * frameset.el (frameset--target-display): Remove definition; declare.
465 (frameset-save, frameset-restore): Let-bind frameset--target-display.
466
1ea22560
SM
4672014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
470 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
471 when the advice is pending.
472 (advice-remove): Remove this marker when not needed any more.
473
4538c058
JB
4742014-03-11 Juanma Barranquero <lekktu@gmail.com>
475
476 * frameset.el: Separate options for reusing frames and cleaning up.
477 (frameset--reuse-list): Remove definition; declare.
478 (frameset--action-map): Declare.
479 (frameset--find-frame-if): Doc fix.
480 (frameset--restore-frame): Cache frame action.
481 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
482 how to clean up the frame list after restoring. Remove cleaning
483 options from REUSE-FRAMES. Change all keyword values to symbols.
484 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
485
486 * desktop.el (desktop-restore-forces-onscreen)
487 (desktop-restore-reuses-frames): Use non-keyword values.
488 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
489
ba1a5c78
GM
4902014-03-10 Glenn Morris <rgm@gnu.org>
491
776aa432
GM
492 * files.el (find-file): Doc fix: update info node name.
493
ba1a5c78
GM
494 * emacs-lisp/advice.el (ad-add-advice, defadvice):
495 Doc fix: remove references to deleted info nodes.
496
183d706e
MA
4972014-03-10 Michael Albinus <michael.albinus@gmx.de>
498
499 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
500 Do not add `nil' to the environment, when there's no remote `locale'.
501 (tramp-find-inline-encoding): Check, that the remote host has
502 installed perl, before sending scripts.
503
6f0f96e7
LL
5042014-03-10 Leo Liu <sdl.web@gmail.com>
505
536a17e3
SM
506 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
507 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 508
ca70fe78
SM
5092014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
512 (bug#14430).
513
eb67db41
JL
5142014-03-09 Juri Linkov <juri@jurta.org>
515
516 * ansi-color.el (ansi-color-names-vector): Copy default colors
517 from `xterm-standard-colors' that look well on the default white
518 background (and also on the black background) to avoid illegible
8cf07e5a 519 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
520 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
521
e7db5447
JB
5222014-03-08 Juanma Barranquero <lekktu@gmail.com>
523
524 * frameset.el (frameset-restore): When no frame is visible, do not
525 generate a list of frames, just make visible the selected one.
526
f0a4c8d7
DG
5272014-03-08 Dmitry Gutov <dgutov@yandex.ru>
528
529 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
530 it only contains the repository root. (Bug#16897)
531
e50772e3
MA
5322014-03-07 Michael Albinus <michael.albinus@gmx.de>
533
534 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
535 only when `remote-file-name-inhibit-cache' is nil.
536 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
537
cac0a1d6
MR
5382014-03-06 Martin Rudalics <rudalics@gmx.at>
539
540 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
541 Fix doc-strings.
542 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
543 fit-frame-to-buffer variable. Fix doc-string.
544 (fit-window-to-buffer): Set ONLY argument in call of
545 fit-frame-to-buffer. Fix doc-string.
546
fa965cbf
MA
5472014-03-06 Michael Albinus <michael.albinus@gmx.de>
548
549 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
550 (tramp-action-password): Clear password cache if needed.
551 (tramp-read-passwd): Do not clear password cache.
552
553 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
554 cache unless it is the first password request.
555
c94e6ee4
GM
5562014-03-06 Glenn Morris <rgm@gnu.org>
557
03bc753e
GM
558 * simple.el (newline): Doc tweak.
559
c94e6ee4
GM
560 * emacs-lisp/shadow.el (load-path-shadows-find):
561 Ignore dir-locals. (Bug#12357)
562
bd2d43dc
GM
5632014-03-05 Glenn Morris <rgm@gnu.org>
564
565 * files.el (interpreter-mode-alist):
566 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
567
9284000e
JB
5682014-03-05 Juanma Barranquero <lekktu@gmail.com>
569
570 * frameset.el (frameset--initial-params): Filter out null entries.
571
e1a2cb1c
MR
5722014-03-05 Martin Rudalics <rudalics@gmx.at>
573
27821a89
JB
574 * window.el (window-min-height, window-min-width):
575 Rewrite doc-strings.
e1a2cb1c
MR
576 (window-body-size): Add PIXELWISE argument to make it consistent
577 with its callees.
578
6bf67038
JB
5792014-03-05 Juanma Barranquero <lekktu@gmail.com>
580
581 * finder.el (finder-mode-map, finder-mode-syntax-table):
582 Revert part of 2014-02-28 change.
583
90f04e4c
LI
5842014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
585
586 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
587 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
588 (eww-textarea-map): [tab] doesn't work on tty.
589 Reported by Mario Lang.
6952100d
LI
590
591 * net/shr.el (shr-map): Ditto.
90f04e4c 592
3106d59b
GM
5932014-03-04 Glenn Morris <rgm@gnu.org>
594
595 * minibuffer.el (completion-hilit-commonality):
596 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
597
f604dfdc
JB
5982014-03-04 Juanma Barranquero <lekktu@gmail.com>
599
600 * hilit-chg.el (hilit-chg-unload-function): New function.
601 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
602 (hilit-chg-map-changes): Prefer cardinal number to digit.
603 (hilit-chg-display-changes): Reflow docstring.
604 (highlight-changes-rotate-faces): Remove superfluous backslash.
605
5dc65319
MA
6062014-03-04 Michael Albinus <michael.albinus@gmx.de>
607
608 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
609 `tramp-send-command-and-check'.
610
4242d21d
JB
6112014-03-04 Juanma Barranquero <lekktu@gmail.com>
612
b01fa838
JB
613 * hexl.el (hexl-address-region, hexl-ascii-region)
614 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
615 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
616 (hexl-forward-word, hexl-previous-line, hexl-next-line):
617 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
618 (hexl-mode): Doc fix.
619 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
620 (hexl-mode-ruler): Fix typos in docstrings.
621
4242d21d
JB
622 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
623 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
624 Remove superfluous backslashes.
625 (strokes-last-stroke, strokes-global-map, strokes-mode):
626 Reflow docstrings.
627 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
628 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
629 (strokes-distance-squared, strokes-global-set-stroke)
630 (strokes-global-set-stroke-string): Doc fixes.
631 (strokes-help): Fix typos; reflow docstring.
632
87132570
MR
6332014-03-04 Martin Rudalics <rudalics@gmx.at>
634
635 * window.el (window-in-direction): Fix doc-string.
636
d82e752c
GM
6372014-03-04 Glenn Morris <rgm@gnu.org>
638
639 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
640 Explicit error if no grammar.
641 (smie-config-save): Doc fix. Fix quote typo.
642
62528af0
SM
6432014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
644
8d4901dc
SM
645 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
646 electric-indent-mode-hook if we obey electric-indent-mode.
647 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
648 decide whether we obey electric-indent-mode.
649 (c-change-set-fl-decl-start, c-extend-after-change-region):
650 Silence warnings.
651 (c-electric-indent-mode-hook): Assume we do want to obey
652 electric-indent-mode.
653
654 * electric.el (electric-indent-mode-has-been-called): Remove.
655 (electric-indent-mode): Fix accordingly.
656
092c12b2
SM
657 * files.el (hack-local-variables): Mention file name in warning.
658
62528af0
SM
659 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
660
5b87d0d9
MN
6612014-03-04 Michal Nazarewicz <mina86@mina86.com>
662
663 * binding.el: Add comment describing why C-d binds to `delete-char'.
664 * simple.el (delete-forward-char): Mark as interactive-only.
665
542a3840
JB
6662014-03-03 Juanma Barranquero <lekktu@gmail.com>
667
f2d2402e
GM
668 * icomplete.el (icomplete-completions):
669 Follow-up to 2014-03-01 change.
d11320e5
JB
670
671 * icomplete.el: Miscellaneous doc fixes.
672 Use Icomplete everywhere instead of icomplete for consistency.
673 (icomplete-max-delay-chars): Fix typo.
674 (icomplete-mode): Use \[].
675 (icomplete-tidy, icomplete-exhibit): Reflow.
676 (icomplete-minibuffer-setup-hook, icomplete-completions):
677 Remove superfluous backlashes.
678
679 * ido.el: Miscellaneous doc fixes.
680 Use Ido everywhere instead of ido or `ido' for consistency.
681 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
682 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
683 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
684 (ido-separator): Extract obsolescence info from docstring and declare
685 with make-obsolete-variable.
686 (ido-minibuffer-setup-hook): Simplify example.
687 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
688 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
689 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
690 (ido-everywhere): Reflow docstring.
691 (ido-toggle-vc): Doc fix.
692 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
693 of long list of keybindings.
694
7ebd57e9
GM
6952014-03-03 Glenn Morris <rgm@gnu.org>
696
697 * frame.el (display-pixel-height, display-pixel-width)
698 (display-mm-dimensions-alist, display-mm-height)
699 (display-mm-width): Doc tweaks.
700
35e951cd 7012014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
702
703 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
704 case of undo in region.
705
b923819c
MR
7062014-03-02 Martin Rudalics <rudalics@gmx.at>
707
708 * window.el (fit-window-to-buffer): Fix argument in window-size
709 call when window is horizontally combined.
710
b6e443c5
JB
7112014-03-02 Juanma Barranquero <lekktu@gmail.com>
712
713 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 714 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 715
1850913d
DG
7162014-03-01 Dmitry Gutov <dgutov@yandex.ru>
717
35e951cd
JB
718 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
719 Highlight regexp options. (Bug#16914)
1850913d 720
04b577b6
MR
7212014-03-01 Martin Rudalics <rudalics@gmx.at>
722
723 * window.el (window--max-delta-1): Round down when calculating
724 how many lines/columns we can get from a window.
725
b829360f
GM
7262014-03-01 Glenn Morris <rgm@gnu.org>
727
2501c912
GM
728 * isearch.el (search-invisible): Doc fix.
729
b829360f
GM
730 * minibuffer.el (completion-hilit-commonality):
731 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
732 * comint.el (comint-dynamic-list-completions): Doc fix.
733 * comint.el (comint-dynamic-list-completions):
734 * filecache.el (file-cache-minibuffer-complete):
735 * tempo.el (tempo-display-completions):
736 * eshell/em-hist.el (eshell-list-history):
737 Replace use of obsolete argument of display-completion-list.
738
9a155058
JB
7392014-03-01 Juanma Barranquero <lekktu@gmail.com>
740
741 * icomplete.el (icomplete-completions):
742 Revert back to using "..." when ?… cannot be displayed.
743
53f6cda8
JB
7442014-02-28 Juanma Barranquero <lekktu@gmail.com>
745
746 * finder.el (finder-unload-function): New function.
747
43977c23
JB
7482014-02-28 Juanma Barranquero <lekktu@gmail.com>
749
750 * dframe.el (dframe-detach):
751 * find-dired.el (find-dired, find-name-dired):
752 * finder.el (finder-mode-map, finder-mode-syntax-table)
753 (finder-headmark, finder-select, finder-mouse-select):
754 Fix docstring typos.
755
9dda75ad
MR
7562014-02-28 Martin Rudalics <rudalics@gmx.at>
757
758 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
759 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
760 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
761 Fix doc-string based on a suggestion by Nicolas Richard
762 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
763 * help.el (with-help-window): Fix doc-string.
764
8a73034e
IK
7652014-02-28 Ivan Kanis <ivan@kanis.fr>
766
b70257b0
GM
767 * net/shr.el (shr-image-animate): New option.
768 (shr-put-image): Respect shr-image-animate.
8a73034e 769
245aa73e
MA
7702014-02-28 Michael Albinus <michael.albinus@gmx.de>
771
772 * net/tramp-adb.el (tramp-adb-parse-device-names):
773 Use `accept-process-output'.
774 (tramp-adb-handle-file-truename): Cache the localname only.
775 (tramp-adb-handle-make-directory)
776 (tramp-adb-handle-delete-directory): Flush file properties correctly.
777 (tramp-adb-handle-set-file-modes): Do not raise an error when file
778 modes cannot be changed.
779
780 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
781 file properties of symlinks.
782
48e15d64
PS
7832014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
784
785 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
786 required/optional fields to match development biblatex. (Bug#16781)
787
65b77347
AS
7882014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
789
790 * saveplace.el (toggle-save-place):
791 Fix argument handling. (Bug#16673)
792
5e618aba
GM
7932014-02-28 Glenn Morris <rgm@gnu.org>
794
795 * minibuffer.el (completions-first-difference)
796 (completions-common-part, completion-hilit-commonality): Doc fixes.
797
6deb314e
KB
7982014-02-28 Karl Berry <karl@gnu.org>
799
800 * info.el (Info-mode-map): Add H for describe-mode,
801 to synchronize with standalone Info.
802
289996f5
EL
8032014-02-28 Emilio C. Lopes <eclig@gmx.net>
804
805 * progmodes/sql.el (sql-interactive-mode):
806 Avoid setting global comint-input-ring-separator. (Bug#16814)
807
79fc1191
MA
8082014-02-27 Michael Albinus <michael.albinus@gmx.de>
809
810 * net/dbus.el (dbus--init-bus): Declare function.
811 (dbus-path-local, dbus-interface-local): New defconst.
812 (dbus-init-bus): Use them.
813 (dbus-return-values-table): Extend doc.
814 (dbus-handle-bus-disconnect): Extend error message.
815
298520df
JB
8162014-02-27 Juanma Barranquero <lekktu@gmail.com>
817
818 * subr.el (y-or-n-p): Fix double space issue in message.
819
c22c1614
MA
8202014-02-27 Michael Albinus <michael.albinus@gmx.de>
821
822 * net/tramp.el (tramp-call-process): Improve trace message.
823 (tramp-handle-insert-file-contents): Trace error case.
824
825 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
826 <insert-directory>: Use `tramp-handle-insert-directory'.
827 (tramp-adb-handle-insert-directory): Remove function.
828 (tramp-adb-send-command-and-check): New defun, replacing
829 `tramp-adb-command-exit-status'. Change all callees.
830 (tramp-adb-handle-file-attributes)
831 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
832 (tramp-adb-ls-output-name-less-p):
833 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
834 (tramp-adb-handle-delete-directory): Flush also file properties of
835 the truename of directory.
836 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
837 (tramp-adb-handle-file-local-copy): Make the local copy readable.
838 (tramp-adb-handle-write-region): Implement APPEND.
839 (tramp-adb-handle-rename-file): Make it more robust. Flush file
840 properties correctly.
841 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
842 variables. Check for connected devices only when needed.
843
d9263618
GM
8442014-02-27 Glenn Morris <rgm@gnu.org>
845
ea7826ba
GM
846 * minibuffer.el (completion-table-dynamic)
847 (completion-table-with-cache): Doc fixes.
848
d9263618
GM
849 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
850 (completing-read-multiple): Doc fixes.
851
eff3168a
DC
8522014-02-27 Daniel Colascione <dancol@dancol.org>
853
51f213c3
DC
854 * minibuffer.el (completion--nth-completion): Fix indentation.
855
eff3168a
DC
856 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
857 explicit tramp path is empty.
858
b77cfcd7
GM
8592014-02-27 Glenn Morris <rgm@gnu.org>
860
861 * emacs-lisp/crm.el (completing-read-multiple):
862 Empower help-enable-auto-load.
863
9577b569
GM
8642014-02-26 Glenn Morris <rgm@gnu.org>
865
259887e8
GM
866 * startup.el (command-line): Don't init the tty in daemon mode.
867
1d491ef2
GM
868 Avoid calling tty-setup-hook twice, eg if a term file
869 explicitly calls tty-run-terminal-initialization. (Bug#16859)
870 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
871 (tty-create-frame-with-faces): Use it.
872 * startup.el (command-line): Pass run-hook argument
873 to tty-run-terminal-initialization.
874
9577b569
GM
875 * dired.el (dired-restore-desktop-buffer): Demote errors;
876 eg in case a glob match fails. (Bug#16884)
877
40ff7f86
DG
8782014-02-26 Dmitry Gutov <dgutov@yandex.ru>
879
b2388336
DG
880 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
881 error from `read-from-string'. (Bug#16850)
882
40ff7f86
DG
883 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
884 result of `completing-read' in the interactive form. (Bug#16854)
885
98bd6b32
GM
8862014-02-25 Glenn Morris <rgm@gnu.org>
887
f086804c
GM
888 * image.el (image-animate, image-animate-timeout):
889 Stop animating images in dead buffers. (Bug#16878)
890
c107155e
GM
891 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
892
9577b569
GM
893 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
894 Doc fixes.
98bd6b32
GM
895 * startup.el (term-setup-hook): Doc fix. Make obsolete.
896 * term/sun.el (sun-raw-prefix-hooks):
897 Use tty-setup-hook instead of term-setup-hook.
898 (terminal-init-sun): Construct message from bytecomp plist.
899 * term/wyse50.el (enable-arrow-keys): Doc fix.
900
9c9e18e8
JB
9012014-02-24 Juanma Barranquero <lekktu@gmail.com>
902
903 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
904 Fix docstring typos.
905
c848881f
MA
9062014-02-24 Michael Albinus <michael.albinus@gmx.de>
907
908 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
909
0e38ae05
NR
9102014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
911
912 * minibuffer.el (completion--try-word-completion):
913 Fix error when completing M-x commands (bug#16808).
914
8ee4c296
LL
9152014-02-24 Leo Liu <sdl.web@gmail.com>
916
917 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
918
7d4bd627
JB
9192014-02-24 Juanma Barranquero <lekktu@gmail.com>
920
921 * apropos.el (apropos-print): Avoid formatting error when
922 apropos-do-all and apropos-compact-layout are both t.
923
e918e27f
JB
9242014-02-23 Juanma Barranquero <lekktu@gmail.com>
925
926 * apropos.el (apropos-property, apropos-all-words-regexp)
927 (apropos-true-hit, apropos-variable, apropos-print):
928 Fix docstring typos, and remove obsolete comment.
929
85c01f80
MA
9302014-02-23 Michael Albinus <michael.albinus@gmx.de>
931
932 * net/tramp-sh.el (tramp-sh-handle-file-truename):
933 Preserve trailing "/". (Bug#16851)
934
62f95022
DG
9352014-02-23 Dmitry Gutov <dgutov@yandex.ru>
936
937 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
938 after `=>' (bug#16811).
dfdb365c
DG
939 (ruby-smie-rules): Handle the inconsistent second element of the
940 list returned by `smie-indent--parent'.
941 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
942 method call.
62f95022 943
025f2c81
JB
9442014-02-23 Juanma Barranquero <lekktu@gmail.com>
945
946 * elec-pair.el (electric-pair-text-syntax-table)
947 (electric-pair-syntax-info, electric-pair--syntax-ppss)
948 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
949 (electric-pair--looking-at-unterminated-string-p): Doc fix.
950 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
951
123c84f9
GM
9522014-02-22 Glenn Morris <rgm@gnu.org>
953
612c3e46
GM
954 * imenu.el (imenu--generic-function): Doc fix.
955
123c84f9
GM
956 * register.el (frame-configuration-to-register): Make obsolete.
957
e59fa9ad
JB
9582014-02-22 Juanma Barranquero <lekktu@gmail.com>
959
960 * desktop.el (desktop-save-buffer-p): Do not fail when
961 desktop-files-not-to-save is nil. Return t for true result
962 as the doc says.
963
4e652634
DC
9642014-02-22 Daniel Colascione <dancol@dancol.org>
965
27821a89 966 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
967 Check that attribute values are strings, avoiding the construction
968 of invalid dbus messages.
4e652634 969
f35affb6
JB
9702014-02-21 Juanma Barranquero <lekktu@gmail.com>
971
972 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
973 defun-declarations-alist.
974
3d136b1b
SM
9752014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
978 (bug#16829).
979
612ddfc0
JB
9802014-02-21 Juanma Barranquero <lekktu@gmail.com>
981
982 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
983 (whitespace-newline, whitespace-trailing, whitespace-line)
984 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
985 (whitespace-space-after-tab): Fix typo in docstrings.
986
c8481b1b
DG
9872014-02-21 Dmitry Gutov <dgutov@yandex.ru>
988
cb8f50a7
DG
989 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
990
c8481b1b
DG
991 * electric.el (electric-indent-functions-without-reindent):
992 Add `yaml-indent-line'.
993
bed5126f
JB
9942014-02-21 Juanma Barranquero <lekktu@gmail.com>
995
34b71457
JB
996 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
997 It has done nothing for years; should be removed after the release.
998
bed5126f
JB
999 * simple.el (choose-completion): Fix docstring typo.
1000 (read-quoted-char-radix): Remove unneeded * in docstring.
1001 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1002 Don't escape parentheses unnecessarily in docstrings.
1003
8dd3e94f
MR
10042014-02-21 Martin Rudalics <rudalics@gmx.at>
1005
1006 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1007 * window.el (window--dump-window, window--dump-frame):
1008 New functions.
1009 (window--min-size-1): Account for window dividers.
1010 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
1011 sum of the window components has been calculated.
1012 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1013 nil make sure at least one text line and two text columns remain
1014 fully visible.
1015 (window-resize): Signal an error when window-resize-apply fails.
1016 (window--resize-child-windows): Fix calculation of by how many
1017 pixels a window can still be shrunk via window-new-normal.
1018 (adjust-window-trailing-edge): Call window--resizable with
1019 correct TRAIL argument.
1020
2ed94e04
MR
1021 (with-temp-buffer-window): Don't evaluate BODY within
1022 with-current-buffer (Bug#16816).
1023
0e5324c4
MA
10242014-02-21 Michael Albinus <michael.albinus@gmx.de>
1025
1026 * net/tramp.el (tramp-check-cached-permissions):
1027 Call `file-attributes' with `suffix' being a symbol but a string.
1028
48198420
DC
10292014-02-21 Daniel Colascione <dancol@dancol.org>
1030
1031 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1032 (dbus-init-bus): New function: call into dbus-init-bus-1
1033 and installs a handler for the disconnect signal.
1034 (dbus-call-method): Rewrite to look for result in cons.
1035 (dbus-call-method-handler): Store result in cons.
1036 (dbus-check-event): Recognize events with nil sender as valid.
1037 (dbus-handle-bus-disconnect): New function. React to bus
1038 disconnection signal by synthesizing dbus error for each
1039 pending synchronous or asynchronous call.
1040 (dbus-notice-synchronous-call-errors): New function.
1041 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1042 is true, not all the time.
1043
99e15133
JB
10442014-02-21 Juanma Barranquero <lekktu@gmail.com>
1045
e48983a6
JB
1046 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1047 Remove obsolescence declarations, these variables do not exist anymore.
1048
fdcfd745
JB
1049 * savehist.el (savehist-save-minibuffer-history)
1050 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1051 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1052 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1053 mostly, refer to "Savehist mode" when talking about the mode,
1054 and not the function.
1055
99e15133
JB
1056 * saveplace.el (save-place): Remove redundant info in docstring.
1057 (save-place-forget-unreadable-files, toggle-save-place)
1058 (save-place-forget-unreadable-files, save-place-dired-hook):
1059 Fix typos and remove unneeded backslashes.
1060
f5bee33b
MA
10612014-02-20 Michael Albinus <michael.albinus@gmx.de>
1062
1063 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1064 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1065
1066 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 1067 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
1068 (tramp-gvfs-handle-insert-directory): Remove function.
1069
1070 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1071 Call `tramp-handle-insert-directory'.
1072
ee0761ca
JB
10732014-02-20 Juanma Barranquero <lekktu@gmail.com>
1074
1075 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1076 before the start of buffer/region (bug#16799).
1077
4d49cc65
GM
10782014-02-20 Glenn Morris <rgm@gnu.org>
1079
1080 * isearch.el (search-invisible): Doc fix.
1081
eee0d650
TK
10822014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1083
1084 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1085 (bug#16657).
1086
94e5e202
JB
10872014-02-19 Juanma Barranquero <lekktu@gmail.com>
1088
1089 * frameset.el (frameset-restore): Delay removing an old frame's
1090 duplicate id until the new frame has been correctly created.
1091
50bfdd5d
MA
10922014-02-19 Michael Albinus <michael.albinus@gmx.de>
1093
1094 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1095 (tramp-check-cached-permissions): Call `file-attributes' if the
1096 cache is empty.
1097
1098 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1099 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1100
1101 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1102 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1103 (tramp-gvfs-maybe-open-connection): Set always connection
1104 properties, even if target is mounted already.
1105
1106 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1107 Set tramp-autoload cookie.
1108 (tramp-get-remote-touch): New defun.
1109 (tramp-sh-handle-set-file-times): Use it.
1110 (tramp-sh-handle-directory-files-and-attributes):
1111 Use `tramp-handle-directory-files-and-attributes' if neither stat
1112 nor perl are available on the remote host.
1113
1114 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1115 "/". Write long listing only when "l" belongs to the switches.
1116
1117 * net/trampver.el: Update release number.
1118
f097a3d2
JB
11192014-02-19 Juanma Barranquero <lekktu@gmail.com>
1120
1121 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1122
8e009b78
MR
11232014-02-19 Martin Rudalics <rudalics@gmx.at>
1124
1125 * window.el (window-state-put): Allow WINDOW to refer to an
1126 internal window (Bug#16793).
1127
95160c90
GM
11282014-02-19 Glenn Morris <rgm@gnu.org>
1129
1130 * textmodes/remember.el: Move provide statement to end.
1131 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1132 (remember-notes): Doc fixes.
1133
b28df58c
SM
11342014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * delsel.el (delete-char): Restore incorrectly erased property
1137 (bug#16795).
1138
7108e1c0
JB
11392014-02-18 Juanma Barranquero <lekktu@gmail.com>
1140
1141 * frameset.el (frameset--restore-frame): When a frame is being reused
1142 and its root window is not alive, delete all the frame's windows before
1143 restoring the window state. This works around the issue in bug#16793.
1144
c863b6ad
GM
11452014-02-18 Glenn Morris <rgm@gnu.org>
1146
a73fae1f
GM
1147 * textmodes/remember.el (remember-data-directory)
1148 (remember-directory-file-name-format, remember-store-in-files)
1149 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1150 (remember-notes-save-and-bury-buffer)
1151 (remember-notes--kill-buffer-query): Doc fixes.
1152
c863b6ad
GM
1153 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1154
29238d28
AM
11552014-02-17 Alan Mackenzie <acm@muc.de>
1156
1157 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1158 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1159 to electric-indent-{,local-}-mode.
b28df58c
SM
1160 (c-basic-common-init): Set electric-indent-inhibit.
1161 Initialise c-electric-flag from electric-indent-mode.
29238d28 1162 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1163 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1164
1165 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1166 hit, toggle electric-indent-local-mode.
29238d28 1167
b28df58c
SM
1168 * electric.el (electric-indent-mode-has-been-called):
1169 New variable.
29238d28 1170
c6463340
JB
11712014-02-17 Juanma Barranquero <lekktu@gmail.com>
1172
1173 * frameset.el (frameset-cfg-id): New function.
1174 (frameset--reuse-frame, frameset-restore): Use it.
1175 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1176
94912b88
SM
11772014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 * ido.el (ido-file-internal): Remove unused var `d'.
1180 Use \` for to match BoS. Fit within 80n columns.
1181
26ea164c
DC
11822014-02-17 Daniel Colascione <dancol@dancol.org>
1183
1184 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1185 dbus-call-method check for completion using a busy-wait loop with
1186 gradual backoff.
1187
dd7691b7
MA
11882013-10-02 Michael Albinus <michael.albinus@gmx.de>
1189
1190 Sync with Tramp 2.2.9.
1191
1192 * net/trampver.el: Update release number.
1193
17d1b51b
DG
11942014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1195
1196 * ido.el (ido-file-internal): Don't add the name of an existing
1197 directory twice. (Bug#16747)
1198
5bcad689
GM
11992014-02-16 Glenn Morris <rgm@gnu.org>
1200
1201 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1202 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1203
12042014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1205
1206 * progmodes/sql.el: Version 3.4
1207 (sql-oracle-options): New default value ("-L").
94912b88 1208 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1209 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1210 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1211 (sql-login-delay): New variable.
1212 (sql-product-interactive): Use it.
1213
285f1858
JB
12142014-02-15 Juanma Barranquero <lekktu@gmail.com>
1215
1216 * frameset.el (frameset--jump-to-register): Check that buffer is live
1217 (bug#16749).
1218
5d645ea4
GM
12192014-02-15 Glenn Morris <rgm@gnu.org>
1220
1221 * info.el (info-initialize): Revert 2014-01-10 change.
1222
48c4f9b1
GM
12232014-02-14 Glenn Morris <rgm@gnu.org>
1224
b8630261
GM
1225 * replace.el (map-query-replace-regexp)
1226 (read-regexp-defaults-function, read-regexp): Doc fixes.
1227
b2bf2a25
GM
1228 * dired.el (dired-read-regexp):
1229 * faces.el (list-faces-display):
1230 * misearch.el (multi-isearch-read-matching-buffers)
1231 (multi-isearch-read-matching-files):
1232 * play/cookie1.el (cookie-apropos):
1233 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1234
48c4f9b1
GM
1235 * textmodes/remember.el (remember): Use frameset-to-register
1236 rather than frame-configuration-to-register.
1237
2804e0bd
JB
12382014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1239
1240 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1241 incorrect keybinding.
1242
0b87142f
DC
12432014-02-13 Daniel Colascione <dancol@dancol.org>
1244
1245 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1246 when adding overlays so that line numbers from compiler match line
1247 numbers we use.
1248
47a73eb0
GM
12492014-02-13 Glenn Morris <rgm@gnu.org>
1250
8abcfd51
GM
1251 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1252
47a73eb0
GM
1253 * jit-lock.el (jit-lock-mode): Doc fix.
1254
c9b6b262
JB
12552014-02-13 Juanma Barranquero <lekktu@gmail.com>
1256
1257 * apropos.el (apropos-read-pattern): When the user passes an empty
1258 string, give a more helpful error message than "Wrong type
1259 argument: stringp, nil".
1260
eb4c6947
SM
12612014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1264
0dab5068
GM
12652014-02-13 Glenn Morris <rgm@gnu.org>
1266
1267 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1268
59075dcf
SM
12692014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1272 shift-select commands.
1273
5af9fbad
DG
12742014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1275
1276 * progmodes/js.el (js-indent-line): Don't widen.
1277 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1278
a215930c
GM
12792014-02-12 Glenn Morris <rgm@gnu.org>
1280
a8cb4247
GM
1281 * icomplete.el (icomplete): Add info-link to defgroup.
1282 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1283 (icomplete-minibuffer-map, icomplete-mode)
1284 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1285
a215930c
GM
1286 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1287 (package-menu-filter): Rename from package-menu-filter-interactive.
1288 Doc fix.
1289
26c5ecd9
JB
12902014-02-11 Juanma Barranquero <lekktu@gmail.com>
1291
1292 * frameset.el (frameset--jump-to-register): Select the required
1293 window and buffer before restoring position (bug#16696).
1294
fcd58a02
LI
12952014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1296
1297 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1298
bacb3380
GM
12992014-02-10 Glenn Morris <rgm@gnu.org>
1300
1301 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1302
881329dc
EZ
13032014-02-10 Eli Zaretskii <eliz@gnu.org>
1304
02328db9
EZ
1305 * w32-common-fns.el (x-get-selection): Doc fix.
1306 * select.el (x-get-selection): Doc fix. (Bug#15109)
1307
881329dc
EZ
1308 * face-remap.el (face-remap-add-relative)
1309 (face-remap-remove-relative, face-remap-reset-base)
1310 (face-remap-set-base): Call force-mode-line-update to redisplay
1311 the current buffer due to potential change in faces. (Bug#16709)
1312
c7db4c06
MA
13132014-02-10 Michael Albinus <michael.albinus@gmx.de>
1314
1315 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1316 script more robustly.
1317
6abe4589
LI
13182014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1319
7602b5c3
LI
1320 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1321
e3692ee0
LI
1322 * simple.el (choose-completion): Doc fix (bug#14160).
1323
41015524
LI
1324 * subr.el (event-start): Say what a nil EVENT value means.
1325
87c79dcb
LI
1326 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1327 (bug#14197).
1328
3ab49e2c
LI
1329 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1330
f3c60241
LI
1331 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1332
3bd1d8a8
LI
1333 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1334
6abe4589
LI
1335 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1336 predicate function (bug#15455).
1337
a11463de
DG
13382014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1339
1340 * ielm.el (inferior-emacs-lisp-mode): Instead of
1341 `comment-use-global-state', set `comment-use-syntax'.
1342
2ab0ad85
GM
13432014-02-10 Glenn Morris <rgm@gnu.org>
1344
1345 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1346
411141fb
AM
13472014-02-09 Alan Mackenzie <acm@muc.de>
1348
1349 Fix c-invalidate-state-cache on narrowed buffers.
1350 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1351 Widen when setting and clearing the CPP delimiter properties.
1352
d6d5fdf8
LI
13532014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1354
92c70367
LI
1355 * help.el (describe-bindings): Doc fix (bug#9888).
1356
468ef484
LI
1357 * files.el (save-buffer): Use ARG as the parameter name for
1358 consistency (bug#10346).
7e34193f 1359 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1360
fc2b1ffa 1361 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1362 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1363 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1364
790aceec
LI
1365 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1366
a54a7552 1367 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1368 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1369
dd163123
LI
1370 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1371 meaning of the parameter (bug#12282).
1372
9e108fe6
LI
1373 * files.el (find-file-noselect): Clarify prompt when changing
1374 readedness (bug#13261).
5a836f58
LI
1375 (locate-file): Suffixes aren't returned, so don't say that they
1376 are (bug#12674).
2356b316 1377 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1378
20dda930
LI
1379 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1380 before we actually start to delete things (bug#16331).
1381
d6d5fdf8
LI
1382 * subr.el (event-start): Doc fix (bug#14228).
1383 (event-end): Ditto.
1384
2abd71e5
GM
13852014-02-09 Glenn Morris <rgm@gnu.org>
1386
1387 * emacs-lisp/warnings.el (lwarn):
1388 Empower help-enable-auto-load. (Bug#15940)
1389
c1b5900b
AS
13902014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1391
1392 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1393 (Bug#16690)
1394
429b93bd
MA
13952014-02-08 Michael Albinus <michael.albinus@gmx.de>
1396
1397 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1398 Insert output at end of buffer. (Bug#16120)
1399
b772a699
LI
14002014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1401
18c6aa8c
LI
1402 * simple.el (choose-completion-string-functions): Document new
1403 calling convention (bug#14153).
54dd147a 1404 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1405
dce8463b
LI
1406 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1407
b772a699 1408 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1409 (find-grep-dired): Doc fix (bug#14288).
b772a699 1410
2423c8d5
JL
14112014-02-08 Juri Linkov <juri@jurta.org>
1412
1413 * isearch.el (isearch-quote-char): Check character validity
1414 like in `quoted-insert' (bug#16677).
1415
518f26c2
LI
14162014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1417
893cc908
LI
1418 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1419
9165ffc0
LI
1420 * isearch.el (isearch-hide-immediately): Doc clarification
1421 (bug#14723).
1422
6ef4f3ce
LI
1423 * simple.el (line-move): Document utility function used many
1424 places in the Emacs sources (bug#14843).
1425
be58a238 1426 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1427 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1428 (dired-up-directory): Doc fix (bug#14848).
be58a238 1429
dd7aafbb
LI
1430 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1431
15cb9968
LI
1432 * files.el (file-relative-name): Doc fix (bug#15159).
1433
9788effd
LI
1434 * fringe.el (fringe-styles): Doc fix (bug#15239).
1435
c96411bd
LI
1436 * isearch.el (isearch-filter-predicate): Documentation typo fix
1437 (bug#15474).
1438
ea838c36
LI
1439 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1440
0d8a4ae7
LI
1441 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1442
f7a17bb3
LI
1443 * replace.el (replace-match-maybe-edit): Doc clarification
1444 (bug#15632).
1445
1bde5c3b
LI
1446 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1447
518f26c2
LI
1448 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1449
dd8e49fd
GM
14502014-02-08 Glenn Morris <rgm@gnu.org>
1451
1452 * help-fns.el (describe-variable):
1453 Check {file,dir}-local-variables-alist, and buffer-file-name,
1454 in the correct buffer.
1455
7e088b29
IL
14562014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1457
1458 * help-fns.el (describe-variable): Fix the case where
1459 a value is directory-local with no dir-locals file. (Bug#16635)
1460
41a4a82f
GM
14612014-02-08 Glenn Morris <rgm@gnu.org>
1462
1463 * abbrev.el (edit-abbrevs-mode):
1464 Derive from fundamental-mode. (Bug#16682)
1465
e255a703
JB
14662014-02-07 Juanma Barranquero <lekktu@gmail.com>
1467
1468 * simple.el (quoted-insert): Check character validity (bug#16677).
1469
c99cf5ee
JL
14702014-02-07 Juri Linkov <juri@jurta.org>
1471
1472 * desktop.el (desktop-read): Claim the lock when the owner is not
1473 the current process. (Bug#16157)
1474
7d7a68d8
JL
14752014-02-07 Juri Linkov <juri@jurta.org>
1476
1477 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1478 to "\\` ". (Bug#16651)
1479
2b777cd9
JL
14802014-02-07 Juri Linkov <juri@jurta.org>
1481
1482 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1483 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1484 (desktop-auto-save-cancel-timer): New function with some code from
1485 `desktop-auto-save-set-timer'.
1486 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1487 Instead of setting `desktop-save-mode' to nil, call
1488 `desktop-save-mode' with arg 0. (Bug#16630)
1489
60eabbb9
GM
14902014-02-07 Glenn Morris <rgm@gnu.org>
1491
99cf3859
GM
1492 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1493 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1494 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1495
2b568bc9
GM
1496 * obsolete/iswitchb.el: Move to obsolete/.
1497 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1498 since obsolete/ is not scanned for autoloads.
1499 * emacs-lisp/authors.el (authors-valid-file-names):
1500 Add iswitchb.el.
1501
60eabbb9
GM
1502 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1503 Disable now non-functional find-file-hook.
1504
629de968
MA
15052014-02-06 Michael Albinus <michael.albinus@gmx.de>
1506
1507 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1508 instead of ";" in order to avoid additional prompts. Let heredoc
1509 scripts read from tty. (Bug#16582)
1510 (tramp-send-command): No special handling of heredocs, it isn't
1511 necessary anymore.
1512
29127376
SM
15132014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1516 with a space (bug#16664). Limit the symbols considered to the ones
1517 that are bound or fbound (bug#16646).
1518
79b6e0a9
GM
15192014-02-06 Glenn Morris <rgm@gnu.org>
1520
1521 * epa.el (epa-mail-aliases): Doc fix.
1522
a333e4d2
DG
15232014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1524
29127376
SM
1525 * emacs-lisp/lisp.el (lisp-completion-at-point):
1526 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1527 (bug#16604).
1528
1529 * minibuffer.el (completion-table-merge): New function.
1530
9a83b32b
MA
15312014-02-05 Michael Albinus <michael.albinus@gmx.de>
1532
1533 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1534 (tramp-sh-handle-set-file-acl)
1535 (tramp-sh-handle-start-file-process)
1536 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1537 (tramp-find-executable, tramp-send-command): Use it.
1538
451ea3e6
GM
15392014-02-05 Glenn Morris <rgm@gnu.org>
1540
9a83b32b 1541 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1542
dd27d13b
FEG
15432014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1544
35e951cd 1545 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1546 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1547
08e41897
AL
15482014-02-04 Anders Lindgren <andlind@gmail.com>
1549
1550 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1551 the names (bug#16620).
1552
764ec9e5
MR
15532014-02-03 Martin Rudalics <rudalics@gmx.at>
1554
08e41897
AL
1555 * faces.el (window-divider): New default value. Rewrite doc-string.
1556 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1557
6da8227c
DG
15582014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1559
1560 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1561 `protected' and `public' can also be called without arguments.
1562
6a6b8e40
GM
15632014-02-03 Glenn Morris <rgm@gnu.org>
1564
7bcbca40
GM
1565 * register.el (window-configuration-to-register)
1566 (frame-configuration-to-register): Unadvertise unused argument.
1567 * frameset.el (frameset-to-register): Remove unused argument.
1568
719d965d 1569 * frameset.el (frameset-to-register):
6a6b8e40
GM
1570 * kmacro.el (kmacro-to-register):
1571 * register.el (increment-register):
1572 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1573 (calc-append-to-register, calc-prepend-to-register):
1574 * play/gametree.el (gametree-layout-to-register)
1575 (gametree-apply-register-layout):
1576 * textmodes/picture.el (picture-clear-rectangle-to-register)
1577 (picture-yank-rectangle-from-register):
1578 * vc/emerge.el (emerge-combine-versions-register):
1579 Use register-read-with-preview to read registers.
1580
5dca7759
JT
15812014-02-03 João Távora <joaotavora@gmail.com>
1582
1583 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1584 when at beginning of (possibly narrowed) buffer.
1585
709085b9
DC
15862014-02-02 Daniel Colascione <dancol@dancol.org>
1587
c295fc18 1588 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1589 Also try to display local help from just before point.
709085b9 1590
99f7b0a6
AM
15912014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1592
1593 c-parse-state. Don't "append-lower-brace-pair" in certain
1594 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1595 recognised as a comment.
1596
1597 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1598 as well as normal comment starter.
1599 (c-parse-state-get-strategy): Extra return possibility
1600 'back-and-forward.
1601 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1602 return value list to indicate replacement of a brace-pair cons
1603 with its car.
1604 (c-parse-state-1): With 'back-and-forward, only call
1605 c-append-lower-brace-pair-to state-cache when cons-separated.
1606
f0a10576
JD
16072014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1608
1609 * term/ns-win.el (ns-suspend-error): New function.
1610 (ns-initialize-window-system): Add ns-suspend-error to
1611 suspend-hook (Bug#16612).
1612
b8d552c2
DC
16132014-02-02 Daniel Colascione <dancol@dancol.org>
1614
35e951cd
JB
1615 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1616 Make loading cc-mode silent.
b8d552c2 1617
f2b7d123
DC
16182014-02-02 Daniel Colascione <dancol@dancol.org>
1619
35e951cd
JB
1620 * comint.el (comint-prompt-read-only): Change doc to suggest
1621 remap keybinding.
f2b7d123 1622
4472a196
GM
16232014-02-02 Glenn Morris <rgm@gnu.org>
1624
1625 * register.el (register-read-with-preview, point-to-register)
1626 (window-configuration-to-register, frame-configuration-to-register)
1627 (jump-to-register, number-to-register, view-register, insert-register)
1628 (copy-to-register, append-to-register, prepend-to-register)
1629 (copy-rectangle-to-register): Doc fixes.
1630
70e5a261
SM
16312014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1634 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1635 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1636 * help-fns.el (describe-function-1): Use it.
1637
7c324762
GM
16382014-02-02 Glenn Morris <rgm@gnu.org>
1639
1640 * register.el (register-preview-default): New function,
1641 split from register-preview.
1642 (register-preview-function): Rename from register-preview-functions,
1643 make it not a hook.
1644 (register-preview): Use register-preview-function.
1645 (register-read-with-preview): Error on non-character event. (Bug#16595)
1646
a09beb3d
DG
16472014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1648
1649 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1650 `:' before binary operators (bug#16609). Don't check for `:'
1651 before `[' and `(', or their syntax status. A percent literal
1652 can't end with either.
68e004e0
DG
1653 (ruby-font-lock-keywords): For built-ins that require arguments,
1654 check that they're followed by something that looks like argument
1655 (bug#16610).
a09beb3d 1656
ed4d2875
LI
16572014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1658
1659 * subr.el (butlast): Document what an omitted N means (bug#13437).
1660 (nbutlast): Ditto.
1661
dba6e3ec
LI
16622014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1663
1664 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1665 depth shallower (bug#16587).
cc477daa
LI
1666 (shr-tag-svg): Respect `shr-inhibit-images'.
1667 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1668
e2a67bd0
DG
16692014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1670
1671 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1672 (ruby-smie-grammar): Make "." right-associative. Make its priority
1673 lower than the ternary and all binary operators.
1674 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1675 parent, or the first "." parent at indentation.
1676 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1677 (Bug#16593)
1678
bd21bf41
JL
16792014-01-31 Juri Linkov <juri@jurta.org>
1680
1681 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1682 from `make-hash-table'.
1683
1684 * textmodes/ispell.el (ispell-init-process): Change message format
1685 to be consistent with other messages.
1686
b7e615b9
GM
16872014-01-31 Glenn Morris <rgm@gnu.org>
1688
a69ecd19
GM
1689 * delsel.el (delete-selection-mode): Doc fix.
1690
9997d7e3
GM
1691 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1692 (trace-function-background): Doc fixes.
1693
fbb764b8
GM
1694 * ido.el (ido-use-virtual-buffers): Doc fix.
1695 Reset :version, since the default value has not changed.
1696
da942af1
GM
1697 * register.el (register-preview-delay, register-read-with-preview):
1698 Doc fixes.
1699
b7e615b9
GM
1700 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1701 do not mess with mail-buffer position (fixes 2009-11-03 change).
1702 * progmodes/cc-mode.el (c-submit-bug-report):
1703 Check auto-fill-mode is bound. (Bug#16592)
1704
0a25002d
DH
17052014-01-31 Darren Hoo <darren.hoo@gmail.com>
1706
1707 * startup.el (fancy-splash-image-file): New function,
1708 split from fancy-splash-head.
1709 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1710 so that we are both using the same image. (Bug#16574)
1711
ad78f432
GM
17122014-01-30 Glenn Morris <rgm@gnu.org>
1713
6bbc0c84
GM
1714 * simple.el (eval-expression): Doc fix.
1715
ad78f432
GM
1716 * hexl.el (hexl-mode-hook):
1717 * ielm.el (ielm-mode-hook):
1718 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1719 (lisp-interaction-mode-hook):
1720 * progmodes/cfengine.e (cfengine3-documentation-function):
1721 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1722
7b2f049c
SM
17232014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1726 is a symbol (bug#16584).
1727
0c633f13
GM
17282014-01-30 Glenn Morris <rgm@gnu.org>
1729
1730 * help.el (help-for-help-internal): Add "P" to text.
1731
5e61c1ef
GM
17322014-01-29 Glenn Morris <rgm@gnu.org>
1733
1734 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1735
1dcb169c
MR
17362014-01-28 Martin Rudalics <rudalics@gmx.at>
1737
1738 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1739 height constraints.
1740
a9128931
LL
17412014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1742
1743 * progmodes/hideif.el: Extend to full CPP expression syntax.
1744 (hif-token-alist): Add missing tokens.
1745 (hif-token-regexp): Add support for float/octal/hex immediates.
1746 (hif-string-literal-regexp): New const.
1747 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1748 (hif-exprlist): New function.
1749 (hif-parse-if-exp): Use it.
1750 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1751 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1752 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1753 (hif-logxor, hif-comma): New functions.
1754
a22359a7
GM
17552014-01-28 Glenn Morris <rgm@gnu.org>
1756
793ffe81
GM
1757 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1758
e3bd7eed
GM
1759 * indent.el (tab-stop-list): Doc fix. Add :version.
1760
a22359a7
GM
1761 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1762 (cvs-append-to-ignore): Add compatibility alias.
1763
52695556 17642014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1765
bac524e0
GM
1766 * dired.el (dired-hide-details-mode): Don't autoload it,
1767 since it cannot be used outside Dired buffers anyway.
1768
52695556 1769 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1770
52695556
GM
1771 * dired.el (dired-hide-details-hide-symlink-targets)
1772 (dired-hide-details-hide-information-lines)
1773 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1774
1775 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1776 * strokes.el (strokes-file): Doc fix. Bump :version.
1777 (strokes-help): Doc fix.
1778 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1779 * emulation/viper.el (viper): Doc fix for custom group.
1780 (top-level): Remove oh-so-no-longer-relevant text about vip.
1781 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1782
1783 * ido.el (ido-save-directory-list-file):
1784 * saveplace.el (save-place-file):
1785 * calendar/timeclock.el (timeclock-file):
1786 * net/quickurl.el (quickurl-url-file):
1787 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1788 * progmodes/idlwave.el (idlwave-config-directory):
1789 * textmodes/remember.el (remember-data-file):
1790 Bump :version.
1791
169d6004
GM
17922014-01-26 Glenn Morris <rgm@gnu.org>
1793
de6a923b
GM
1794 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1795 Doc fix. Make obsolete.
1796 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1797
169d6004
GM
1798 * sort.el (delete-duplicate-lines): Doc fix.
1799
ed85dee6
RS
18002014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1801
1802 * progmodes/ada-mode.el (ada):
1803 * woman.el (woman): Link to info manual and Commentary section.
1804
1805 * progmodes/flymake.el (flymake):
1806 * nxml/nxml-mode.el (nxml):
1807 * net/eww.el (eww):
1808 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1809 * htmlfontify.el (htmlfontify):
1810 * ses.el (ses):
1811 * epa.el (epa):
1812 * ido.el (ido): Link to info manual.
1813
e0c67e1d
LL
18142014-01-25 Leo Liu <sdl.web@gmail.com>
1815
1816 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1817
35408b1a
AS
18182014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1819
1820 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1821 (bug#16537).
1822
11eff3ae 1823>>>>>>> MERGE-SOURCE
76c3fa95
JB
18242014-01-24 Juanma Barranquero <lekktu@gmail.com>
1825
f77c7a99
JB
1826 * net/eww.el (eww-download-callback):
1827 Fix reference to eww-download-directory.
1828
76c3fa95
JB
1829 * emacs-lisp/bytecomp.el (byte-compile-file):
1830 Remove unused local variable `file-name'.
1831
1e548e40
GM
18322014-01-24 Glenn Morris <rgm@gnu.org>
1833
03f3b318
GM
1834 * woman.el (woman-default-faces, woman-monochrome-faces):
1835 Fix obsolescence specification.
1836
1e548e40
GM
1837 * subr.el (with-demoted-errors): Doc fix.
1838
d4f0427b
SM
18392014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1842 (cl--macroexp-fboundp): New function.
1843 (cl--make-type-test): Use it.
1844
1670e27f
GM
18452014-01-23 Glenn Morris <rgm@gnu.org>
1846
1847 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1848 * simple.el (eval-expression): Doc fixes.
1849
80efa207
GM
18502014-01-22 Glenn Morris <rgm@gnu.org>
1851
1852 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1853
29afcbab
SM
18542014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * emacs-lisp/package.el: Write files silently.
1857 (package-autoload-ensure-default-file, package--write-file-no-coding)
1858 (package-generate-description-file, package--download-one-archive)
1859 (package-install-from-archive): Tell `write-region' to stay quiet.
1860 (package-menu-mode, package-menu--print-info): Omit the Archive column
1861 if there's only one archive.
1862 (package-all-keywords, package--has-keyword-p): Remove dead code.
1863
2a5bce4f
GM
18642014-01-22 Glenn Morris <rgm@gnu.org>
1865
edace89f
GM
1866 * version.el (emacs-bzr-version-bzr): Fix typo.
1867
2a5bce4f
GM
1868 * version.el (emacs-repository-get-version):
1869 Check either .bzr or .git, but not both.
1870 Make the git case actually use the DIR argument, and return nil
1871 rather than the empty string.
983664c0 1872 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1873
6cb4da45
MR
18742014-01-22 Martin Rudalics <rudalics@gmx.at>
1875
1876 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1877 * window.el (window-total-size, window-size): New argument ROUND.
1878 (window--min-delta-1, window-min-delta, window--max-delta-1):
1879 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1880 columns a window can shrink (Bug#16430).
1881 (fit-window-to-buffer): Simplify code.
1882 * term.el (term-window-width): Call window-body-width again.
1883
cc0f2ece
GM
18842014-01-22 Glenn Morris <rgm@gnu.org>
1885
7b997b14
GM
1886 * image.el (image-format-suffixes): Doc fix.
1887
44e76f9d
GM
1888 * international/quail.el (quail-define-package): Doc fix.
1889
35e951cd 1890 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1891 (authors-renamed-files-alist): Additions.
7bfc1caa 1892
85a5f61f
GM
1893 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1894 reverts 2014-01-09 change. (Bug#16422)
1895
cc0f2ece
GM
1896 * calc/calc-embed.el (thing-at-point-looking-at):
1897 * emacs-lisp/map-ynp.el (x-popup-dialog):
1898 * obsolete/lmenu.el (x-popup-dialog):
1899 * emacs-lisp/package.el (url-recreate-url):
1900 * mail/mailclient.el (clipboard-kill-ring-save):
1901 * subr.el (x-popup-dialog): Update declaration.
1902 * mail/rmail.el (rmail-mime-message-p):
1903 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1904
00d2a6bb
DC
19052014-01-21 Daniel Colascione <dancol@dancol.org>
1906
1907 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1908 Correctly detect when we're inside an arithmetic expansion form
1909 containing nested parenthesis.
c295fc18 1910 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1911 to detect cases where we shouldn't expand "<<" to a heredoc
1912 skeleton.
1913
dd9d2e9d
SM
19142014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1917 (eldoc--message-command-p): New function.
1918 (eldoc-display-message-p): Use it.
1919 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1920 message is not automatically erased for us.
1921 (eldoc-print-current-symbol-info): Erase previous message, if any.
1922
e7d807ca
TH
19232014-01-21 Tassilo Horn <tsdh@gnu.org>
1924
4ff0a0e5
TH
1925 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1926 specify it's an interactive function.
1927
dd9d2e9d
SM
1928 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1929 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1930 citations with optional arguments.
1931
87503791
LL
19322014-01-21 Leo Liu <sdl.web@gmail.com>
1933
1934 * simple.el (read--expression): Don't enable eldoc-mode.
1935
6cc750ee
SM
19362014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * simple.el (move-beginning-of-line): Make sure we don't move forward
1939 (bug#16497).
1940
71f16bda
JL
19412014-01-20 Juri Linkov <juri@jurta.org>
1942
1943 * saveplace.el (toggle-save-place, save-place-to-alist)
1944 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1945 'dired-mode) before checking for dired-directory. (Bug#16477)
1946
3c5a4839
JL
19472014-01-20 Juri Linkov <juri@jurta.org>
1948
1949 * indent.el (indent-line-to): Use backward-to-indentation
1950 instead of back-to-indentation. (Bug#16461)
1951
f952002e
PE
19522014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1953
1954 Revert some of the CANNOT_DUMP fix (Bug#16494).
1955 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1956 but fixing this can wait until after the next release.
1957 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1958
93675500
MA
19592014-01-19 Michael Albinus <michael.albinus@gmx.de>
1960
1961 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1962 Use `password-word-equivalents'.
1963 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1964 to t. (Bug#5664, Bug#13124)
1965
e3af763f
AM
19662014-01-19 Alan Mackenzie <acm@muc.de>
1967
1968 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1969 points.
1970 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1971 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1972 * progmodes/cc-mode.el (c-before-change, c-after-change)
1973 (c-font-lock-fontify-region): Bind it here.
1974
4ff6d92d
MR
19752014-01-19 Martin Rudalics <rudalics@gmx.at>
1976
1977 * term.el (term-window-width): Call window-text-width instead of
1978 window-width (Bug#16470).
1979
9a685cf6
PE
19802014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1981
1982 * simple.el (password-word-equivalents): Remove duplicates.
1983 Sort, to make this easier next time.
1984 Downcase. Omit ": " after "jelszó".
1985
5aa78c2d
JD
19862014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1987
1988 * term/common-win.el (saved-region-selection): Defvar it.
1989 (x-select-text): Set saved-region-selection (Bug#16382).
1990
cabb250c
GM
19912014-01-18 Glenn Morris <rgm@gnu.org>
1992
1993 * emacs-lisp/authors.el (authors-aliases)
1994 (authors-renamed-files-alist): Add some entries.
1995
a1340440
MA
19962014-01-17 Michael Albinus <michael.albinus@gmx.de>
1997
93675500
MA
1998 * net/tramp.el (tramp-password-prompt-regexp):
1999 Use `password-word-equivalents' if available.
a1340440
MA
2000 (tramp-action-password, tramp-process-one-action)
2001 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2002
681ce5d2
CY
20032014-01-17 Chong Yidong <cyd@gnu.org>
2004
2005 * simple.el (password-word-equivalents): New defcustom.
2006 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2007 to 24.4.
2008 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2009 to t. (Bug#13124)
2010
fb3d479c
DG
20112014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2012
2013 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
2014 (ruby-align-to-stmt-keywords): Change the default value.
2015 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
2016 choices.
2017 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2018 keywords, check against the value of `ruby-alignable-keywords'
2019 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2020
0d613483
GM
20212014-01-17 Glenn Morris <rgm@gnu.org>
2022
fc23fe2d
GM
2023 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2024
0d613483 2025 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 2026 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
2027 (authors-ignored-files): Add some entries, remove others.
2028 (authors-ambiguous-files, authors-valid-file-names):
2029 Add some entries.
2030 (authors-renamed-files-alist): Add, remove, and adjust entries.
2031 (authors-renamed-files-regexps): Add some entries.
2032 Remove some very broad ones. Make some entries `lax'.
2033 (authors-lax-changelogs): New constant.
2034 (authors-disambiguate-file-name): Treat top-level specially.
2035 (authors-lax-changelog-p): New function.
2036 (authors-canonical-file-name): Check file as written against
2037 authors-valid-file-names. Do not special-case etc/.
2038 Handle `lax' logs and authors-renamed-files-regexps elements.
2039
2dbf4ffd
DG
20402014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2041
2042 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
2043 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2044 callers.
2dbf4ffd 2045
87b2a7f2
SM
20462014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2049 Assume we're already in the proper buffer.
2050 Inspired by Anders Lindgren <andlind@gmail.com>.
2051 (follow-post-command-hook): Call it from the right buffer.
2052 (follow-comint-scroll-to-bottom): Adjust call.
2053 (follow-all-followers): Use get-buffer-window-list.
2054
93acfb0e
DC
20552014-01-15 Daniel Colascione <dancol@dancol.org>
2056
2057 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2058 `buffer-file-name' in interactive-form so that we don't leave
2059 pathless file names in `file-name-history'.
2060
ccc6b208
JL
20612014-01-15 Juri Linkov <juri@jurta.org>
2062
2063 * indent.el (indent-rigidly): Set deactivate-mark to nil
2064 in transient indentation mode. (Bug#16438)
2065
5c92e00d
DG
20662014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2067
2068 * emacs-lisp/package.el (package-desc-keywords): New function
2069 (Bug#16222).
2070 (describe-package-1, package-all-keywords)
2071 (package--has-keyword-p): Use it.
2072
dac69660
NR
20732014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2074
2075 * simple.el (define-alternatives): When creating the
2076 COMMAND-alternatives variable, assign COMMAND as its definition
2077 name so that `describe-variable' can relocate it.
2078
8b63edf8
ML
20792014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2080
2081 * font-lock.el (font-lock-keywords): Fix typo in docstring
2082 (bug#16307).
2083
c6a0b8eb
AM
20842014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2085
2086 * ispell.el (ispell-region): Reset `in-comment' for new line
2087 instead of wrongly reset `add-coment' (bug#13577).
2088
02bf443d
DU
20892014-01-14 Daiki Ueno <ueno@gnu.org>
2090
2091 * epa-file.el (epa-file-write-region): Encode the region according
2092 to `buffer-file-format'. Problem reported at:
2093 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2094
fd7fde15
SM
20952014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2098 so it applies in the right buffer (bug#16410).
2099
c176054f
DC
21002014-01-13 Daniel Colascione <dancol@dancol.org>
2101
2102 * textmodes/rst.el (rst-define-key): Provide deprecated
2103 keybindings through named functions instead of anonymous ones so
2104 that "??" doesn't appear in describe-mode output.
2105
e3f33e5d
BG
21062014-01-13 Bastien Guerry <bzg@gnu.org>
2107
2108 * simple.el (define-alternatives): Call the selected command
2109 interactively. When setting `COMMAND--implementation' for the
2110 first time, tell the user how to chose another implementation.
2111 Enhance the docstring.
2112
c055d654
SM
21132014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2116 (log-edit--match-first-line): New function.
2117 (log-edit-font-lock-keywords): Use it.
2118 (log-edit-mode): Make jit-lock-defer-multiline work.
2119
d791cc3b
BG
21202014-01-13 Bastien Guerry <bzg@gnu.org>
2121
2122 * rect.el (rectangle-mark-mode): When the region is not active,
2123 display a message saying that the mark as been set and that
2124 rectangle mode is in use.
2125 (rectangle--highlight-for-redisplay): Only put an overlay with a
2126 visible vertical bar when (display-graphic-p) is non-nil.
2127 This partially fixes Bug#16403.
2128
3c0c4562
JL
21292014-01-13 Juri Linkov <juri@jurta.org>
2130
2131 * info.el (Info-find-file): Go to DIR before displaying the error
2132 about a nonexistent file if no previous Info file is visited.
2133 Use `user-error' instead of `error' for "Info file %s does not exist".
2134 (Info-find-node-2): In case of a nonexistent node in unwind forms
2135 go to the Top node if there is no previous node to revert to.
2136 (Bug#16405)
2137
25a700d0
MR
21382014-01-13 Martin Rudalics <rudalics@gmx.at>
2139
2140 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2141 * window.el (fit-frame-to-buffer): Fix doc-string.
2142 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2143 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2144 when avoiding that frame goes partially off-screen.
2145 (fit-window-to-buffer): Respect window-min-height/-width
2146 (Bug#14096).
2147
6ae948d8
SM
21482014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2151 after an empty line.
2152
6137cb82
SM
21532014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * net/shr.el (shr-render-region): Autoload.
2156
e6344e17
XF
21572014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2158
2159 * net/eww.el (eww-download-directory): Rename from
2160 `eww-download-path' (Bug#16419).
2161
3b922c70
LL
21622014-01-12 Leo Liu <sdl.web@gmail.com>
2163
2164 * dired-x.el (dired-mode-map): Fix last change.
2165
2166 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2167
4fa51741
PE
21682014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2169
2170 Spelling fixes.
2171 * emacs-lisp/generic.el (generic--normalize-comments):
2172 Rename from generic--normalise-comments. All uses changed.
35e951cd 2173 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2174 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2175 (bubbles--neighborhood-available)
2176 (bubbles--update-neighborhood-score):
2177 Rename from names with 'neighbourhood'. All uses changed.
2178
9b335362
LL
21792014-01-12 Leo Liu <sdl.web@gmail.com>
2180
2181 Re-implement the feature of showing eldoc info after editing.
2182 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2183 (eldoc-edit-message-commands): New function.
2184 (eldoc-print-after-edit): New variable.
2185 (eldoc-pre-command-refresh-echo-area): Emit message only by
2186 eldoc-message-commands.
2187 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2188 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2189 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2190 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2191
e2a095b1
GM
21922014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2193 Eric S. Raymond <esr@thyrsus.com>
9685190b 2194
841a6d0c 2195 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2196 function works correctly in either a Bazaar or Git repo.
0abf4134 2197
e2a095b1
GM
21982014-01-11 Eric S. Raymond <esr@thyrsus.com>
2199
6137cb82
SM
2200 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2201 Goes with removal of the joke manpages from /etc.
9685190b 2202
c295fc18 22032014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2204
6137cb82
SM
2205 * mail/rmail.el (rmail-get-coding-system):
2206 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2207
d2f16e93
GM
22082014-01-10 Glenn Morris <rgm@gnu.org>
2209
2210 * emacs-lisp/authors.el (authors-fixed-entries):
2211 Update for files that no longer exist.
2212
7e03bb32
ER
22132014-01-10 Eric S. Raymond <esr@thyrsus.com>
2214
2215 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2216 24.3 (Tested).
7e03bb32 2217
dd806710
BB
22182014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2219
2220 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2221 and Podfile.
2222
ed6ec139
EZ
22232014-01-10 Eli Zaretskii <eliz@gnu.org>
2224
2225 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2226
cc33cac9
CY
22272014-01-10 Chong Yidong <cyd@gnu.org>
2228
6137cb82 2229 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2230
d9d836b5
AL
22312014-01-10 Anders Lindgren <andlind@gmail.com>
2232
2233 * follow.el (follow-cache-command-list): Include right-char and
2234 left-char.
2235
06827ec8
PE
22362014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2237
2238 Spelling fixes.
2239 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2240 * woman.el (woman-mark-horizontal-position):
2241 Rename from woman-mark-horizonal-position. Use changed.
2242
458dbf5e
GM
22432014-01-10 Glenn Morris <rgm@gnu.org>
2244
dad6fae7
GM
2245 * info.el (info-initialize): If running uninstalled, ensure our
2246 own info files are always found first, even if INFOPATH is set.
2247
458dbf5e
GM
2248 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2249
05e0afce
DE
22502014-01-09 David Engster <deng@randomsample.de>
2251
2252 * emacs-lisp/eieio-custom.el:
2253 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2254 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2255 * emacs-lisp/eieio.el: Regenerate autoloads.
2256
f29778b3
ER
22572014-01-09 Eric S. Raymond <esr@thyrsus.com>
2258
2259 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2260 following renames. (Bug#8756)
f29778b3 2261
684d44ef
SM
22622014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2265 (bug#16382).
2266 (activate-mark): Add `no-tmm' argument.
2267 (set-mark, push-mark-command): Use it instead of running
2268 activate-mark-hook by hand.
2269
9475054f
ER
22702014-01-08 Eric S. Raymond <esr@thyrsus.com>
2271
2272 In preparation for the move to git, sanitize out some
2273 Bazaar-specific names.
2274
38942b9c
GM
2275 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2276
9475054f 2277 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2278 emacs-repository-version. Obsolete-variable alias made.
9475054f 2279 * loadup.el: Follow through on this name change.
a12bf61e 2280 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2281 assumption about the version control system in use.
2282
0f918d96 22832014-01-08 David Engster <deng@randomsample.de>
abb82152 2284
684d44ef
SM
2285 * help-fns.el (help-fns-describe-function-functions):
2286 New variable to call functions for augmenting help buffers.
abb82152
DE
2287 (describe-function-1): Remove explicit calls to
2288 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2289 `help-fns--obsolete'. Put them in above new variable instead, and
2290 call them through `run-hook-with-args'.
2291 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2292 `eieio-describe-class'. Not meant for interactive use anymore,
2293 but to augment existing help buffers. Remove optional second
684d44ef
SM
2294 argument. Create proper button for file location.
2295 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2296 possible.
2297 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2298 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2299 (describe-method, describe-generic, eieio-describe-method):
2300 Remove aliases.
0f918d96
DE
2301 (eieio-help-constructor, eieio-help-generic): Rename from
2302 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2303 Rewrite to use `insert' in the current buffer and use proper help
2304 buttons.
2305 (eieio-help-find-method-definition)
2306 (eieio-help-find-class-definition): Also accept symbols as
2307 arguments.
2308 (eieio-help-mode-augmentation-maybee): Remove.
2309 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2310 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2311 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2312
136b74c5
PE
23132014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2314
2315 Spelling fixes.
2316 * language/china-util.el (hz-ascii-designation):
2317 Rename from hz-ascii-designnation.
2318 (hz-ascii-designation): Rename from hz-ascii-designnation.
2319 All uses changed.
2320
ec6c7de2
SM
23212014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2324 package-alist.
2325
d6262c7c
BG
23262014-01-08 Bastien Guerry <bzg@gnu.org>
2327
4b9e6087
GM
2328 * emacs-lisp/package.el (package-delete):
2329 Correctly delete the package from package-alist.
d6262c7c 2330
0a3eec32
DU
23312014-01-08 Daiki Ueno <ueno@gnu.org>
2332
2333 * emacs-lisp/package.el (url-recreate-url): Declare.
2334 (url-http-target-url): Declare.
4b9e6087 2335 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2336 (package--check-signature): Don't re-signal errors from
2337 package--with-work-buffer. Suggested by Stefan Monnier.
2338
68f0bb97
BG
23392014-01-07 Bastien Guerry <bzg@gnu.org>
2340
2341 * minibuffer.el (completion--try-word-completion): When both a
2342 hyphen and a space are possible candidates for the character
2343 following a word, display both candidates. (Bug#15980)
2344
7e1899d7
MR
23452014-01-07 Martin Rudalics <rudalics@gmx.at>
2346
2347 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2348 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2349
0030ec15
GM
23502014-01-07 Glenn Morris <rgm@gnu.org>
2351
2352 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2353 (menu-bar-help-menu): Use view-external-packages instead.
2354
2b6b4f20
BG
23552014-01-07 Bastien Guerry <bzg@gnu.org>
2356
2357 * emacs-lisp/package.el (package-delete): Also delete the package
2358 name from `package-alist', not its description only.
2359
e9be0a13
GM
23602014-01-07 Glenn Morris <rgm@gnu.org>
2361
2362 * help.el (view-external-packages):
2363 * menu-bar.el (menu-bar-help-extra-packages):
2364 Visit efaq.info rather than etc/MORE.STUFF.
2365
e4f74da9
JL
23662014-01-07 Juri Linkov <juri@jurta.org>
2367
2368 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2369 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2370
2371 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2372 that shadows RET. (Bug#16342)
2373
de7ce2d1
CY
23742014-01-07 Chong Yidong <cyd@gnu.org>
2375
2376 * isearch.el (isearch-yank-char, isearch-yank-word)
2377 (isearch-yank-line): Doc fix.
2378
6bdd9204
SM
23792014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2380
2381 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2382 * emacs-lisp/elint.el (elint-find-builtins):
2383 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2384 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2385 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2386 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2387 * apropos.el (apropos-safe-documentation):
2388 * subr.el (symbol-file): Remove redundant fboundp.
2389 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2390
daccca97
BG
23912014-01-06 Bastien Guerry <bzg@gnu.org>
2392
2393 * hl-line.el (global-hl-line-overlay): Make a local variable.
2394 (global-hl-line-overlays): New variable to store all overlays.
2395 (global-hl-line-mode): Don't delete overlays from the current
2396 buffer when `global-hl-line-sticky-flag' is non-nil.
2397 (global-hl-line-highlight): Add new overlays to
2398 `global-hl-line-overlays'.
2399 (global-hl-line-unhighlight-all): New function to delete all
2400 overlays when turning off `global-hl-line-mode'.
2401 This fixes Bug#16183.
2402
ec00f20f
SM
24032014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * subr.el (set-transient-map): Fix nested case and docstring.
2406
a0031f97
TH
24072014-01-06 Tassilo Horn <tsdh@gnu.org>
2408
2409 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2410 `Texinfo' entry.
2411
bf6a77f3
DC
24122014-01-06 Daniel Colascione <dancol@dancol.org>
2413
2414 Fix defun navigation in vc log view.
2415
2416 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2417 like `beginning-of-defun'.
c295fc18 2418 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2419 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2420 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2421 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2422 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2423
d5081c1e
PE
24242014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2425
2426 Spelling fixes.
2427 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2428 * emacs-lisp/debug.el (cancel-debug-on-entry):
2429 * epg.el (epg-error-to-string):
2430 * files.el (recover-file):
2431 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2432 * mail/emacsbug.el (report-emacs-bug-hook):
2433 * mail/sendmail.el (mail-recover):
2434 * ses.el (ses-yank-resize):
2435 * term/ns-win.el (ns-print-buffer):
2436 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2437 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2438 All uses changed.
2439 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2440
53f6b148
LL
24412014-01-06 Leo Liu <sdl.web@gmail.com>
2442
2443 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2444 to avoid shadowing global key. (Bug#16354)
53f6b148 2445
b82ace2f
DC
24462014-01-06 Daniel Colascione <dancol@dancol.org>
2447
2448 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2449 rst-mode.
2450
3669b636
MR
24512014-01-05 Martin Rudalics <rudalics@gmx.at>
2452
2453 * window.el (balance-windows): Add mising t to fix Bug#16351.
2454
1a29adc2
LMI
24552014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2456
2457 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2458 (bug#16285).
3d95a0f4
LMI
2459 (shr-insert): If we have a word that's longer than `shr-width',
2460 break after it anyway. Otherwise we'll do no breaking once we get
2461 such a long word.
1a29adc2 2462
f4018140
KN
24632014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2464
3fcfc4ee 2465 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2466 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2467 (eww-history-quit): Delete and use quit-window.
2468 (eww-history-kill): Delete, because it doesn't work well and
2469 not necessary.
2470 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2471
4e619754
PE
24722014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2473
73dbf960
PE
2474 Fix misspelling of 'chinese' in rx (Bug#16237).
2475 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2476 chinese-two-byte.
2477
4e619754
PE
2478 Change subword regexps back to vars (Bug#16296).
2479 * progmodes/subword.el (subword-forward-regexp)
2480 (subword-backward-regexp): Change these back to variables.
2481
e18b70fc
SM
24822014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2485 syntax-begin-function (bug#16247).
2486
0d53f628
CY
24872014-01-03 Chong Yidong <cyd@gnu.org>
2488
2489 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2490 (advice--docstring): Delete variable.
2491 (advice--make-1): Leave the docstring empty.
2492 (advice-add): Use function-documentation for advised docstring.
2493
2494 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2495 Ignore function-documentation property when getting documentation.
2496 (ad-activate-advised-definition): Use function-documentation
2497 generate the docstring.
2498 (ad-make-advised-definition): Don't call
2499 ad-make-advised-definition-docstring.
2500 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2501 Delete functions.
2502
2503 * progmodes/sql.el (sql-help): Use function-documentation instead
2504 of dynamic-docstring-function property. No need to autoload now.
2505 (sql--help-docstring): New variable.
2506 (sql--make-help-docstring): Use it.
2507
6f547583
SM
25082014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2509
6ef9aed8
SM
2510 * ielm.el (ielm-tab): Retarget.
2511 (ielm-map): Use ielm-tab for tab.
2512 (ielm-complete-filename): Use comint-filename-completion.
2513 (ielm-complete-symbol): Remove.
2514 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2515 remove ielm-tab from completion-at-point-functions (bug#16224).
2516
6f547583
SM
2517 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2518 Beware signals raised by predicates (bug#16201).
2519
a574edbe
RS
25202014-01-02 Richard Stallman <rms@gnu.org>
2521
e831604d
RS
2522 * dired-aux.el (dired-do-print): Handle printer-name.
2523
6f547583
SM
2524 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2525 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2526 (rmail-epa-decrypt): Turn off mime processing.
2527
3fcfc4ee 2528 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2529 Add parens in message-id.
2530
2531 * mail/rmail.el (rmail-get-coding-function): Variable.
2532 (rmail-get-coding-system): Use it.
2533
04311a16
KH
25342013-12-31 Eli Zaretskii <eliz@gnu.org>
2535
2536 * international/mule-conf.el: Unify the charset indian-is13194.
2537 (indian-is13194): Specify unify-map.
2538
c8d89778
LL
25392013-12-31 Leo Liu <sdl.web@gmail.com>
2540
2541 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2542
e63ace37
DC
25432013-12-30 Daniel Colascione <dancol@dancol.org>
2544
9e0bf19a
DC
2545 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2546 of printing a useless when we resume from sleep.
2547
e63ace37 2548 * progmodes/sh-script.el
c295fc18 2549 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2550 in indentation code. (Bug#16233)
2551
e9d6c46a
JT
25522013-12-28 João Távora <joaotavora@gmail.com>
2553
6f547583
SM
2554 * elec-pair.el (electric-pair-post-self-insert-function):
2555 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2556
bf7bea5d
EZ
25572013-12-28 Eli Zaretskii <eliz@gnu.org>
2558
2559 * frame.el (window-system-for-display): Don't allow to create a
2560 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2561
8449dd1f
GM
25622013-12-28 Glenn Morris <rgm@gnu.org>
2563
9c5a5c77
GM
2564 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2565 Update callers.
2566
2567 * apropos.el (apropos-match-face):
2568 * calculator.el (calculator-displayer):
2569 * dabbrev.el (dabbrev-search-these-buffers-only):
2570 * face-remap.el (buffer-face-mode-face):
2571 * simple.el (yank-handled-properties):
2572 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2573 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2574 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2575 (hashcash-double-spend-database):
2576 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2577 (ruby-deep-indent-paren-style):
2578 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2579 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2580 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2581 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2582 Specify custom types.
2583
bb098075
GM
2584 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2585 * bookmark.el (bookmark-bmenu-use-header-line):
2586 * doc-view.el (doc-view-scale-internally):
2587 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2588 * register.el (register-preview-delay):
2589 * net/shr.el (shr-bullet):
2590 * progmodes/cfengine.el (cfengine-cf-promises)
2591 (cfengine-parameters-indent):
2592 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2593 * textmodes/reftex-vars.el (reftex-label-regexps):
2594 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2595
9c61f806
GM
2596 * net/tls.el (tls-certtool-program): Fix default value.
2597
2598 * desktop.el (desktop-restore-in-current-display):
2599 * newcomment.el (comment-empty-lines):
2600 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2601 (idlwave-pad-keyword):
2602 * progmodes/tcl.el (tcl-tab-always-indent):
2603 * textmodes/reftex-vars.el (reftex-index-default-tag):
2604 * elec-pair.el (electric-pair-skip-whitespace):
2605 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2606
8449dd1f
GM
2607 * emacs-lisp/authors.el (authors-ignored-files)
2608 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2609
fdadeb49
JC
26102013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2611
72140a0f
GM
2612 * shell.el (shell-dynamic-complete-command): Doc fix.
2613 (shell--command-completion-data): Shell completion now matches
2614 executable filenames from the current buffer's directory, on
da5ecfa9 2615 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2616
e572a7d8
LI
26172013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2618
2619 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2620
7514d3f8
SM
26212013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2622
a4151f3b
SM
2623 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2624 (bug#16251).
2625
7514d3f8
SM
2626 * electric.el: Move all electric-pair-* to elec-pair.el.
2627 * elec-pair.el: New file, split from electric.el.
2628
ac5758d1
LI
26292013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2630
2631 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2632 indentation level is larger than the width, because that will
2633 infloop.
2634 (shr-insert): Fill repeatedly long texts, so that Japanese is
2635 formatted correctly (bug#16263).
24a6b65e
LI
2636 (shr-find-fill-point): Off by one error in comparison with the
2637 indentation.
ac5758d1 2638
7514d3f8 26392013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2640
2641 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2642 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2643 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2644 if that keeps or improves their balance in buffers.
2645 (electric-pair-delete-adjacent-pairs): Delete the pair when
2646 backspacing over adjacent matched delimiters.
2647 (electric-pair-open-extra-newline): Open extra newline when
2648 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2649 (electric--sort-post-self-insertion-hook):
2650 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2651 minor-modes are activated.
2652 * simple.el (newline-and-indent): Call newline with interactive
2653 set to t.
2654 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2655 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2656 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2657 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2658 electric-pair-open-newline-between-pairs to nil.
2659
fbcc63a3
FEG
26602013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2661
2662 * progmodes/python.el: Use lexical-binding.
2663 (python-nav-beginning-of-defun): Stop searching ASAP.
2664
ed78d16c
XF
26652013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2666
2667 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2668 Fix interactive spec. Doc fix. (Bug#15754)
2669
38b2c142
KY
26702013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2671
2672 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2673 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2674 Fix edebug spec (bug#16184).
2675
3c856c14
LI
26762013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2677
83fa295c 2678 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2679 (shr-insert): Don't infloop if we can't find a good place to break
2680 the line (bug#16256).
3c856c14 2681
01379221
FEG
26822013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2683
35e951cd 2684 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2685 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2686 python-nav-lisp-forward-sexp-safe.
2687 (python-nav--forward-sexp): New argument SAFE allows switching
2688 forward sexp movement behavior for parens.
2689 (python-nav-forward-sexp): Throw errors on unterminated parens
2690 (Bug#16191).
2691 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2692 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2693 (python-shell-buffer-substring):
2694 Use `python-nav-forward-sexp-safe'.
01379221 2695
99e4926f
LI
26962013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2697
2698 * net/shr.el (shr-find-fill-point): Don't break lines before a
2699 quotation mark.
c6c20584
LI
2700 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2701 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2702 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2703
fec0e828
KN
27042013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2705
2706 * net/eww.el (eww-form-textarea): Use a different face for
2707 textareas than text input since they have different keymaps
2708 (bug#16142).
2709
89c868ad
FEG
27102013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2711
7514d3f8
SM
2712 * progmodes/python.el (python-nav-beginning-of-statement):
2713 Speed up (Bug#15295).
89c868ad 2714
eeef121a
LI
27152013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2716
2717 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2718 the window configuration.
2719
121ea65f
EZ
27202013-12-24 Eli Zaretskii <eliz@gnu.org>
2721
2722 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2723 we run on MS-Windows or MS-DOS.
2724
18cee9ec
MR
27252013-12-24 Martin Rudalics <rudalics@gmx.at>
2726
2727 * window.el (balance-windows-area): Call window-size instead of
2728 window-height and window-width. Bug#16241.
2729
58f2b9a5
LI
27302013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2731
2732 * net/eww.el (eww-bookmark-quit): Remove.
2733 (eww-bookmark-browse): Restore the window configuration when you
2734 choose a bookmark (bug#16144).
2735
d64b6308
DC
27362013-12-24 Daniel Colascione <dancol@dancol.org>
2737
2738 * icomplete.el: Remove redundant :group arguments to `defcustom'
2739 throughout.
2740 (icomplete-show-matches-on-no-input): New customizable variable.
2741 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2742 we have something to show.
7514d3f8 2743 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2744
0da54898
DC
27452013-12-23 Daniel Colascione <dancol@dancol.org>
2746
2747 * icomplete.el: Move `provide' to end of file.
2748
b90aa4f4
TZ
27492013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2750
2751 * net/gnutls.el (gnutls-verify-error): Add version tag.
2752
8cd22a08
CY
27532013-12-23 Chong Yidong <cyd@gnu.org>
2754
2755 * subr.el (set-transient-map): Rename from
2756 set-temporary-overlay-map. Doc fix.
2757
2758 * face-remap.el (text-scale-adjust):
2759 * indent.el (indent-rigidly):
2760 * kmacro.el (kmacro-call-macro):
2761 * minibuffer.el (minibuffer-force-complete):
2762 * repeat.el (repeat):
2763 * simple.el (universal-argument--mode):
2764 * calendar/todo-mode.el (todo-insert-item--next-param):
2765 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2766
7510b021
CY
2767 * indent.el (indent-rigidly): Use substitute-command-keys.
2768
72140a0f 27692013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2770
2771 * net/eww.el (eww-tag-select): Add text-property to jump to next
2772 select field.
e9dc713d 2773 (eww): Add non-supported ftp error.
56890ecd 2774
1f87a56c
DG
27752013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2776
2777 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2778 comments. Handle electric indent after typing `?' and `!'.
2779
dca38cf9
CY
27802013-12-22 Chong Yidong <cyd@gnu.org>
2781
2782 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2783 applicable to a frame, fall back on the defface spec.
2784 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2785
f2351498
DG
27862013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2787
2788 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2789 after `{'. We need it after block openers, and it doesn't seem
2790 to hurt after hash openers.
2791
6cddebc1
DG
27922013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2793
2794 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2795 extracted from `ruby-smie-rules'.
2796 (ruby--electric-indent-chars): New variable.
2797 (ruby--electric-indent-p): New function.
2798 (ruby-mode): Use `electric-indent-functions' instead of
2799 `electric-indent-chars'.
2800
65a1da00
DG
28012013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2802
2803 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2804 docstring.
2805 (ruby-smie-rules): Indent plus one level after `=>'.
2806
b51ad4cf
RS
28072013-12-21 Richard Stallman <rms@gnu.org>
2808
2809 * simple.el (newline): Doc fix.
2810
72140a0f 28112013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2812
e9dc713d 2813 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2814 (eww-history-browse, eww-history-quit, eww-history-kill)
2815 (eww-history-mode-map, eww-history-mode): New command and
2816 functions to list browser histories.
e9dc713d
JB
2817 (eww-form-text): Support text form with disabled
2818 and readonly attributes.
2819 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2820
5e1901c1
RS
28212013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2822
2823 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2824 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2825 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2826 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2827 Use `user-error'.
2828 (eww-bookmark-mode-map): Add menu.
2829 (eww-render, eww-mode): Use `setq-local'.
2830 (eww-tool-bar-map): New variable.
2831 (eww-mode): Set `tool-bar-map'.
2832 (eww-view-source): Check for `html-mode' with `fboundp'.
2833
073d5cfd
LMI
28342013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2835
2836 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2837 elements with text inside. Also remove debugging.
2838
41cf3d11
JD
28392013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2840
2841 * cus-start.el (all): Add ns-use-srgb-colorspace.
2842
aac2b673
CY
28432013-12-21 Chong Yidong <cyd@gnu.org>
2844
2845 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2846 undefined. Thus, theme settings for undefined faces do not take
2847 effect until the faces are defined with defface, the same as with
2848 theme variables.
2849
2850 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2851 (face-spec-reset-face): Don't assign extra properties in temacs.
2852 (face-spec-recalc): Apply X resources too.
2853
bacb0e77
CY
28542013-12-21 Chong Yidong <cyd@gnu.org>
2855
2856 * faces.el (face-spec-set):
2857 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2858 * custom.el (defface): Doc fixes (Bug#16203).
2859
77221051
CY
2860 * indent.el (indent-rigidly-map): Add docstring, and move commands
2861 into named functions.
2862 (indent-rigidly-left, indent-rigidly-right)
2863 (indent-rigidly-left-to-tab-stop)
2864 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2865 indentation direction based on bidi direction, and accumulate
2866 sequential commands in a single undo boundary.
2867 (indent-rigidly--pop-undo): New utility function.
2868
e0eb0550
JB
28692013-12-20 Juanma Barranquero <lekktu@gmail.com>
2870
2871 * faces.el (read-face-name): Require crm.el when using crm-separator.
2872
3282bd2e
DC
28732013-12-20 Daniel Colascione <dancol@dancol.org>
2874
2875 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2876 so that we don't reflow comments into the shebang line.
2877
1d42e5b6
JL
28782013-12-20 Juri Linkov <juri@jurta.org>
2879
2880 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2881 a position when `dired-directory' is non-nil. Check integer
2882 positions with `integerp'.
2883 (toggle-save-place, save-places-to-alist): Add check for
2884 `dired-directory'.
2885 (save-place-find-file-hook): Check integer positions with
2886 `integerp'.
2887 (save-place-dired-hook): Use `dired-goto-file' when
2888 `dired-filename' is found in the assoc list. Check integer
2889 positions with `integerp'.
2890 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2891
2892 * dired.el (dired-initial-position-hook): Rename back from
2893 `dired-initial-point-hook'.
2894 (dired-initial-position): Rename `dired-initial-point-hook' to
2895 `dired-initial-position-hook'.
2896 (dired-file-name-at-point): Doc fix. (Bug#15329)
2897
24da7273
JL
28982013-12-20 Juri Linkov <juri@jurta.org>
2899
2900 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2901 (read-regexp-suggestions): New function.
2902 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2903 Use `read-regexp-suggestions'. Add non-empty default to history
2904 for empty input.
2905 (occur-read-regexp-defaults-function): Remove function.
2906 (occur-read-primary-args): Use `regexp-history-last' instead of
2907 `occur-read-regexp-defaults-function'.
2908
2909 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2910 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2911 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2912 `hi-lock-read-regexp-defaults-function'. Doc fix.
2913 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2914 with `find-tag-default-as-symbol-regexp'. Doc fix.
2915 (hi-lock-read-regexp-defaults): Remove function.
2916 (hi-lock-regexp-okay): Add check for null.
2917
2918 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2919 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2920
2921 * subr.el (find-tag-default-as-symbol-regexp): New function.
2922 (find-tag-default-as-regexp): Move symbol regexp formatting to
2923 `find-tag-default-as-symbol-regexp'.
2924
137f57c8
S
29252013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2926
2927 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2928 (Bug#14179)
2929
f3a66082
SB
29302013-12-20 Stephen Berman <stephen.berman@gmx.net>
2931
2932 * calendar/todo-mode.el: New implementation of item insertion
2933 commands and key bindings.
2934 (todo-key-prompt): New face.
2935 (todo-insert-item): New command.
2936 (todo-insert-item--parameters): New defconst, replacing defvar
2937 todo-insertion-commands-args-genlist.
2938 (todo-insert-item--param-key-alist): New defconst, replacing
2939 defvar todo-insertion-commands-arg-key-list.
2940 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2941 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2942 (todo-insert-item--next-param): New functions.
2943 (todo-insert-item--args, todo-insert-item--argleft)
2944 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2945 New variables.
2946 (todo-key-bindings-t): Change binding of "i" from
2947 todo-insertion-map to todo-insert-item.
2948 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2949 (todo-insertion-command-name, todo-insertion-commands-names)
2950 (todo-define-insertion-command, todo-insertion-commands)
2951 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2952
2f99433b
SB
29532013-12-20 Stephen Berman <stephen.berman@gmx.net>
2954
2955 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2956 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2957 eval-when-compile.
2958 (todo-move-category): Allow choosing a non-existing todo file to
2959 move the category to, and create that file.
2960 (todo-default-priority): New user option.
2961 (todo-set-item-priority): Use it.
2962 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2963 (desktop-restore-file-buffer): Declare.
2964 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2965 (todo-modes-set-2): Locally set desktop-save-buffer to
2966 todo-desktop-save-buffer.
2967 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2968 (auto-mode-alist): Add autoload cookie.
2969
131e4695
BB
29702013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2971
2972 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2973 helpers.el was a poor choice of name.
3cbfb935
BB
2974 (string-remove-prefix): New function.
2975 (string-remove-suffix): New function.
131e4695 2976
c44de18d
MR
29772013-12-20 Martin Rudalics <rudalics@gmx.at>
2978
2979 Fix assignment for new window total sizes.
2980 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2981 (window--pixel-to-total-1, window--pixel-to-total):
2982 Fix calculation of new total sizes.
c44de18d 2983
ca65efcc
VS
29842013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2985
2986 * comint.el (comint-output-filter): Fix rear-nonsticky property
2987 placement (Bug#16010).
2988
a9574eb7
CY
29892013-12-20 Chong Yidong <cyd@gnu.org>
2990
2991 * faces.el (read-color): Minor fix for completion function.
2992
b520f210
DG
29932013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2994
e0eb0550
JB
2995 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2996 New option. (Bug#16182)
b520f210
DG
2997 (ruby-smie--indent-to-stmt-p): Use it.
2998 (ruby-smie-rules): Revert the logic in the handling of `when'.
2999 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3000 (ruby-deep-arglist, ruby-deep-indent-paren)
3001 (ruby-deep-indent-paren-style): Update docstrings to note that the
3002 vars don't have any effect with SMIE.
3003
26b75b45
JB
30042013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3005
3006 * calc/calc.el (calc-enter, calc-pop): Use the variable
3007 `calc-context-sensitive-enter'.
3008
cf91cee7
LMI
30092013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3010
3011 * net/shr.el (shr-insert): Protect against infloops in degenerate
3012 tables.
3013
51d971b4
RS
30142013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3015
3016 * progmodes/octave.el (octave): Add link to manual and octave
3017 homepage.
3018 (octave-mode-menu): Link to octave-mode manual.
3019
8c2e462a
LL
30202013-12-20 Leo Liu <sdl.web@gmail.com>
3021
3022 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3023 insertion using skeleton-end-newline. (Bug#16138)
3024
501158bc
JL
30252013-12-20 Juri Linkov <juri@jurta.org>
3026
3027 * replace.el (occur-engine): Use `add-face-text-property'
3028 to add the face property to matches and titles. (Bug#14645)
3029
3030 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3031 the palette of other hi-lock colors.
3032 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3033
50ab1da6
JL
30342013-12-19 Juri Linkov <juri@jurta.org>
3035
3036 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3037 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3038 (minibuffer-history-symbol): Move variable declaration closer to
3039 its usage.
3040
3041 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3042 (Bug#14785)
3043
3d6e95e7
JL
30442013-12-19 Juri Linkov <juri@jurta.org>
3045
3046 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3047 New function.
3048 (log-edit-hook): Add it to :options. (Bug#16170)
3049
b41594fd
JL
30502013-12-19 Juri Linkov <juri@jurta.org>
3051
3052 * simple.el (eval-expression-print-format): Don't check for
3053 command names and the last command. Always display additional
3054 formats of the integer result in the echo area, and insert them
3055 to the current buffer only with a zero prefix arg.
3056 Display character when char-displayable-p is non-nil.
3057 (eval-expression): With a zero prefix arg, set `print-length' and
3058 `print-level' to nil, and insert the integer values from
3059 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3060
3061 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3062 `eval-last-sexp-arg-internal'. Doc fix.
3063 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3064 `eval-last-sexp-print-value'. Doc fix.
3065 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3066 Set `print-length' and `print-level' to nil when arg is zero.
3067 (eval-last-sexp): Doc fix.
3068 (eval-defun-2): Print the integer values from
3069 `eval-expression-print-format' at the end.
3070
3071 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3072 values from `eval-expression-print-format' at the end.
3073
3074 * ielm.el (ielm-eval-input): Print the integer
3075 values from `eval-expression-print-format' at the end.
3076
8f2be364
TZ
30772013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3078
3079 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3080 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3081
2230a6e3
SM
30822013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3083
3084 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3085 (hl-line-highlight, global-hl-line-highlight): Use it.
3086 (hl-line-overlay): Use defvar-local.
3087
1269a680
JD
30882013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3089
3090 * term/ns-win.el: Require dnd.
3091 (global-map): Remove drag items.
3092 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3093 (ns-set-background-at-mouse):
3094 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3095 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3096 New functions.
1269a680 3097
049638ad
GM
30982013-12-19 Glenn Morris <rgm@gnu.org>
3099
3100 * emacs-lisp/ert.el (ert-select-tests):
3101 Fix string/symbol mixup. (Bug#16121)
3102
ce41edb4
DG
31032013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3104
3105 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3106 keywords to their parent.
3107
7e1549c9
DG
31082013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3109
3110 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3111 first arg to be a string (fixed dead code), or an operator symbol.
3112 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3113 operator symbols.
3114 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3115 did nothing. Don't respond to `(:after ".")', it will be called
3116 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3117 change anything. Only return indentation for binary operators
3118 when they are hanging. De-dent opening paren when its parent is
3119 `.', otherwise it looks bad when the dot is not at bol or eol
3120 (bug#16182).
3121
3ee4cd64
JL
31222013-12-19 Juri Linkov <juri@jurta.org>
3123
3124 * replace.el (query-replace-read-args): Split a non-negative arg
3125 and a negative arg into separate elements.
3126 (query-replace, query-replace-regexp, replace-string)
3127 (replace-regexp): Add arg `backward'. Doc fix.
3128 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3129 move point to the beginning of the match.
3130 (replace-search, replace-highlight): Use new arg `backward'
3131 to set the value of `isearch-forward'.
3132 (perform-replace): Add arg `backward' and use it to perform
3133 replacement backward. (Bug#14979)
3134
3135 * isearch.el (isearch-query-replace): Use a negative prefix arg
3136 to call `perform-replace' with a non-nil arg `backward'.
3137
0cda6b7b
JL
31382013-12-18 Juri Linkov <juri@jurta.org>
3139
3140 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3141 to the default list. Move `log-edit-show-files' to the end.
3142 Add more available functions to options.
3143 (log-edit): Move default specific settings to
3144 `log-edit-insert-message-template'. Don't move point.
3145 (log-edit-insert-message-template): New function.
3146 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3147 (Bug#16170)
3148
b216f0a6
JL
31492013-12-18 Juri Linkov <juri@jurta.org>
3150
3151 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3152 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3153
1d1c55dc
LL
31542013-12-18 Leo Liu <sdl.web@gmail.com>
3155
e9dc713d
JB
3156 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3157 (Bug#16186)
1d1c55dc 3158
64e4c76e
EZ
31592013-12-18 Eli Zaretskii <eliz@gnu.org>
3160
3161 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3162 formats for displaying file sizes when the -s switch is given.
3163 Instead, compute a separate format for displaying the size in
3164 blocks, which is displayed in addition to the "regular" size.
3165 When -h is given in addition to -s, produce size in blocks in
3166 human-readable form as well. (Bug#16179)
3167
b2984e39
TH
31682013-12-18 Tassilo Horn <tsdh@gnu.org>
3169
2230a6e3
SM
3170 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3171 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3172
50ff2e06
CY
31732013-12-18 Chong Yidong <cyd@gnu.org>
3174
0081bc84
CY
3175 * cus-edit.el (custom-magic-alist): Fix "themed" description
3176 (Bug#14348).
3177
a7ee9424
CY
3178 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3179 is non-nil, do not create a new entry in the symbol's theme-value
3180 or theme-face property; update theme-settings only (Bug#14664).
18874304 3181 (custom-available-themes): Doc fix.
a7ee9424 3182
8f942537
CY
3183 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3184 (Bug#15674).
3185
50ff2e06
CY
3186 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3187
83c60f60
KI
31882013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3189
3190 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3191 (Bug#13914).
3192
e0eb0550 31932013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3194
3195 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3196
1f41ee56
GM
31972013-12-18 Glenn Morris <rgm@gnu.org>
3198
3199 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3200 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3201
e82134b1
LW
32022013-12-18 Le Wang <l26wang@gmail.com>
3203
2230a6e3
SM
3204 * comint.el (comint-previous-matching-input-from-input):
3205 Retain point (Bug#13404).
e82134b1 3206
33f5d4c1
CY
32072013-12-18 Chong Yidong <cyd@gnu.org>
3208
3209 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3210
ccc9f6dc
GM
32112013-12-18 Glenn Morris <rgm@gnu.org>
3212
3213 * mail/emacsbug.el (report-emacs-bug):
3214 Only mention enable-multibyte-characters if non-standard.
3215
33dd8e95
JL
32162013-12-17 Juri Linkov <juri@jurta.org>
3217
3218 * arc-mode.el (archive-extract-by-file): Check if directory exists
3219 before deletion to not show irrelevant errors if it doesn't exist.
3220
7a409b30
JL
32212013-12-17 Juri Linkov <juri@jurta.org>
3222
3223 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3224 (Bug#14751)
3225
3226 * net/eww.el (browse-web): Add alias to `eww'.
3227 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3228 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3229
3230 * net/browse-url.el (browse-url-browser-function): Move `eww'
3231 closer to similar functions.
3232
3233 * startup.el (fancy-startup-screen, fancy-about-screen):
3234 Set browse-url-browser-function to eww-browse-url locally.
3235 (Bug#14751)
3236
2d6b6005
SM
32372013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 * window.el (window--pixel-to-total): Remove unused `mini' var.
3240 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3241 (split-window): Remove unused `new' var.
3242 (window--display-buffer): Remove unused `frame' and `delta' vars.
3243 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3244 and display-width'.
3245
cf2b7efc
MR
32462013-12-17 Martin Rudalics <rudalics@gmx.at>
3247
3248 * dired.el (dired-mark-pop-up):
3249 * register.el (register-preview): Don't bind
3250 split-height-threshold here since it's now done in
3251 display-buffer-below-selected.
3252
ed3af8a7 32532013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3254
3255 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3256 xterm-rgb-convert-to-16bit.
3257 (rxvt-register-default-colors): Standardize with
3258 xterm-register-default-colors (Bug#14078).
3259
76da3455
DK
32602013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3261
3262 * simple.el (kill-region): Pass mark first, then point, so that
3263 kill-append works right (Bug#12819).
3264 (copy-region-as-kill, kill-ring-save): Likewise.
3265
2b84d763
LL
32662013-12-17 Leo Liu <sdl.web@gmail.com>
3267
3268 * net/rcirc.el (rcirc-add-face):
3269 * eshell/em-prompt.el (eshell-emit-prompt):
3270 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3271 (Bug#16167)
3272
e2f6a0bc
CY
32732013-12-17 Chong Yidong <cyd@gnu.org>
3274
3275 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3276 Suggested by Xue Fuqiao.
3277
35b249a6
DG
32782013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3279
3280 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3281
e9145444
SM
32822013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * net/shr.el (shr-insert-document): Remove unused var
3285 `shr-preliminary-table-render'.
3286 (shr-rescale-image): Remove unused arg `force'.
3287 (shr-put-image): Update calls accordingly.
3288 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3289
5556c0ce
DG
32902013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3291
3292 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3293 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3294 :close-all, to see which indentation method to use (Bug#16116).
3295 (smie-rules-function): Document the method :close-all.
3296
11bade0a
LMI
32972013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3298
1c4b1e61
LMI
3299 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3300
11bade0a
LMI
3301 * net/eww.el (eww-display-html): If we can't find the anchor we're
3302 looking for, then go to point-min.
3303
8fb8c4f3
PE
33042013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3305
3306 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3307 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3308 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3309 Expand dir too, in case it's relative.
3310
6c8e0ae6
JL
33112013-12-16 Juri Linkov <juri@jurta.org>
3312
3313 * desktop.el (desktop-auto-save-timeout): Change default to
3314 `auto-save-timeout'. Doc fix.
3315 (desktop-save): Skip the timestamp in desktop-saved-frameset
3316 when checking for auto-save changes.
3317 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3318 `desktop-auto-save' is called repeatedly by the idle timer.
3319 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3320 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3321 (Bug#15331)
3322
2178e858
JL
33232013-12-16 Juri Linkov <juri@jurta.org>
3324
3325 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3326 (Bug#16035)
3327 (isearch-pre-command-hook): Check `this-command' for symbolp.
3328
39cb42c6
SM
33292013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3332
5b9b750a
TZ
33332013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3334
3335 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3336 (cfengine3--current-function): Bring in the current-function
3337 functionality from `cfengine3--current-word'.
3338 (cfengine3-completion-function): Bring in the
3339 bounds-of-current-word functionality from
3340 `cfengine3--current-word'.
3341
d144ef06
MR
33422013-12-16 Martin Rudalics <rudalics@gmx.at>
3343
39cb42c6
SM
3344 * window.el (display-buffer-below-selected):
3345 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3346
a8bbe298
LL
33472013-12-16 Leo Liu <sdl.web@gmail.com>
3348
3349 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3350 Remove NOMSG arg and all uses changed.
3351
2013a2f9
SM
33522013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3355 (cua--deactivate-rectangle): Don't deactivate the mark.
3356 (cua-set-rectangle-mark): Don't set mark-active since
3357 cua--activate-rectangle already does it for us.
3358 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3359 non-rectangular region.
3360
3361 * emulation/cua-base.el (cua-repeat-replace-region):
3362 Use with-current-buffer.
3363
3364 * net/gnutls.el: Use cl-lib.
3365 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3366
5ae811dd
TZ
33672013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3368
3369 * emacs-lisp/package.el (package-built-in-p): Support both
3370 built-in and the package.el converted package descriptions.
3371 (package-show-package-list): Allow keywords.
3372 (package-keyword-button-action): Use it instead of
3373 `finder-list-matches'.
3374 (package-menu-filter-interactive): Interactive filtering (by
3375 keyword) function.
3376 (package-menu--generate): Support keywords and change keymappings
3377 and headers when they are given.
3378 (package--has-keyword-p): Helper function.
3379 (package-menu--refresh): Use it.
3380 (package--mapc): Helper function.
3381 (package-all-keywords): Use it.
3382 (package-menu-mode-map): Set up menu items and keybindings to
3383 provide a filtering UI.
3384
31b4827e
TZ
33852013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3386
3387 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3388 the behavior when a certificate fails validation. Defaults to
3389 old behavior: never abort, just warn.
3390 (gnutls-negotiate): Use it.
3391
f93cc74f
MR
33922013-12-14 Martin Rudalics <rudalics@gmx.at>
3393
3394 * window.el (display-buffer-below-selected): Never split window
3395 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3396
f77d7d17
TW
33972013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3398
3399 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3400 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3401
7514d3f8
SM
34022013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3403
aa2bddd7 3404 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3405 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3406
276bc333
DG
34072013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3408
3409 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3410 open-paren tokens when preceded by a open-paren, too.
3411 (ruby-smie-rules): Handle virtual indentation after open-paren
3412 tokens specially. If there is code between it and eol, return the
3413 column where is starts (Bug#16118).
3414
d43957f3
TZ
34152013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3416
a5c1ac0c 3417 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3418 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3419 (cfengine3--current-word): Fix parameters.
3420 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3421 (cfengine3-completion-function, cfengine3--current-function):
3422 Use `assq' for symbols.
d43957f3
TZ
3423 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3424
06a4f110
GM
34252013-12-13 Glenn Morris <rgm@gnu.org>
3426
3427 * loadup.el (load-path): Warn if site-load or site-init changes it.
3428 No more need to reset it when bootstrapping.
3429
978a5fda
TZ
34302013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3431
3432 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3433 locations for cf-promises.
3434 (cfengine-mode-syntax-functions-regex): New caching variable.
3435 (cfengine3-fallback-syntax): Fallback syntax for cases where
3436 cf-promises doesn't run.
3437 (cfengine3--current-word): Reimplement using
3438 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3439 (cfengine3-completion-function, cfengine3--current-function):
3440 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3441 (cfengine3-clear-syntax-cache): New function.
3442 (cfengine3-make-syntax-cache): Simplify and create
3443 `cfengine-mode-syntax-functions-regex' on demand.
3444 (cfengine3-format-function-docstring): Don't call
3445 `cfengine3-make-syntax-cache' explicitly.
3446
71e6691e
MR
34472013-12-13 Martin Rudalics <rudalics@gmx.at>
3448
3449 Fix windmove-find-other-window broken after pixelwise resizing
3450 (Bug#16017).
3451 * windmove.el (windmove-other-window-loc): Revert change from
3452 2013-12-04.
3453 (windmove-find-other-window): Call window-in-direction.
3454 * window.el (window-in-direction): New arguments SIGN, WRAP and
3455 MINI to emulate original windmove-find-other-window behavior.
3456
84c73ba0
DG
34572013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3458
3459 * simple.el (blink-matching--overlay): New variable.
3460 (blink-matching-open): Instead of moving point, highlight the
3461 matching paren with an overlay
3462 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3463
3464 * faces.el (paren-showing-faces, show-paren-match)
3465 (show-paren-mismatch): Move from paren.el.
3466
b9e20952
LL
34672013-12-13 Leo Liu <sdl.web@gmail.com>
3468
3469 * indent.el (indent-region): Disable progress reporter in
3470 minibuffer. (Bug#16108)
3471
3472 * bindings.el (visual-order-cursor-movement): Fix version.
3473
ce030451
FEG
34742013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3475
3476 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3477 Also match after beginning of line.
3478 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3479 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3480
4a9c6865
JL
34812013-12-13 Juri Linkov <juri@jurta.org>
3482
3483 * simple.el <Keypad support>: Remove key bindings duplicated
3484 with bindings.el. (Bug#14397)
3485
2bc170c3
JL
34862013-12-13 Juri Linkov <juri@jurta.org>
3487
3488 * comint.el (comint-mode-map): Replace `delete-char' with
3489 `delete-forward-char'. (Bug#16109)
3490
bc9222c9
FEG
34912013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3492
aa2bddd7 3493 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3494 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3495
cb3a1380
SM
34962013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3499 (advice--make): Pay attention to `depth'.
3500 (advice--make-1): Don't autoload commands eagerly.
3501 * emacs-lisp/elp.el (elp-instrument-function):
3502 * emacs-lisp/trace.el (trace-function-internal):
3503 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3504
3505 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3506
01633a17
EZ
35072013-12-12 Eli Zaretskii <eliz@gnu.org>
3508
3509 * term/w32-win.el (w32-handle-dropped-file):
3510 * startup.el (normal-top-level):
3511 * net/browse-url.el (browse-url-file-url):
3512 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3513 decode file names using 'utf-8' rather than
3514 file-name-coding-system.
3515
09faee72
FEG
35162013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3517
3518 * progmodes/python.el (python-indent-context)
3519 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3520 behavior for comment blocks. (Bug#15916)
09faee72 3521
f4f84024 35222013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3523
cb3a1380
SM
3524 * progmodes/python.el (python-indent-calculate-indentation):
3525 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3526 operators when they are just string constituents. (Bug#15812)
3527
d5ccb7be
JL
35282013-12-12 Juri Linkov <juri@jurta.org>
3529
3530 * uniquify.el (uniquify-buffer-name-style): Change default to
3531 `post-forward-angle-brackets'.
3532
3533 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3534 `uniquify'. Change default to `post-forward-angle-brackets'.
3535
7b3f5679
GM
35362013-12-11 Glenn Morris <rgm@gnu.org>
3537
3538 * emacs-lisp/package.el (finder-list-matches):
3539 Autoload rather than falsely declaring.
3540
f4fe8fdd
TZ
35412013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3542
3543 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3544 (eww-mode-map): Use them.
3545
3c29190f
MR
35462013-12-11 Martin Rudalics <rudalics@gmx.at>
3547
3548 * window.el (display-buffer-in-side-window): Fix doc-string
3549 (Bug#16115).
3550
0cd616a2
JB
35512013-12-11 Juanma Barranquero <lekktu@gmail.com>
3552
3553 * vc/vc-git.el: Silence byte-compiler warnings.
3554 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3555 (log-edit-set-header): Declare.
3556
3ef8e0d1
EZ
35572013-12-11 Eli Zaretskii <eliz@gnu.org>
3558
3559 * Makefile.in (custom-deps, finder-data): Run output file names
3560 through unmsys--file-name. (Bug#16099)
3561
afdadaf7
SM
35622013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3563
7ae3ae39 3564 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3565 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3566
5b4f37ab
SM
3567 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3568 instead of deleting the selection "by hand" (bug#16098).
3569 Rely on insert-for-yank to yank rectangles.
3570 (cua-highlight-region-shift-only): Mark obsolete.
3571 (cua-mode): Don't enable/disable transient-mark-mode,
3572 shift-select-mode (cua-mode works both with and without them), and
3573 pc-selection-mode (obsolete).
3574 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3575 (cua--deactivate-rectangle): Deactivate it.
3576
4b72c12b
SM
3577 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3578 (delete-selection-helper): Make sure yank starts at the top of the
3579 deleted region.
3580 (minibuffer-keyboard-quit): Use region-active-p.
3581
e82af72d
SM
3582 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3583
afdadaf7
SM
3584 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3585 to `delete' (bug#16109).
3586
ed4bc201
RS
35872013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3588
3589 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3590 info manual and show keybindings and set `:group' keyword.
3591
bb8097b9
JL
35922013-12-11 Juri Linkov <juri@jurta.org>
3593
3594 * delsel.el (delete-active-region): Let-bind `this-command'
3595 to prevent `kill-region' from changing its original value.
3596 (delete-selection-helper): Handle `overwrite-mode' for the type
3597 `kill' exactly the same way as for the type `t'.
3598 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3599 Support more commands. (Bug#13312)
3600
c1916ff5
JL
36012013-12-11 Juri Linkov <juri@jurta.org>
3602
3603 * bindings.el: Map kp keys to non-kp keys systematically
3604 with basic modifiers control, meta and shift. (Bug#14397)
3605
7514d3f8 36062013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3607
3608 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3609 "Close browser" menu items. Fix wrong function of "List
3610 bookmarks".
3611
4cc51eaf
JL
36122013-12-11 Juri Linkov <juri@jurta.org>
3613
3614 * misearch.el (multi-isearch-buffers): Set the value of
3615 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3616 arg of isearch-forward to t.
3617 (multi-isearch-buffers-regexp): Set the value of
3618 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3619 arg of isearch-forward-regexp to t.
3620 (multi-isearch-files): Set the value of
3621 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3622 arg of isearch-forward to t.
3623 (multi-isearch-files-regexp): Set the value of
c295fc18 3624 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3625 arg of isearch-forward-regexp to t. (Bug#16035)
3626
3627 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3628 arg of isearch-forward to t.
3629 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3630 arg of isearch-forward-regexp to t.
3631 (dired-isearch-filter-filenames): Remove unnecessary check for
3632 `dired-isearch-filenames'.
3633
3634 * comint.el (comint-history-isearch-backward):
3635 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3636 (comint-history-isearch-backward-regexp):
3637 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3638
ceac12b7
EZ
36392013-12-10 Eli Zaretskii <eliz@gnu.org>
3640
3641 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3642 unmsys--file-name. (Bug#16099)
3643
5a565782
TZ
36442013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3645
cb3a1380
SM
3646 * emacs-lisp/package.el (package-keyword-button-action):
3647 Remove finder.el require dependency.
5a565782 3648
a81fc7ba
TZ
36492013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3650
3651 * emacs-lisp/package.el: Require finder.el.
3652 (describe-package-1): Add keyword buttons.
3653 (package-make-button): New convenience function.
3654 (package-keyword-button-action): Keyword button action using
e0eb0550 3655 `finder-list-matches'.
a81fc7ba 3656
6aaca951
EZ
36572013-12-09 Eli Zaretskii <eliz@gnu.org>
3658
3659 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3660 last commit.
3661
a1099a91
MA
36622013-12-09 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3665 symlinked files.
3666
8212d9c0
DG
36672013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3668
3669 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3670 after the end of a percent literal.
3671
8f48d131
CD
36722013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3673
cb3a1380
SM
3674 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3675 Handle caret-delimited strings (Bug#16079).
8f48d131 3676
ff8c9764
DG
36772013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3678
cb3a1380
SM
3679 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3680 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3681 `ruby-parse-partial' (Bug#16078).
3682
d64643b4
LL
36832013-12-09 Leo Liu <sdl.web@gmail.com>
3684
3685 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3686
47e59c66
DG
36872013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3688
3689 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3690 (js-switch-indent-offset): New option.
3691 (js--proper-indentation): Use it. And handle the case when
3692 "default" is actually a key in an object literal.
3693 (js--same-line): New function.
3694 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3695 (js--indent-in-array-comp, js--array-comp-indentation):
3696 New functions.
47e59c66
DG
3697 (js--proper-indentation): Use them, to handle array comprehension
3698 continuations.
3699
974ebc9c
LL
37002013-12-08 Leo Liu <sdl.web@gmail.com>
3701
3702 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3703 (flymake-make-overlay): Remove arg MOUSE-FACE.
3704 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3705
27262e39
SM
37062013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3709 New function.
3710 (redisplay-highlight-region-function): Use it.
3711
3712 * emulation/cua-base.el (cua--explicit-region-start)
3713 (cua--last-region-shifted): Remove.
3714 (cua--deactivate): Use deactivate-mark.
3715 (cua--pre-command-handler-1): Don't handle shift-selection.
3716 (cua--post-command-handler-1): Don't change transient-mark-mode.
3717 (cua--select-keymaps): Use region-active-p rather than
3718 cua--explicit-region-start or cua--last-region-shifted.
3719 (cua-mode): Enable shift-select-mode.
3720
6407822c
LL
37212013-12-08 Leo Liu <sdl.web@gmail.com>
3722
27262e39
SM
3723 * progmodes/flymake.el (flymake-popup-current-error-menu):
3724 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3725 (flymake-posn-at-point-as-event, flymake-popup-menu)
3726 (flymake-make-emacs-menu): Remove. (Bug#16077)
3727
00a2b823
SM
37282013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3729
02033d49
SM
3730 * rect.el (rectangle-mark-mode): Activate mark even if
3731 transient-mark-mode is off (bug#16066).
3732 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3733 is > mark and at bolp.
3734
6f8dfccf
SM
3735 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3736 (region-extract-function): Use it.
3737 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3738 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3739 Delete functions.
3740 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3741 kill-ring-save, kill-region, delete-char, delete-forward-char.
3742 Ignore self-insert-iso.
3743
3744 * emulation/cua-gmrk.el (cua--init-global-mark):
3745 Ignore `self-insert-iso'.
3746
3747 * emulation/cua-base.el (cua--prefix-copy-handler)
3748 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3749 checking cua--rectangle.
3750 (cua-delete-region): Use region-extract-function.
3751 (cua-replace-region): Delete function.
3752 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3753 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3754 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3755 (cua--init-keymaps): Don't remap delete-selection commands.
3756 (cua-mode): Use delete-selection-mode instead of rolling our own
3757 (bug#16085).
3758
3759 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3760 Obey region-extract-function.
3761
00a2b823
SM
3762 Make registers and delete-selection-mode work on rectangles.
3763 * register.el (describe-register-1): Don't modify the register's value.
3764 (copy-to-register): Obey region-extract-function.
3765 * delsel.el (delete-active-region): Obey region-extract-function.
3766
a92fa5f1
LL
37672013-12-08 Leo Liu <sdl.web@gmail.com>
3768
3769 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3770 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3771 (flymake-compilation-prevents-syntax-check)
3772 (flymake-start-syntax-check-on-newline)
3773 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3774 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3775 (flymake-xml-program, flymake-master-file-dirs)
3776 (flymake-master-file-count-limit)
3777 (flymake-allowed-file-name-masks): Relocate.
3778 (flymake-makehash, flymake-float-time)
3779 (flymake-replace-regexp-in-string, flymake-split-string)
3780 (flymake-get-temp-dir): Remove.
3781 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3782 (flymake-current-row, flymake-selected-frame)
3783 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3784 related functions. (Bug#16077)
3785
73c8ceea
BB
37862013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3787
3788 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3789
faec28d9
TH
37902013-12-07 Tassilo Horn <tsdh@gnu.org>
3791
3792 * help-fns.el (describe-function-1): Use new advice-* functions
3793 rather than old ad-* functions. Fix function type description and
3794 source links for advised functions and subrs.
3795
e330b646
LMI
37962013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3797
00a2b823 3798 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3799
4803595d
MA
38002013-12-06 Michael Albinus <michael.albinus@gmx.de>
3801
3802 * progmodes/compile.el (compilation-start):
3803 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3804
3805 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3806 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3807
fa834a93
DG
38082013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3809
00a2b823
SM
3810 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3811 Touch up the last change.
fa834a93 3812
b2856a6f
LL
38132013-12-06 Leo Liu <sdl.web@gmail.com>
3814
3815 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3816 (inferior-octave-startup): Always use "octave> " for prompt.
3817 (octave-goto-function-definition)
3818 (octave-sync-function-file-names)
3819 (octave-find-definition-default-filename): Remove redundant backquotes.
3820
af67e79a
DG
38212013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3822
3823 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3824 syntax for `?'.
3825 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3826 where appropriate already.
3827 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3828 end of method names (Bug#15874).
3829
bf093209
JL
38302013-12-06 Juri Linkov <juri@jurta.org>
3831
3832 * isearch.el (isearch--saved-overriding-local-map):
3833 New internal variable.
3834 (isearch-mode): Set it to the initial value of
3835 `overriding-terminal-local-map'.
3836 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3837 with `isearch--saved-overriding-local-map'. (Bug#16035)
3838
16588fad
DG
38392013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3840
00a2b823
SM
3841 * progmodes/octave.el (inferior-octave-completion-table):
3842 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3843 (Bug#11906). Update all references.
3844
3845 * minibuffer.el (completion-table-with-cache): New function.
3846
bf4906d7
CD
38472013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3848
3849 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3850
ff69c18f
TZ
38512013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3852
3853 * net/eww.el (eww-current-source): New variable to store page
3854 source.
3855 (eww-display-html, eww-mode, eww-save-history)
3856 (eww-restore-history): Use it.
3857 (eww-view-source): New command to view page source.
3858 Opportunistically uses `html-mode' to highlight the buffer.
3859 (eww-mode-map): Install it.
3860
b85eff45
MA
38612013-12-05 Michael Albinus <michael.albinus@gmx.de>
3862
3863 * net/dbus.el (dbus-unregister-service)
3864 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3865 Fix docstring.
3866 (dbus-unregister-service): Skip :serial entries in
3867 `dbus-registered-objects-table'.
3868 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3869
39eb0899
TZ
38702013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3871
3872 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3873 around keywords with extra `split-string' argument.
3874
456760a5
MR
38752013-12-04 Martin Rudalics <rudalics@gmx.at>
3876
3877 * windmove.el (windmove-other-window-loc): Handle navigation
3878 between windows (excluding the minibuffer window - Bug#16017).
3879
81961e4c
MA
38802013-12-04 Michael Albinus <michael.albinus@gmx.de>
3881
3882 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3883 in D-Bus type syntax.
3884 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3885 preserve unibyte strings. (Bug#16048)
3886
8497f938
SM
38872013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3890 Call force-mode-line-update is the proper buffer (bug#16042).
3891
dda61916
DG
38922013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3893
3894 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3895 `log-edit-remember-comment', make argument optional. Adjust all
3896 callers.
3897 (log-edit-mode): Add `log-edit-remember-comment' to
3898 `kill-buffer-hook' locally.
3899 (log-edit-kill-buffer): Don't remember comment explicitly since
3900 the buffer is killed anyway.
3901
c085e5b9
JL
39022013-12-04 Juri Linkov <juri@jurta.org>
3903
3904 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3905 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3906
e0eb0550 39072013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3908
3909 * notifications.el (notifications-close-notification): Call the
81961e4c 3910 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3911
39fa32d6
KY
39122013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3913
3914 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3915
9139632a
JL
39162013-12-03 Juri Linkov <juri@jurta.org>
3917
3918 * progmodes/compile.el (compilation-start): Rename window alist
3919 entry `no-display-ok' to `allow-no-window'.
3920
3921 * simple.el (shell-command): Add window alist entry
3922 `allow-no-window' to `display-buffer'.
3923 (async-shell-command): Doc fix.
3924
3925 * window.el (display-buffer-no-window): New action function.
3926 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3927
0f457a37
DG
39282013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3929
3930 * vc/log-edit.el (log-edit-set-header): Extract from
3931 `log-edit-toggle-header'.
3932 (log-edit-extract-headers): Separate the summary, when extracted
3933 from header, from the rest of the message with an empty line.
3934
3935 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3936 line, if present, to the Summary header.
3937
0962f376
SM
39382013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3939
3940 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3941 in current-buffer (bug#16029).
3942
f345395c
HE
39432013-12-02 Helmut Eller <eller.helmut@gmail.com>
3944
3945 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3946 (debugger-mode-map): Bind it.
3947 (debugger--backtrace-base): New function.
3948 (debugger-eval-expression): Use it.
3949 (debugger-frame-number): Skip local vars when present.
3950 (debugger--locals-visible-p, debugger--insert-locals)
3951 (debugger--show-locals, debugger--hide-locals): New functions.
3952
a8a15d9d
MA
39532013-12-02 Michael Albinus <michael.albinus@gmx.de>
3954
3955 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3956 "LC_ALL".
3957 (tramp-get-remote-locale): New defun.
3958 (tramp-open-connection-setup-interactive-shell): Use it.
3959
0518b057
LL
39602013-12-02 Leo Liu <sdl.web@gmail.com>
3961
3962 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3963
3964 * progmodes/sh-script.el (sh-shell-process):
3965 * progmodes/octave.el (inferior-octave-process-live-p):
3966 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3967 (gdb-inferior-io-sentinel):
3968 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3969
3adc9c6d
DG
39702013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3971
3972 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3973 `save-selected-window' to `log-edit-hide-buf'. This makes
3974 `log-edit-show-files' idempotent.
3975 (log-edit-show-files): Mark the new window as dedicated.
3976
47e8b74e
DG
39772013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3978
3979 * vc/log-edit.el (log-edit-mode-map): Add binding for
3980 `log-edit-kill-biffer'.
3981 (log-edit-hide-buf): Add a FIXME comment.
3982 (log-edit-add-new-comment): New function, extracted from
3983 `log-edit-done'.
3984 (log-edit-done, log-edit-add-to-changelog): Use it.
3985 (log-edit-kill-buffer): New command.
3986
1f6e1bb0
LMI
39872013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3988
3989 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3990 instead of killing the buffer.
3991
fb651d15
SM
39922013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3995
8feacce0
RS
39962013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3997
fb651d15 3998 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3999 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4000 (eww-form-checkbox, eww-toggle-checkbox):
4001 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4002
e0eb0550 4003 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4004 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4005 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4006 no :src tag was specified.
4007
fb651d15 4008 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4009 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4010 Use \\` to match beginning of string instead of ^.
4011 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 4012 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 4013
177948a5
RS
4014 * net/shr.el (shr-tag-video): Display content for video if no
4015 poster is available.
eb2dd24d 4016 (shr-tag-audio): Add support for <audio> tag.
177948a5 4017
e0eb0550 4018 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
4019 (eww-process-text-input): Treat input types in
4020 `eww-text-input-types' as text.
4021
8feacce0
RS
4022 * net/shr.el (shr-tag-table): Fix comment typo.
4023
513562a1
LMI
40242013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4025
4026 * net/eww.el (eww-follow-link): New command to avoid reloading
4027 pages when we follow #target links (bug#15243).
de8a5633 4028 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 4029
9dd99753
KN
40302013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4031
4032 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4033 forms.
4034
3e9876de
LMI
40352013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4036
4037 * net/eww.el (eww-restore-history): Update the window title after
4038 moving in the history.
ab6dea82 4039 (eww-current-dom): New variable used to save the current DOM.
3e9876de 4040
52789f7f
DG
40412013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4042
4043 * vc/log-edit.el (log-edit-mode-map): Add binding for
4044 `log-edit-beginning-of-line'.
4045 (log-edit-setup-add-author): New user option.
4046 (log-edit-beginning-of-line): New command.
4047 (log-edit): Move major mode call above the contents setup so that
4048 the local variable values are already applied.
4049 (log-edit): Only insert "Author: " when
4050 `log-edit-setup-add-author' is non-nil.
4051 (log-edit): When SETUP is non-nil, position point after ": "
4052 instead of point-min.
4053
2e6710c3
GM
40542013-12-01 Glenn Morris <rgm@gnu.org>
4055
4056 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4057
fadec31f
EZ
40582013-11-30 Eli Zaretskii <eliz@gnu.org>
4059
4060 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 4061 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
4062 visible. (Bug#16014)
4063
10634b40 40642013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
4065
4066 Support resizing frames and windows pixelwise.
4067 * cus-start.el (frame-resize-pixelwise)
4068 (window-resize-pixelwise): New entries.
4069 * emacs-lisp/debug.el (debug): Use window-total-height instead
4070 of window-total-size.
4071 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
4072 * help.el (describe-bindings-internal): Use help-buffer as
4073 argument for with-help-window.
880e6158
MR
4074 (temp-buffer-max-width): New option.
4075 (resize-temp-buffer-window, help-window-setup)
4076 (with-help-window): Rewrite.
4077 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4078 dragging dividers.
4079 * window.el (frame-char-size, window-min-pixel-height)
4080 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4081 (window-min-pixel-width, window-safe-min-pixel-size)
4082 (window-combination-p, window-safe-min-size)
4083 (window-resizable-p, window--size-to-pixel)
4084 (window--pixel-to-size, window--resize-apply-p): New functions.
4085 (window-safe-min-height): Fix doc-string.
4086 (window-size, window-min-size, window--min-size-1)
4087 (window-sizable, window-sizable-p, window--min-delta-1)
4088 (window-min-delta, window--max-delta-1, window-max-delta)
4089 (window--resizable, window--resizable-p, window-resizable)
4090 (window-full-height-p, window-full-width-p, window-at-side-p)
4091 (window--in-direction-2, window-in-direction)
4092 (window--resize-reset-1, window--resize-mini-window)
4093 (window-resize, window-resize-no-error)
4094 (window--resize-child-windows-normal)
4095 (window--resize-child-windows, window--resize-siblings)
4096 (window--resize-this-window, window--resize-root-window)
4097 (window--resize-root-window-vertically)
4098 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4099 (maximize-window, minimize-window, delete-window)
4100 (quit-restore-window, window-split-min-size, split-window)
4101 (balance-windows-2, balance-windows)
4102 (balance-windows-area-adjust, balance-windows-area)
4103 (window--state-get-1, window-state-get, window--state-put-1)
4104 (window--state-put-2, window-state-put)
fb651d15
SM
4105 (display-buffer-record-window, window--display-buffer):
4106 Make functions handle pixelwise sizing of windows.
880e6158 4107 (display-buffer--action-function-custom-type)
fb651d15
SM
4108 (display-buffer-fallback-action):
4109 Add display-buffer-in-previous-window.
880e6158
MR
4110 (display-buffer-use-some-window): Resize window to height it had
4111 before.
4112 (fit-window-to-buffer-horizontally): New option.
4113 (fit-frame-to-buffer): Describe new values.
4114 (fit-frame-to-buffer-bottom-margin): Replace with
4115 fit-frame-to-buffer-margins.
4116 (window--sanitize-margin): New function.
4117 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4118 using window-text-pixel-size.
4119
f9b697dd
GM
41202013-11-30 Glenn Morris <rgm@gnu.org>
4121
3e2fb4db
GM
4122 * emacs-lisp/bytecomp.el (byte-compile-form):
4123 Make the `interactive-only' warning like the `obsolete' one.
4124 * comint.el (comint-run):
4125 * files.el (insert-file-literally, insert-file):
4126 * replace.el (replace-string, replace-regexp):
4127 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4128 (goto-line, insert-buffer, next-line, previous-line):
4129 Tweak `interactive-only' spec.
4130
f9b697dd
GM
4131 Stop keeping (most) generated cedet grammar files in the repository.
4132 * Makefile.in (semantic): New.
4133 (compile-main): Depend on semantic.
4134
da048127
SM
41352013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4136
7784b779
SM
4137 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4138 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4139
4e36a6a6
SM
4140 * uniquify.el (uniquify-buffer-name-style): Change default.
4141
4142 * loadup.el: Preload "uniquify".
4143
e0ba1308
SM
4144 * time.el (display-time-update): Update all mode lines (bug#15999).
4145
da048127
SM
4146 * electric.el (electric-indent-mode): Enable by default.
4147 * loadup.el: Preload "electric".
4148
015b3b3e
BB
41492013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4150
4151 * emacs-lisp/helpers.el (string-empty-p): New function.
4152 (string-blank-p): New function.
4153
7efb806d
AP
41542013-11-29 Andreas Politz <politza@hochschule-trier.de>
4155
4156 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4157 (Bug#14029).
4158
c8f0efc2
AP
41592013-11-29 Andreas Politz <politza@fh-trier.de>
4160 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4161 allow non-lambda lists as functions.
4162 (imenu--in-alist): Don't recurse into non-subalists.
4163 (imenu): Don't pass function itself as an argument (Bug#14029).
4164
bd15d9d1
SM
41652013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * progmodes/python.el (python-mode-map): Remove binding for ":".
4168 (python-indent-electric-colon): Remove command.
4169 (python-indent-post-self-insert-function): Integrate the previous code
4170 of python-indent-electric-colon. Make it conditional on
4171 electric-indent-mode.
4172 (python-mode): Add ?: to electric-indent-chars.
4173 Move python-indent-post-self-insert-function to the end of
4174 post-self-insert-hook.
4175
1b10adb6
SM
41762013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4177
655ab9a3
SM
4178 * doc-view.el (doc-view-goto-page): Update mode-line.
4179
1b10adb6
SM
4180 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4181
7e3bf78c
GM
41822013-11-27 Glenn Morris <rgm@gnu.org>
4183
4184 * international/charprop.el, international/uni-bidi.el:
4185 * international/uni-category.el, international/uni-combining.el:
4186 * international/uni-comment.el, international/uni-decimal.el:
4187 * international/uni-decomposition.el, international/uni-digit.el:
4188 * international/uni-lowercase.el, international/uni-mirrored.el:
4189 * international/uni-name.el, international/uni-numeric.el:
4190 * international/uni-old-name.el, international/uni-titlecase.el:
4191 * international/uni-uppercase.el:
4192 Remove generated files from VCS repository.
4193
fb6a5d68
EZ
41942013-11-27 Eli Zaretskii <eliz@gnu.org>
4195
4196 * filenotify.el (file-notify-add-watch): Don't special-case
4197 w32notify when computing the directory to watch.
4198
cb6c95a3
GM
41992013-11-27 Glenn Morris <rgm@gnu.org>
4200
20372d0c
GM
4201 Make bootstrap without generated uni-*.el files possible again.
4202 * loadup.el: Update command-line-args checking for unidata-gen.
4203 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4204 * composite.el, international/characters.el:
4205 Handle unicode tables being undefined.
4206
52d6635f 4207 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4208 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4209 (compile-main): Depend on leim rule.
4210 (leim): New rule.
4211 * loadup.el: Move leim-list.el to leim/ subdirectory.
4212 * startup.el (normal-top-level): No more leim directory.
4213 * international/ja-dic-cnv.el (skkdic-convert):
4214 Disable version-control and autoloads in output files.
4215 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4216 Disable version-control and autoloads in output files.
4217 * leim/quail: Move here from ../leim.
4218 * leim/quail/hangul.el (hangul-input-method-activate):
4219 Add autoload cookie.
4220 (generated-autoload-load-name): Set file-local value.
4221 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4222 (generated-autoload-load-name): Set file-local value.
4223
7514d3f8 42242013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4225
e0eb0550 4226 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4227 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4228 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4229
0e2c793f
EZ
42302013-11-26 Eli Zaretskii <eliz@gnu.org>
4231
4232 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4233 reading output from Diff on MS-Windows and MS-DOS.
4234
447bdcb8
BB
42352013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4236
4237 * emacs-lisp/helpers.el (string-reverse): New function.
4238
5fbf6856
MA
42392013-11-26 Michael Albinus <michael.albinus@gmx.de>
4240
4241 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4242 names on MS Windows, like "/[::1]:".
4243
4244 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4245 SWITCHES.
4246
624780f0
GM
42472013-11-26 Glenn Morris <rgm@gnu.org>
4248
0bf3f0fa
GM
4249 * progmodes/python.el (python-indent-guess-indent-offset):
4250 Avoid corner-case error. (Bug#15975)
4251
624780f0
GM
4252 Preload leim-list.el. (Bug#4789)
4253 * loadup.el: Load leim-list.el when found.
4254 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4255
4301875e 42562013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4257
4258 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4259
4301875e
BB
4260 * emacs-lisp/helpers.el (string-join): New function.
4261
1633a815 42622013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4263
4264 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4265 Mark as obsolete and replace it with a symbol property.
4266 (byte-compile-form): Use new 'interactive-only property.
4267 * comint.el, files.el, replace.el, simple.el:
4268 Apply new 'interactive-only properly.
4269
00139435
MR
42702013-11-25 Martin Rudalics <rudalics@gmx.at>
4271
4272 * window.el (display-buffer-at-bottom): Make sure that
4273 split-window-sensibly creates the new window on bottom
4274 (Bug#15961).
4275
5f5b128d
DK
42762013-11-23 David Kastrup <dak@gnu.org>
4277
4278 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4279 on the conflict markers when available.
4280 (smerge--get-marker): New function.
4281 (smerge-end-re, smerge-base-re): Add subgroup.
4282
623891e5
SM
42832013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * frame.el (handle-focus-in, handle-focus-out): Add missing
4286 interactive spec.
4287
05ca27d8
MA
42882013-11-25 Michael Albinus <michael.albinus@gmx.de>
4289
4290 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4291 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4292
511fa0d3
SM
42932013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4294
e82ad66c
SM
4295 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4296 (gomoku--last-pos): New var.
4297 (gomoku--intangible-chars): New const.
4298 (gomoku--intangible): New function.
4299 (gomoku-mode): Use it. Derive from special-mode.
4300 (gomoku-move-up): Adjust line count.
4301 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4302 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4303 Simplify accordingly.
4304
511fa0d3
SM
4305 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4306 Remove blink-cursor code.
4307 (blink-cursor-timer-function, blink-cursor-suspend):
4308 Don't special-case GUIs.
4309 (blink-cursor-mode): Use focus-in/out-hook.
4310
6f20dd03
DG
43112013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4312
4313 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4314 work when annotation is invisible (Bug#13886).
4315
431dec31 43162013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4317
4318 * json.el (json-alist-p): Only return non-nil if the alist has
4319 simple keys (Bug#13518).
4320
431dec31 43212013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4322
4323 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4324 when control-statement is the first statement in a buffer (Bug#15956).
4325
ee4f0261
DG
43262013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4327
4328 * imenu.el (imenu-generic-skip-comments-and-strings):
4329 New option (Bug#15560).
4330 (imenu--generic-function): Use it.
4331
c484f866
JS
43322013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4333
e9dc713d
JB
4334 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4335 (Bug#13898)
c484f866 4336
41ce6f70
BB
43372013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4338
b55aea38
BB
4339 * emacs-lisp/helpers.el: Add some string helpers.
4340 (string-trim-left): Removes leading whitespace.
4341 (string-trim-right): Removes trailing whitespace.
4342 (string-trim): Removes leading and trailing whitespace.
4343
41ce6f70
BB
4344 * subr.el (string-suffix-p): New function.
4345
3cfb6af3
GM
43462013-11-23 Glenn Morris <rgm@gnu.org>
4347
4348 * progmodes/python.el (python-shell-send-file):
4349 Add option to delete file when done. (Bug#15647)
4350 (python-shell-send-string, python-shell-send-region): Use it.
4351
c27924b7
IS
43522013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4353
e1b01c7f
IS
4354 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4355 to set buffer-read-only to t, never to nil. (Bug#15938)
4356
c27924b7
IS
4357 * textmodes/tex-mode.el (latex-noindent-environments):
4358 Add safe-local-variable property. (Bug#15936)
4359
17e0445b
GM
43602013-11-23 Glenn Morris <rgm@gnu.org>
4361
92f78ea3
GM
4362 * textmodes/enriched.el (enriched-mode): Doc fix.
4363 * emacs-lisp/authors.el (authors-renamed-files-alist):
4364 Add enriched.doc -> enriched.txt.
4365
17e0445b
GM
4366 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4367
965bb23a
LL
43682013-11-22 Leo Liu <sdl.web@gmail.com>
4369
4370 * progmodes/octave.el (inferior-octave-startup): Spit out error
4371 message.
4372
d19ffd64
BB
43732013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4374
4375 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4376 Improve docstring.
15ba2182
BB
4377 Add :version.
4378 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4379
7a7567d2
LL
43802013-11-22 Leo Liu <sdl.web@gmail.com>
4381
4382 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4383 (Bug#15076)
8c09f64b
LL
4384 (octave-help-mode): Adapt to change to help-mode-finish to use
4385 derived-mode-p on 2013-09-17.
4386 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4387 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4388
724bc265
LL
43892013-11-22 Leo Liu <sdl.web@gmail.com>
4390
4391 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4392 (inferior-octave-startup, inferior-octave-check-process)
4393 (inferior-octave-track-window-width-change)
4394 (octave-completion-at-point, octave-eldoc-function): Use it.
4395 (octave-kill-process): Provide confirmation. (Bug#10564)
4396
38637cca
LL
43972013-11-21 Leo Liu <sdl.web@gmail.com>
4398
511fa0d3
SM
4399 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4400 Fix obsolete variable comment-use-global-state.
38637cca 4401
06e752b4
RS
44022013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4403
511fa0d3
SM
4404 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4405 Add `octave-source-file'.
06e752b4
RS
4406 (octave-source-file): New function. (Bug#15935)
4407
7514d3f8 44082013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4409
4410 * net/eww.el (eww-local-regex): New variable.
4411 (eww): Use it to detect localhost and similar.
4412
b6ffa04a
LL
44132013-11-21 Leo Liu <sdl.web@gmail.com>
4414
4415 Add completion for command `ag'.
2021a200
LL
4416 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4417 (pcomplete/ag): New function.
e9dc713d 4418 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4419
d1a6bccc
SM
44202013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4423 (bug#14646).
4424 (make-obsolete): Remove interactive spec.
4425
2df10228
GM
44262013-11-21 Glenn Morris <rgm@gnu.org>
4427
4428 * startup.el (command-line-1): Use path-separator with -L.
4429
86fd16b6
TZ
44302013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4431
4432 * emacs-lisp/package.el (describe-package-1): Add package archive
4433 to shown fields.
4434
0449d6cd 44352013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4436
4437 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4438 Change default to "# encoding: %s" to differentiate it from the
4439 default Ruby encoding comment template.
4440
dc7e8c17 44412013-11-20 era eriksson <era+emacsbugs@iki.fi>
4442
4443 * ses.el (ses-mode): Doc fix. (Bug#14748)
4444
f0cfa5fe
LL
44452013-11-20 Leo Liu <sdl.web@gmail.com>
4446
4447 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4448
826dc7b6
DN
44492013-11-19 Dan Nicolaescu <dann@gnu.org>
4450
4451 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4452 when rebase or bisect are in progress.
4453
a6e3a5d5
XF
44542013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4455
4456 * filenotify.el (file-notify-add-watch): Doc fix.
4457
f130cb76
LL
44582013-11-19 Leo Liu <sdl.web@gmail.com>
4459
e0855d7d
LL
4460 * obsolete/rcompile.el: Mark obsolete.
4461
f130cb76 4462 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4463 (compilation-goto-locus, compilation-find-file):
4464 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4465 (Bug#13594)
4466
4467 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4468 new parameter no-display-ok. Return either a window or nil
4469 but never a non-window value.
f130cb76 4470
1f35d401
SM
44712013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4472
25158c76
SM
4473 * electric.el (electric-indent-mode-map): Remove.
4474 (electric-indent-mode): Change the global-map instead (bug#15915).
4475
4476 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4477 Use add-function.
1f35d401 4478
9bc67baa
SM
44792013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4480
986545b5
SM
4481 * emacs-lisp/nadvice.el (remove-function): Align with
4482 add-function's behavior.
4483
9bc67baa
SM
4484 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4485 (gdb--string-regexp): New constant.
4486 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4487 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4488 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4489 submatch 1.
4490 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4491 Adjust use accordingly.
4492 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4493
56cd894e
AS
44942013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4495
4496 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4497 interpolation curlies (Bug#15914).
4498
014690de
JB
44992013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4500
4501 * calc/calc.el (calc-context-sensitive-enter): New variable.
4502 (calc-enter): Use `calc-context-sensitive-enter'.
4503
7e26a6c3
TZ
45042013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4505
4506 * progmodes/cfengine.el: Version bump.
4507 (cfengine-cf-promises): New defcustom to locate cf-promises.
4508 (cfengine3-vartypes): Add new "data" type.
4509 (cfengine3--current-word): New function to get current name-like
4510 word or its bounds.
4511 (cfengine3--current-function): New function to look up a CFEngine
4512 function's definition.
4513 (cfengine3-format-function-docstring): New function.
4514 (cfengine3-make-syntax-cache): New function.
4515 (cfengine3-documentation-function): New function: ElDoc glue.
4516 (cfengine3-completion-function): New function: completion glue.
4517 (cfengine3-mode): Set `compile-command',
4518 `eldoc-documentation-function', and add to
4519 `completion-at-point-functions'.
4520
355204dd
MA
45212013-11-16 Michael Albinus <michael.albinus@gmx.de>
4522
4523 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4524 `tramp-current-connection'.
4525
43cebc23
DG
45262013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4527
4528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4529 nil/self/true/false with "end of symbol".
4530
a3fed6ff
BB
45312013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4532
4533 * subr.el (version-regexp-alist): Fix a typo.
4534
e675b3e4
MA
45352013-11-15 Michael Albinus <michael.albinus@gmx.de>
4536
4537 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4538 "en_US.utf8" and "LC_CTYPE" to "".
4539 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4540 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4541
a1f03e89
LL
45422013-11-15 Leo Liu <sdl.web@gmail.com>
4543
4544 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4545
5d9d9451
SM
45462013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4547
58362662
CS
4548 * progmodes/gud.el (ctl-x-map):
4549 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4550 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4551
6c1bf086
BB
45522013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4553
0d5363c4
BB
4554 * subr.el (version-regexp-alist):
4555 Recognize hg, svn and darcs versions as snapshot versions.
4556
4e9fc48c
BB
4557 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4558 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4559 (ruby--encoding-comment-required-p): Extract from
4560 `ruby-mode-set-encoding'.
4561 (ruby-mode-set-encoding): Add the ability to always insert an
4562 utf-8 encoding comment. Fix and simplify coding comment update
4563 logic.
6c1bf086 4564
2f7e72f8
MA
45652013-11-14 Michael Albinus <michael.albinus@gmx.de>
4566
4567 * net/tramp-gvfs.el (top): Run init code only when
4568 `tramp-gvfs-enabled' is not nil.
4569 (tramp-gvfs-enabled): Check also :system bus.
4570
0f137a73
SM
45712013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 Sync with upstream verilog-mode revision 78e66ba.
4574 * progmodes/verilog-mode.el (verilog-end-of-defun)
4575 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4576 (verilog-get-end-of-defun): Remove unused argument.
4577 (verilog-comment-depth): Remove unused local `e'.
4578 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4579 Don't pass arg to verilog-get-end-of-defun.
4580
1c276bdd
GM
45812013-11-14 Glenn Morris <rgm@gnu.org>
4582
4583 * obsolete/assoc.el (aget): Prefix dynamic variable.
4584
4585 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4586
ff6ec81d
SM
45872013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * widget.el, hfy-cmap.el: Remove bogus package version number.
4590
75f777b6
GM
45912013-11-13 Glenn Morris <rgm@gnu.org>
4592
1d43dba1
GM
4593 * replace.el (replace-eval-replacement):
4594 Try to give more helpful error message. (Bug#15836)
4595
ff4b7bd5
GM
4596 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4597 (archive-7z-update): Avoid custom type mismatches.
4598
75f777b6
GM
4599 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4600
11151a06
MA
46012013-11-13 Michael Albinus <michael.albinus@gmx.de>
4602
e675b3e4 4603 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4604 address can be empty.
4605
4606 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4607 Accept nil SWITCHES.
4608 (tramp-gvfs-handle-write-region): Implement APPEND.
4609
7b08f97e
DG
46102013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4611
4612 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4613 binary "|" operator and closing block args delimiter.
4614 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4615 (ruby-smie--implicit-semi-p): Not after "|" operator.
4616 (ruby-smie--closing-pipe-p): New function.
4617 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4618 (ruby-smie-rules): Indent after "|".
4619
f201cf3a
GM
46202013-11-12 Glenn Morris <rgm@gnu.org>
4621
4622 * ps-print.el (ps-face-attribute-list):
4623 Handle anonymous faces. (Bug#15827)
4624
e6f759f9
MR
46252013-11-12 Martin Rudalics <rudalics@gmx.at>
4626
4627 * window.el (display-buffer-other-frame): Fix doc-string.
4628 (Bug#15868)
4629
ecda65d4
SM
46302013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4633
7ce8fcc3
MA
46342013-11-11 Michael Albinus <michael.albinus@gmx.de>
4635
4636 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4637 (tramp-sh-handle-file-local-copy): Don't write a message when
4638 saving temporary files.
4639
4640 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4641 both directories are remote.
4642 (tramp-smb-handle-directory-files): Do not return double entries.
4643 Do not expand full file names.
4644 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4645 (tramp-smb-handle-write-region): Implement APPEND.
4646 (tramp-smb-get-stat-capability): Fix a stupid bug.
4647
7818df11
SM
46482013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4651
608c2085
NT
46522013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4653
4654 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4655 throwing error over malformed let/let* (bug#15814).
4656
122a7e46
SM
46572013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * iswitchb.el (iswitchb-mode): Mark obsolete.
4660
766284d9
GM
46612013-11-11 Glenn Morris <rgm@gnu.org>
4662
4663 * international/uni-bidi.el, international/uni-category.el:
4664 * international/uni-name.el, international/uni-numeric.el:
4665 Regenerate for Unicode 6.3.0.
4666
7072a4e9
MA
46672013-11-10 Michael Albinus <michael.albinus@gmx.de>
4668
4669 * net/tramp.el (tramp-methods):
4670 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4671 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4672
c9df215b
AS
46732013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4674
608c2085
NT
4675 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4676 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4677
fa47d796
DG
46782013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4679
4680 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4681 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4682 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4683 (ispell-complete-word): Call `ispell-lookup-words' with the value
4684 independent of `ispell-look-p'.
4685
1629a329
DG
46862013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4689 Not after "||".
4690 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4691 their parent.
4692
ad16897c
SM
46932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4696 (ruby-font-lock-keywords): Use backquote.
4697
ffa2df72
DG
46982013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4699
4700 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4701 (ruby-smie--backward-token): Only consider full-string matches.
4702
5b97b4c0
JD
47032013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4704
4705 * faces.el (describe-face): Add distant-foreground.
4706
71731c03
BB
47072013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4708
4e9fc48c
BB
4709 * progmodes/ruby-mode.el: Improve encoding comment handling.
4710 (ruby-encoding-magic-comment-style): New option.
4711 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4712 (ruby--insert-coding-comment, ruby--detect-encoding):
4713 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4714 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4715 to control the style of the auto-inserted encoding comment.
71731c03 4716
da3b328d
DG
47172013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4718
ad16897c
SM
4719 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4720 Use `smie-backward-sexp' with token argument.
da3b328d 4721
1606c2d3
MA
47222013-11-08 Michael Albinus <michael.albinus@gmx.de>
4723
4724 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4725 Remove instrumentation code.
4726
b0f4c320
GM
47272013-11-08 Glenn Morris <rgm@gnu.org>
4728
4729 * progmodes/autoconf.el (autoconf-mode):
4730 Tweak comment-start-skip. (Bug#15822)
4731
43668fb1
SM
47322013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4735 at bobp (bug#15826).
4736 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4737
daddb3fd
DH
47382013-11-08 Darren Hoo <darren.hoo@gmail.com>
4739
4740 * man.el (Man-start-calling): New macro, extracted from
4741 Man-getpage-in-background.
4742 (Man-getpage-in-background): Use it.
4743 (Man-update-manpage): New command.
4744 (Man-mode-map): Bind it.
4745
1f923923
DG
47462013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4747
4748 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4749 of "and", "or", "&&" and "||".
4750 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4751 argument. Prohibit opening curly brace because it could only be a
4752 block opener in that position.
daddb3fd
DH
4753 (ruby-smie--forward-token, ruby-smie--backward-token):
4754 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4755 arguments.
4756 (ruby-smie--indent-to-stmt): New function, seeks the end of
4757 previous statement or beginning of buffer.
4758 (ruby-smie-rules): Use it.
4759 (ruby-smie-rules): Check if there's a ":" before a curly block
4760 opener candidate; if there is, it's a hash.
4761
3220d527
SM
47622013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4765 (cl--block-wrapper): Fix last accidental change.
4766
1eb1f9e0
MA
47672013-11-07 Michael Albinus <michael.albinus@gmx.de>
4768
4769 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4770 Instrument, in order to hunt failure on hydra.
4771
e6e4db3c
NT
47722013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4773
4774 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4775 malformed bindings form (bug#15814).
4776
b420ccfc
DG
47772013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4778
4779 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4780 "." compared to " @ ". This incidentally fixes some indentation
4781 examples with "do".
e6e4db3c 4782 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4783 (ruby-smie-grammar): New tokens: "and" and "or".
4784 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4785 Exclude "and" and "or". Remove "do" in order to work around token
4786 priorities.
4787 (ruby-smie-rules): Add all infix tokens. Handle the case of
4788 beginning-of-buffer.
b420ccfc 4789
6b4ac03e
GM
47902013-11-06 Glenn Morris <rgm@gnu.org>
4791
4792 * Makefile.in (setwins_almost, setwins_for_subdirs):
4793 Avoid accidental matches.
4794
5ca114d1
SM
47952013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * menu-bar.el (popup-menu): Use key-binding.
4798
f72552bd
EZ
47992013-11-06 Eli Zaretskii <eliz@gnu.org>
4800
4801 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4802 menus, support also the menus produced by minor modes.
4803 (Bug#15817)
4804
5d5c701e
LL
48052013-11-06 Leo Liu <sdl.web@gmail.com>
4806
4807 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4808 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4809
0a8b75e2
GM
48102013-11-06 Glenn Morris <rgm@gnu.org>
4811
4812 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4813 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4814 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4815
a35287ea
SM
48162013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4817
feca4e2d
SM
4818 * electric.el (electric-indent-just-newline): New command.
4819 (electric-indent-mode-map): New keymap.
4820 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4821 Re-add :group which weren't redundant.
4822
a35287ea
SM
4823 * electric.el (electric-indent-local-mode): New minor mode.
4824 (electric-indent-functions-without-reindent): New var.
4825 (electric-indent-post-self-insert-function): Use it.
4826 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4827
375761b2
EZ
48282013-11-05 Eli Zaretskii <eliz@gnu.org>
4829
9a6ad735
EZ
4830 * international/quail.el (quail-help): Be more explicit about the
4831 meaning of the labels shown on the keys. (Bug#15800)
4832
375761b2
EZ
4833 * startup.el (normal-top-level): Load the subdirs.el files before
4834 setting the locale environment. (Bug#15805)
4835
520a6e4a
SM
48362013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4837
0acfafef
SM
4838 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4839 via arguments so as to get the right ones (bug#15418).
4840
520a6e4a
SM
4841 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4842
15826261
MA
48432013-11-05 Michael Albinus <michael.albinus@gmx.de>
4844
4845 Fix problems found while writing a test suite.
4846
4847 * net/tramp-compat.el (tramp-compat-load): New defun.
4848 * net/tramp.el (tramp-handle-load): Use it.
4849
4850 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4851 "(numberp ok-if-already-exists)" correctly.
4852
d35f31a4
XF
48532013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4854
4855 * international/characters.el (glyphless-char-display-control):
4856 Add usage note.
4857
ae93bc74
BB
48582013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4859
520a6e4a
SM
4860 * progmodes/python.el (python-mode):
4861 * progmodes/scheme.el (scheme-mode):
4862 * progmodes/prolog.el (prolog-mode):
4863 * progmodes/ruby-mode.el (ruby-mode):
4864 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4865 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4866
0ade65b5
SM
48672013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4868
a0d5f7a4
SM
4869 * rect.el (rectangle--highlight-for-redisplay):
4870 * emacs-lisp/smie.el (smie--next-indent-change):
4871 Use buffer-chars-modified-tick.
4872
c93f3f5c
SM
4873 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4874
0ade65b5
SM
4875 * electric.el (electric-indent-post-self-insert-function):
4876 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4877
ef9dd188
HE
48782013-11-04 Helmut Eller <eller.helmut@gmail.com>
4879
4880 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4881
306e7308
NT
48822013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4883
4884 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4885 (bug#15786).
4886
e5afbcac
SM
48872013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4888
1d01ad41
SM
4889 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4890
e5afbcac
SM
4891 * progmodes/python.el: Fix up last change.
4892 (python-shell--save-temp-file): New function.
4893 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4894 `string' comes from the current buffer.
4895 (python-shell-send-string-no-output): Remove `msg' arg.
4896 (python--use-fake-loc): New var.
4897 (python-shell-buffer-substring): Obey it. Try to compensate for the
4898 extra coding line added by python-shell--save-temp-file.
4899 (python-shell-send-region): Use python-shell--save-temp-file and
4900 python-shell-send-file directly. Add `nomain' argument.
4901 (python-shell-send-buffer): Use python-shell-send-region.
4902 (python-electric-pair-string-delimiter): New function.
4903 (python-mode): Use it.
4904
d0065ff1
EZ
49052013-11-04 Eli Zaretskii <eliz@gnu.org>
4906
4907 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4908 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4909 environment and decoding all of the default-directory's to here
4910 from command-line.
4911 (command-line): Decode also argv[0].
4912
4913 * loadup.el: Error out if default-directory is a multibyte string
4914 when we are dumping.
4915
4916 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4917
7397c587
TZ
49182013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4919
4920 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4921 (package-menu--print-info, package-menu--archive-predicate):
4922 Add Archive column to package list.
7397c587 4923
b27cc9fc
MA
49242013-11-04 Michael Albinus <michael.albinus@gmx.de>
4925
4926 Fix problems found while writing a test suite.
4927
4928 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4929 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4930 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4931 to nil when running original file name handler. Otherwise,
4932 there are problems with constructs like "$$FOO".
4933
4934 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4935 for `localname'.
4936
d8c4f18a
BB
49372013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4938
7b530552
BB
4939 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4940
4941 * subr.el (version<, version<=, version=):
4942 Update docstrings with information for snapshot versions.
4943
d8c4f18a
BB
4944 * helpers.el: New library for misc helper functions.
4945 (hash-table-keys): New function returning a list of hash keys.
4946 (hash-table-values): New function returning a list of hash values.
4947
dca01b09
DG
49482013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4949
4950 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4951 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4952
0a749fa0
MN
49532013-11-04 Michal Nazarewicz <mina86@mina86.com>
4954
4955 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4956 checking whether point is after a 1-letter word.
4957
49582013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4959
4960 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4961 Don't infloop when expanding region over `multiline' syntax-type that
4962 begins a line (bug#15778).
4963
4aca7145
SM
49642013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4967 Make it into a proper minor mode.
4968 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4969 (rectangle-mark-mode-map): New keymap.
4970 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4971
a0833f62
GM
49722013-11-04 Glenn Morris <rgm@gnu.org>
4973
4974 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4975
e61845c1
SM
49762013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4977
4978 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4979 (ruby-smie-rules): Use smie-rule-parent instead.
4980
4981 * emacs-lisp/smie.el (smie-rule-parent): Always call
4982 smie-indent-virtual rather than only for hanging tokens.
4983 (smie--next-indent-change): New helper command.
4984
62942f89
GM
49852013-11-03 Glenn Morris <rgm@gnu.org>
4986
4987 * Makefile.in (abs_srcdir): Remove.
4988 (emacs): Unset EMACSLOADPATH.
4989
b0b9e592
GM
49902013-11-02 Glenn Morris <rgm@gnu.org>
4991
18ba6a33 4992 * Makefile.in (EMACS): Use a relative filename.
8061810d 4993 (abs_top_builddir): Remove.
18ba6a33
GM
4994 (custom-deps, finder-data, autoloads): Use --chdir.
4995
6a8b929e
GM
4996 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4997
c617f3d0
GM
4998 Use relative filenames in TAGS files.
4999 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5000 (lisptagsfiles4, TAGS): Use relative file names.
5001 (TAGS-LISP): Remove.
5002 (maintainer-clean): No more TAGS-LISP file.
5003
b0b9e592
GM
5004 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5005 (lisptagsfiles4): Use absolute filenames again.
5006 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5007 Remove all *loaddefs files, not just the first. Remove esh-groups.
5008 (maintainer-clean): Delete TAGS, TAGS-LISP.
5009
d1c0ea6a
BB
50102013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5011
e61845c1
SM
5012 * emacs-lisp/package.el (package-version-join):
5013 Recognize snapshot versions.
d1c0ea6a 5014
684d71c6
BB
50152013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5016
5017 * subr.el (version-regexp-alist): Add support for snapshot versions.
5018
3d42b968
DG
50192013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5020
e61845c1
SM
5021 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5022 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
5023 skip over our direct parent if it's an assignment token..
5024 (ruby-smie-rules): Use it.
5025
7ffd3721
DG
50262013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5027
8449dd1f 5028 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
5029 unconditionally. Remove now unnecessary forward declarations.
5030 Remove XEmacs-specific setup.
5031 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5032 (ruby-font-lock-syntactic-keywords)
5033 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5034 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5035 (ruby-here-doc-end-syntax): Remove.
5036 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5037 defined as function.
5038
a3996a2e
BB
50392013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5040
5041 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5042
6f9260e8
BB
50432013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5044
5045 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5046 table and abbrev table, `define-derived-mode' does that for us
5047 anyway.
5048
6014de84
GM
50492013-11-01 Glenn Morris <rgm@gnu.org>
5050
5051 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5052 files is atomic for some time, so no parallel compilation issues).
5053
3c334c14
JD
50542013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5055
5056 * faces.el (face-x-resources): Add :distant-foreground.
5057 (region): Use :distant-foreground for gtk and ns.
5058
9bc236c8
TH
50592013-11-01 Tassilo Horn <tsdh@gnu.org>
5060
5246583b 5061 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
5062 BibTeX.
5063 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5064 (reftex-locate-bibliography-files): Us it.
5065
d14c81ee
CB
50662013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5067
0e7690de
CB
5068 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5069 allow comments in pbm files.
5070
d14c81ee
CB
5071 * term/w32-win.el (dynamic-library-alist): Support newer versions
5072 of libjpeg starting with v7: look only for the DLL from the
5073 version against which Emacs was built.
ac1bf374 5074 Support versions of libpng beyond 1.4.x.
019c8218 5075 Support libtiff v4.x.
d14c81ee 5076
983d0df5
BB
50772013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5078
5079 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5080 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5081 Add property :safe.
5082 (ruby-deep-arglist): Add property :type.
5083
47f58d85
GM
50842013-10-31 Glenn Morris <rgm@gnu.org>
5085
5086 * Makefile.in (custom-deps, finder-data): No need to setq the target
5087 variables, we are in the right directory and the defaults work fine.
5088
4f85b479
GM
50892013-10-30 Glenn Morris <rgm@gnu.org>
5090
ca7dd4cd
GM
5091 * Makefile.in (autoloads): Do not use abs_lisp.
5092
4f85b479
GM
5093 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5094 `newline' does not respect `standard-output', so use `princ'.
5095
cf59e41c
AA
50962013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5097
5098 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5099 * buff-menu.el (Buffer-menu--unmark): New function.
5100 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5101
74cf04fb
GM
51022013-10-30 Glenn Morris <rgm@gnu.org>
5103
b040b60e
GM
5104 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5105
f53d3815
GM
5106 * emacs-lisp/package.el (lm-homepage): Declare.
5107
5413d873
GM
5108 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5109 Fix doc typos.
5110
cecedb36
GM
5111 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5112
74cf04fb
GM
5113 * Makefile.in (finder-data, autoloads, update-subdirs)
5114 (compile-main, compile-clean, compile-always, bootstrap-clean):
5115 Check return value of cd.
5116 (compile-calc): Remove.
5117
195ee2f0
SM
51182013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5119
ae4002ce
SM
5120 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5121
5122 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5123 (byte-compile-and-folded): New function.
5124 (=, <, >, <=, >=): Use it.
5125
5126 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5127 (path-separator, null-device, buffer-file-coding-system)
5128 (lpr-headers-switches): Check system-type before modifying them.
5129 (find-buffer-file-type-coding-system): Mark obsolete.
5130 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5131 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5132 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5133 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5134 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5135 (w32-direct-print-region-helper, w32-direct-print-region-function)
5136 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5137 * startup.el (normal-top-level-add-subdirs-to-load-path):
5138 * ps-print.el (ps-print-region-function):
5139 * lpr.el (print-region-function): Use new name.
5140
53b39e89
SM
5141 * subr.el (custom-declare-variable-early): Remove function.
5142 (custom-declare-variable-list): Remove var.
5143 (error, user-error): Remove `while' loop.
5144 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5145 (user-emacs-directory-warning, locate-user-emacs-file):
5146 Move to files.el.
5147 * simple.el (read-quoted-char-radix, read-quoted-char):
5148 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5149 Move from subr.el.
5150 * custom.el (custom-declare-variable-list): Don't process
5151 custom-declare-variable-list.
5152
195ee2f0
SM
5153 * progmodes/python.el (python-shell-get-buffer): New function.
5154 (python-shell-get-process): Use it.
5155 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5156 Python which encoding was used. Don't split-string since we only care
5157 about the first line. Return the temp-file, if applicable.
5158 (python-shell-send-region): Tell compile.el how to turn locations in
5159 the temp-file into locations in the source buffer.
5160
7e3561ee
SM
51612013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5162
4c9797cb
SM
5163 * subr.el (undefined): Add missing behavior from the C code for
5164 unbound keys.
5165
3472b6c6
SM
5166 * rect.el: Use lexical-binding. Add new rectangular region support.
5167 (rectangle-mark): New command.
5168 (rectangle--region): New var.
5169 (deactivate-mark-hook): Reset rectangle--region.
5170 (rectangle--extract-region, rectangle--insert-for-yank)
5171 (rectangle--highlight-for-redisplay)
5172 (rectangle--unhighlight-for-redisplay): New functions.
5173 (region-extract-function, redisplay-unhighlight-region-function)
5174 (redisplay-highlight-region-function): Use them to handle
5175 rectangular region.
5176 * simple.el (region-extract-function): New var.
5177 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5178 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5179 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5180 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5181 (redisplay-unhighlight-region-function)
5182 (redisplay-highlight-region-function): New vars.
5183 (redisplay--update-region-highlight): New function.
5184 (pre-redisplay-function): Use it.
5185 (exchange-point-and-mark): Don't deactivate the mark before
5186 reactivate-it anyway.
5187 * comint.el (comint-kill-region): Remove yank-handler argument.
5188 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5189 (delete-char): Remove property, since it's now part of their
5190 default behavior.
5191 (self-insert-iso): Remove property since this command doesn't exist.
5192
7e3561ee
SM
5193 * emacs-lisp/package.el (package--download-one-archive)
5194 (describe-package-1): Don't query the user about final newline.
5195
b9bef71f
DC
51962013-10-29 Daniel Colascione <dancol@dancol.org>
5197
5198 * net/tramp.el (tramp-methods): Document new functionality.
5199 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5200 tramp-hostname-checker if method provides one instead of scanning
5201 argument list for "%h" to decide hostname acceptability.
5202
4efc33f0
MA
52032013-10-28 Michael Albinus <michael.albinus@gmx.de>
5204
5205 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5206 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5207 Handle COPY-CONTENTS. (Bug#15737)
5208
ed42a877
DU
52092013-10-28 Daiki Ueno <ueno@gnu.org>
5210
5211 * epa-file.el
7e3561ee
SM
5212 (epa-file-cache-passphrase-for-symmetric-encryption):
5213 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5214
18c9f8a2
XF
52152013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5216
35e951cd 5217 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5218
b1e8e010
AM
52192013-10-27 Alan Mackenzie <acm@muc.de>
5220
5221 Indent statements in macros following "##" correctly.
7e3561ee
SM
5222 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5223 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5224
73d40d1e 52252013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5226
5227 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5228
c8c605ac
DG
52292013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5230
5231 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5232 after `=' is probably a new expression.
5233
ca7e59d4
RS
52342013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5235
5236 * man.el (man-imenu-title): New option.
5237 (Man-mode-map): Add menu. (Bug#15722)
5238 (Man-mode): Add imenu to menu.
5239
bae91342
DG
52402013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5241
5242 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5243 specific in what the first arg can be: a non-keyword word,
5244 string/regexp/percent literal opener, opening paren, or unary
5245 operator followed directly by word.
5246
eb89dc14
SM
52472013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5248
5249 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5250 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5251 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5252 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5253 Remove vars, they do not apply any more.
5254 (prolog-mode-abbrev-table): Remove redundant declaration.
5255 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5256 (prolog-use-smie): Remove.
5257 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5258 supported by prolog-electric-if-then-else-flag.
5259 (prolog-mode-variables, prolog-menu): Use setq-local.
5260 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5261 Remove binding to `Backspace' since this key doesn't exist anyway.
5262 Remove bindings for electric self-inserting keys.
5263 (prog-mode): Assume it's defined.
5264 (prolog-post-self-insert): New function.
5265 (prolog-mode): Use it.
5266 (prolog-indent-line, prolog-indent-level)
5267 (prolog-find-indent-of-matching-paren)
5268 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5269 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5270 (prolog-goto-next-paren, prolog-in-string-or-comment)
5271 (prolog-tokenize, prolog-inside-mline-comment)
5272 (prolog-find-start-of-mline-comment): Remove functions.
5273 (prolog-find-unmatched-paren, prolog-clause-end)
5274 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5275 (prolog-electric--if-then-else): Rename from
5276 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5277 (prolog-tokenize-searchkey): Remove const.
5278 (prolog-clause-info): Use forward-sexp.
5279 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5280 (prolog-electric-if-then-else): Remove commands.
5281 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5282 for use in post-self-insert-hook.
5283 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5284 for use in post-self-insert-hook.
5285 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5286 for use in post-self-insert-hook.
5287 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5288 adapt it for use in post-self-insert-hook.
5289
3dab0a83
MA
52902013-10-25 Michael Albinus <michael.albinus@gmx.de>
5291
5292 * emacs-lisp/ert.el (ert-run-tests-interactively):
5293 Use `completing-read'. (Bug#9756)
5294
fbfd0e1d
EZ
52952013-10-25 Eli Zaretskii <eliz@gnu.org>
5296
5297 * simple.el (line-move): Call line-move-1 instead of
5298 line-move-visual when the current window hscroll is zero, but
5299 temporary-goal-column indicates we will need to hscroll as result
5300 of the movement. (Bug#15712)
5301
963ce636
DG
53022013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5303
5304 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5305 capitalization. Use :visible instead of :active.
5306 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5307 commands that are used with SMIE.
5308 (ruby-do-end-to-brace): Insert space after `{'.
5309
a0be396a
JA
53102013-10-25 John Anthony <john@jo.hnanthony.com>
5311
f73754c9
JA
5312 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5313
5314 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5315
f5bf77df
GM
53162013-10-25 Glenn Morris <rgm@gnu.org>
5317
5318 * vc/vc.el (vc-print-log): Don't use a working revision unless
5319 one was explicitly specified. (Bug#15322)
5320
37241f62
SM
53212013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * subr.el (add-to-list): Preserve return value in compiler-macro
5324 (bug#15692).
5325
6408a65d
RS
53262013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5327
5328 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5329 result. Ask user to retry using '-all' flag. (Bug#15701)
5330
71e3276b
SM
53312013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * emacs-lisp/smie.el: New smie-config system.
5334 (smie-config): New defcustom.
5335 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5336 (smie-config-guess, smie-config-save): New commands.
5337 (smie-config--mode-local, smie-config--buffer-local)
5338 (smie-config--trace, smie-config--modefuns): New vars.
5339 (smie-config--advice, smie-config--mode-hook)
5340 (smie-config--setter, smie-config-local, smie-config--get-trace)
5341 (smie-config--guess-value, smie-config--guess): New functions.
5342 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5343 text properties. Treat "string fence" syntax like string syntax.
5344
5345 * progmodes/sh-script.el (sh-use-smie): Change default.
5346 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5347 (sh-var-value): Simplify by CSE.
5348 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5349 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5350 is used.
5351 (sh-guess-basic-offset): Use cl-incf.
5352 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5353
60db713e
HE
53542013-10-24 Helmut Eller <eller.helmut@gmail.com>
5355
5356 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5357 (bug#15699).
5358
8b251df6
GM
53592013-10-24 Glenn Morris <rgm@gnu.org>
5360
5361 * Makefile.in (abs_top_srcdir): Remove.
5362 (update-subdirs): Use relative path to update-subdirs.
5363
6be0e22b
EZ
53642013-10-24 Eli Zaretskii <eliz@gnu.org>
5365
5366 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5367 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5368 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5369 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5370
50b5b857
MA
53712013-10-24 Michael Albinus <michael.albinus@gmx.de>
5372
5373 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5374 (ert-test-skipped): New error.
5375 (ert-skip, ert-stats-skipped): New defuns.
5376 (ert--skip-unless): New macro.
5377 (ert-test-skipped): New struct.
5378 (ert--run-test-debugger, ert-test-result-type-p)
5379 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5380 (ert--stats-set-test-and-result, ert-char-for-test-result)
5381 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5382 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5383 Handle skipped tests. (Bug#9803)
50b5b857 5384
6f317c2f
GM
53852013-10-24 Glenn Morris <rgm@gnu.org>
5386
e43817c1
GM
5387 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5388
6f317c2f
GM
5389 * Makefile.in (abs_top_srcdir): New, set by configure.
5390 (update-subdirs): Correct build-aux location.
5391
369bbf71
DG
53922013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5393
8297b2cf
DG
5394 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5395 value, whether we could auto-deduce `backend', or not.
5396
369bbf71
DG
5397 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5398 with parameters" example. Simplify the "is it block or is it
5399 hash" check, but also make it more thorough.
5400
d5f1282f
MF
54012013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5402
5403 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5404
bc4aaa31
SM
54052013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5406
03d44565
SM
5407 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5408 { if it is hanging.
5409
bc4aaa31
SM
5410 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5411 :before ";".
5412
f493ff19
JB
54132013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5414
5415 * progmodes/compile.el (compilation-directory-matcher)
5416 (compilation-page-delimiter):
5417 Support GNU Make-4.0 directory quoting. (Bug#15678)
5418
c744a3b9
LL
54192013-10-23 Leo Liu <sdl.web@gmail.com>
5420
5421 * ido.el (ido-tidy): Handle read-only text.
5422
b8e3b0a9
GM
54232013-10-23 Glenn Morris <rgm@gnu.org>
5424
5425 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5426 (emacs, compile, compile-always):
5427 Quote entities that might contain whitespace.
5428 (custom-deps, finder-data, autoloads): Use abs_lisp.
5429 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5430 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5431 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5432
ee4282cd
DG
54332013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5434
bc4aaa31
SM
5435 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5436 Use `following-char'.
7790a270 5437
ee4282cd 54382013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5439
5440 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5441 * progmodes/ruby-mode.el (ruby-smie-rules):
5442 Remove corresponding workaround. Fix indentation rule of ";" so it
5443 also applies when ";" is the parent.
5444
d40a46d7
XF
54452013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5446
5447 * frame.el (display-screens, display-pixel-height)
5448 (display-pixel-width, display-mm-width, display-backing-store)
5449 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5450 (display-visual-class, display-monitor-attributes-list):
5451 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5452
a0f143c9
MG
54532013-10-22 Michael Gauland <mikelygee@amuri.net>
5454
5455 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5456 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5457
18cacc39
DG
54582013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5459
5460 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5461 TODO. Add "." after " @ ".
5462 (ruby-smie--at-dot-call): New function. Checks if point at method
5463 call with explicit target.
5464 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5465 to the method name tokens when it precedes them.
5466 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5467 (ruby-smie-rules): Add rule for indentation before and after "."
5468 token.
5469
df74c4be
SM
54702013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5471
c6dab55f
SM
5472 * textmodes/remember.el (remember-diary-extract-entries):
5473 Avoid add-to-list.
5474
df74c4be
SM
5475 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5476 an instruction.
5477
8c1ae481
DG
54782013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5479
e9dc713d
JB
5480 * progmodes/ruby-mode.el (ruby-smie-grammar):
5481 Add (almost) all infix operators.
cfef16c0
DG
5482 (ruby-smie--implicit-semi-p): Add new operator chars.
5483
8c1ae481
DG
5484 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5485 `smie-down-list'.
5486 (ruby-smie--args-separator-p): Check that there's no newline
5487 between method call and its arguments.
5488
87756ca9
AM
54892013-10-20 Alan Mackenzie <acm@muc.de>
5490
5491 Allow comma separated lists after Java "implements".
5492
df74c4be
SM
5493 * progmodes/cc-engine.el (c-backward-over-enum-header):
5494 Parse commas.
87756ca9
AM
5495 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5496 from a "disallowed" list in enum fontification.
5497
c25f8957
JB
54982013-10-20 Johan Bockgård <bojohan@gnu.org>
5499
df74c4be 5500 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5501
c25f8957
JB
5502 * progmodes/verilog-mode.el (verilog-mode): Don't set
5503 comment-indent-function globally.
5504
aca5fcdc
JD
55052013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5506
5f161884
JD
5507 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5508 Move Info menu item creation to ns-win.el.
5509
5510 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5511 in menu bar.
5512
a6c4680a 5513 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5514
5515 * term/ns-win.el (ns-initialize-window-system): ... to here.
5516
914b7f98
SM
55172013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * simple.el (newline): Only run post-self-insert-hook when
5520 called interactively.
5521
846ffe77
JB
55222013-10-19 Johan Bockgård <bojohan@gnu.org>
5523
5524 * icomplete.el (icomplete-with-completion-tables): Add :version.
5525
033f22dd
AM
55262013-10-19 Alan Mackenzie <acm@muc.de>
5527
5528 Fix fontification bugs with constructors and const.
5529
5530 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5531 CASE 2) Remove the check for the absence of a suffix construct
5532 after a function declaration with only types (no identifiers) in
5533 the parentheses. Also, accept a function declaration with just a
5534 type inside the parentheses, if this type can be positively
5535 recognised as such, or if a prefix keyword like "explicit" nails
5536 down the construct as a declaration.
5537
58ce0cfc
EZ
55382013-10-19 Eli Zaretskii <eliz@gnu.org>
5539
5540 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5541 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5542 the problem whereby selecting a menu item that leads to a
5543 minibuffer prompt moves the cursor out of the minibuffer window,
5544 making it hard to type at the prompt. Suggested by Stefan Monnier
5545 <monnier@iro.umontreal.ca>.
5546
50e28e7d
JD
55472013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5548
5549 * menu-bar.el: Don't make Services menu.
5550
7deed4bf
RS
55512013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5552
5553 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5554 (ffap-alist): Use ffap-c++-mode for c++-mode.
5555 (ffap-c++-path): New variable.
5556 (ffap-c++-mode): New function.
5557
7bcb455b
JVJ
55582013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5559
5560 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5561
f0ff1cd5
MA
55622013-10-18 Michael Albinus <michael.albinus@gmx.de>
5563
5564 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5565 introduced on 2013-09-08, which results in an infinite loop
5566 requesting a password.
5567
d64da4b7
GM
55682013-10-18 Glenn Morris <rgm@gnu.org>
5569
5570 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5571
ea89ff08
WS
55722013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5573
5574 Sync with upstream verilog-mode revision 1a6ecec7.
5575 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5576 (verilog-mode-release-date): Remove.
5577 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5578 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5579 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5580 (verilog-auto-tieoff-ignore-regexp)
5581 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5582 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5583 (verilog-signals-with, verilog-dir-cache-preserving)
5584 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5585 Doc fixes.
5586 (verilog-case-fold): New option, to control case folding in
5587 regexp searches, bug597.
5588 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5589 (verilog-string-match-fold, verilog-in-paren-count)
5590 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5591 (verilog-at-close-struct-p): New functions.
5592 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5593 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5594 (verilog-leap-to-case-head): Handle "unique0" case.
5595 (verilog-in-constraint-re): New constant.
5596 (verilog-keywords, verilog-type-font-keywords):
5597 Add some SystemVerilog 1800-2012 keywords.
5598 (verilog-label-be): Remove unimplemented argument, bug669.
5599 (verilog-batch-execute-func): When batch expanding clear
5600 create-lockfiles to prevent spurious user locks when a file ends
5601 up not changing.
5602 (verilog-calculate-indent, verilog-calc-1)
5603 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5604 (verilog-do-indent): Fix indentation of nested constraints
5605 and structures.
5606 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5607 (verilog-auto-inst-param): Use verilog-string-match-fold.
5608 (verilog-read-inst-module-matcher):
5609 Fix AUTOINST on gate primitives with #1.
5610 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5611 Reads all user-defined typed variables.
5612 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5613 (verilog-signals-matching-regexp)
5614 (verilog-signals-not-matching-regexp, verilog-auto):
5615 Respect verilog-case-fold.
5616 (verilog-diff-report): Fix line count.
5617 (verilog-auto-assign-modport): Remove unused local `modi'.
5618 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5619 better handle multidimensional arrays.
5620 Fix packed array ports misadding bit index in AUTOINST, bug637.
5621 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5622 to not double-declare existing outputs and inputs, respectively.
5623 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5624 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5625 (verilog-sk-uvm-component): New skeleton.
5626 (verilog-submit-bug-report): Add verilog-case-fold,
5627 remove verilog-mode-release-date.
5628
ef566920
BR
56292013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5630
a12bf61e 5631 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5632 as before.
5633
29df8a0b
RT
56342013-10-18 Reuben Thomas <rrt@sc3d.org>
5635
e0eb0550 5636 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5637 remember buffers (bug#13566).
5638
04a19a79
DC
56392013-10-18 Daniel Colascione <dancol@dancol.org>
5640
5641 When evaluating forms in ielm, direct standard output to ielm
5642 buffer. Add new ielm-return-for-effect command. Remove trailing
5643 whitespace throughout.
5644
5645 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5646 (ielm-return-for-effect): New command.
5647 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5648 (ielm-eval-input): Accept optional `for-effect' parameter.
5649 Bind `standard-output' to stream we create using
04a19a79
DC
5650 `ielm-standard-output-impl'. Suppress printing result when
5651 `for-effect'.
5652 (ielm-standard-output-impl): New function.
5653 (inferior-emacs-lisp-mode): Explain new features in documentation.
5654
4c1f03ef
MA
56552013-10-17 Michael Albinus <michael.albinus@gmx.de>
5656
5657 Code cleanup.
5658
5659 * net/tramp.el (tramp-debug-message): Do not check for connection
5660 buffer.
5661 (tramp-message): Use "vector" connection property.
5662
5663 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5664 (tramp-equal-remote, tramp-eshell-directory-change)
5665 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5666 (tramp-adb-handle-rename-file)
5667 * net/tramp-cmds.el (tramp-list-remote-buffers)
5668 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5669 * net/tramp-compat.el (tramp-compat-process-running-p)
5670 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5671 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5672 (tramp-gvfs-handle-rename-file)
5673 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5674 (tramp-set-file-uid-gid)
5675 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5676 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5677 of `file-remote-p'.
5678
5679 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5680 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5681 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5682 (tramp-gw-open-network-stream): Suppress unrelated traces.
5683
5684 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5685 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5687 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5688 connection property.
5689
5690 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5691 persistency file.
4c1f03ef
MA
5692
5693 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5694 Refactor common code. Improve debug message.
5695 (tramp-maybe-open-connection)
5696 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5697 connection buffer too early.
5698
5699 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5700 from `tramp-smb-actions-with-acl'.
5701 (tramp-smb-actions-set-acl): New defconst.
5702 (tramp-smb-handle-copy-directory)
5703 (tramp-smb-action-get-acl): New defun, renamed from
5704 `tramp-smb-action-with-acl'.
5705 (tramp-smb-action-set-acl): New defun.
5706 (tramp-smb-handle-set-file-acl): Rewrite.
5707
642eb8b6
GM
57082013-10-17 Glenn Morris <rgm@gnu.org>
5709
5710 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5711
85527ff3
SM
57122013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5713
921c1d62
SM
5714 * skeleton.el (skeleton-newline): Remove.
5715 (skeleton-internal-1): Use (insert "\n") instead.
5716
e333fb10
SM
5717 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5718 let-bindings.
5719
85527ff3
SM
5720 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5721 forward-sexp-function while we redo its job (bug#15613).
5722
c8722a97
JB
57232013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5724
5725 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5726 represented by lists.
5727
7a550bbb
GM
57282013-10-16 Glenn Morris <rgm@gnu.org>
5729
5730 * tmm.el (tmm--history): New dynamic variable.
5731 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5732
f19da8ad
MA
57332013-10-16 Michael Albinus <michael.albinus@gmx.de>
5734
5735 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5736 (tramp-smb-errors): Add error messages.
5737 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5738 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5739 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5740 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5741 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5742 (tramp-smb-get-stat-capability): Fix tests.
5743
a24b9961
DK
57442013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5745
5746 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5747 (bug#15580).
5748
62ad85e6
GM
57492013-10-16 Glenn Morris <rgm@gnu.org>
5750
0283d6b0
GM
5751 * ansi-color.el (ansi-color-drop-regexp):
5752 Add 1J, 1K, 2K. (Bug#15617)
5753
012e2f9f
GM
5754 * files.el (hack-local-variables--warned-lexical): New.
5755 (hack-local-variables):
5756 Warn about misplaced lexical-binding. (Bug#15616)
5757
62ad85e6
GM
5758 * net/eww.el (eww-render): Always set eww-current-url,
5759 and update header line. (Bug#15622)
5760 (eww-display-html): ... Rather than just doing it here.
5761
6456c0ea
EZ
57622013-10-15 Eli Zaretskii <eliz@gnu.org>
5763
5764 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5765 menu navigations commands.
5766
c2de5588
DK
57672013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5768
5769 * progmodes/subword.el (subword-capitalize): Be careful when
5770 the search for [[:alpha:]] fails (bug#15580).
5771
ccd4a783
EZ
57722013-10-14 Eli Zaretskii <eliz@gnu.org>
5773
5774 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5775 to commands that scroll the menu.
5776
1eda1d8d
DG
57772013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5778
c2de5588
DK
5779 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5780 Handle methods ending with `?' and `!'.
1eda1d8d 5781
e70181b8
AM
57822013-10-14 Akinori MUSHA <knu@iDaemons.org>
5783
5784 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5785 `japanese-cp932' to `cp932' to fix the problem where saving a
5786 source file written in Shift_JIS twice would end up having
5787 `coding: japanese-cp932' which Ruby could not recognize.
5788 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5789 in `ruby-encoding-map'.
5790 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5791 doesn't need to be explicitly declared in magic comment.
5792 (ruby-encoding-map): Add type declaration for better customize UI.
5793
9148ee92
GM
57942013-10-13 Glenn Morris <rgm@gnu.org>
5795
a5d38e34
GM
5796 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5797 Occur buffers are read-only. http://bugs.debian.org/720775
5798
9148ee92
GM
5799 * emacs-lisp/authors.el (authors-fixed-entries):
5800 Comment out old alpha stuff.
5801
a9ba094b
DG
58022013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5803
5804 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5805 to `after-save-hook' instead of `before-save-hook'.
5806 (ruby-mode-set-encoding): Use the value of coding system used to
5807 write the file. Call `basic-save-buffer-1' after modifying the
5808 buffer.
5809
7a068717
AM
58102013-10-13 Alan Mackenzie <acm@muc.de>
5811
5812 Fix indentation/fontification of Java enum with
5813 "implements"/generic.
5814
c2de5588
DK
5815 * progmodes/cc-engine.el (c-backward-over-enum-header):
5816 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5817 (c-inside-bracelist-p): Uses new function above.
5818 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5819 function above.
5820 (c-font-lock-enum-tail): Uses new function above.
5821
85b64f02
KH
58222013-10-13 Kenichi Handa <handa@gnu.org>
5823
5824 * international/mule-cmds.el (select-safe-coding-system): Remove a
5825 superfluous condition in chekcing whether a coding system is safe
5826 or not.
5827
fc7f501b
OK
58282013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5829
5830 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5831
fdcb2049
AP
58322013-10-13 Andreas Politz <politza@hochschule-trier.de>
5833
5834 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5835
8c106d17
GM
58362013-10-13 Glenn Morris <rgm@gnu.org>
5837
feab892d
GM
5838 * menu-bar.el (menu-bar-update-buffers):
5839 Unify Buffers menu prompt string. (Bug#15576)
5840
b22d0686
GM
5841 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5842
8c106d17
GM
5843 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5844 Add some entries.
5845 (authors-fixed-entries): Use accented form of name.
5846
1b12c797
SM
58472013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5848
650fa7bf 5849 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5850 method calls (bug#15594).
650fa7bf
SM
5851 (ruby-smie--args-separator-p): New function.
5852 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5853 recognize paren-free method calls.
5854
1b12c797
SM
5855 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5856 internals of universal-argument.
5857
029619c8
EZ
58582013-10-11 Eli Zaretskii <eliz@gnu.org>
5859
5860 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5861 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5862 dropped menu on second mouse click on the menu bar.
029619c8 5863
dd070019
SM
58642013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5867 (explicit-shell-file-name): Declare.
5868 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5869 (sh-completion-at-point-function): New function.
5870 (sh-mode): Use it.
5871 (sh-smie--keyword-p): Remove unused argument.
5872 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5873 vars.
5874 (sh-set-shell): Always setup SMIE, even if we use the
5875 old indentation code.
5876
0922b826
DG
58772013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5878
b68e2926
DG
5879 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5880 cases of ? and =.
5881 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5882 predicate would return nil are almost non-existent.
5883 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5884
0922b826
DG
5885 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5886 cache also after commands that modify the buffer but don't move
5887 point.
5888
ee041f2d
SM
58892013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * env.el (substitute-env-in-file-name): New function.
5892 (substitute-env-vars): Extend the meaning of the optional arg.
5893
a5dab159
EZ
58942013-10-10 Eli Zaretskii <eliz@gnu.org>
5895
5896 * term/w32-win.el (dynamic-library-alist): Define separate lists
5897 of GIF DLLs for versions before and after 5.0.0 of giflib.
5898 (Bug#15531)
5899
0449d6cd 59002013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5901
5902 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5903 not locked, use last revision and current source as
5904 defaults. (Bug#15569)
5905
2f6e161e
MY
59062013-10-10 Masatake YAMATO <yamato@redhat.com>
5907
5908 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5909 menu-bar is hidden.
5910
6c8413fc
MR
59112013-10-10 Martin Rudalics <rudalics@gmx.at>
5912
5913 * window.el (pop-to-buffer-same-window): Fix doc-string.
5914 (Bug#15492)
5915
20832de0
SM
59162013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5919
c6e8ae77
AC
59202013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5921
5922 * calendar/icalendar.el (icalendar-import-file):
5923 Fix interactive spec. (Bug#15482)
5924
9db13baf
GM
59252013-10-10 Glenn Morris <rgm@gnu.org>
5926
9271e90e
GM
5927 * desktop.el (desktop-save): Default to saving in .emacs.d,
5928 since PWD is no longer in desktop-path by default. (Bug#15319)
5929
9db13baf
GM
5930 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5931 now that text mode has a menu with the same entry.
5932 (menu-bar-text-mode-auto-fill): Remove now unused func.
5933 * textmodes/text-mode.el (text-mode-map):
5934 Use auto-fill help text from menu-bar.el.
5935
a0be396a 59362013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5937
5938 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5939
2edcd3c7
JL
59402013-10-09 Juri Linkov <juri@jurta.org>
5941
5942 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5943 instead of this-command-keys. Add universal-argument-more and
5944 universal-argument-minus to the list of prefix commands. (Bug#15568)
5945
574411d0
GM
59462013-10-09 Glenn Morris <rgm@gnu.org>
5947
14afa541
GM
5948 * vc/vc-svn.el (vc-svn-create-repo):
5949 Expand paths in file://... url. (Bug#15446)
5950
574411d0
GM
5951 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5952 Add some entries.
5953 (authors): Remove unused local variables.
5954
79804536
SM
59552013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * profiler.el: Create a more coherent calltree from partial backtraces.
5958 (profiler-format): Hide the tail with `invisible' so that C-s can still
5959 find the hidden elements.
5960 (profiler-calltree-depth): Don't recurse so enthusiastically.
5961 (profiler-function-equal): New hash-table-test.
5962 (profiler-calltree-build-unified): New function.
5963 (profiler-calltree-build): Use it.
5964 (profiler-report-make-name-part): Indent the calltree less.
5965 (profiler-report-mode): Add visibility specs for profiler-format.
5966 (profiler-report-expand-entry, profiler-report-toggle-entry):
5967 Expand the whole subtree when provided with a prefix arg.
5968
238150c8
DG
59692013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5970
5971 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5972 iuwu-mod token.
5973 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5974 hanging iuwu-mod token.
5975 (ruby-smie--forward-token): Do not include a dot after a token in
5976 that token.
5977 (ruby-smie--backward-token): Likewise.
5978
b0949cc4
JL
59792013-10-08 Juri Linkov <juri@jurta.org>
5980
5981 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5982 to isearch-other-control-char.
5983 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5984 and isearch-post-command-hook to post-command-hook.
5985 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5986 and isearch-post-command-hook from post-command-hook.
5987 (isearch-unread-key-sequence)
5988 (isearch-reread-key-sequence-naturally)
5989 (isearch-lookup-scroll-key, isearch-other-control-char)
5990 (isearch-other-meta-char): Remove functions.
5991 (isearch-pre-command-hook, isearch-post-command-hook):
5992 New functions based on isearch-other-meta-char rewritten
5993 relying on the new behavior of overriding-terminal-local-map
5994 that does not replace the local keymaps any more. (Bug#15200)
5995
4ed77415
EZ
59962013-10-08 Eli Zaretskii <eliz@gnu.org>
5997
5998 Support menus on text-mode terminals.
5999 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6000 functionality.
6001
6002 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6003
c2de5588
DK
6004 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6005 Move here from mouse.el.
4ed77415
EZ
6006 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6007 and arrow keys.
6008 (tty-menu-navigation-map): New map for TTY menu navigation.
6009
6010 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6011
6012 * frame.el (display-mouse-p): Report text-mode mouse as available
6013 on w32.
6014 (display-popup-menus-p): Report availability if mouse is
6015 available; don't condition on window-system.
6016
6017 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6018 (tty-menu-selected-face): New faces.
6019
b7d5bd82
TL
60202013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6021
06286513
SM
6022 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6023 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6024 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6025 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6026 New constants.
6027 (lisp-mode-variables): New `elisp' argument.
6028 (emacs-lisp-mode): Use it.
6029 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6030 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6031
b7d5bd82
TL
6032 * indent.el: Use lexical-binding.
6033 (indent-region): Add progress reporter.
6034 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6035 last step.
6036 (indent--next-tab-stop): New function to implement this behavior.
6037 (tab-to-tab-stop, move-to-tab-stop): Use it.
6038
60392013-10-08 Teemu Likonen <tlikonen@iki.fi>
6040
6041 * indent.el (indent-rigidly--current-indentation): New function.
6042 (indent-rigidly-map): New var.
6043 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6044
5ea75d23
BG
60452013-10-08 Bastien Guerry <bzg@gnu.org>
6046
f2726fa2 6047 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 6048
cc5da1ec
SM
60492013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6050
8ffa1a0b
SM
6051 * progmodes/perl-mode.el: Use lexical-binding.
6052 Remove redundant :group args.
6053 (perl-nochange): Change default to be closer to other major modes's
6054 standard behavior.
6055 (perl-indent-line): Don't consider text on current line as a
6056 valid beginning of function from which to indent.
6057
f2223371
SM
6058 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6059 with more than one argument (bug#15538).
6060
44256060
SM
6061 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6062
cc5da1ec
SM
6063 * vc/pcvs.el: Use lexical-binding.
6064 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6065 environment of `eval'.
6066 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6067 than a list of expressions. Adjust callers.
6068 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6069
0ea1599d
DG
60702013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6071
6072 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 6073 case of the dot in a chained method call being on the following line.
0ea1599d 6074
da3e5ebb
SM
60752013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6076
2abb4e65
SM
6077 * electric.el (electric-indent-inhibit): New var.
6078 (electric-indent-post-self-insert-function): Use it.
6079 * progmodes/python.el (python-mode): Set it.
6080
d2e0e795
SM
6081 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6082 open braces.
6083
6084 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6085
bdc6b4c8
SM
6086 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6087 (css-mode): Use electric-indent-chars.
6088
da3e5ebb
SM
6089 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6090 (font-lock-beg, font-lock-end): Move before first use.
6091 (nxml-mode): Use syntax-propertize-function.
6092 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6093 (nxml-extend-after-change-region): Remove.
6094 * nxml/xmltok.el: Use lexical-binding.
6095 (xmltok-save): Use `declare'.
6096 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6097 * nxml/nxml-util.el: Use lexical-binding.
6098 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6099 Use `declare'.
6100 * nxml/nxml-ns.el: Use lexical-binding.
6101 (nxml-ns-save): Use `declare'.
6102 (nxml-ns-prefixes-for): Avoid add-to-list.
6103 * nxml/rng-match.el: Use lexical-binding.
6104 (rng--ipattern): Use cl-defstruct.
6105 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6106 (rng-cons-group-after, rng-subst-group-after)
6107 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6108 Use closures instead of `(lambda...).
6109
f8f91d5d
MA
61102013-10-07 Michael Albinus <michael.albinus@gmx.de>
6111
6112 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6113 of BEG and END.
6114
da3e5ebb
SM
6115 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6116 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6117 (tramp-gvfs-handle-insert-file-contents): Remove function.
6118
da3e5ebb
SM
6119 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6120 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6121
6122 * net/trampver.el: Update release number.
6123
7ccae3b1
SM
61242013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6125
55ca2c0d
SM
6126 * progmodes/compile.el (compilation-parse-errors):
6127 Use compilation--put-prop.
6128 (compilation--ensure-parse): Check compilation-multiline.
6129
731fc3ae
SM
6130 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6131
da3e5ebb
SM
6132 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6133 lexical-binding.
a5833280 6134
2e7ba2c2
SM
6135 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6136
7ccae3b1
SM
6137 * progmodes/ruby-mode.el: Fix recently added tests.
6138 (ruby-smie-grammar): Add - and +.
6139 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6140 (ruby-smie--backward-id): New functions.
6141 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6142 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6143 any more.
6144
85698d63
LL
61452013-10-07 Leo Liu <sdl.web@gmail.com>
6146
6147 * register.el (register-preview-delay)
6148 (register-preview-functions): New variables.
6149 (register-read-with-preview, register-preview)
6150 (register-describe-oneline): New functions.
6151 (point-to-register, window-configuration-to-register)
6152 (frame-configuration-to-register, jump-to-register)
6153 (number-to-register, view-register, insert-register)
6154 (copy-to-register, append-to-register, prepend-to-register)
6155 (copy-rectangle-to-register): Use register-read-with-preview to
6156 read register. (Bug#15525)
6157
3986af6c
DS
61582013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6159
6160 * net/network-stream.el (network-stream-open-starttls): Don't add
6161 --insecure if it's already present, because that gnutls-cli
6162 rejects getting that parameter twice.
6163
5cd9cda9
DG
61642013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6165
6166 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6167 keyword, too.
6168
da9ea6d9
DG
61692013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6170
6171 * newcomment.el (comment-use-global-state): Change default value
6172 to t, mark obsolete (Bug#15251).
6173 (comment-beginning): In addition to `comment-to-syntax', check the
6174 value of `comment-use-global-state'.
6175
34d1a133
SM
61762013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6179 (ruby-comment-column): Follow the global default, by default.
6180 (ruby-smie-grammar): Add assignment syntax.
6181 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6182 open-paren, a comma, or a \.
6183 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6184 and line continuations.
6185 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6186 followed by implicit semi-colons. Add rule for string concatenation
6187 and for indentation at BOB.
27821a89 6188 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6189
6190 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6191 calling next-sexp, since next-token may have skipped chars which
6192 next-sexp doesn't know should be skipped!
6193
6f6ab820
LL
61942013-10-05 Leo Liu <sdl.web@gmail.com>
6195
34d1a133
SM
6196 * progmodes/octave.el (octave-send-region):
6197 Call compilation-forget-errors.
6f6ab820 6198
34ca0f4c
XF
61992013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6200
6201 * vc/vc-svn.el (vc-svn-find-admin-dir):
6202 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6203 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6204 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6205 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6206
a27c1b72
SM
62072013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6210
258ab3bc
SM
62112013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * subr.el (read-passwd): Hide chars even when called within a context
6214 where after-change-functions is disabled (bug#15501).
6215 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6216 until we removed ourself from overriding-terminal-local-map.
6217
939fb29c
LL
62182013-10-04 Leo Liu <sdl.web@gmail.com>
6219
258ab3bc
SM
6220 * progmodes/octave.el (inferior-octave-mode):
6221 Call compilation-forget-errors.
939fb29c 6222
63bd7f35
XF
62232013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6224
6225 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6226
9e6229fa
MA
62272013-10-04 Michael Albinus <michael.albinus@gmx.de>
6228
6229 * net/secrets.el (secrets-create-collection): Add optional
6230 argument ALIAS. Use proper Label keyword. Append ALIAS as
6231 dbus-call-method argument. (Bug#15516)
6232
1dab32a3
LL
62332013-10-04 Leo Liu <sdl.web@gmail.com>
6234
6235 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6236 (inferior-octave-compilation-font-lock-keywords): New variables.
6237 (compilation-error-regexp-alist)
6238 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6239 (inferior-octave-mode): Use compilation-shell-minor-mode.
6240
6cad7ba3
JS
62412013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6242
6243 * minibuffer.el (completion--replace): Be careful that `end' might be
6244 a marker.
6245
acbadd00
DU
62462013-10-03 Daiki Ueno <ueno@gnu.org>
6247
6248 Add support for package signature checking.
6249 * emacs-lisp/package.el (url-http-file-exists-p)
6250 (epg-make-context, epg-context-set-home-directory)
6251 (epg-verify-string, epg-context-result-for)
6252 (epg-signature-status, epg-signature-to-string)
6253 (epg-check-configuration, epg-configuration)
6254 (epg-import-keys-from-file): Declare.
6255 (package-check-signature): New user option.
6256 (package-unsigned-archives): New user option.
6257 (package-desc): Add `signed' field.
6258 (package-load-descriptor): Set `signed' field if .signed file exists.
6259 (package--archive-file-exists-p): New function.
6260 (package--check-signature): New function.
6261 (package-install-from-archive): Check package signature.
6262 (package--download-one-archive): Check archive signature.
6263 (package-delete): Remove .signed file.
6264 (package-import-keyring): New command.
6265 (package-refresh-contents): Import default keyring.
6266 (package-desc-status): Add "unsigned" status.
6267 (describe-package-1, package-menu--print-info)
6268 (package-menu-mark-delete, package-menu--find-upgrades)
6269 (package-menu--status-predicate): Support "unsigned" status.
6270
adf2aa61
SM
62712013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6274 the new compilation scheme using the new byte-codes.
6275
6276 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6277 (byte-pophandler): New byte codes.
6278 (byte-goto-ops): Adjust accordingly.
6279 (byte-compile--use-old-handlers): New var.
6280 (byte-compile-catch): Use new byte codes depending on
6281 byte-compile--use-old-handlers.
6282 (byte-compile-condition-case--old): Rename from
6283 byte-compile-condition-case.
6284 (byte-compile-condition-case--new): New function.
6285 (byte-compile-condition-case): New function that dispatches depending
6286 on byte-compile--use-old-handlers.
6287 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6288 when we can.
6289
6290 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6291 Optimize under `condition-case' and `catch' if
6292 byte-compile--use-old-handlers is nil.
6293 (disassemble-offset): Handle new bytecodes.
6294
328a8179
SM
62952013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * subr.el (error): Use `declare'.
6298 (decode-char, encode-char): Use advertised-calling-convention instead
6299 of the docstring to discourage use of the `restriction' arg.
6300
15a1e936
DU
63012013-10-03 Daiki Ueno <ueno@gnu.org>
6302
6303 * epg.el (epg-verify-file): Add a comment saying that it does not
6304 notify verification error as a return value nor a signal.
6305 (epg-verify-string): Ditto.
6306
376f862a
KR
63072013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6308
6309 * progmodes/compile.el (compilation-start): Try globbing the arg to
6310 `cd' (bug#15417).
6311
a2f93a5f
MA
63122013-10-02 Michael Albinus <michael.albinus@gmx.de>
6313
6314 Sync with Tramp 2.2.8.
6315
6316 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6317 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6318 * net/trampver.el: Update release number.
6319
0daa0804
JD
63202013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6321
6322 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6323 and default-process-coding-system for darwin only.
6324
abd1ae34
SM
63252013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6326
6327 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6328
be4e325d
MH
63292013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6330
6331 * vc/vc-git.el (vc-git-grep): Disable pager.
6332
e9155c4a
DG
63332013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6334
494e898b
DG
6335 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6336 Use :url instead of :homepage, as per
6337 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6338
e9155c4a
DG
6339 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6340 non-nil, use `syntax-ppss' (Bug#15251).
6341
481a8e0f
RS
63422013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6343
be4e325d
MH
6344 * progmodes/octave.el (inferior-octave-startup-file):
6345 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6346
056453c6
DG
63472013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6348
be4e325d
MH
6349 * emacs-lisp/package.el (package-desc-from-define):
6350 Accept additional arguments as plist, convert them to an alist and store
6351 them in the `extras' slot.
056453c6
DG
6352 (package-generate-description-file): Convert extras alist back to
6353 plist and append to the `define-package' form arguments.
6354 (package--alist-to-plist): New function.
6355 (package--ac-desc): Add `extras' slot.
6356 (package--add-to-archive-contents): Check if the archive-contents
6357 vector is long enough, and if it is, pass its `extras' slot value
6358 to `package-desc-create'.
6359 (package-buffer-info): Call `lm-homepage', pass the returned value
6360 to `package-desc-from-define'.
6361 (describe-package-1): Render the homepage button (Bug#13291).
6362
be4e325d
MH
6363 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6364 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6365
832966e5
JD
63662013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6367
6368 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6369 and default-process-coding-system to utf-8-unix (Bug#15402).
6370
6cfe977d
XF
63712013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6372
6373 * subr.el (looking-back): Do not recommend using looking-back.
6374
38de11bd
AM
63752013-09-28 Alan Mackenzie <acm@muc.de>
6376
6377 Fix indentation/fontification of Java enum with "implements".
6378
6379 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6380 regexp which matches "implements", etc., in Java.
6381 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6382 specifier clauses coming after "enum".
6383 * progmodes/cc-fonts.el (c-font-lock-declarations)
6384 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6385 after "enum".
6386
1610938f
JD
63872013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6388
6389 * faces.el (region): Change ns_selection_color to
6390 ns_selection_fg_color, add ns_selection_bg_color.
6391
e090f499
LL
63922013-09-28 Leo Liu <sdl.web@gmail.com>
6393
4d2e94d1
LL
6394 * progmodes/octave.el (inferior-octave-completion-table)
6395 (inferior-octave-completion-at-point): Minor tweaks.
6396
e090f499
LL
6397 * textmodes/ispell.el (ispell-lookup-words): Rename from
6398 lookup-words. (Bug#15460)
6399 (lookup-words): Obsolete.
6400 (ispell-complete-word, ispell-command-loop): All uses changed.
6401
7e138a62
RS
64022013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6403
a12bf61e 6404 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6405 (octave-mode-menu): Add octave-send-buffer.
6406 (octave-send-buffer): New function.
6407
5af5ed08
RS
64082013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6409
a12bf61e 6410 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6411 octave-lookfor.
6412 (octave-mode-menu): Add octave-lookfor.
6413 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6414 octave-lookfor.
6415 (octave-lookfor): New function.
6416
3b7b2692
SM
64172013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6418
35e951cd 6419 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6420 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6421 its convention.
6422 (cl--loop-set-iterator-function): New function.
6423 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6424 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6425 Bind `it' with `let' instead of substituting it with `cl-subst'.
6426 (cl--unused-var-p): New function.
6427 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6428 Eliminate some unused variable warnings (bug#15326).
6429
529fb53f
TH
64302013-09-27 Tassilo Horn <tsdh@gnu.org>
6431
6432 * doc-view.el (doc-view-scale-reset): Rename from
6433 `doc-view-reset-zoom-level'.
6434 (doc-view-scale-adjust): New command.
6435 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6436 `doc-view-scale-adjust'.
6437
0550c95a
TH
64382013-09-26 Tassilo Horn <tsdh@gnu.org>
6439
6440 * doc-view.el (doc-view-reset-zoom-level): New command.
6441 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6442 zoom commands (bug#15466).
6443
6950f152
KH
64442013-09-26 Kenichi Handa <handa@gnu.org>
6445
6446 * international/quail.el (quail-help): Make it not a command.
6447
39587580
LL
64482013-09-26 Leo Liu <sdl.web@gmail.com>
6449
6450 * minibuffer.el (completion-all-sorted-completions): Make args
6451 optional as they are.
6452
00578659
DC
64532013-09-25 Daniel Colascione <dancol@dancol.org>
6454
6455 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6456 specs are and that they're not evaluated.
6457
0c173878
SS
64582013-09-24 Sam Steingold <sds@gnu.org>
6459
6460 * midnight.el (clean-buffer-list-kill-regexps)
6461 (clean-buffer-list-kill-buffer-names): Update for the new Man
6462 buffer naming which includes the object name.
6463
84998447
SM
64642013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6467 (eshell-parse-command, eshell-parse-pipeline): Use it since
6468 eshell-separate-commands requires a dynamic scoped var.
6469 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6470
33215353
LL
64712013-09-23 Leo Liu <sdl.web@gmail.com>
6472
6473 * autoinsert.el (auto-insert-alist): Make the value of
6474 lexical-binding match its file setting.
6475
57b16162
JB
64762013-09-23 Juanma Barranquero <lekktu@gmail.com>
6477
c8af4e67
JB
6478 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6479
57b16162
JB
6480 * autoarg.el (autoarg-kp-digit-argument):
6481 * electric.el (Electric-command-loop):
6482 * kmacro.el (kmacro-step-edit-insert):
6483 Do not set universal-argument-num-events.
6484
7186ba60
LL
64852013-09-22 Leo Liu <sdl.web@gmail.com>
6486
6487 * files.el (interpreter-mode-alist): Add octave.
6488
ece15004
AM
64892013-09-21 Alan Mackenzie <acm@muc.de>
6490
6491 C++: fontify identifier in declaration following "public:" correctly.
6492 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6493 to match "public", etc.
6494 (c-decl-prefix-re): Add ":" into the C++ value.
6495 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6496 bit. Add a check for a ":" preceded by "public", etc.
6497
75d83e22
EZ
64982013-09-21 Eli Zaretskii <eliz@gnu.org>
6499
6500 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6501 recognized by GDB 7.5 and later.
6502
d052d3bd
XF
65032013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6504
6505 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6506
31dca772
R
65072013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * subr.el (internal--call-interactively): New const.
6510 (called-interactively-p): Use it (bug#3984).
6511
98ccf24e
XF
65122013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6513
6514 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6515 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6516 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6517
c39cc7d1
SM
65182013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6521 (eshell-ls-orig-insert-directory): Remove.
6522 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6523 (eshell-ls-use-in-dired): Use advice-add/remove.
6524 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6525 Add `orig-fun' arg for use in :around advice.
6526 Make it check (redundantly) eshell-ls-use-in-dired.
6527
9a0289a2
GM
65282013-09-19 Glenn Morris <rgm@gnu.org>
6529
a2c501b8
GM
6530 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6531
c440407a
GM
6532 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6533
9a0289a2
GM
6534 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6535
85e05915
MA
65362013-09-19 Michael Albinus <michael.albinus@gmx.de>
6537
6538 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6539 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6540 (tramp-get-remote-python): New defuns.
6541 (tramp-get-remote-uid-with-perl)
6542 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6543 contributed by yary <not.com@gmail.com> (tiny change).
6544 (tramp-get-remote-uid-with-python)
6545 (tramp-get-remote-gid-with-python): New defuns. Python code
6546 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6547 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6548
ce503312
GM
65492013-09-19 Glenn Morris <rgm@gnu.org>
6550
f7544773
GM
6551 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6552
72fd2877
GM
6553 * eshell/em-unix.el (eshell-remove-entries):
6554 Rename argument to avoid name-clash with global `top-level'.
6555
336b5a56
GM
6556 * eshell/esh-proc.el (eshell-kill-process-function):
6557 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6558 (eshell-reset-after-proc): Remove unused arg `proc'.
6559
57a3a53d
GM
6560 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6561 (directory-files-and-attributes): Mark unused arg.
6562
3261d4af
GM
6563 * eshell/em-unix.el (eshell-remove-entries):
6564 Remove unused arg `path'. Update callers.
6565
8e51b5d0
GM
6566 * eshell/em-hist.el (eshell-hist-parse-arguments):
6567 Remove unused arg `silent'. Update callers.
6568
ce503312
GM
6569 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6570 Fix (f)boundp mix-up.
6571
6572 * eshell/em-smart.el (eshell-smart-scroll-window)
6573 (eshell-disable-after-change):
336b5a56 6574 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6575
ee3ce8a7
AM
65762013-09-18 Alan Mackenzie <acm@muc.de>
6577
6578 Fix fontification of type when followed by "const".
6579 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6580 "known" types from fontification.
6581
ec9177ba
GM
65822013-09-18 Glenn Morris <rgm@gnu.org>
6583
7bb3e768
GM
6584 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6585 (chart-face-list): Drop Emacsen without display-color-p.
6586
5148da15
GM
6587 * net/eww.el (libxml-parse-html-region): Declare.
6588 (eww-display-html): Explicit error if no libxml2 support.
6589
2f68e157
GM
6590 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6591
9019d095
GM
6592 * image.el (image-type-from-buffer, image-multi-frame-p):
6593 Remove --without-x warning/error.
67645389 6594
5f30349b 6595 * mouse.el (mouse-yank-primary):
45069b2e 6596 * term.el (term-mouse-paste):
5f30349b
GM
6597 Reorder to silence --without-x compilation.
6598
cd8edbbe
GM
6599 * mpc.el (doc-view-mode): Silence --without-x compilation.
6600
8a78544e
GM
6601 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6602 Silence --without-x compilation.
6603
12679bfd
GM
6604 * progmodes/gud.el (gud-find-file, gud-mode):
6605 Silence --without-x compilation.
6606 (tooltip-mode): Declare.
30810a05 6607
f0047cb9
GM
6608 * wdired.el (dired-backup-overwrite): Remove declaration.
6609 (wdired-mode-map): Add doc string.
6610
e740f9d2
GM
6611 * custom.el (x-get-resource): Declare.
6612
92d77c89
GM
6613 * eshell/em-glob.el (ange-cache):
6614 * eshell/em-unix.el (ange-cache): Declare.
6615
76e69577
GM
6616 * faces.el (x-display-list, x-open-connection, x-get-resource):
6617 Declare.
7e58af4b
GM
6618
6619 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6620 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6621 Declare.
76e69577 6622
4bd4c0af 6623 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6624
ffb82dbd
GM
6625 * net/gnutls.el (gnutls-log-level): Declare.
6626
986ed135
GM
6627 * net/shr.el (image-size, image-animate): Declare.
6628
e740f9d2
GM
6629 * simple.el (font-info): Declare.
6630
d2f3e9f8
GM
6631 * subr.el (x-popup-dialog): Declare.
6632
047a1a4c
GM
6633 * term/common-win.el (x-select-enable-primary)
6634 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6635 Declare.
6636
f4a1d572
GM
6637 * term/ns-win.el (x-handle-args): Declare.
6638
e843de77
GM
6639 * term/x-win.el (x-select-enable-clipboard): Declare.
6640
5fa89513
GM
6641 * term/w32-win.el (create-default-fontset): Declare.
6642
38702b5b
GM
6643 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6644 Declare.
6645
e740f9d2
GM
6646 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6647 (fit-frame-to-buffer): Explicit error if --without-x.
6648 (mouse-autoselect-window-select): Silence compiler.
6649
49a053fc
GM
6650 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6651
6652 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6653 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6654 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6655 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6656 Remove unused local variables.
6657
6658 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6659
ec9177ba
GM
6660 * textmodes/two-column.el: Make 2C-split work for --without-x.
6661 (scroll-bar-columns): Autoload.
6662 (top-level): Require fringe when compiling.
6663
9f25cb77
LL
66642013-09-18 Leo Liu <sdl.web@gmail.com>
6665
6666 * subr.el (add-hook): Robustify to handle closure as well.
6667
2b42da98
GM
66682013-09-17 Glenn Morris <rgm@gnu.org>
6669
6670 * simple.el (messages-buffer-mode-map): Unbind "g".
6671
e8b66a6a
SM
66722013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6673
9c0ad4f7
SM
6674 * help-mode.el (help-mode-finish): Use derived-mode-p.
6675 Remove obsolete highlighting.
6676
7a806dfb
SM
6677 * play/life.el (life-mode): Use define-derived-mode. Derive from
6678 special-mode.
6679 (life): Let-bind inhibit-read-only.
6680 (life-setup): Avoid `setq'. Use `life-mode'.
6681
96dbf5a8
SM
6682 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6683 which should not be needed any more.
6684 (package-menu-refresh, package-menu-describe-package): Use user-error.
6685
e8b66a6a
SM
6686 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6687 (eshell-post-rewrite-command-hook): Make obsolete.
6688 (eshell-parse-command): Simplify.
6689 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6690 (eshell--cmd): Declare.
6691 (eshell-parse-pipeline): Remove unused var `final-p'.
6692 Pass a dynvar to eshell-post-rewrite-command-hook.
6693 Implement the new eshell-post-rewrite-command-function.
6694 (eshell-invoke-directly): Remove unused arg `input'.
6695 * eshell/esh-io.el (eshell-io-initialize):
6696 Use eshell-post-rewrite-command-function (bug#15399).
6697 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6698 adjust to new calling convention.
6699 (eshell-create-handles): Rename args to avoid clashing with dynvar
6700 `standard-output'.
6701
90582f05
GM
67022013-09-17 Glenn Morris <rgm@gnu.org>
6703
6704 * simple.el (messages-buffer-mode): New major mode.
6705 (messages-buffer): New function.
6706 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6707 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6708 (ert-run-test): Use `messages-buffer' function.
90582f05 6709 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6710 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6711 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6712
39eb0cb5 67132013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6714
6715 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6716
1d42e5b6 6717 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6718
70568a90
SM
67192013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6720
504a0381
SM
6721 * icomplete.el (icomplete-in-buffer): New var.
6722 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6723 vars and replace them with functions.
6724 (icomplete-minibuffer-setup): Adjust accordingly.
6725 (icomplete--completion-table, icomplete--completion-predicate)
6726 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6727 New functions.
6728 (icomplete-forward-completions, icomplete-backward-completions)
6729 (icomplete-simple-completing-p, icomplete-exhibit)
6730 (icomplete-completions): Use them.
6731 (icomplete--in-region-buffer): New var.
6732 (icomplete--in-region-setup): New function.
6733 (icomplete-mode): Use it.
6734
70568a90
SM
6735 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6736 (bug#15379).
6737 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6738 return args and options.
6739 (eshell-eval-using-options): Use the new return value of
6740 eshell--do-opts to set the options's vars in their scope.
6741 (eshell--set-option): Rename from eshell-set-option.
6742 Add arg `opt-vals'.
6743 (eshell--process-option): Rename from eshell-process-option.
6744 Add arg `opt-vals'.
6745 (eshell--process-args): Use an `opt-vals' alist to store the options's
6746 values during their processing and return them additionally to the
6747 remaining args.
6748
578c21bc
DG
67492013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6750
6751 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6752 continuation character an operator, as far as indentation is
6753 concerned (Bug#15369).
6754
c089653d
MR
67552013-09-15 Martin Rudalics <rudalics@gmx.at>
6756
6757 * window.el (window--state-put-2): Don't process buffer state
6758 when buffer doesn't exist any more (Bug#15382).
6759
1e53bb4b
GM
67602013-09-15 Glenn Morris <rgm@gnu.org>
6761
30753242
GM
6762 * eshell/em-unix.el (eshell/rm):
6763 Make -f ignore missing files. (Bug#15373)
6764
1e53bb4b
GM
6765 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6766 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6767 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6768
0d8863b3
GM
67692013-09-14 Glenn Morris <rgm@gnu.org>
6770
6771 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6772
d3fc6549
GM
67732013-09-13 Glenn Morris <rgm@gnu.org>
6774
6775 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6776 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6777
fcd42c11
DA
67782013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6779
6780 * frame.el (x-focus-frame): Mark as declared in frame.c.
6781
7830899f
SM
67822013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * ls-lisp.el: Use advice-add.
6785 (original-insert-directory): Remove.
6786 (ls-lisp--insert-directory): Rename from insert-directory; add
6787 `orig-fun' argument.
6788 (insert-directory): Advise.
6789
84387cd2
EZ
67902013-09-13 Eli Zaretskii <eliz@gnu.org>
6791
6792 * term.el (term-emulate-terminal): Decode the command string
6793 before passing it to term-command-hook. (Bug#15337)
6794
35ffc6ba
GM
67952013-09-13 Glenn Morris <rgm@gnu.org>
6796
5c3f9bcc
GM
6797 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6798
2ada368a
GM
6799 * eshell/esh-ext.el (eshell-search-path): Declare.
6800
fcef2e13
GM
6801 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6802 Otherwise an error occurs if eshell-dirs module not loaded.
6803
35ffc6ba
GM
6804 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6805
35c3d36e
MA
68062013-09-13 Michael Albinus <michael.albinus@gmx.de>
6807
6808 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6809 `tramp-check-proper-host'. Check for a valid method name.
6810
6811 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6812 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6813 * net/tramp-sh.el (tramp-maybe-open-connection):
6814 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6815
6816 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6817 also for hash values.
6818
ae5e4c48
SM
68192013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6820
379add74
SM
6821 * term/ns-win.el (parameters): Don't declare as dynamic.
6822 (before-make-frame-hook): Don't add ineffective function.
6823
ae5e4c48
SM
6824 * eshell/*.el: Use lexical-binding (bug#15231).
6825
b5623270
KH
68262013-09-12 Kenichi Handa <handa@gnu.org>
6827
ae5e4c48 6828 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6829
30213927
GM
68302013-09-12 Glenn Morris <rgm@gnu.org>
6831
be94d713 6832 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6833 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6834
44915370
GM
6835 * subr.el (do-after-load-evaluation): Also give compiler warnings
6836 when obsolete files are used (except by obsolete files).
6837
a6ae021f
GM
6838 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6839 in the status output, assume `filename' is the first. (Bug#15322)
6840
40e64f0c
GM
6841 * vc/vc.el (vc-deduce-fileset): Doc fix.
6842
16d9f896
GM
6843 * calc/calc-help.el (Info-goto-node):
6844 * progmodes/cperl-mode.el (Info-find-node):
6845 * vc/ediff.el (Info-goto-node): Update declarations.
6846
dea01c6e
GM
6847 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6848
759880bf 6849 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6850 (vc-bzr-pull): Require vc-dispatcher.
6851 * vc/vc-git.el (vc-compilation-mode): Declare.
6852 (vc-git-pull): Require vc-dispatcher.
6853
08d66420
GM
6854 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6855
30b626e9
GM
6856 * progmodes/octave.el (help-button-action): Declare.
6857
8c05cb10
GM
6858 * shell.el (shell-directory-tracker): Output error as a message
6859 rather than just returning it as a string.
6860 (shell-process-pushd): Remove useless use of message.
6861
30213927
GM
6862 * dframe.el (dframe-timer-fn):
6863 * files.el (dir-locals-read-from-file):
6864 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6865 (mpc-format):
6866 * reveal.el (reveal-post-command):
6867 * saveplace.el (load-save-place-alist-from-file):
6868 * shell.el (shell-resync-dirs):
6869 * w32-common-fns.el (x-get-selection-value):
6870 * emacs-lisp/copyright.el (copyright-find-copyright):
6871 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6872 * emulation/tpu-edt.el (tpu-copy-keyfile):
6873 * play/bubbles.el (bubbles--mark-neighbourhood):
6874 * progmodes/executable.el
6875 (executable-make-buffer-file-executable-if-script-p):
6876 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6877
d3b049e6
SM
68782013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6879
170266d0
SM
6880 Cleanup Eshell to rely less on dynamic scoping.
6881 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6882 last-value, and ext-command here. Bind `args' closer to `body'.
6883 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6884 (eshell--args): Declare new dynamic var.
6885 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6886 last-value, and ext-command. Pass `args' to `body'.
6887 (eshell-process-args): Bind eshell--args.
6888 (eshell-set-option): Use eshell--args.
6889 * eshell/eshell.el (eshell): Use derived-mode-p.
6890 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6891 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6892 (eshell-glob-function): Declare.
6893 * eshell/esh-util.el: Require cl-lib.
6894 (eshell-read-hosts-file): Avoid add-to-list.
6895 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6896 `err'.
6897 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6898 Declare.
6899 (eshell/diff): Remove unused var `err'.
6900 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6901 `killflag'.
6902 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6903 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6904 first use.
6905 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6906 Move declaration before first use.
6907 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6908 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6909 rely on cl-return.
6910
56834f3b
GM
69112013-09-12 Glenn Morris <rgm@gnu.org>
6912
6913 * term/ns-win.el (global-map): Remove binding for ispell-next,
6914 deleted 1999-05-29. (Bug#15357)
6915
5c91a2b8
GM
69162013-09-11 Glenn Morris <rgm@gnu.org>
6917
da712f22
GM
6918 * echistory.el (electric-command-history): Remove call to deleted func.
6919
512e4cdc
GM
6920 * play/landmark.el (landmark-mode): Fix typos.
6921
d3506ca5
GM
6922 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6923 Check cvs-sort-ignore-file is bound.
6924
5c91a2b8
GM
6925 * savehist.el: No need for cl when compiling on Emacs.
6926
feeff482
SM
69272013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6928
656bd483
SM
6929 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6930 (bug#15338).
d3b049e6
SM
6931 (eshell-self-insert-command, eshell-send-invisible):
6932 Remove unused argument.
656bd483
SM
6933 (eshell-handle-control-codes): Remove unused var `orig'.
6934 Avoid delete-backward-char.
6935
feeff482
SM
6936 * files.el (set-auto-mode): Simplify a bit further.
6937
2a08047a
GM
69382013-09-11 Glenn Morris <rgm@gnu.org>
6939
6940 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6941 (set-auto-mode): Don't regexp-quote elements.
6942 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6943 * progmodes/cc-mode.el (interpreter-mode-alist):
6944 * progmodes/ruby-mode.el (interpreter-mode-alist):
6945 Revert previous change.
6946
34675540
SM
69472013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6948
1b3b87df
SM
6949 * play/snake.el (snake-mode):
6950 * play/mpuz.el (mpuz-mode):
6951 * play/landmark.el (lm-mode):
6952 * play/blackbox.el (blackbox-mode):
6953 * play/5x5.el (5x5-mode):
6954 * obsolete/options.el (Edit-options-mode):
6955 * net/quickurl.el (quickurl-list-mode):
6956 * net/newst-treeview.el (newsticker-treeview-mode):
6957 * mail/rmailsum.el (rmail-summary-mode):
6958 * mail/mspools.el (mspools-mode):
6959 * locate.el (locate-mode):
6960 * ibuffer.el (ibuffer-mode):
6961 * emulation/ws-mode.el (wordstar-mode):
6962 * emacs-lisp/debug.el (debugger-mode):
6963 * array.el (array-mode):
6964 * net/eudc.el (eudc-mode): Use define-derived-mode.
6965 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6966 Move initialization into declaration.
6967 (mairix-searches-mode): Use define-derived-mode.
6968 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6969 (eudc-edit-hotlist): Use dolist.
6970 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6971 (Man-mode): Use define-derived-mode.
6972 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6973 (Info-edit-mode): Use define-derived-mode.
6974 (Info-cease-edit): Use Info-mode.
6975 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6976 into declaration.
6977 (eshell-mode): Use define-derived-mode.
6978 * chistory.el (command-history-mode-map): Rename from
6979 command-history-map.
6980 (command-history-mode): Use define-derived-mode.
da712f22 6981 (Command-history-setup): Remove function.
1b3b87df
SM
6982 * calc/calc.el (calc-trail-mode-map): New var.
6983 (calc-trail-mode): Use define-derived-mode.
6984 (calc-trail-buffer): Set calc-main-buffer manually.
6985 * bookmark.el (bookmark-insert-annotation): New function.
6986 (bookmark-edit-annotation): Use it.
6987 (bookmark-edit-annotation-mode): Make it a proper major mode.
6988 (bookmark-send-edited-annotation): Use derived-mode-p.
6989 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6990 closer to its ideal place. Use \' to match EOS.
6991
34675540
SM
6992 * profiler.el (profiler-calltree-find): Use function-equal.
6993
6a5c15d9
GM
69942013-09-10 Glenn Morris <rgm@gnu.org>
6995
1af4c220
GM
6996 * files.el (interpreter-mode-alist): Convert to regexps.
6997 (set-auto-mode): Adapt for this. (Bug#15306)
6998 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6999 Comment out unused variable.
7000 * progmodes/cc-mode.el (interpreter-mode-alist):
7001 * progmodes/python.el (interpreter-mode-alist):
7002 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7003 * progmodes/sh-script.el (sh-set-shell):
7004 No longer use interpreter-mode-alist to get list of shells.
7005
6a5c15d9
GM
7006 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7007
8c27f5ff
SM
70082013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7009
02ef6c1a 7010 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7011 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
7012 Bind switch-frame explicitly. Replace universal-argument-minus with
7013 a conditional binding.
7014 (universal-argument-num-events, saved-overriding-map): Remove.
7015 (restore-overriding-map): Remove.
7016 (universal-argument--mode): Rename from save&set-overriding-map,
7017 and rewrite.
7018 (universal-argument, universal-argument-more, negative-argument)
7019 (digit-argument): Adjust accordingly.
7020 (universal-argument-minus): Remove.
7021 (universal-argument-other-key): Remove.
7022
8c27f5ff
SM
7023 * subr.el (with-demoted-errors): Add `format' argument.
7024
6480194c
MA
70252013-09-10 Michael Albinus <michael.albinus@gmx.de>
7026
7027 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7028 `tramp-cleanup-connection'.
7029
7030 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7031 parameters KEEP-DEBUG and KEEP-PASSWORD.
7032
7033 * net/tramp.el (tramp-file-name-handler):
7034 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7035 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7036 (tramp-maybe-open-connection):
8c27f5ff
SM
7037 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7038 Use `tramp-cleanup-connection'.
6480194c 7039
8c27f5ff
SM
7040 * net/tramp-sh.el (tramp-maybe-open-connection):
7041 Catch 'uname-changed inside the progress reporter.
6480194c 7042
e5e916d8
GM
70432013-09-10 Glenn Morris <rgm@gnu.org>
7044
9a2c9b47
GM
7045 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7046
e5e916d8
GM
7047 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7048 returns "alternate access method" in mode (eg "-rw-r--r--.").
7049
144e38fe
GM
70502013-09-08 Glenn Morris <rgm@gnu.org>
7051
7052 * saveplace.el (load-save-place-alist-from-file):
7053 Demote errors. (Bug#15305)
7054
af9ff9e8
MA
70552013-09-08 Michael Albinus <michael.albinus@gmx.de>
7056
7057 Improve compatibility with older Emacsen, and XEmacs.
7058
7059 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7060 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
7061 (with-tramp-progress-reporter): Do not let-bind `result'.
7062 This yields to scoping errors in XEmacs.
af9ff9e8
MA
7063 (tramp-handle-make-auto-save-file-name): New function, moved from
7064 tramp-sh.el.
7065
7066 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7067 for `make-auto-save-file-name'.
8c27f5ff
SM
7068 (tramp-adb--gnu-switches-to-ash):
7069 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7070
7071 * net/tramp-cache.el (tramp-cache-print): Call
7072 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7073
7074 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7075 bound. It isn't for XEmacs.
7076
8c27f5ff
SM
7077 * net/tramp-compat.el (tramp-compat-copy-file):
7078 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7079 (tramp-compat-replace-regexp-in-string): New defun.
7080
7081 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7082 for `make-auto-save-file-name'.
7083 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7084 `copy-file'.
7085 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7086 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7087 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7088
8c27f5ff
SM
7089 * net/tramp-gw.el (tramp-gw-open-network-stream):
7090 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7091
8c27f5ff
SM
7092 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7093 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7094 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7095 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7096 (tramp-sh-file-inotifywait-process-filter):
7097 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7098 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7099
7100 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7101 for `make-auto-save-file-name'.
8c27f5ff
SM
7102 (tramp-smb-handle-copy-directory):
7103 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7104 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7105 (tramp-smb-handle-copy-file): Improve error message.
7106 (tramp-smb-handle-rename-file): Rename directly only in case
7107 `newname' does not exist yet. This is a restriction of smbclient.
7108 (tramp-smb-maybe-open-connection): Rerun the function only when
7109 `auth-sources' is non-nil.
7110
0ca754d0
KH
71112013-09-08 Kenichi Handa <handa@gnu.org>
7112
e0eb0550 7113 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7114 more characters.
7115
e8dd0787
AM
71162013-09-07 Alan Mackenzie <acm@muc.de>
7117
7118 Correctly fontify Java class constructors.
7119 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7120 in Java Mode.
7121 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7122 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7123 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7124 "typeless" declaration there.
7125
f2f248e7
RW
71262013-09-07 Roland Winkler <winkler@gnu.org>
7127
7128 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7129 field subtitle for entry type book.
7130
67982e2b
SM
71312013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7132
7133 * minibuffer.el: Make minibuffer-complete call completion-in-region
7134 rather than other way around.
7135 (completion--some, completion-pcm--find-all-completions):
7136 Don't delay signals when debugging.
7137 (minibuffer-completion-contents): Beware fields within the
7138 minibuffer contents.
7139 (completion-all-sorted-completions): Use defvar-local.
7140 (completion--do-completion, completion--cache-all-sorted-completions)
7141 (completion-all-sorted-completions, minibuffer-force-complete):
7142 Add args `beg' and `end'.
7143 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7144 (minibuffer-complete): Use completion-in-region.
7145 (completion-complete-and-exit): New fun, extracted from
7146 minibuffer-complete-and-exit.
7147 (minibuffer-complete-and-exit): Use it.
7148 (completion--complete-and-exit): Rename from
7149 minibuffer--complete-and-exit.
7150 (completion-in-region--single-word): New function, extracted from
7151 minibuffer-complete-word.
7152 (minibuffer-complete-word): Use it.
7153 (display-completion-list): Make `common-substring' argument obsolete.
7154 (completion--in-region): Call completion--in-region-1 instead of
7155 minibuffer-complete.
7156 (completion-help-at-point): Pass boundaries to
7157 minibuffer-completion-help as args rather than via an overlay.
7158 (completion-pcm--string->pattern): Use `any-delim'.
7159 (completion-pcm--optimize-pattern): New function.
7160 (completion-pcm--pattern->regex): Handle `any-delim'.
7161 * icomplete.el (icomplete-forward-completions)
7162 (icomplete-backward-completions, icomplete-completions):
7163 Adjust calls to completion-all-sorted-completions and
7164 completion--cache-all-sorted-completions.
7165 (icomplete-with-completion-tables): Default to t.
7166 * emacs-lisp/crm.el (crm--current-element): Rename from
7167 crm--select-current-element. Don't put an overlay but return the
7168 boundaries instead.
7169 (crm--completion-command): Take two new args to bind to the boundaries.
7170 (crm-completion-help): Adjust accordingly.
7171 (crm-complete): Use completion-in-region.
7172 (crm-complete-word): Use completion-in-region--single-word.
7173 (crm-complete-and-exit): Use completion-complete-and-exit.
7174
e17d94a5
SM
71752013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7176
7177 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7178 than dynamically.
7179
96727100
JL
71802013-09-06 Juri Linkov <juri@jurta.org>
7181
7182 * info.el (Info-display-images-node): When image file doesn't exist
7183 display text version of the image if it's provided in the Info file.
7184 Otherwise, display the location of missing image from SRC attribute.
7185 Add help-echo text property from ALT attribute. (Bug#15279)
7186
86cf7329
SM
71872013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7188
7189 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7190 (edit-abbrevs-mode): Use define-derived-mode.
7191
7192 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7193 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7194 that it's defined.
7195 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7196 Use define-derived-mode.
7197
7198 * epg.el (epg-start-encrypt): Minor CSE simplification.
7199
816244a2
WX
72002013-09-06 William Xu <william.xwl@gmail.com>
7201
7202 * arc-mode.el: Add support for 7za (bug#15264).
7203 (archive-7z-program): New var.
7204 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7205 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7206 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7207
1486fa31
MA
72082013-09-06 Michael Albinus <michael.albinus@gmx.de>
7209
7210 Remove URL syntax.
7211
7212 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7213 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7214 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7215 (tramp-postfix-host-format, tramp-file-name-regexp)
7216 (tramp-completion-file-name-regexp)
7217 (tramp-completion-dissect-file-name)
7218 (tramp-handle-substitute-in-file-name): Remove 'url case.
7219 (tramp-file-name-regexp-url)
7220 (tramp-completion-file-name-regexp-url): Remove constants.
7221
39785324
GM
72222013-09-06 Glenn Morris <rgm@gnu.org>
7223
7224 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7225
1f896cb7
DG
72262013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7227
7228 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7229 keywords" below "here-doc beginnings" (Bug#15270).
7230
c0458e0b
SM
72312013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * subr.el (pop): Use `car-safe'.
7234 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7235 to detect unused `pop' return value.
7236
7237 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7238 var `block-regexp'.
7239 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7240 (python-fill-string): Remove unused var `marker'.
7241 (python-skeleton-add-menu-items): Remove unused var `items'.
7242
7243 * international/mule-cmds.el: Require CL.
7244 (find-coding-systems-for-charsets): Avoid add-to-list.
7245 (sanitize-coding-system-list): New function, extracted from
7246 select-safe-coding-system-interactively.
7247 (select-safe-coding-system-interactively): Use it.
7248 (read-input-method-name): Accept symbols for `default'.
7249
7250 * emacs-lisp/advice.el (defadvice): Add indent rule.
7251
6c42fc3e
DH
72522013-09-05 Daniel Hackney <dan@haxney.org>
7253
7254 * dired-x.el:
7255 * net/ange-ftp.el:
7256 * net/browse-url.el:
7257 * net/dbus.el:
7258 * net/eudc.el:
7259 * net/eudcb-ldap.el:
7260 * net/eww.el:
7261 * net/imap.el:
7262 * printing.el:
7263 * vc/ediff-diff.el:
7264 * vc/ediff-init.el:
7265 * vc/ediff-merg.el:
7266 * vc/ediff-mult.el:
7267 * vc/ediff-util.el:
7268 * vc/ediff-wind.el:
7269 * vc/ediff.el:
7270 * vc/emerge.el:
7271 * vc/pcvs.el:
7272 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7273 byte compiler. Remove some unused let-bound variables.
7274
4c528aab
SM
72752013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7278 a "ref-cell", since it gets better optimized (bug#14883).
7279
bd15c390
GM
72802013-09-05 Glenn Morris <rgm@gnu.org>
7281
7282 * progmodes/cc-awk.el (c-forward-sws): Declare.
7283
1c3ac2e5
GM
72842013-09-04 Glenn Morris <rgm@gnu.org>
7285
7286 * generic-x.el [rul-generic-mode]: Require cc-mode.
7287 (c++-mode-syntax-table): Declare.
7288 (rul-generic-mode-syntax-table): Init in the defvar.
7289
52b1cc79
SM
72902013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7291
c828af56
SM
7292 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7293 (vc-do-command, vc-set-async-update):
7294 * vc/vc-mtn.el (vc-mtn-dir-status):
7295 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7296 (vc-hg-pull, vc-hg-merge-branch):
7297 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7298 (vc-git-merge-branch):
7299 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7300 (vc-cvs-dir-status-files):
7301 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7302 (vc-bzr-dir-status-files):
7303 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7304 * vc/vc-annotate.el: Use lexical-binding.
7305 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7306 (vc-sentinel-movepoint): Declare.
7307 (vc-annotate): Don't use `goto-line'.
7308 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7309 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7310 (vc-sentinel-movepoint): Declare.
7311 * vc/vc-svn.el: Use lexical-binding.
7312 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7313 * vc/vc-sccs.el:
7314 * vc/vc-rcs.el: Use lexical-binding.
7315
abae272c
SM
7316 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7317 `deleted'. Don't drop errors silently.
7318
52b1cc79
SM
7319 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7320
63191d9f
XF
73212013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7322
7323 * vc/vc.el (vc-ignore): Rewrite.
7324 (vc-default-ignore): New function.
7325 (vc-default-ignore-completion-table): Use find-ignore-file.
7326
7327 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7328 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7329 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7330 Remove. Most code moved to vc.el.
7331
9d3f707c
SM
73322013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7333
abae272c 7334 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7335 * net/tramp-smb.el (tramp-smb-get-file-entries):
7336 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7337 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7338
fde38d49
SM
7339 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7340 Update call to it.
7341 (eww-change-select): Remove unused var `properties'.
7342 (eww-make-unique-file-name): Remove unused var `base'.
7343
7344 * finder.el (finder-compile-keywords): Don't mess with windows.
7345
84032db7
SM
7346 * calculator.el (calculator-funcall): Fix typo in last change.
7347
724f5e41
SM
7348 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7349
14b511d4
SM
7350 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7351 <pkg>-autoloads.el file stop us.
7352
9d3f707c 7353 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7354 warnings, and factor out common code.
9d3f707c 7355
88527bc0
DG
73562013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7357
7358 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7359 two-character operators and whether the character preceding them
7360 changes their meaning (Bug#15208).
7361
96edb677
FEG
73622013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7363
7364 Format code sent to Python shell for robustness.
9d3f707c
SM
7365 * progmodes/python.el (python-shell-buffer-substring):
7366 New function.
96edb677
FEG
7367 (python-shell-send-region, python-shell-send-buffer): Use it.
7368
95beaef3
MA
73692013-09-02 Michael Albinus <michael.albinus@gmx.de>
7370
7371 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7372 * net/tramp.el (tramp-user-error): ... here.
7373 (tramp-find-method, tramp-check-proper-host)
7374 (tramp-dissect-file-name, tramp-debug-message)
7375 (tramp-handle-shell-command):
7376 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7377 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7378
7379 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7380
f167c27b
MR
73812013-09-02 Martin Rudalics <rudalics@gmx.at>
7382
7383 * avoid.el (mouse-avoidance-point-position)
7384 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7385 returns nil.
7386
cd16c5f1
FEG
73872013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7388
7389 * progmodes/python.el (python-shell-completion-get-completions):
7390 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7391 (python-nav-if-name-main): New command.
cd16c5f1 7392
e73c3a0d
GM
73932013-09-01 Glenn Morris <rgm@gnu.org>
7394
f8ccce03
GM
7395 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7396 Avoid leading space in $wins. Otherwise the sed command used by
7397 eg compile-main ends up containing "/*.el". (Bug#15170)
7398
e73c3a0d
GM
7399 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7400
415f808e
GM
74012013-08-30 Glenn Morris <rgm@gnu.org>
7402
7403 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7404 Fix is-this-a-directory logic. (Bug#15220)
7405
f069bba8
SM
74062013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7407
112798c1
SM
7408 * textmodes/css-mode.el: Use SMIE.
7409 (css-smie-grammar): New var.
7410 (css-smie--forward-token, css-smie--backward-token)
7411 (css-smie-rules): New functions.
7412 (css-mode): Use them.
7413 (css-navigation-syntax-table): Remove var.
7414 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7415 (css-indent-calculate, css-indent-line): Remove functions.
7416
7417 Misc changes to reduce use of `(lambda...); and other cleanups.
7418 * cus-edit.el: Use lexical-binding.
7419 (customize-push-and-save, customize-apropos)
7420 (custom-buffer-create-internal): Use closures.
7421 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7422 * progmodes/ada-xref.el: Use setq.
7423 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7424 * dframe.el: Use lexical-binding.
7425 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7426 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7427 * descr-text.el: Use lexical-binding.
7428 (describe-text-widget, describe-text-sexp, describe-property-list):
7429 Use closures.
7430 * comint.el (comint-history-isearch-push-state): Use a closure.
7431 * calculator.el: Use lexical-binding.
7432 (calculator-number-to-string): Make it work with lexical-binding.
7433 (calculator-funcall): Same and use cl-letf.
7434
2da4c3ab
SM
7435 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7436 (lisp--company-doc-string, lisp--company-location): New functions.
7437 (lisp-completion-at-point): Use them to improve Company support.
7438
f069bba8
SM
7439 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7440 params of lambda expressions.
7441 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7442 (ruby-smie--opening-pipe-p): New function.
7443 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7444 symbols and matched |...| for formal params.
7445 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7446 from being treated as hanging. Handle "rescue".
7447
6758b6a8
GM
74482013-08-29 Glenn Morris <rgm@gnu.org>
7449
7450 * progmodes/cc-engine.el (c-pull-open-brace):
7451 Move definition before use.
7452
e8dfd197
SM
74532013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7456 are immutable. Don't use `unsafe' any more.
7457 (cl--defsubst-expand): Don't substitute at the same time as keeping
7458 a residual unused let-binding. Don't use `unsafe' any more.
7459
cc585c96
GM
74602013-08-29 Glenn Morris <rgm@gnu.org>
7461
ba579ea6
GM
7462 * calendar/cal-china.el (calendar-chinese-year-cache):
7463 Recenter on 2015.
7464
8201a87e
GM
7465 * nxml/nxml-util.el (nxml-debug-clear-inside):
7466 Use cl-loop rather than loop.
7467
6ee877c7
GM
7468 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7469
cc585c96
GM
7470 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7471
27be8d39
GM
74722013-08-28 Glenn Morris <rgm@gnu.org>
7473
397440a1
GM
7474 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7475
2bb762d4
GM
7476 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7477
27be8d39
GM
7478 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7479
2d69b99e
SM
74802013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7481
f663baa7
SM
7482 * simple.el (repeat-complex-command--called-interactively-skip):
7483 New function.
7484 (repeat-complex-command): Use it (bug#14136).
7485
dd4f8b74
SM
7486 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7487 (c-define-abbrev-table): Add `doc' argument.
7488 (c-mode-abbrev-table, c++-mode-abbrev-table)
7489 (objc-mode-abbrev-table, java-mode-abbrev-table)
7490 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7491 (awk-mode-abbrev-table): Use it.
7492 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7493 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7494 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7495 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7496 Move initialization into the declaration; and remove any
7497 autoload cookie.
7498
b58969f7
SM
7499 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7500 and dynamic let binding.
7501
4021d6a6
SM
7502 * vc/smerge-mode.el: Remove redundant :group args.
7503
2d69b99e
SM
7504 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7505 to load-path.
7506
274919fd
JL
75072013-08-28 Juri Linkov <juri@jurta.org>
7508
7509 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7510 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7511 (isearch-other-meta-char): Handle an undefined shifted printing
7512 character by downshifting it. (Bug#15200)
7513
121f8c95
JL
75142013-08-28 Juri Linkov <juri@jurta.org>
7515
7516 * isearch.el (isearch-search): Change regexp error message for
7517 non-regexp searches. (Bug#15166)
7518
50b13cde
PE
75192013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7520
7521 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7522 for portability to hosts where /bin/sh has problems.
7523
95888bca
SM
75242013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7527
bbe558f1
JL
75282013-08-27 Juri Linkov <juri@jurta.org>
7529
7530 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7531 in the keyboard macro. (Bug#15126)
7532
26f98a7d
JL
75332013-08-27 Juri Linkov <juri@jurta.org>
7534
7535 * isearch.el (isearch-quote-char): Comment out converting unibyte
7536 to multibyte, thus syncing with its `quoted-insert' counterpart.
7537 (Bug#15166)
7538
7c97d35e
MR
75392013-08-27 Martin Rudalics <rudalics@gmx.at>
7540
7541 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7542 argument in call of get-largest-window (Bug#15185).
7543 Reported by Stephen Leake.
7c97d35e 7544
a0b5606e 75452013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7546
7547 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7548
9e89d835
SM
75492013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7552 from a matcher-function unless there's no more matches (bug#15161).
7553
78fc2530
MA
75542013-08-26 Michael Albinus <michael.albinus@gmx.de>
7555
7556 * minibuffer.el: Revert change from 2013-08-20.
7557
7558 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7559 with text property `tramp-default', if appropriate.
7560 (tramp-check-proper-host): New defun.
7561 (tramp-dissect-file-name): Do not check hostname. Revert change
7562 of 2013-03-18.
7563 (tramp-backtrace): Make VEC-OR-PROC optional.
7564
7565 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7566 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7567 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7568 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7569 Apply `tramp-check-proper-host'.
78fc2530 7570
edca97cd
TH
75712013-08-26 Tassilo Horn <tsdh@gnu.org>
7572
7573 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7574 lambda expression in order to have `describe-variable' display it.
7575
df54bcbd
MA
75762013-08-26 Michael Albinus <michael.albinus@gmx.de>
7577
7578 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7579 BUF can be optional. (Bug#15186)
7580
eed99101
XF
75812013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7582
7583 * progmodes/flymake.el (flymake-get-real-file-name-function):
7584 Fix broken customization. (Bug#15184)
7585
b5eb9035
AM
75862013-08-25 Alan Mackenzie <acm@muc.de>
7587
8a51e842
AM
7588 Improve indentation of bracelists defined by macros (without "=").
7589
7590 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7591 expansion begins with "{", regard it as bracelist when it doesn't
7592 contain a ";".
7593
869455d4
AM
7594 Parse C++ inher-intro when there's a template split over 2 lines.
7595
7596 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7597 rigorously the search for "class" etc. followed by ":".
7598
7599 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7600 random languages a regexp which never matches rather than nil.
7601
b5eb9035
AM
7602 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7603
7604 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7605 (c-awk-regexp-one-line-possibly-open-char-list-re)
7606 (c-awk-one-line-possibly-open-regexp-re)
7607 (c-awk-one-line-non-syn-ws*-re): Remove.
7608 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7609 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7610 (c-awk-space*-unclosed-regexp-/-re): New constants.
7611 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7612 aren't regexp delimiters.
7613
7614 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7615 handling for a rare situation in AWK Mode involving unterminated
7616 strings/regexps.
7617
61611d54
GM
76182013-08-23 Glenn Morris <rgm@gnu.org>
7619
2d85dc34
GM
7620 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7621
cb8d2612
GM
7622 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7623
bb35f42f
GM
7624 * files.el (create-file-buffer): If the result would begin with
7625 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7626
b9808e77
SM
76272013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7628
e3a66363
SM
7629 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7630 text-properties (bug#15155).
7631
b9808e77
SM
7632 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7633 exist any more.
7634 (calc-keypad-redraw): Remove unused var `pad'.
7635 (calc-keypad-press): Remove unused var `menu'.
7636
7fd5f65e
MR
76372013-08-23 Martin Rudalics <rudalics@gmx.at>
7638
b9808e77
SM
7639 * window.el (display-buffer-pop-up-frame):
7640 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7641 use it as the new frame's buffer (Bug#15133).
7642
8352b530
SM
76432013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * calendar/timeclock.el: Minor cleanups.
7646 (timeclock-ask-before-exiting, timeclock-use-display-time):
7647 Use `symbol'.
7648 (timeclock-modeline-display): Define as alias before the
7649 actual definition.
7650 (timeclock-mode-line-display): Use define-minor-mode.
7651 (timeclock-day-list-template): Make it a function, add an argument.
7652 (timeclock-day-list-required, timeclock-day-list-length)
7653 (timeclock-day-list-debt, timeclock-day-list-span)
7654 (timeclock-day-list-break): Adjust calls accordingly.
7655
9f7b1925
SM
76562013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7657
7658 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7659 Use read--expression so that completion works again.
7660
6e50e983
SS
76612013-08-21 Sam Steingold <sds@gnu.org>
7662
7663 Add rudimentary inferior shell interaction
7664 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7665 (sh-set-shell): Reset it.
9f7b1925
SM
7666 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7667 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7668
dbb0d350
SM
76692013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * align.el: Use lexical-binding.
7672 (align-region): Simplify accordingly.
7673
c88586a9
MA
76742013-08-20 Michael Albinus <michael.albinus@gmx.de>
7675
7676 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7677
7678 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7679 `non-essential' up.
7680
f95527c8
MA
76812013-08-17 Michael Albinus <michael.albinus@gmx.de>
7682
7683 * net/tramp.el:
7684 * net/tramp-adb.el:
7685 * net/tramp-cmds.el:
7686 * net/tramp-ftp.el:
7687 * net/tramp-gvfs.el:
7688 * net/tramp-gw.el:
7689 * net/tramp-sh.el: Don't wrap external variable declarations by
7690 `eval-when-compile'.
7691
4b5fe4ee
LMI
76922013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7693
7694 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7695 now that Emacs supports ImageMagick animations.
7696
13c366c9
MA
76972013-08-16 Michael Albinus <michael.albinus@gmx.de>
7698
7699 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7700 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7701
3dfc5cd6
MR
77022013-08-16 Martin Rudalics <rudalics@gmx.at>
7703
7704 * window.el (mouse-autoselect-window-select): Do autoselect when
7705 mouse pointer is on margin.
7706
4bbb4381
WP
77072013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7708
7709 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7710
3a2ddc2d
GM
77112013-08-16 Glenn Morris <rgm@gnu.org>
7712
e8bedf5a
GM
7713 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7714 Handle "Remote Directory" response of some clients. (Bug#15058)
7715
58c4682f
GM
7716 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7717 Tweak warning. (Bug#14926)
7718
57953f49
GM
7719 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7720 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7721
3a2ddc2d
GM
7722 * image-mode.el (image-mode-map): Add menu items to reverse,
7723 increase, decrease, reset animation speed.
7724 (image--set-speed, image-increase-speed, image-decrease-speed)
7725 (image-reverse-speed, image-reset-speed): New functions.
7726 (image-mode-map): Add bindings for speed commands.
7727
7728 * image.el (image-animate-get-speed, image-animate-set-speed):
7729 New functions.
7730 (image-animate-timeout): Respect image :speed property.
7731
10fa0ed3
SM
77322013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7735 previous line (bug#15101).
7736 (debugger-eval-expression, debugger-record-expression):
7737 Use read--expression (bug#15102).
7738
5d89d9d2
MA
77392013-08-15 Michael Albinus <michael.albinus@gmx.de>
7740
7741 Remove byte compiler warnings, visible when compiling with
7742 `byte-compile-force-lexical-warnings' set to t.
7743
7744 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7745 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7746 (tramp-handle-unhandled-file-name-directory)
7747 (tramp-handle-file-notify-add-watch, tramp-action-login)
7748 (tramp-action-succeed, tramp-action-permission-denied)
7749 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7750 arguments with "_".
7751
7752 * net/tramp-adb.el (tramp-adb-parse-device-names)
7753 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7754 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7755 (tramp-adb-handle-file-truename): Remove unused arguments.
7756
7757 * net/tramp-cache.el (tramp-flush-directory-property)
7758 (tramp-flush-connection-property, tramp-list-connections)
7759 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7760
10fa0ed3
SM
7761 * net/tramp-compat.el (tramp-compat-make-temp-file):
7762 Rename FILENAME to F.
5d89d9d2
MA
7763
7764 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7765 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7766 (tramp-zeroconf-parse-workstation-device-names)
7767 (tramp-zeroconf-parse-webdav-device-names)
7768 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7769
7770 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7771 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7772
7773 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7774 arguments.
7775 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7776 (tramp-sh-handle-insert-file-contents-literally)
7777 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7778 with "_".
7779 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7780 Remove unused variables.
7781
7782 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7783 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7784 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7785
7786 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7787 Make them a defconst.
7788 (tramp-uuencode-region): Remove unused variable.
7789
62f33bae
JB
77902013-08-14 Juanma Barranquero <lekktu@gmail.com>
7791
7792 * frameset.el (frameset--prop-setter): New function.
7793 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7794 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7795 parameter was already set in FILTERED. Doc fix.
7796 (frameset--record-minibuffer-relationships): Allow saving a
7797 minibufferless frame without its corresponding minibuffer frame.
7798 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7799 frame, if the frame id matches.
7800 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7801 frames before orphaned ones.
7802 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7803
c660a885
MR
78042013-08-14 Martin Rudalics <rudalics@gmx.at>
7805
7806 * window.el (window-make-atom): Don't overwrite parameter
7807 already present.
7808 (display-buffer-in-atom-window): Handle special case where we
7809 split an already atomic window.
7810 (window--major-non-side-window, display-buffer-in-side-window)
7811 (window--side-check): Ignore minibuffer window when walking
7812 window tree.
7813 (window-deletable-p): Return 'frame only if no other frame uses
7814 our minibuffer window.
7815 (record-window-buffer): Run buffer-list-update-hook.
7816 (split-window): Make sure window--check-frame won't destroy an
7817 existing atomic window in case the new window gets nested
7818 inside.
7819 (display-buffer-at-bottom): Ignore minibuffer window when
7820 walking window tree. Don't split a side window.
7821 (pop-to-buffer): Don't set-buffer here, the select-window call
7822 should do that.
7823 (mouse-autoselect-window-select): Autoselect only if we are in the
7824 text portion of the window.
7825
8259030d
LMI
78262013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
21c58ae2
LMI
7828 * net/shr.el (shr-parse-image-data): New function to grab both the
7829 data itself and the Content-Type.
7830 (shr-put-image): Use it.
7831
7832 * net/eww.el (eww-display-image): Ditto.
7833
8259030d
LMI
7834 * image.el (image-content-type-suffixes): New variable.
7835
ad756449
FEG
78362013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7837
7838 * progmodes/python.el (python-imenu--build-tree)
7839 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7840
f73f4ce6
XF
78412013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7842
7843 * simple.el (backward-word): Mention the optional argument.
7844
1f585e65
SM
78452013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * frameset.el (frameset--make): Rename constructor from make-frameset.
7848 (frameset-p, frameset-valid-p): Don't autoload.
7849 (frameset-valid-p): Use normal accessors.
7850
af1c6c84
GM
78512013-08-13 Glenn Morris <rgm@gnu.org>
7852
55e47f95
GM
7853 * progmodes/compile.el (compile-command): Tweak example in doc.
7854 * obsolete/scribe.el (scribe-mode):
7855 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7856
f0024d8c
GM
7857 * mail/feedmail.el (feedmail-confirm-outgoing)
7858 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7859
7860 * cus-start.el (truncate-partial-width-windows): Fix type.
7861
7862 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7863
af1c6c84
GM
7864 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7865
5514cc4c
SM
78662013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * emacs-lisp/timer.el (timer--time-setter): New function.
7869 (timer--time): Use it as gv-setter.
7870
7871 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7872 setter is not a symbol.
7873
7997a2f1
GJ
78742013-08-12 Grégoire Jadi <daimrod@gmail.com>
7875
7876 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7877 if sending fails. This makes debugging easier.
7878
01f1a9ab
JB
78792013-08-12 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7882 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7883 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7884
594a4307
EZ
78852013-08-12 Eli Zaretskii <eliz@gnu.org>
7886
7887 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7888
7a22490f 78892013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7890
7891 * format.el (format-annotate-function):
7892 Handle read-only text properties in the source. (Bug#14887)
7893
3e41a054
LMI
78942013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7895
5514cc4c
SM
7896 * net/eww.el (eww-display-html): Ignore coding system errors.
7897 One web site uses "utf-8lias" as the coding system.
3e41a054 7898
7ec326db
JB
78992013-08-11 Juanma Barranquero <lekktu@gmail.com>
7900
7901 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7902
5660113b
JB
79032013-08-10 Juanma Barranquero <lekktu@gmail.com>
7904
9a4ebc74
JB
7905 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7906 (tutorial--detailed-help): Remove unused local variables.
7907 (tutorial--save-tutorial-to): Use ignore-errors.
7908 (help-with-tutorial): Use looking-at-p.
7909
7910 * view.el (view-buffer-other-window, view-buffer-other-frame):
7911 Mark unused arguments.
7912
7913 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7914 (woman-select-symbol-fonts, woman, woman-find-file)
7915 (woman-insert-file-contents, woman-non-underline-faces):
7916 Use string-match-p.
7917 (woman1-unquote): Move declaration.
7918
7919 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7920 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7921 argument. Remove unused local variable.
7922 (xml-parse-elem-type): Use string-match-p.
7923 (xml-substitute-numeric-entities): Use ignore-errors.
7924
45fdb482
JB
7925 * calculator.el (calculator): Mark unused argument.
7926 (calculator-paste, calculator-quit, calculator-integer-p):
7927 Use ignore-errors.
7928 (calculator-string-to-number, calculator-decimal, calculator-exp)
7929 (calculator-op-or-exp): Use string-match-p.
7930
7931 * dired.el (dired-buffer-more-recently-used-p): Declare.
7932 (dired-insert-set-properties, dired-insert-old-subdirs):
7933 Use ignore-errors.
7934
7935 * dired-aux.el (dired-compress): Use ignore-errors.
7936 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7937 (dired-do-async-shell-command, dired-do-shell-command)
7938 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7939 (dired-insert-subdir-validate): Use string-match-p.
7940 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7941 (dired-add-entry): Use string-match-p, looking-at-p.
7942 (dired-insert-subdir-newpos): Remove unused local variable.
7943
7944 * filenotify.el (file-notify-callback): Remove unused local variable.
7945
7946 * filesets.el (filesets-error): Mark unused argument.
7947 (filesets-which-command-p, filesets-filter-dir-names)
7948 (filesets-directory-files, filesets-get-external-viewer)
7949 (filesets-ingroup-get-data): Use string-match-p.
7950
7951 * find-file.el (ff-other-file-name, ff-other-file-name)
7952 (ff-find-the-other-file, ff-cc-hh-converter):
7953 Remove unused local variables.
7954 (ff-get-file-name): Use string-match-p.
7955 (ff-all-dirs-under): Use ignore-errors.
7956
7957 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7958 (follow-select-if-visible): Remove unused local variable.
7959
7960 * forms.el (read-file-filter): Move declaration.
7961 (forms--make-format, forms--make-parser, forms-insert-record):
7962 Quote function with #'.
7963 (forms--update): Use string-match-p. Quote function with #'.
7964
7965 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7966 (help-make-xrefs): Use looking-at-p.
7967 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7968
7969 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7970 (ibuffer-confirm-operation-on): Use string-match-p.
7971
7972 * msb.el (msb-item-handler, msb-dired-item-handler):
7973 Mark unused arguments.
7974
7975 * ses.el (ses-decode-cell-symbol)
7976 (ses-kill-override): Remove unused local variable.
7977 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7978 (ses-load): Use ignore-errors, looking-at-p.
7979 (ses-jump-safe): Use ignore-errors.
7980 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7981
7982 * tabify.el (untabify, tabify): Mark unused arguments.
7983
7984 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7985 Mark unused argument.
7986 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7987 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7988
c880af52
JB
7989 * emacs-lisp/timer.el (timer--time): Define setter with
7990 gv-define-setter to avoid deprecation warning.
7991
5660113b 7992 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7993 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7994 (cmpl-statistics-block): Remove (body was commented out).
7995 All callers changed.
7996 (add-completions-from-buffer, load-completions-from-file):
7997 Remove unused variables.
7998
156aab80
JB
79992013-08-09 Juanma Barranquero <lekktu@gmail.com>
8000
5c5dee78
JB
8001 * filecache.el (file-cache-delete-file-list):
8002 Print message only when told so.
8003 (file-cache-files-matching): Use #' in mapconcat argument.
8004
156aab80
JB
8005 * ffap.el (ffap-url-at-point): Fix reference to variable
8006 thing-at-point-default-mail-uri-scheme.
8007
ad9dcd70
SM
80082013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8009
54bd972f
SM
8010 * subr.el (define-error): New function.
8011 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8012 error-file-not-found and define with define-error.
8013 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8014 and define with define-error.
8015 * userlock.el (file-locked, file-supersession):
8016 * simple.el (mark-inactive):
8017 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8018 * progmodes/ada-mode.el (ada-mode-errors):
8019 * play/life.el (life-extinct):
8020 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8021 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8022 * nxml/rng-util.el (rng-error):
8023 * nxml/rng-uri.el (rng-uri-error):
8024 * nxml/rng-match.el (rng-compile-error):
8025 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8026 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8027 * nxml/nxml-rap.el (nxml-scan-error):
8028 * nxml/nxml-outln.el (nxml-outline-error):
8029 * net/soap-client.el (soap-error):
8030 * net/gnutls.el (gnutls-error):
8031 * net/ange-ftp.el (ftp-error):
8032 * mpc.el (mpc-proc-error):
8033 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8034 (json-number-format, json-string-escape, json-string-format)
8035 (json-key-format, json-object-format):
8036 * jka-compr.el (compression-error):
8037 * international/quail.el (quail-error):
8038 * international/kkc.el (kkc-error):
8039 * emacs-lisp/ert.el (ert-test-failed):
8040 * calc/calc.el (calc-error, inexact-result, math-overflow)
8041 (math-underflow):
8042 * bookmark.el (bookmark-error-no-filename):
8043 * epg.el (epg-error): Define with define-error.
8044
0ea9e53a
SM
8045 * time.el (display-time-event-handler)
8046 (display-time-next-load-average): Don't call sit-for since it seems
8047 unnecessary (bug#15045).
8048
b0429158
SM
8049 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8050 Use #' instead of ' to quote functions.
8051 (checkdoc-output-mode): Use setq-local.
8052 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8053 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8054 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8055 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8056 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8057 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8058 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8059 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8060
ad9dcd70
SM
8061 * ido.el (ido-completion-help): Fix up compiler warning.
8062
77187e6f
JB
80632013-08-09 Juanma Barranquero <lekktu@gmail.com>
8064
8065 * frameset.el (frameset-p): Add autoload cookie.
8066 (frameset--jump-to-register): New function, based on code moved from
8067 register.el.
8068 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8069
8070 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8071 (frameset-restore, frameset-save, frameset-session-filter-alist):
8072 Remove declarations.
8073 (register-alist): Doc fix.
8074 (frameset-to-register): Move to frameset.el.
8075 (jump-to-register, describe-register-1): Remove frameset-specific code.
8076
9d3aa82c
JB
80772013-08-08 Juanma Barranquero <lekktu@gmail.com>
8078
8079 * allout-widgets.el (allout-widgets-pre-command-business)
8080 (allout-widgets-post-command-business)
8081 (allout-widgets-after-change-handler)
8082 (allout-decorate-item-and-context, allout-set-boundary-marker)
8083 (allout-body-modification-handler)
8084 (allout-graphics-modification-handler): Mark ignored arguments.
8085 (allout-widgets-post-command-business)
8086 (allout-widgets-exposure-change-processor)
8087 (allout-widgets-exposure-undo-processor)
8088 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8089 (allout-parse-item-at-point, allout-decorate-item-guides)
8090 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8091 * allout.el (epa-passphrase-callback-function): Declare.
8092 (allout-overlay-insert-in-front-handler)
8093 (allout-overlay-interior-modification-handler)
8094 (allout-isearch-end-handler, allout-chart-siblings)
8095 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8096 (allout-yank-processing, allout-process-exposed)
8097 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8098 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8099 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8100 (lisp-indent-defform): Mark ignored arguments.
8101 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8102 (calculate-lisp-indent): Remove unused variables.
8103 * international/characters.el (indian-2-column, arabic-2-column)
8104 (tibetan): Mark ignored arguments.
8105 (use-cjk-char-width-table): Mark ignored arguments.
8106 Remove unused variables.
8107 * international/fontset.el (build-default-fontset-data)
8108 (x-compose-font-name, create-fontset-from-fontset-spec):
8109 Mark ignored arguments.
8110 (fontset-plain-name): Remove unused variables.
8111 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8112 (keyboard-coding-system): Mark ignored arguments.
8113 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8114 * help.el (resize-temp-buffer-window):
8115 * window.el (display-buffer-in-major-side-window)
8116 (display-buffer-in-side-window, display-buffer-in-previous-window):
8117 Remove unused variables.
8118 * isearch.el (isearch-forward-symbol):
8119 * version.el (emacs-bzr-version-bzr):
8120 * international/mule-cmds.el (current-language-environment):
8121 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8122 (x-handle-display):
8123 * term/pc-win.el (x-list-fonts, x-display-planes)
8124 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8125 (x-server-version, x-display-screens, x-display-mm-height)
8126 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8127 (x-selection-owner-p, x-own-selection-internal)
8128 (x-disown-selection-internal, x-get-selection-internal)
8129 (msdos-initialize-window-system):
8130 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8131 * term/x-win.el (x-handle-no-bitmap-icon):
8132 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8133 (vc-default-find-file-hook, vc-default-extra-menu):
8134 Mark ignored arguments.
8135
0ca3f70e
SM
81362013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8137
8138 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8139 break-condition in the context of the debugged code (bug#12685).
8140
74c5d24c
CS
81412013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8142
8143 * comint.el:
8144 Do not use an overlay to highlight the last prompt. (Bug#14744)
8145 (comint-mode): Make comint-last-prompt buffer local.
8146 (comint-last-prompt): New variable.
8147 (comint-last-prompt-overlay): Remove. Superseded by
8148 comint-last-prompt.
0ca3f70e
SM
8149 (comint-snapshot-last-prompt, comint-output-filter):
8150 Use comint-last-prompt.
74c5d24c 8151
c03c02ee
JB
81522013-08-08 Juanma Barranquero <lekktu@gmail.com>
8153
a3738d20 8154 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8155 (frameset-save): Check validity of the resulting frameset.
8156
04263d23
XF
81572013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8158
8159 * ido.el (ido-record-command): Add doc string.
8160
76c5e5ab
JB
81612013-08-08 Juanma Barranquero <lekktu@gmail.com>
8162
8163 * frameset.el (frameset): Do not disable creation of the default
8164 frameset-p predicate. Doc fix.
8165 (frameset-valid-p): New function, copied from the old predicate-p.
8166 Add additional checks.
8167 (frameset-restore): Check with frameset-valid-p.
8168 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8169 (frameset-name, frameset-description, frameset-properties)
8170 (frameset-states): Add docstring.
f9dbf1cb
JB
8171 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8172 (frameset-filter-alist): Doc fixes.
76c5e5ab 8173
bd0c3c0b
JB
81742013-08-08 Juanma Barranquero <lekktu@gmail.com>
8175
8176 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8177
c735544c
SM
81782013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8181 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8182 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8183 (byte-compile-normal-call): Remove obsolescence check.
8184
2805a651
JB
81852013-08-08 Juanma Barranquero <lekktu@gmail.com>
8186
3677ffeb
JB
8187 * frameset.el (frameset-restore): Doc fix.
8188
2805a651
JB
8189 * register.el (frameset-frame-id, frameset-frame-with-id)
8190 (frameset-p, frameset-restore, frameset-save): Declare.
8191 (register-alist): Document framesets.
8192 (frameset-session-filter-alist): Declare.
8193 (frameset-to-register): New function.
8194 (jump-to-register): Implement jumping to framesets. Doc fix.
8195 (describe-register-1): Describe framesets.
8196
8197 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8198
a912c016
JB
81992013-08-07 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8202 Use lexical-binding.
8203
8204 * frameset.el (frameset): Use type vector, not list (incompatible
8205 change). Do not declare a new constructor, use the default one.
8206 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8207 `name' and `description', respectively, and add read-only slot
8208 `timestamp'. Doc fixes.
8209 (frameset-copy, frameset-persistent-filter-alist)
8210 (frameset-filter-alist, frameset-switch-to-gui-p)
8211 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8212 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8213 (frameset-filter-iconified, frameset-keep-original-display-p):
8214 Doc fixes.
8215 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8216 Rename from frameset-filter-(save|restore)-param. All callers changed.
8217 Doc fix.
8218 (frameset-p): Adapt to change to vector and be more thorough.
8219 Change arg name to OBJECT. Doc fix.
8220 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8221 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8222 All callers changed.
8223 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8224 All callers changed.
8225 (frameset--record-minibuffer-relationships): Rename from
8226 frameset--process-minibuffer-frames. All callers changed.
8227 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8228 Use new default constructor (again). Doc fix.
c295fc18 8229 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8230 All callers changed.
8231 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8232 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8233 Doc fix.
8234 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8235 PARAMETERS and WINDOW-STATE, respectively.
8236 (frameset-restore): Add new keyword argument PREDICATE.
8237 Reset frameset--target-display to nil. Doc fix.
8238
bb41480a
SM
82392013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8240
f001e98e
SM
8241 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8242 (bat-mode): Use it.
8243 (bat-mode-syntax-table): Mark \n as end-of-comment.
8244 (bat-font-lock-keywords): Remove comment rule.
8245
7679edb1
SM
8246 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8247 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8248
bb41480a
SM
8249 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8250 (byte-compile-callargs-warn): Use `push'.
8251 (byte-compile-arglist-warn): Ignore higher-order "calls".
8252 (byte-compile-file-form-autoload): Use `pcase'.
8253 (byte-compile-function-form): If quoting a symbol, check that it exists.
8254
cdc1ebb9
EZ
82552013-08-07 Eli Zaretskii <eliz@gnu.org>
8256
8257 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8258 and add a few popular commands found in batch files.
8259 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8260 (dos-mode): Doc fixes.
8261
312b1740
SM
82622013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8265 (dos-mode): Use setq-local. Add space after "rem".
8266 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8267 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8268
400a3178
AM
82692013-08-07 Arni Magnusson <arnima@hafro.is>
8270
8271 * progmodes/dos.el: New file.
8272 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8273 dos-mode.
8274
3b5c03d3
GM
82752013-08-06 Glenn Morris <rgm@gnu.org>
8276
8277 * calendar/calendar.el: Add new faces, and day-header-array.
8278 (calendar-weekday-header, calendar-weekend-header)
8279 (calendar-month-header): New faces.
8280 (calendar-day-header-construct): New function.
8281 (calendar-day-header-width): Also :set calendar-day-header-array.
8282 (calendar-american-month-header, calendar-european-month-header)
8283 (calendar-iso-month-header): Use calendar- faces.
8284 (calendar-generate-month):
8285 Use calendar-day-header-array for day headers; apply faces to them.
8286 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8287 (calendar-abbrev-construct): Add optional maxlen argument.
8288 (calendar-day-name-array): Doc fix.
8289 (calendar-day-name-array, calendar-abbrev-length)
8290 (calendar-day-abbrev-array):
8291 Also :set calendar-day-header-array, and maybe redraw.
8292 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8293 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8294 (calendar-day-name): Add option to use header array.
8295
ec6a2d7a
LMI
82962013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8297
8298 * net/shr.el (shr-render-td): Remove debugging.
8299 (shr-render-td): Make width computation consistent by defaulting
8300 all zero-width columns to 10 characters. This may not be optimal,
8301 but it's at least consistent.
2122cb6d
LMI
8302 (shr-make-table-1): Redo last change to fix the real problem in
8303 colspan handling.
ec6a2d7a 8304
ed4fd9c5
DA
83052013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8306
0ca3f70e
SM
8307 * files.el (cache-long-line-scans):
8308 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8309
64e22afe
JB
83102013-08-06 Juanma Barranquero <lekktu@gmail.com>
8311
024b38fc
JB
8312 * frameset.el (frameset, frameset-filter-alist)
8313 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8314 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8315 (frameset-compute-pos): Rename from frameset--compute-pos,
8316 and add docstring.
8317 (frameset-move-onscreen): Use frameset-compute-pos.
8318 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8319
64e22afe
JB
8320 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8321 Fix typos in docstrings.
8322
c8c2aca8
DA
83232013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8324
8325 * frame.el (get-other-frame): Tiny cleanup.
8326
1d237bba
JB
83272013-08-06 Juanma Barranquero <lekktu@gmail.com>
8328
8951efef
JB
8329 * vc/vc.el (vc-default-ignore-completion-table):
8330 Silence byte-compiler warning.
8331
307764cc 8332 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8333 slot, which can indeed be nil.
307764cc
JB
8334 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8335 Move entry for `left' from persistent to live filter alist.
8336 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8337 Doc fixes.
8338 (frameset-filter-params): When restoring a frame, copy items added to
8339 `filtered', to avoid unwittingly modifying the original parameters.
8340 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8341 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8342
1d237bba
JB
8343 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8344 to use looking-at-p instead of looking-at. (Bug#15028)
8345
dc6c0eda
SM
83462013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8347
8348 Revert introduction of isearch-filter-predicates (bug#14714).
8349 Rely on add-function instead.
8350 * isearch.el (isearch-filter-predicates): Rename it back to
8351 isearch-filter-predicate.
8352 (isearch-message-prefix): Use advice-function-mapc and advice
8353 properties to get the isearch-message-prefix.
8354 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8355 instead of run-hook-with-args-until-failure.
8356 (isearch-filter-visible): Not obsolete any more.
8357 * loadup.el: Preload nadvice.
8358 * replace.el (perform-replace): Revert to funcall
8359 instead of run-hook-with-args-until-failure.
8360 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8361 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8362 dired-isearch-filenames-toggle; make it into a proper minor mode.
8363 Use add/remove-function.
8364 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8365 Call the minor-mode rather than add/remove-hook.
8366 (dired-isearch-filter-filenames):
8367 Remove isearch-message-prefix property.
8368 * info.el (Info--search-loop): New function, extracted from Info-search.
8369 Funcall isearch-filter-predicate instead of
8370 run-hook-with-args-until-failure isearch-filter-predicates.
8371 (Info-search): Use it.
8372 (Info-mode): Use isearch-filter-predicate instead of
8373 isearch-filter-predicates.
8374
290d5b58
DA
83752013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8376
8377 Do not call to `selected-window' where it is assumed by default.
8378 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8379 `window-hscroll', `window-width', `window-height', `window-buffer',
8380 `window-frame', `window-start', `window-point', `next-window'
8381 and `window-display-table'.
8382 * abbrev.el (abbrev--default-expand):
8383 * bs.el (bs--show-with-configuration):
8384 * buff-menu.el (Buffer-menu-mouse-select):
8385 * calc/calc.el (calc):
8386 * calendar/calendar.el (calendar-generate-window):
8387 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8388 (diary-make-entry):
8389 * comint.el (send-invisible, comint-dynamic-complete-filename)
8390 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8391 * completion.el (complete):
8392 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8393 * disp-table.el (describe-current-display-table):
8394 * doc-view.el (doc-view-insert-image):
8395 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8396 * ehelp.el (with-electric-help):
8397 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8398 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8399 * emacs-lisp/helper.el (Helper-help-scroller):
8400 * emulation/cua-base.el (cua--post-command-handler-1):
8401 * eshell/esh-mode.el (eshell-output-filter):
8402 * ffap.el (ffap-gnus-wrapper):
8403 * help-macro.el (make-help-screen):
8404 * hilit-chg.el (highlight-compare-buffers):
8405 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8406 * hl-line.el (global-hl-line-highlight):
8407 * icomplete.el (icomplete-simple-completing-p):
8408 * isearch.el (isearch-done):
8409 * jit-lock.el (jit-lock-stealth-fontify):
8410 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8411 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8412 * mpc.el (mpc-tagbrowser, mpc):
8413 * net/rcirc.el (rcirc-any-buffer):
8414 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8415 * play/landmark.el (landmark-max-width, landmark-max-height):
8416 * play/zone.el (zone):
8417 * progmodes/compile.el (compilation-goto-locus):
8418 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8419 * progmodes/etags.el (find-tag-other-window):
8420 * progmodes/fortran.el (fortran-column-ruler):
8421 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8422 * progmodes/verilog-mode.el (verilog-point-text):
8423 * reposition.el (reposition-window):
8424 * rot13.el (toggle-rot13-mode):
8425 * server.el (server-switch-buffer):
8426 * shell.el (shell-dynamic-complete-command)
8427 (shell-dynamic-complete-environment-variable):
8428 * simple.el (insert-buffer, set-selective-display)
8429 (delete-completion-window):
8430 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8431 (speedbar-recenter):
8432 * startup.el (fancy-splash-head):
8433 * textmodes/ispell.el (ispell-command-loop):
8434 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8435 * tutorial.el (help-with-tutorial):
8436 * vc/add-log.el (add-change-log-entry):
8437 * vc/compare-w.el (compare-windows):
8438 * vc/ediff-help.el (ediff-indent-help-message):
8439 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8440 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8441 (ediff-setup-control-frame):
8442 * vc/emerge.el (emerge-position-region):
8443 * vc/pcvs-util.el (cvs-bury-buffer):
8444 * window.el (walk-windows, mouse-autoselect-window-select):
8445 * winner.el (winner-set-conf, winner-undo): Related users changed.
8446
38276e01
JB
84472013-08-05 Juanma Barranquero <lekktu@gmail.com>
8448
8449 * frameset.el (frameset--set-id): Doc fix.
8450 (frameset-frame-id, frameset-frame-id-equal-p)
8451 (frameset-locate-frame-id): New functions.
8452 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8453 (frameset-restore): Use them.
8454
12b4c0ea
DA
84552013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8456
8457 Do not call to `selected-frame' where it is assumed by default.
8458 Affected functions are `raise-frame', `redraw-frame',
8459 `frame-first-window', `frame-terminal' and `delete-frame'.
8460 * calendar/appt.el (appt-disp-window):
8461 * epg.el (epg-wait-for-completion):
8462 * follow.el (follow-delete-other-windows-and-split)
8463 (follow-avoid-tail-recenter):
8464 * international/mule.el (set-terminal-coding-system):
8465 * mail/rmail.el (rmail-mail-return):
8466 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8467 * progmodes/f90.el (f90-add-imenu-menu):
8468 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8469 * server.el (server-switch-buffer):
8470 * simple.el (delete-completion-window):
8471 * talk.el (talk):
8472 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8473 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8474 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8475 * vc/ediff.el (ediff-documentation): Related users changed.
8476 * frame.el (selected-terminal): Remove the leftover.
8477
17f25e76
GM
84782013-08-05 Glenn Morris <rgm@gnu.org>
8479
8480 * calendar/calendar.el (calendar-generate-month):
8481 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8482 (calendar-generate-month, calendar-font-lock-keywords):
8483 Fix for calendar-day-header-width > length of any day name.
17f25e76 8484
063233c3
JB
84852013-08-05 Juanma Barranquero <lekktu@gmail.com>
8486
8487 * desktop.el (desktop-clear): Use new name of sort predicate.
8488
8489 * frameset.el (frameset): Add docstring. Move :version property to its
8490 own `version' slot.
8491 (frameset-copy): Rename from copy-frameset.
8492 (frameset-p): Check more thoroughly.
8493 (frameset-prop): Do not check for :version, which is no longer a prop.
8494 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8495 Use new :never value instead of t.
8496 (frameset-filter-alist): Expand and clarify docstring.
8497 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8498 (frameset-filter-minibuffer, frameset-filter-save-param)
8499 (frameset-filter-restore-param, frameset-filter-iconified):
8500 Add pointer to docstring of frameset-filter-alist.
8501 (frameset-filter-params): Rename filter values to be more meaningful:
8502 :never instead of t, and reverse the meanings of :save and :restore.
8503 (frameset--process-minibuffer-frames): Clarify error message.
8504 (frameset-save): Avoid unnecessary and confusing call to framep.
8505 Use new BOA constructor for framesets.
8506 (frameset--reuse-list): Doc fix.
8507 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8508 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8509 (frameset-minibufferless-first-p): Doc fix.
8510 Rename from frameset-sort-frames-for-deletion.
8511 (frameset-restore): Doc fixes. Use new function names.
8512 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8513
d5671a82
JB
85142013-08-04 Juanma Barranquero <lekktu@gmail.com>
8515
8516 * desktop.el (desktop-restore-forces-onscreen)
8517 (desktop-restore-reuses-frames): Document :keyword constant values.
8518 (desktop-filter-parameters-alist): Remove, now identical to
8519 frameset-filter-alist.
8520 (desktop--filter-tty*): Remove, moved to frameset.el.
8521 (desktop-save-frameset, desktop-restore-frameset):
8522 Do not pass :filters argument.
8523
8524 * frameset.el (frameset-live-filter-alist)
8525 (frameset-persistent-filter-alist): New variables.
8526 (frameset-filter-alist): Use them. Add autoload cookie.
8527 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8528 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8529 `frameset--id' (it's supposed to be internal to frameset.el).
8530 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8531 (frameset--initial-params): New function.
8532 (frameset--get-frame): Use it. Doc fix.
8533 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8534 Accept :all, not 'all.
8535 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8536 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8537 with fbound symbols. Fix frame id matching, and remove matching ids if
8538 the frame being restored is deleted. Obey :delete.
8539
671d5c16
SM
85402013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * subr.el (macrop): New function.
8543 (text-clone--maintaining): New var.
8544 (text-clone--maintain): Rename from text-clone-maintain. Use it
8545 instead of inhibit-modification-hooks.
8546
8547 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8548 a proxy, so as handle autoloads and redefinitions of the target.
8549 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8550
8551 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8552 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8553 (pcase--mutually-exclusive-p): New function.
8554 (pcase--split-consp): Use it.
8555 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8556 mutually exclusive with the current predicate.
8557
8558 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8559 (edebug-macrop): Remove. Use `macrop' instead.
8560 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8561 (ad-macro-p):
8562 * eshell/esh-cmd.el (eshell-macrop):
8563 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8564
1d44e9dc
SM
85652013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8568 (advice-mapc): New function, using it.
8569 (advice-function-member-p): New function.
8570 (advice--normalize): Store the cdr in advice--saved-rewrite since
8571 that's the part that will be changed.
8572 (advice--symbol-function): New function.
8573 (advice-remove): Handle removal before the function is defined.
8574 Adjust to new advice--saved-rewrite.
8575 (advice-member-p): Use advice-function-member-p and
8576 advice--symbol-function.
8577
5414a283
JB
85782013-08-04 Juanma Barranquero <lekktu@gmail.com>
8579
51d30f2c
JB
8580 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8581 (frameset-filter-minibuffer): Doc fix.
8582 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8583 (frameset--set-id, frameset--process-minibuffer-frames)
8584 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8585 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8586
5414a283
JB
8587 * desktop.el (desktop-clear): Only delete frames when called
8588 interactively and desktop-restore-frames is non-nil. Doc fix.
8589 (desktop-read): Set desktop-saved-frameset to nil.
8590
ab419665
XF
85912013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8592
8593 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8594 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8595 (vc--add-line, vc--remove-regexp): New functions.
8596
8597 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8598 (vc-svn-ignore-completion-table): New function.
8599
8600 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8601 (vc-hg-ignore-completion-table)
ab419665
XF
8602 (vc-hg-find-ignore-file): New functions.
8603
8604 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8605 (vc-git-ignore-completion-table)
ab419665
XF
8606 (vc-git-find-ignore-file): New functions.
8607
8608 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8609
8610 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8611 (vc-bzr-ignore-completion-table)
ab419665
XF
8612 (vc-bzr-find-ignore-file): New functions.
8613
2613dea2
JB
86142013-08-03 Juanma Barranquero <lekktu@gmail.com>
8615
8616 * frameset.el (frameset-prop): New function and setter.
8617 (frameset-save): Do not modify frame list passed by the caller.
8618
9c959872
SM
86192013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8622
a104f656
SM
86232013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8624
70122acf
SM
8625 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8626 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8627
a104f656
SM
8628 * custom.el (custom-initialize-default, custom-initialize-set)
8629 (custom-initialize-reset, custom-initialize-changed): Affect the
8630 toplevel-default-value (bug#6275, bug#14586).
8631 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8632 for bug#6275.
8633
f078d570
JB
86342013-08-02 Juanma Barranquero <lekktu@gmail.com>
8635
185e3b5a
JB
8636 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8637 Add cl-def* expressions.
8638
f078d570
JB
8639 * frameset.el (frameset-filter-params): Fix order of arguments.
8640
9421876d
JB
86412013-08-02 Juanma Barranquero <lekktu@gmail.com>
8642
8643 Move code related to saving frames to frameset.el.
8644 * desktop.el: Require frameset.
8645 (desktop-restore-frames): Doc fix.
8646 (desktop-restore-reuses-frames): Rename from
8647 desktop-restoring-reuses-frames.
8648 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8649 (desktop-clear): Clear frames too.
8650 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8651 (desktop--filter-tty*, desktop-save, desktop-read):
8652 Use frameset functions.
8653 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8654 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8655 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8656 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8657 (desktop--process-minibuffer-frames, desktop-save-frames)
8658 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8659 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8660 (desktop--sort-states, desktop-restoring-frames-p)
8661 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8662 (desktop-restoring-frameset-p, desktop-restore-frameset)
8663 (desktop--check-dont-save, desktop-save-frameset): New functions.
8664 (desktop--app-id): New constant.
8665 (desktop-first-buffer, desktop-buffer-ok-count)
8666 (desktop-buffer-fail-count): Move before first use.
8667 * frameset.el: New file.
8668
76dc5996
SM
86692013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * files.el: Use lexical-binding.
8672 (dir-locals-read-from-file): Remove unused `err' variable.
8673 (hack-dir-local-variables--warned-coding): New var.
8674 (hack-dir-local-variables): Use it to avoid repeated warnings.
8675 (make-backup-file-name--default-function): New function.
8676 (make-backup-file-name-function): Use it as default.
8677 (buffer-stale--default-function): New function.
8678 (buffer-stale-function): Use it as default.
8679 (revert-buffer-insert-file-contents--default-function): New function.
8680 (revert-buffer-insert-file-contents-function): Use it as default.
8681 (insert-directory): Avoid add-to-list.
8682
8683 * autorevert.el (auto-revert-handler): Simplify.
8684 Use buffer-stale--default-function.
8685
06d36e2b
TH
86862013-08-01 Tassilo Horn <tsdh@gnu.org>
8687
5f648ab4
TH
8688 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8689
06d36e2b
TH
8690 * whitespace.el (whitespace-ensure-local-variables): New function.
8691 (whitespace-cleanup-region): Call it.
8692 (whitespace-turn-on): Call it.
8693
a43dc424
MA
86942013-08-01 Michael Albinus <michael.albinus@gmx.de>
8695
8696 Complete file name handlers.
8697
8698 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8699 (tramp-handle-verify-visited-file-modtime)
8700 (tramp-handle-file-notify-rm-watch): New functions.
8701 (tramp-call-process): Do not bind `default-directory'.
8702
44e18199
JB
8703 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8704 Order alphabetically.
afe1e4c8
GM
8705 <access-file, add-name-to-file, dired-call-process>:
8706 <dired-compress-file, file-acl, file-notify-rm-watch>:
8707 <file-ownership-preserved-p, file-selinux-context>:
8708 <make-directory-internal, make-symbolic-link, set-file-acl>:
8709 <set-file-selinux-context, set-visited-file-modtime>:
8710 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8711 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8712
8713 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8714 <file-notify-add-watch, file-notify-rm-watch>:
8715 <set-file-times, set-visited-file-modtime>:
8716 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8717 (with-tramp-gvfs-error-message)
8718 (tramp-gvfs-handle-set-visited-file-modtime)
8719 (tramp-gvfs-fuse-file-name): Remove.
8720 (tramp-gvfs-handle-file-notify-add-watch)
8721 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8722 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8723
44e18199
JB
8724 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8725 Order alphabetically.
afe1e4c8
GM
8726 <file-notify-rm-watch>: Use default Tramp handler.
8727 <executable-find>: Remove private handler.
a43dc424
MA
8728 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8729 `default-directory'.
8730 (tramp-sh-handle-executable-find)
8731 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8732 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8733 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8734 Do not use `format' in `tramp-message'.
8735
8736 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8737 <file-notify-rm-watch, set-visited-file-modtime>:
8738 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8739 (tramp-smb-call-winexe): Do not bind `default-directory'.
8740
7188b515
XF
87412013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8742
8743 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8744
2412ee1a
DG
87452013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8746
8747 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8748 use it.
8749 (log-view-diff-changeset): Same.
8750 (log-view-diff-common): Call backend command `previous-revision'
8751 to find out the previous revision, in both cases. Swap the
8752 variables `to' and `fr', so that `fr' usually refers to the
8753 earlier revision (Bug#14989).
8754
5002a754
KRC
87552013-07-31 Kan-Ru Chen <kanru@kanru.info>
8756
8757 * ibuf-ext.el (ibuffer-filter-by-filename):
8758 Make it work with dired buffers too.
8759
44e18199 87602013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8761
8762 * emacs-lisp/re-builder.el (reb-color-display-p):
8763 * files.el (save-buffers-kill-terminal):
8764 * net/browse-url.el (browse-url):
8765 * server.el (server-save-buffers-kill-terminal):
8766 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8767 Prefer nil to selected-frame for the first arg of frame-parameter.
8768
aeca3fbb
XF
87692013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8770
8771 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8772
158bc55c
SB
87732013-07-30 Stephen Berman <stephen.berman@gmx.net>
8774
8775 * minibuffer.el (completion--twq-all): Try and preserve each
8776 completion's case choice (bug#14907).
8777
d50fceab
LMI
87782013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8779
ac38e731
LMI
8780 * net/network-stream.el (open-network-stream): Mention the new
8781 :nogreeting parameter.
8782 (network-stream-open-starttls): Use the :nogreeting parameter
8783 (bug#14938).
8784
1211de50
LMI
8785 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8786
997798bf
LMI
8787 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8788 more natural than popping.
8789
d50fceab 8790 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8791 (shr-urlify): Highlight under mouse.
d50fceab 8792
5c09de04
XF
87932013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8794
207d1d04
XF
8795 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8796
8797 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8798
5c09de04
XF
8799 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8800 buffer for output.
8801
3cd51eaa
XF
8802 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8803 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8804
44e18199 8805 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8806 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8807
8808 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8809
8810 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8811 buffer for output.
8812
35a89bdd
EZ
88132013-07-29 Eli Zaretskii <eliz@gnu.org>
8814
8815 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8816 initial frame is minibuffer-less. (Bug#14841)
8817
78822e94
MA
88182013-07-29 Michael Albinus <michael.albinus@gmx.de>
8819
8820 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8821 option.
8822
8823 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8824 (tramp-maybe-open-connection): Use it.
8825
9503c190
JB
88262013-07-28 Juanma Barranquero <lekktu@gmail.com>
8827
8828 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8829 minimal set of parameters passed when creating a frame, because
8830 the minibuffer status of a frame cannot be changed later.
8831
d5a845b4
SB
88322013-07-28 Stephen Berman <stephen.berman@gmx.net>
8833
8834 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8835 replace-regexp-in-string and inadvertent omissions in previous change.
8836 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8837 name of filtered items buffer.
d5a845b4 8838
ddeffb17
JB
88392013-07-28 Juanma Barranquero <lekktu@gmail.com>
8840
8841 * desktop.el: Optionally force offscreen frames back onscreen.
8842 (desktop-restoring-reuses-frames): New option.
8843 (desktop--compute-pos, desktop--move-onscreen): New functions.
8844 (desktop--make-frame): Use desktop--move-onscreen.
8845
f5950f7a
AM
88462013-07-27 Alan Mackenzie <acm@muc.de>
8847
8848 Fontify a Java generic method as a function.
8849 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8850 value to t.
8851
ae43b66a
SB
88522013-07-27 Stephen Berman <stephen.berman@gmx.net>
8853
8854 * calendar/todo-mode.el: Add command to rename todo files.
8855 (todo-rename-file): New command.
8856 (todo-key-bindings-t): Add key binding for it. Change the
8857 bindings of todo-filter-regexp-items(-multifile) to use `x'
8858 instead of `r', since the latter is better suited to the new
8859 renaming command.
8860
5ab78d3d
AM
88612013-07-27 Alan Mackenzie <acm@muc.de>
8862
8863 Make Java try-with-resources statement parse properly.
8864 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8865 (c-block-stmt-1-2-key): New language constants/variables.
8866 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8867 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8868 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8869 with c-block-stmt-1-2-key.
5ab78d3d 8870
d85c4d50
JB
88712013-07-27 Juanma Barranquero <lekktu@gmail.com>
8872
8873 * desktop.el (desktop--make-frame): Apply most frame parameters after
8874 creating the frame to force (partially or totally) offscreen frames to
8875 be restored as such.
8876
e4c467f9
XF
88772013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8878
8879 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8880 (Bug#14948)
e4c467f9 8881
7ced0d04
SM
88822013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8885 `base' arg of backtrace-frame.
8886
fec92060
EZ
88872013-07-26 Eli Zaretskii <eliz@gnu.org>
8888
8889 * simple.el (list-processes): Doc fix.
8890
d58d31fb
JB
88912013-07-26 Juanma Barranquero <lekktu@gmail.com>
8892
8893 * desktop.el (desktop--select-frame):
d85c4d50 8894 Try harder to reuse existing frames.
d58d31fb 8895
53ff3e77
SM
88962013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8899 (edebug-eval): Use backtrace-eval.
8900 (edebug--display, edebug--recursive-edit): Don't let-bind the
8901 edebug-outer-* vars that keep track of variables we locally let-bind.
8902 (edebug-outside-excursion): Don't restore outside values of locally
8903 let-bound vars.
8904 (edebug--display): Use user-error.
8905 (cl-lexical-debug, cl-debug-env): Remove.
8906
045f7a53
JB
89072013-07-26 Juanma Barranquero <lekktu@gmail.com>
8908
8909 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8910 are restored to be sure that they are visible before deleting any
8911 remaining ones.
8912
59070b32
MM
89132013-07-26 Matthias Meulien <orontee@gmail.com>
8914
742a3501
XF
8915 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8916 vc-print-root-log. (Bug#14948)
59070b32 8917
b1fb3596
RS
89182013-07-26 Richard Stallman <rms@gnu.org>
8919
8920 Add aliases for encrypting mail.
8921 * epa.el (epa-mail-aliases): New option.
8922 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8923 Bind inhibit-read-only so read-only text doesn't ruin everything.
8924 (epa-mail-default-recipients): New subroutine broken out.
8925 Handle epa-mail-aliases.
8926
56ea7291
SM
89272013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 Add support for lexical variables to the debugger's `e' command.
8930 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8931 vars, except for debugger-outer-match-data.
8932 (debugger-frame-number): Move check for "on a function call" from
8933 callers into it. Add `skip-base' argument.
8934 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8935 (debugger-env-macro): Only reset the state stored in non-variables,
8936 i.e. current-buffer and match-data.
8937 (debugger-eval-expression): Rewrite using backtrace-eval.
8938 * subr.el (internal--called-interactively-p--get-frame): Remove.
8939 (called-interactively-p):
8940 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8941 `base' arg of backtrace-frame instead.
8942
15ac32d5
GM
89432013-07-26 Glenn Morris <rgm@gnu.org>
8944
8358a09d
GM
8945 * align.el (align-regexp): Doc fix. (Bug#14857)
8946 (align-region): Explicit error if subexpression missing/does not match.
8947
15ac32d5
GM
8948 * simple.el (global-visual-line-mode):
8949 Do not duplicate the mode lighter. (Bug#14858)
8950
f47ad11b
MR
89512013-07-25 Martin Rudalics <rudalics@gmx.at>
8952
8953 * window.el (display-buffer): In display-buffer bind
8954 split-window-keep-point to t, bug#14829.
8955
02530987
JB
89562013-07-25 Juanma Barranquero <lekktu@gmail.com>
8957
8958 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8959 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8960 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8961 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8962 Change accordingly.
f63ebeb5
JB
8963 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8964 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8965
6ccb9cab 89662013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8967
6ccb9cab 8968 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8969
cb3a56d2
JB
89702013-07-25 Juanma Barranquero <lekktu@gmail.com>
8971
8972 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8973 parameter to modify-frame-parameters if the value has not changed;
8974 this is a workaround for bug#14949.
8975 (desktop--make-frame): On cl-delete-if call, check parameter name,
8976 not full parameter.
8977
7aa7fff0
XF
89782013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8979
8980 * vc/vc.el (vc-ignore): New function.
8981
8982 * vc/vc-svn.el (vc-svn-ignore): New function.
8983
8984 * vc/vc-hg.el (vc-hg-ignore): New function.
8985
8986 * vc/vc-git.el (vc-git-ignore): New function.
8987
8988 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8989 (vc-dir-ignore): New function.
8990
8991 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8992 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8993
8994 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8995
8996 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8997
889acc5c
JB
89982013-07-24 Juanma Barranquero <lekktu@gmail.com>
8999
9000 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9001 (desktop-restore-frames): Warn when deleting an existing frame failed.
9002
86c40970
GM
90032013-07-24 Glenn Morris <rgm@gnu.org>
9004
9005 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9006
d5d3c58a
MA
90072013-07-24 Michael Albinus <michael.albinus@gmx.de>
9008
9009 * filenotify.el (file-notify-supported-p):
9010 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9011 Remove functions.
9012
35e951cd 9013 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
9014 (auto-revert-notify-add-watch):
9015 * net/tramp.el (tramp-file-name-for-operation):
9016 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9017 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9018 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9019 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9020 Remove `file-notify-supported-p' entry.
9021
d100084b
GM
90222013-07-24 Glenn Morris <rgm@gnu.org>
9023
9024 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 9025 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 9026
ac93e56b
SM
90272013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9028
249eea30
SM
9029 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9030 checked with memq (bug#14935).
9031
ac93e56b
SM
9032 * files.el (revert-buffer-function): Use a non-nil default.
9033 (revert-buffer-preserve-modes): Declare var to
9034 provide access to the `preserve-modes' argument.
9035 (revert-buffer): Let-bind it.
9036 (revert-buffer--default): New function, extracted from revert-buffer.
9037
2cdeb903
SM
90382013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * lpr.el: Signal print errors more prominently.
9041 (print-region-function): Don't default to nil.
9042 (lpr-print-region): New function, extracted from print-region-1.
9043 Check lpr's return value and signal an error in case of problem.
9044 (print-region-1): Use it.
9045 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9046 versions instead.
9047 (ps-printer-name): Default to nil.
9048 (ps-printer-name-option): Default to lpr-printer-switch.
9049 (ps-print-region-function): Don't default to nil.
9050 (ps-postscript-code-directory): Simplify default.
9051 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9052 (ps-string-list, ps-eval-switch, ps-flatten-list)
9053 (ps-flatten-list-1): Remove.
9054 (ps-multibyte-buffer): Avoid setq.
9055 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9056 (print-region-function, ps-print-region-function): Don't set them here.
9057
73600831
XF
90582013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9059
35e951cd
JB
9060 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9061 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9062 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
9063 (ido-decorations): Doc fix.
9064
73600831
XF
9065 * ansi-color.el: Fix old URL.
9066
3d012865
MM
90672013-07-23 Michael R. Mauger <michael@mauger.com>
9068
e903c210 9069 * progmodes/sql.el: Version 3.3
3d012865
MM
9070 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9071 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9072 (sql-interactive-remove-continuation-prompt): Rewrite, use
9073 functions above. Fix continuation prompt and complete output line
9074 handling.
9075 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9076 redirected output buffer.
9077 (sql-mode): Restore deleted code (Bug#13591).
9078
da77a2e2
JB
90792013-07-23 Juanma Barranquero <lekktu@gmail.com>
9080
9081 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9082
80ff0c71
MA
90832013-07-23 Michael Albinus <michael.albinus@gmx.de>
9084
9085 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9086
9087 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9088 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9089 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9090
b61d71e4
JB
90912013-07-23 Juanma Barranquero <lekktu@gmail.com>
9092
9093 * desktop.el (desktop-clear): Simplify; remove useless checks
9094 against invalid buffer names.
9095 (desktop-list*): Use cl-list*.
9096 (desktop-buffer-info, desktop-create-buffer): Simplify.
9097
c3512092
LL
90982013-07-23 Leo Liu <sdl.web@gmail.com>
9099
9100 * bookmark.el (bookmark-make-record): Restore NAME as a default
9101 value. (Bug#14933)
9102
0ac26976
SM
91032013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9104
7d22ce18
SM
9105 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9106 extracted from autoload--insert-text.
9107 (autoload--insert-text): Remove.
9108 (autoload--print-cookie-text): New function, extracted from
9109 autoload--insert-cookie-text.
9110 (autoload--insert-cookie-text): Remove.
9111 (autoload-generate-file-autoloads): Adjust calls accordingly.
9112
9b2607e8
SM
9113 * winner.el (winner-hook-installed-p): Remove.
9114 (winner-mode): Simplify accordingly.
9115
c43a8618
SM
9116 * subr.el (add-to-list): Fix compiler-macro when `append' is
9117 not constant. Don't use `cl-member' for the base case.
9118
0ac26976
SM
9119 * progmodes/subword.el: Fix boundary case (bug#13758).
9120 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9121 own group.
9122 (subword-backward-regexp): Make it a constant.
9123 (subword-forward-internal): Don't treat a trailing capital as the
9124 beginning of a word.
9125
6874724a
AR
91262013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9127
9128 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9129 global value of tabulated-list-revert-hook (bug#14930).
9130
70f1b5e8
JB
91312013-07-22 Juanma Barranquero <lekktu@gmail.com>
9132
a1c80d9d
JB
9133 * desktop.el: Require 'cl-lib.
9134 (desktop-before-saving-frames-functions): New hook.
9135 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9136 for frames being saved. Rename from desktop--save-minibuffer-frames.
9137 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9138 Do not save frames with non-nil `desktop-dont-save' parameter.
9139 Filter out deleted frames.
a1c80d9d
JB
9140 (desktop--find-frame): Use cl-find-if.
9141 (desktop--select-frame): Use cl-(first|second|third) to access values
9142 of desktop-mini.
9143 (desktop--make-frame): Use cl-delete-if.
9144 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9145 (desktop-restore-frames): Use cl-(first|second|third) to access values
9146 of desktop-mini. Look for visible frame at the end, not while
9147 restoring frames.
9148
70f1b5e8
JB
9149 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9150 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9151 Use string-match-p, looking-at-p (bug#14927).
9152
728dc3cc
JB
91532013-07-21 Juanma Barranquero <lekktu@gmail.com>
9154
56bc453c
JB
9155 * desktop.el (desktop-saved-frame-states):
9156 Rename from desktop--saved-states; all users changed.
9157 (desktop-save-frames): Rename from desktop--save-frames.
9158 Do not save state to desktop file.
9159 (desktop-save): Save desktop-saved-frame-states to desktop file
9160 and reset to nil.
9161 (desktop-restoring-frames-p): New function.
9162 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9163 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9164 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9165
728dc3cc
JB
9166 * desktop.el: Correctly restore iconified frames.
9167 (desktop--filter-iconified-position): New function.
9168 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9169
862f1c9c
GM
91702013-07-20 Glenn Morris <rgm@gnu.org>
9171
c4074c9f
GM
9172 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9173 Let `message' do the formatting.
9174 (def-gdb-preempt-display-buffer): Add explicit format.
9175
d828e5f9
GM
9176 * image-dired.el (image-dired-track-original-file):
9177 Use with-current-buffer.
9178 (image-dired-track-thumbnail): Use with-current-buffer.
9179 Avoid changing point of wrong window.
9180
862f1c9c
GM
9181 * image-dired.el (image-dired-track-original-file):
9182 Avoid changing point of wrong window. (Bug#14909)
9183
f0398ec1 91842013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9185
9186 * progmodes/gdb-mi.el (gdb-done-or-error):
9187 Guard against "%" in gdb output. (Bug#14127)
9188
1451928f
AS
91892013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9190
763a086d
JB
9191 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9192 (Bug#14826)
f7a03897 9193
1451928f
AS
9194 * international/mule.el (coding-system-iso-2022-flags): Fix last
9195 change.
9196
99107004
KH
91972013-07-20 Kenichi Handa <handa@gnu.org>
9198
763a086d
JB
9199 * international/mule.el (coding-system-iso-2022-flags):
9200 Add `8-bit-level-4'. (Bug#8522)
99107004 9201
48494e06
LMI
92022013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9203
8ba8eec5
LMI
9204 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9205 (bug#14815).
9206
dfbc66e3
LMI
9207 * net/eww.el (eww-process-text-input): Allow inputting when the
9208 point is at the start of the line, as the properties aren't
9209 front-sticky.
9210
48494e06
LMI
9211 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9212 degenerate widths.
9213
77c92cb9
RS
92142013-07-19 Richard Stallman <rms@gnu.org>
9215
aec7da77
RS
9216 * epa.el (epa-popup-info-window): Doc fix.
9217
77c92cb9
RS
9218 * subr.el (split-string): New arg TRIM.
9219
945c5bb1
JB
92202013-07-18 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9223 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9224
e06ec67f
MA
92252013-07-18 Michael Albinus <michael.albinus@gmx.de>
9226
c7064f05 9227 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9228 `file-notify-support'. Do not autoload. Adapt all uses.
9229 (file-notify-supported-p): New defun.
9230
c7064f05
JB
9231 * autorevert.el (auto-revert-use-notify):
9232 Use `file-notify-supported-p' instead of `file-notify-support'.
9233 Adapt docstring.
e06ec67f
MA
9234 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9235
9236 * net/tramp.el (tramp-file-name-for-operation):
9237 Add `file-notify-supported-p'.
9238
9239 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9240 New defun.
9241 (tramp-sh-file-name-handler-alist): Add it as handler for
9242 `file-notify-supported-p '.
9243
9244 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9245 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9246 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9247 Add `ignore' as handler for `file-notify-*' functions.
9248
5dc8a629
EZ
92492013-07-17 Eli Zaretskii <eliz@gnu.org>
9250
9251 * simple.el (line-move-partial, line-move): Don't start vscroll or
9252 scroll-up if the current line is not taller than the window.
9253 (Bug#14881)
9254
77aea2fb
DG
92552013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9256
9257 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9258 highlight question marks in the method names as strings.
ac72c08d
DG
9259 (ruby-block-beg-keywords): Inline.
9260 (ruby-font-lock-keyword-beg-re): Extract from
9261 `ruby-font-lock-keywords'.
77aea2fb 9262
18c26d81
JD
92632013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9264
9265 * frame.el (blink-cursor-blinks): New defcustom.
9266 (blink-cursor-blinks-done): New defvar.
9267 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9268 (blink-cursor-timer-function): Check if number of blinks has been
9269 done on X and NS.
9270 (blink-cursor-suspend, blink-cursor-check): New defuns.
9271
da48522e
GM
92722013-07-15 Glenn Morris <rgm@gnu.org>
9273
9274 * edmacro.el (edmacro-format-keys): Fix previous change.
9275
0463c1ef
PE
92762013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9277
9278 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9279 The hack didn't work outside English locales anyway.
9280
b43f6451
JB
92812013-07-15 Juanma Barranquero <lekktu@gmail.com>
9282
9283 * simple.el (define-alternatives): Rename from alternatives-define,
9284 per RMS' suggestion.
9285
b958c0ad
JB
92862013-07-14 Juanma Barranquero <lekktu@gmail.com>
9287
9288 * desktop.el (desktop-restore-frames): Change default to t.
9289 (desktop-restore-in-current-display): Now offer more options.
9290 (desktop-restoring-reuses-frames): New customization option.
9291 (desktop--saved-states): Doc fix.
9292 (desktop-filter-parameters-alist): New variable, renamed and expanded
9293 from desktop--excluded-frame-parameters.
9294 (desktop--target-display): New variable.
9295 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9296 (desktop--filter-tty*, desktop--filter-*-color)
9297 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9298 (desktop--filter-save-desktop-parm)
9299 (desktop-restore-in-original-display-p): New functions.
9300 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9301 (desktop--save-minibuffer-frames): New function, inspired by a similar
9302 function from Martin Rudalics.
9303 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9304 (desktop--restore-in-this-display-p): Remove.
9305 (desktop--find-frame): Rename from desktop--find-frame-in-display
9306 and add predicate argument.
9307 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9308 (desktop--reuse-list): New variable.
9309 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9310 New functions.
9311 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9312
f6dd8b36
MA
93132013-07-14 Michael Albinus <michael.albinus@gmx.de>
9314
9315 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9316
2ce3c565
DG
93172013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9318
763a086d
JB
9319 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9320 Highlight conversion methods on Kernel.
2ce3c565 9321
2cdb7698
AM
93222013-07-13 Alan Mackenzie <acm@muc.de>
9323
9324 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9325 and comment it out. This out-commenting enables certain C++
9326 declarations to be parsed correctly.
9327
1a67b811
EZ
93282013-07-13 Eli Zaretskii <eliz@gnu.org>
9329
1b796d6b
EZ
9330 * international/mule.el (define-coding-system): Doc fix.
9331
1a67b811
EZ
9332 * simple.el (default-font-height): Don't call font-info if the
9333 frame's default font didn't change since the frame was created.
9334 (Bug#14838)
9335
58fbe886
LL
93362013-07-13 Leo Liu <sdl.web@gmail.com>
9337
9338 * ido.el (ido-read-file-name): Guard against non-symbol value.
9339
1f0480d4
FEG
93402013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9341
9342 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9343 in nested defuns.
9344
97ead0e5
LL
93452013-07-13 Leo Liu <sdl.web@gmail.com>
9346
9347 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9348 ido-set-matches call. (Bug#6852)
9349
0880a952
DG
93502013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9351
35e951cd 9352 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9353 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9354 Ruby 2.0.
9355 (ruby-font-lock-keywords): Distinguish calls to functions with
9356 module-like names from module references. Highlight character
9357 literals.
9358
a7d8babb
SDJ
93592013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9360
9361 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9362 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9363
acfcc8c5
JB
93642013-07-12 Juanma Barranquero <lekktu@gmail.com>
9365
9366 * desktop.el (desktop--v2s): Remove unused local variable.
9367 (desktop-save-buffer): Make defvar-local; adjust docstring.
9368 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9369 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9370
051f2775
AS
93712013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9372
9373 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9374
f24e7572
GM
93752013-07-12 Eli Zaretskii <eliz@gnu.org>
9376
9377 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9378 (Bug#14842)
9379
539a920c
GM
93802013-07-12 Glenn Morris <rgm@gnu.org>
9381
9382 * doc-view.el: Require cl-lib at runtime too.
9383 (doc-view-remove-if): Remove.
9384 (doc-view-search-next-match, doc-view-search-previous-match):
9385 Use cl-remove-if.
9386
9387 * edmacro.el: Require cl-lib at runtime too.
9388 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9389 (edmacro-mismatch, edmacro-subseq): Remove.
9390
9391 * shadowfile.el: Require cl-lib.
9392 (shadow-remove-if): Remove.
9393 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9394 Use cl-remove-if.
9395
9396 * wid-edit.el: Require cl-lib.
9397 (widget-choose): Use cl-remove-if.
9398 (widget-remove-if): Remove.
9399
9400 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9401 (ebrowse-delete-if-not): Remove.
9402 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9403 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9404 Use cl-delete-if-not.
9405
1048af7c
JB
94062013-07-12 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9409 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9410
6c0674ee
LL
94112013-07-12 Leo Liu <sdl.web@gmail.com>
9412
9413 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9414
a19b3c2d
GM
94152013-07-11 Glenn Morris <rgm@gnu.org>
9416
4582a01c
GM
9417 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9418 (edebug-gensym-index, edebug-gensym):
9419 Remove reimplementation of cl-gensym.
9420 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9421
9422 * thumbs.el: Require cl-lib at run-time too.
9423 (thumbs-gensym-counter, thumbs-gensym):
9424 Remove reimplementation of cl-gensym.
9425 (thumbs-temp-file): Use cl-gensym.
9426
a19b3c2d
GM
9427 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9428 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9429 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9430 (ert--union, ert--gensym-counter, ert--gensym-counter)
9431 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9432 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9433 (ert-make-test-unbound, ert--expand-should-1)
9434 (ert--expand-should, ert--should-error-handle-error)
9435 (should-error, ert--explain-equal-rec)
9436 (ert--plist-difference-explanation, ert-select-tests)
9437 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9438 Use cl-lib functions rather than reimplementations.
9439
88f6a933
MA
94402013-07-11 Michael Albinus <michael.albinus@gmx.de>
9441
9442 * net/tramp.el (tramp-methods): Extend docstring.
9443 (tramp-connection-timeout): New defcustom.
9444 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9445 (with-tramp-progress-reporter): Simplify.
9446 (tramp-process-actions): Improve messages.
9447
9448 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9449 * net/tramp-sh.el (tramp-maybe-open-connection):
9450 Use `tramp-connection-timeout'.
afe1e4c8 9451 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9452 (Bug#14808)
9453
a43d577e
LL
94542013-07-11 Leo Liu <sdl.web@gmail.com>
9455
9456 * ido.el (ido-read-file-name): Conform to the requirements of
9457 read-file-name. (Bug#11861)
9458 (ido-read-directory-name): Conform to the requirements of
9459 read-directory-name.
9460
d77974bf
JB
94612013-07-11 Juanma Barranquero <lekktu@gmail.com>
9462
9463 * subr.el (delay-warning): New function.
9464
35cb8a3e
EZ
94652013-07-10 Eli Zaretskii <eliz@gnu.org>
9466
9467 * simple.el (default-line-height): New function.
9468 (line-move-partial, line-move): Use it instead of computing the
9469 line height inline.
9470 (line-move-partial): Always compute ROWH. If the last line is
9471 partially-visible, but its text is completely visible, allow
9472 cursor to enter such a partially-visible line.
9473
525c5c77
MA
94742013-07-10 Michael Albinus <michael.albinus@gmx.de>
9475
9476 Improve error messages. (Bug#14808)
9477
9478 * net/tramp.el (tramp-current-connection): New defvar, moved from
9479 tramp-sh.el.
0ac26976 9480 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9481 needed anymore.
0ac26976
SM
9482 (tramp-error-with-buffer): Show message in minibuffer.
9483 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9484 (with-tramp-progress-reporter): Improve messages.
9485 (tramp-process-actions): Use progress reporter. Delete process in
9486 case of error. Improve messages.
9487
763a086d
JB
9488 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9489 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9490 (tramp-current-connection): Remove.
525c5c77
MA
9491 (tramp-maybe-open-connection): The car of
9492 `tramp-current-connection' are the first 3 slots of the vector.
9493
c7a4d368
TZ
94942013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9495
9496 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9497 inside continued strings.
9498
954b166e
PE
94992013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9500
9501 Timestamp fixes for undo (Bug#14824).
9502 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9503
56973319
LL
95042013-07-10 Leo Liu <sdl.web@gmail.com>
9505
9506 * files.el (require-final-newline): Allow safe local value.
9507 (Bug#14834)
9508
5550a72c
LL
95092013-07-09 Leo Liu <sdl.web@gmail.com>
9510
9511 * ido.el (ido-read-directory-name): Handle fallback.
9512 (ido-read-file-name): Update DIR to ido-current-directory.
9513 (Bug#1516)
c28b9050 9514 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9515
70c46b28
DG
95162013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9517
9518 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9519 "autoload". Remove "warn lower camel case" section, previously
9520 commented out. Highlight negation char. Do not highlight the
9521 target in singleton method definitions.
9522
0b64b838
SM
95232013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9524
7fd72e2c
SM
9525 * faces.el (tty-setup-hook): Declare the hook.
9526
0b64b838
SM
9527 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9528 and detect when a guard/pred depends on local vars (bug#14773).
9529 (pcase--u1): Adjust caller.
9530
ab49d60b
EZ
95312013-07-08 Eli Zaretskii <eliz@gnu.org>
9532
9533 * simple.el (line-move-partial, line-move): Account for
9534 line-spacing.
701d79aa
EZ
9535 (line-move-partial): Avoid setting vscroll when the last
9536 partially-visible line in window is of default height.
ab49d60b 9537
2d756ae0
LMI
95382013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9539
9540 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9541 been used a while.
9542
ed095bd7
JB
95432013-07-07 Juanma Barranquero <lekktu@gmail.com>
9544
9545 * subr.el (read-quoted-char): Remove unused local variable `char'.
9546
f1e6674b
MK
95472013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9548
584ee3fc
GM
9549 * ediff.el (ediff-version): Version update.
9550 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9551 (ediff-merge-with-ancestor-command, ediff-directories-command)
9552 (ediff-directories3-command, ediff-merge-directories-command)
9553 (ediff-merge-directories-with-ancestor-command): New functions.
9554 All are command-line interfaces to ediff: to facilitate calling
9555 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9556
9557 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9558 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9559
584ee3fc
GM
9560 * viper.el (viper-version): Version update.
9561 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9562
584ee3fc
GM
95632013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9566 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9567 (viper-intercept-ESC-key): Simplify.
9568 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9569 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9570 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9571 (viper-setup-ESC-to-escape): New functions.
9572 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9573 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9574
9aff9b38
EZ
95752013-07-07 Eli Zaretskii <eliz@gnu.org>
9576
5165d44a
JB
9577 * simple.el (default-font-height, window-screen-lines):
9578 New functions.
9aff9b38
EZ
9579 (line-move, line-move-partial): Use them instead of
9580 frame-char-height and window-text-height. This makes scrolling
9581 text smoother when the buffer's default face uses a font that is
9582 different from the frame's default font.
9583
1afb1d07
JD
95842013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9585
9586 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9587 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9588
23de972a
EZ
95892013-07-06 Eli Zaretskii <eliz@gnu.org>
9590
9591 * simple.el (line-move-partial): Adjust the row returned by
9592 posn-at-point for the current window-vscroll. (Bug#14567)
9593
54a42486
MA
95942013-07-06 Michael Albinus <michael.albinus@gmx.de>
9595
35e951cd 9596 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9597 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9598 spaces.
9599
34ada5f4
MR
96002013-07-06 Martin Rudalics <rudalics@gmx.at>
9601
9602 * window.el (window-state-put-stale-windows): New variable.
9603 (window--state-put-2): Save list of windows without matching buffer.
9604 (window-state-put): Remove "bufferless" windows if possible.
9605
11e03d89
JB
96062013-07-06 Juanma Barranquero <lekktu@gmail.com>
9607
9608 * simple.el (alternatives-define): Remove leftover :group keyword.
9609 Tweak docstring.
9610
3504a4be
LL
96112013-07-06 Leo Liu <sdl.web@gmail.com>
9612
9613 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9614 (ido-enable-virtual-buffers): New variable.
9615 (ido-buffer-internal, ido-toggle-virtual-buffers)
9616 (ido-make-buffer-list): Use it.
9617 (ido-exhibit): Support turning on and off virtual buffers
9618 automatically.
9619
61e56e2c
JB
96202013-07-06 Juanma Barranquero <lekktu@gmail.com>
9621
9622 * simple.el (alternatives-define): New macro.
9623
321e1a9c
SM
96242013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * subr.el (read-quoted-char): Use read-key.
9627 (sit-for): Let read-event decode tty input (bug#14782).
9628
d610f6dd
SB
96292013-07-05 Stephen Berman <stephen.berman@gmx.net>
9630
9631 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9632 mode command and externally. Fix various related bugs.
9633 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9634 (todo-delete-file): New command.
9635 (todo-check-file): New function.
9636 (todo-show): Handle external deletion of the file we're trying to
9637 show (bug#14688). Replace called-interactively-p by an optional
9638 prefix argument to avoid problematic interaction with catch form
9639 when byte compiled (bug#14702).
9640 (todo-quit): Handle external deletion of the archive's todo file.
9641 Make sure the buffer that was visiting the archive file is still
9642 live before trying to bury it.
9643 (todo-category-completions): Handle external deletion of any
9644 category completion files.
9645 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9646 of todo files, in case of external deletion.
9647 (todo-add-file): Replace unnecessary setq by let-binding.
9648 (todo-find-archive): Check whether there are any archives.
9649 Replace unnecessary setq by let-binding.
9650 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9651 archive buffer whether or not the archive already exists.
9652 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9653 check if the archive is new; if it is, update list of archives.
9654 (todo-default-todo-file): Allow nil to be a valid value for when
9655 there are no todo files.
9656 (todo-reevaluate-default-file-defcustom): Use corrected definition
9657 of todo-default-todo-file.
9658 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9659 (todo-delete-category, todo-show-categories-table)
9660 (todo-category-number): Clarify comment.
9661 (todo-filter-items): Clarify documentation string.
9662 (todo-show-current-file, todo-display-as-todo-file)
9663 (todo-reset-and-enable-done-separator): Tweak documentation string.
9664 (todo-done-separator): Make separator length window-width, since
9665 bug#2749 is now fixed.
9666
ddbdfd6f
MA
96672013-07-05 Michael Albinus <michael.albinus@gmx.de>
9668
321e1a9c
SM
9669 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9670 Support both "gvfs-monitor-dir" and "inotifywait".
9671 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9672 `tramp-sh-file-notify-process-filter'.
9673 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9674 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9675
96eb829a
LL
96762013-07-05 Leo Liu <sdl.web@gmail.com>
9677
9678 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9679
cf13177e
YM
96802013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9681
9682 * frame.el (display-pixel-height, display-pixel-width)
9683 (display-mm-height, display-mm-width): Mention behavior on
9684 multi-monitor setups in docstrings.
9685 (w32-display-monitor-attributes-list): Declare function.
9686 (display-monitor-attributes-list): Use it.
9687
864c58ca
MA
96882013-07-04 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * filenotify.el: New package.
9691
9692 * autorevert.el (top): Require filenotify.el.
9693 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9694 instead.
9695 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9696 (auto-revert-notify-handler): Use `file-notify-*' functions.
9697
9698 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9699
321e1a9c
SM
9700 * net/tramp.el (tramp-file-name-for-operation):
9701 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9702
9703 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9704 for `file-notify-add-watch' and `file-notify-rm-watch'.
9705 (tramp-process-sentinel): Improve trace.
9706 (tramp-sh-handle-file-notify-add-watch)
9707 (tramp-sh-file-notify-process-filter)
9708 (tramp-sh-handle-file-notify-rm-watch)
9709 (tramp-get-remote-inotifywait): New defuns.
9710
96673afe
JL
97112013-07-03 Juri Linkov <juri@jurta.org>
9712
9713 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9714 call of `occur-read-primary-args' to interactive spec.
9715
9716 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9717 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9718
924494f4
MM
97192013-07-03 Matthias Meulien <orontee@gmail.com>
9720
9721 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9722 `Buffer-menu-multi-occur'. Add it to the menu.
9723 (Buffer-menu-mode): Document it in docstring.
9724 (Buffer-menu-multi-occur): New command. (Bug#14673)
9725
56f75efc
DG
97262013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9727
9728 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9729 keywords and built-ins.
9730
9b057d61
GM
97312013-07-03 Glenn Morris <rgm@gnu.org>
9732
208dee4d
GM
9733 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9734
9b057d61
GM
9735 Make info-xref checks case-sensitive by default
9736 * info.el (Info-find-node, Info-find-in-tag-table)
9737 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9738 Add option for exact case matching of nodes.
9739 * info-xref.el (info-xref): New custom group.
9740 (info-xref-case-fold): New option.
9741 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9742
e01aa29c
LL
97432013-07-03 Leo Liu <sdl.web@gmail.com>
9744
9745 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9746
3086ca2e
DG
97472013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9748
9749 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9750 middle of block statement initially, lower the depth. Remove
9751 FIXME comment, not longer valid. Remove middle of block statement
9752 detection, no need to do that anymore since we've been using
9753 `ruby-parse-region' here.
9754
a3b49114
JD
97552013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9756
9757 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9758
08e5c823 97592013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9760
9761 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9762
2addf922
JB
97632013-07-01 Juanma Barranquero <lekktu@gmail.com>
9764
9765 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9766 (desktop-restore-in-current-display): New customization option.
9767 (desktop--excluded-frame-parameters): Add `font'.
9768 (desktop--save-frames): Rename from desktop--save-windows.
9769 (desktop--restore-in-this-display-p): New function.
9770 (desktop--make-full-frame): Remove unwanted width/height from
9771 full(width|height) frames.
9772 (desktop--restore-frames): Rename from desktop--restore-windows.
9773 Obey desktop-restore-current-display. Do not delete old frames or
9774 select a new frame unless we were able to restore at least one frame.
9775
ef099a94
MN
97762013-06-30 Michal Nazarewicz <mina86@mina86.com>
9777
9778 * files.el (find-file-noselect): Simplify conditional expression.
9779
a12bf61e 9780 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9781 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9782
9783 Add `remember-notes' function to store random notes across Emacs
9784 restarts.
3fcfc4ee
JB
9785 * textmodes/remember.el (remember-data-file): Add :set callback to
9786 affect notes buffer (if any).
ef099a94
MN
9787 (remember-notes): New command.
9788 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9789 New defcustoms for the `remember-notes' function.
9790 (remember-notes-save-and-bury-buffer): New command.
9791 (remember-notes-mode-map): New variable.
9792 (remember-mode): New minor mode.
9793 (remember-notes--kill-buffer-query): New function.
9794 * startup.el (initial-buffer-choice): Add notes to custom type.
9795
0865d506
EZ
97962013-06-30 Eli Zaretskii <eliz@gnu.org>
9797
0ba54312
EZ
9798 * bindings.el (right-char, left-char): Don't call sit-for, this is
9799 no longer needed. Use arithmetic comparison only for numerical
9800 arguments.
9801
ef099a94
MN
9802 * international/mule-cmds.el (select-safe-coding-system):
9803 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9804
2fae38e5
LMI
98052013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9806
9807 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9808 progression on degenerate tables.
ef099a94 9809 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9810
a47cbd64
JB
98112013-06-30 Juanma Barranquero <lekktu@gmail.com>
9812
9813 Some fixes and improvements for desktop frame restoration.
9814 It is still experimental and disabled by default.
9815 * desktop.el (desktop--save-windows): Put the selected frame at
9816 the head of the list.
9817 (desktop--make-full-frame): New function.
9818 (desktop--restore-windows): Try to re-select the frame that was
9819 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9820 just show an error message and continue. Set up maximized frames
9821 so they have default non-maximized dimensions.
a47cbd64 9822
6dbafa30
DG
98232013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9824
ef099a94
MN
9825 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9826 Don't start heredoc inside a string or comment.
6dbafa30 9827
4c672a0f
EZ
98282013-06-29 Eli Zaretskii <eliz@gnu.org>
9829
9830 * bindings.el (visual-order-cursor-movement): New defcustom.
9831 (right-char, left-char): Provide visual-order cursor motion by
9832 calling move-point-visually. Update the doc strings.
9833
50960f36
KH
98342013-06-28 Kenichi Handa <handa@gnu.org>
9835
9836 * international/mule.el (define-coding-system): New coding system
9837 properties :inhibit-null-byte-detection,
9838 :inhibit-iso-escape-detection, and :prefer-utf-8.
9839 (set-buffer-file-coding-system): If :charset-list property of
9840 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9841 appropriate for setting.
9842
c1ea3abf
JB
9843 * international/mule-cmds.el (select-safe-coding-system):
9844 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9845 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9846
9847 * international/mule-conf.el (prefer-utf-8): New coding system.
9848 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9849 files.
9850
75dbaf9d
IK
98512013-06-28 Ivan Kanis <ivan@kanis.fr>
9852
eadb6068
IK
9853 * net/shr.el (shr-render-region): New function.
9854
75dbaf9d
IK
9855 * net/eww.el: Autoload `eww-browse-url'.
9856
9ea5cf9f
DG
98572013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9858
c1ea3abf
JB
9859 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9860 Adapt to `package-desc-version' being a list.
9861 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9862 archive element.
9863
39c0e36f
JB
98642013-06-27 Juanma Barranquero <lekktu@gmail.com>
9865
9866 New experimental feature to save&restore window and frame setup.
9867 * desktop.el (desktop-save-windows): New defcustom.
9868 (desktop--saved-states): New var.
9869 (desktop--excluded-frame-parameters): New defconst.
9870 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9871 (desktop--restore-windows, desktop--save-windows): New functions.
9872 (desktop-save): Call `desktop--save-windows'.
9873 (desktop-read): Call `desktop--restore-windows'.
9874
7f13406b
LMI
98752013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9876
ef099a94 9877 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9878
1e072639
SB
98792013-06-27 Stephen Berman <stephen.berman@gmx.net>
9880
9881 * info.el (Info-try-follow-nearest-node): Move search for footnote
9882 above search for node name to prevent missing a footnote (bug#14717).
9883
f3e2cbde
SB
98842013-06-27 Stephen Berman <stephen.berman@gmx.net>
9885
9886 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9887
99906aa0
LL
98882013-06-27 Leo Liu <sdl.web@gmail.com>
9889
9890 * net/eww.el (eww-read-bookmarks): Check file size.
9891
539f75f4
SM
98922013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9895 advice--pending if newdef is nil or an autoload (bug#13820).
9896 (advice-mapc): New function.
9897
843571cb
LMI
98982013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9899
9900 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9901 probably.
23a75d7f 9902 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9903 (eww-add-bookmark): New command.
9904 (eww-bookmark-mode): New mode and commands.
a285ce99 9905 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9906 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9907
f2136e1e
GM
99082013-06-26 Glenn Morris <rgm@gnu.org>
9909
eab35f39
GM
9910 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9911 (hfy-size): Handle ttys. (Bug#14668)
9912
f2136e1e
GM
9913 * info-xref.el: Update for Texinfo 5 change in *note format.
9914 (info-xref-node-re, info-xref-note-re): New constants.
9915 (info-xref-check-buffer): Use info-xref-note-re.
9916
a49ff80c
SM
99172013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9918
a343d218
SM
9919 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9920
a49ff80c
SM
9921 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9922 nil terminate the loop (bug#14718).
9923
8308f184
LMI
99242013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9925
9926 * net/eww.el: Rework history traversal. When going forward/back,
9927 put these actions into the history, too, so that they can be
9928 replayed.
26bf2b82 9929 (eww-render): Move the history reset to the correct buffer.
8308f184 9930
ec64c273
JL
99312013-06-25 Juri Linkov <juri@jurta.org>
9932
9933 * files-x.el (modify-dir-local-variable): Change the header comment
9934 in the file with directory local variables. (Bug#14692)
9935
e080a9d7
JL
9936 * files-x.el (read-file-local-variable-value): Add `default'.
9937 (Bug#14710)
9938
bfbc93a1
IK
99392013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9940
9941 * net/eww.el (eww-make-unique-file-name): Create a unique file
9942 name before saving to entering `y' accidentally asynchronously.
9943
99442013-06-25 Ivan Kanis <ivan@kanis.fr>
9945
9946 * net/eww.el (eww-download): New command and keystroke.
9947
16f74f10
LMI
99482013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9949
a49ff80c 9950 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9951
9952 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9953 be more consistent with Info and dired.
9954
9955 * net/eww.el (eww-mode-map): Ditto.
9956
12059709
SM
99572013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9958
9959 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9960 packages from archives.
9961 (package-archive-contents): Change format; include obsolete packages.
9962 (package-desc): Use `dir' to mark builtin packages.
9963 (package--from-builtin): Set the `dir' field to `builtin'.
9964 (generated-autoload-file, version-control): Declare.
9965 (package-compute-transaction): Change first arg and return value to be
9966 lists of package-descs. Adjust to new package-archive-contents format.
9967 (package--add-to-archive-contents): Adjust to new
9968 package-archive-contents format.
9969 (package-download-transaction): Arg is now a list of package-descs.
9970 (package-install): If `pkg' is a package name, pass it as
9971 a requirement, so it is subject to the usual (e.g. disabled) checks.
9972 (describe-package): Accept package-desc as well.
9973 (describe-package-1): Describe a specific package-desc. Add links to
9974 other package-descs for the same package name.
9975 (package-menu-describe-package): Pass the actual package-desc.
9976 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9977 works correctly.
9978 (package-desc-status): New function.
9979 (package-menu--refresh): New function, extracted
9980 from package-menu--generate.
9981 (package-menu--generate): Use it.
9982 (package-delete): Update package-alist.
9983 (package-menu-execute): Don't call package-initialize.
9984
9985 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9986 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9987 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9988 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9989 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9990 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9991
8bbdea0f
MR
99922013-06-25 Martin Rudalics <rudalics@gmx.at>
9993
9994 * window.el (window--state-get-1): Workaround for bug#14527.
9995 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9996
e82b0991
LMI
99972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998
9999 * net/eww.el (eww-back-url): Implement the history by stashing all
10000 the data into a list.
d3f0f918 10001 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10002
c763842b
SM
100032013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10004
10005 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10006 for values and use read--expression for expressions (bug#14710).
10007 (read-file-local-variable): Avoid setq.
10008 (read-file-local-variable-mode): Use minor-mode-list.
10009
bceff189
RW
100102013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10011
864c58ca 10012 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
10013 for DOI URLs.
10014
45f431c6
RW
100152013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10016
864c58ca 10017 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
10018 Update imenu-support when dialect changes.
10019
f42d8237
LL
100202013-06-25 Leo Liu <sdl.web@gmail.com>
10021
10022 * ido.el (ido-read-internal): Allow forward slash on windows.
10023
be549ce6
LMI
100242013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10025
10026 * net/eww.el (eww): Start of strings is \\`, not ^.
10027
71d4c19d
IK
100282013-06-24 Ivan Kanis <ivan@kanis.fr>
10029
5196f88a
IK
10030 * net/shr.el (shr-browse-url): Fix interactive spec.
10031
71d4c19d
IK
10032 * net/eww.el (eww): Add a trailing slash to domain names.
10033
ae36ca55
JB
100342013-06-24 Juanma Barranquero <lekktu@gmail.com>
10035
10036 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10037
0ebd92a3
LMI
100382013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10039
bdaa086b
LMI
10040 * net/shr.el (shr-browse-url): Use an external browser if given a
10041 prefix.
10042
c763842b 10043 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 10044
b89fc156
IK
100452013-06-24 Ivan Kanis <ivan@kanis.fr>
10046
10047 * net/eww.el (eww): Work more correctly for file: URLs.
10048 (eww-detect-charset): Allow quoted charsets.
10049 (eww-yank-page-url): New command and keystroke.
10050
18eb4bca
DU
100512013-06-24 Daiki Ueno <ueno@gnu.org>
10052
10053 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10054 file name of gpg executable.
10055 (epg-context-program): New function.
10056 (epg-context-home-directory): New function.
10057 (epg-context-set-program): New function.
10058 (epg-context-set-home-directory): New function.
10059 (epg--start): Use `epg-context-program' instead of
10060 'epg-gpg-program'.
10061 (epg--list-keys-1): Likewise.
10062
6c6268c8
LL
100632013-06-24 Leo Liu <sdl.web@gmail.com>
10064
10065 * ido.el (ido-read-internal): Fix bug#14620.
10066
5e400cb3
JB
100672013-06-23 Juanma Barranquero <lekktu@gmail.com>
10068
10069 * faces.el (face-documentation): Simplify.
10070 (read-face-attribute, tty-find-type, x-resolve-font-name):
10071 Use `string-match-p'.
10072 (list-faces-display): Use `string-match-p'. Simplify.
10073 (face-spec-recalc): Check face to avoid face alias loops.
10074 (read-color): Use `string-match-p' and non-capturing parenthesis.
10075
f3f9606c
LMI
100762013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10077
10078 * net/shr.el (shr-rescale-image): Use the new
10079 :max-width/:max-height functionality.
10080
a3ca09b9
IK
100812013-06-23 Ivan Kanis <ivan@kanis.fr>
10082
10083 * net/eww.el (eww-search-prefix): New variable.
10084 (eww): Use it.
f865b474
IK
10085 (eww-external-browser): New variable.
10086 (eww-mode-map): New keystroke.
10087 (eww-browse-with-external-browser): New command.
a3ca09b9 10088
e854cfc7
IK
10089 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10090
18bb9e21
JB
100912013-06-23 Juanma Barranquero <lekktu@gmail.com>
10092
10093 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10094 Don't skip aligning the next header field when padding is 0;
10095 otherwise, field width is not respected unless the title is as
10096 wide as the field.
10097
5b165ade
SM
100982013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * emacs-lisp/package.el (package-el-version): Remove.
10101 (package-process-define-package): Fix inf-loop.
10102 (package-install): Allow symbols as arguments again.
10103
12adebe9
DG
101042013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10105
10106 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10107 add some more keyword-like methods.
10108 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10109
388573ee
JB
101102013-06-22 Juanma Barranquero <lekktu@gmail.com>
10111
10112 * bs.el (bs-buffer-show-mark): Make defvar-local.
10113 (bs-mode): Use setq-local.
10114
10115 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10116 (emacs-lock--try-unlocking): Make defvar-local.
10117
4582a01c 101182013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10119
2663dd23
GM
10120 * play/cookie1.el (cookie-apropos): Minor simplification.
10121
3d94f3ad
GM
10122 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10123
f72e2fdb
DG
101242013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10125
10126 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10127 `regexp-opt', it breaks the build during dumping.
10128
73eab938
DG
101292013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10130
c763842b
SM
10131 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10132 Highlight keyword-like methods on Kernel and Module with
73eab938 10133 font-lock-builtin-face.
5cf8176d
DG
10134 (auto-mode-alist): Consolidate different entries into one regexp
10135 and add more *file-s.
73eab938 10136
d26255f6
SB
101372013-06-21 Stephen Berman <stephen.berman@gmx.net>
10138
10139 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10140
10141 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10142 (diary-entry): Use it in the action of this button type instead of
10143 diary-goto-entry.
10144
10145 * calendar/todo-mode.el: New version.
10146 (todo-add-category): Append new category to end of file and give
10147 it the highest number, instead of putting it at the beginning and
10148 giving it 0. Incorporate noninteractive functionality.
10149 (todo-forward-category): Adapt to 1-based category numbering.
10150 Allow skipping over archived categories.
10151 (todo-backward-category): Derive from todo-forward-category.
10152 (todo-backward-item, todo-forward-item): Make noninteractive and
10153 delegate interactive part to new commands. Make sensitive to done items.
10154 (todo-categories): Make value an alist of category names and
10155 vectors of item counts.
10156 (todo-category-beg): Make a defconst.
10157 (todo-category-number): Use 1 instead of 0 as initial value.
10158 (todo-category-select): Make sensitive to overlays, optional item
10159 highlighting and done items.
10160 (todo-delete-item): Make sensitive to overlays and marked and done items.
10161 (todo-edit-item): Make sensitive to overlays and editing of
10162 date/time header optional. Add format checks.
10163 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10164 no-op if point is not on an item. Advertise using todo-edit-quit.
10165 (todo-edit-mode): Make sensitive to new format, font-locking, and
10166 multiple todo files.
10167 (todo-insert-item, todo-insert-item-here): Derive from
10168 todo-basic-insert-item and extend functionality.
10169 (todo-item-end, todo-item-start): Make sensitive to done items.
10170 (todo-item-string): Don't return text properties. Restore point.
10171 (todo-jump-to-category): Make sensitive to multiple todo files and
10172 todo archives. Use extended category completion.
10173 (todo-lower-item, todo-raise-item): Rename to *-priority and
10174 derive from todo-set-item-priority.
10175 (todo-mode): Derive from special-mode. Make sensitive to new
10176 format, font-locking and multiple todo files. Make read-only.
10177 (todo-mode-map): Don't suppress digit keys, so they can supply
10178 prefix arguments. Add many new key bindings.
10179 (todo-prefix): Insert as an overlay instead of file text.
10180 Change semantics from diary date expression to purely visual mark.
10181 (todo-print): Rename to todo-print-buffer. Make buffer display
10182 features printable. Remove option to restrict number of items
10183 printed. Add option to print to file.
10184 (todo-print-function): Rename to todo-print-buffer-function.
10185 (todo-quit): Extend to handle exiting new todo modes.
10186 (todo-remove-item): Make sensitive to overlays.
10187 (todo-save): Extend to buffers of filtered items.
10188 (todo-show): Make sensitive to done items, multiple todo files and
10189 new todo modes. Offer to convert legacy todo file before creating
10190 first new todo file.
10191 (todo-show-priorities): Rename to todo-top-priorities.
10192 Change semantics of value 0.
10193 (todo-top-priorities): Rename to todo-filter-top-priorities,
10194 derive from todo-filter-items and extend functionality.
10195 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10196 and extend functionality to other types of filtered items.
10197 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10198 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10199 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10200 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10201 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10202 (todo-edit-mode-hook, todo-entry-prefix-function)
10203 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10204 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10205 (todo-initials, todo-insert-threshold, todo-item-string-start)
10206 (todo-line-string, todo-menu, todo-mode-hook)
10207 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10208 (todo-print-priorities, todo-remove-separator)
10209 (todo-save-top-priorities-too, todo-string-count-lines)
10210 (todo-string-multiline-p, todo-time-string-format)
10211 (todo-tmp-buffer-name): Remove.
10212 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10213 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10214 (todo-edit-category-diary-inclusion)
10215 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10216 (todo-edit-file, todo-edit-item-date-day)
10217 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10218 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10219 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10220 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10221 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10222 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10223 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10224 (todo-filter-top-priorities-multifile, todo-find-archive)
10225 (todo-find-filtered-items-file, todo-go-to-source-item)
10226 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10227 (todo-jump-to-archive-category, todo-lower-category)
10228 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10229 (todo-move-category, todo-move-item, todo-next-button)
10230 (todo-next-item, todo-padded-string, todo-powerset)
10231 (todo-previous-button, todo-previous-item)
10232 (todo-print-buffer-to-file, todo-raise-category)
10233 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10234 (todo-set-category-number, todo-set-item-priority)
10235 (todo-set-top-priorities-in-category)
10236 (todo-set-top-priorities-in-file, todo-show-categories-table)
10237 (todo-sort-categories-alphabetically-or-numerically)
10238 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10239 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10240 (todo-toggle-item-header, todo-toggle-item-highlighting)
10241 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10242 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10243 (todo-unarchive-items, todo-unmark-category): New commands.
10244 (todo-absolute-file-name, todo-add-to-buffer-list)
10245 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10246 (todo-basic-insert-item, todo-category-completions)
10247 (todo-category-number, todo-category-string-matcher-1)
10248 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10249 (todo-check-format, todo-clear-matches)
10250 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10251 (todo-current-category, todo-date-string-matcher)
10252 (todo-define-insertion-command, todo-diary-expired-matcher)
10253 (todo-diary-goto-entry, todo-diary-item-p)
10254 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10255 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10256 (todo-done-item-section-p, todo-done-separator)
10257 (todo-done-string-matcher, todo-files, todo-filter-items)
10258 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10259 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10260 (todo-insert-category-line, todo-insert-item-from-calendar)
10261 (todo-insert-sort-button, todo-insert-with-overlays)
10262 (todo-insertion-command-name, todo-insertion-key-bindings)
10263 (todo-label-to-key, todo-longest-category-name-length)
10264 (todo-make-categories-list, todo-mode-external-set)
10265 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10266 (todo-modes-set-3, todo-multiple-filter-files)
10267 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10268 (todo-read-category, todo-read-date, todo-read-dayname)
10269 (todo-read-file-name, todo-read-time)
10270 (todo-reevaluate-category-completions-files-defcustom)
10271 (todo-reevaluate-default-file-defcustom)
10272 (todo-reevaluate-filelist-defcustoms)
10273 (todo-reevaluate-filter-files-defcustom)
10274 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10275 (todo-reset-done-separator, todo-reset-done-separator-string)
10276 (todo-reset-done-string, todo-reset-global-current-todo-file)
10277 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10278 (todo-reset-prefix, todo-set-categories)
10279 (todo-set-date-from-calendar, todo-set-show-current-file)
10280 (todo-set-top-priorities, todo-short-file-name)
10281 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10282 (todo-total-item-counts, todo-update-buffer-list)
10283 (todo-update-categories-display, todo-update-categories-sexp)
10284 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10285 New functions.
10286 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10287 New major modes.
10288 (todo-categories, todo-display, todo-edit, todo-faces)
10289 (todo-filtered): New defgroups.
10290 (todo-archived-only, todo-button, todo-category-string, todo-date)
10291 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10292 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10293 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10294 (todo-add-item-if-new-category, todo-always-add-time-string)
10295 (todo-categories-align, todo-categories-archived-label)
10296 (todo-categories-category-label, todo-categories-diary-label)
10297 (todo-categories-done-label, todo-categories-number-separator)
10298 (todo-categories-todo-label, todo-categories-totals-label)
10299 (todo-category-completions-files, todo-completion-ignore-case)
10300 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10301 (todo-done-separator-string, todo-done-string)
10302 (todo-files-function, todo-filter-done-items, todo-filter-files)
10303 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10304 (todo-initial-category, todo-initial-file, todo-item-mark)
10305 (todo-legacy-date-time-regexp, todo-mode-line-function)
10306 (todo-nondiary-marker, todo-number-prefix)
10307 (todo-print-buffer-function, todo-show-current-file)
10308 (todo-show-done-only, todo-show-first, todo-show-with-done)
10309 (todo-skip-archived-categories, todo-top-priorities-overrides)
10310 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10311 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10312 New defcustoms.
10313 (todo-category-done, todo-date-pattern, todo-date-string-start)
10314 (todo-diary-items-buffer, todo-done-string-start)
10315 (todo-filtered-items-buffer, todo-item-start)
10316 (todo-month-abbrev-array, todo-month-name-array)
10317 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10318 (todo-top-priorities-buffer): New defconsts.
10319 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10320 (todo-categories-with-marks, todo-category-string-face)
10321 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10322 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10323 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10324 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10325 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10326 (todo-font-lock-keywords, todo-global-current-todo-file)
10327 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10328 (todo-insertion-commands-args)
10329 (todo-insertion-commands-args-genlist)
10330 (todo-insertion-commands-names, todo-insertion-map)
10331 (todo-key-bindings-t, todo-key-bindings-t+a)
10332 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10333 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10334 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10335 (todo-visited): New variables.
10336
cad5d1cb
GM
103372013-06-21 Glenn Morris <rgm@gnu.org>
10338
10339 * play/cookie1.el (cookie-apropos): Add optional display argument.
10340 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10341 (psychoanalyze-pinhead): Use cookie-doctor.
10342
9e277302
JB
103432013-06-21 Juanma Barranquero <lekktu@gmail.com>
10344
10345 * emacs-lisp/package.el (tar-get-file-descriptor)
10346 (tar--extract): Declare.
10347
c5b0993e
EW
103482013-06-21 Eduard Wiebe <usenet@pusto.de>
10349
10350 Extend flymake's warning predicate to be a function (bug#14217).
10351 * progmodes/flymake.el (flymake-warning-predicate): New.
10352 (flymake-parse-line): Use it.
10353 (flymake-warning-re): Make obsolete alias to
10354 `flymake-warning-predicate'.
10355
a7d2d465
SM
103562013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10359 (package-obsolete-list): Remove.
10360 (package-activate): Remove min-version argument. Add `force' argument.
10361 Adjust to new package-alist format.
10362 (package-mark-obsolete): Remove.
10363 (package-unpack): Force reload of the package's autoloads.
10364 (package-installed-p): Check builtins if the installed package is not
10365 recent enough.
10366 (package-initialize): Don't reset package-obsolete-list.
10367 Don't specify which package version to activate.
10368 (package-process-define-package, describe-package-1)
10369 (package-menu--generate): Adjust to new package-alist format.
10370
cedf5c9d
JB
103712013-06-21 Juanma Barranquero <lekktu@gmail.com>
10372
10373 * allout-widgets.el (allout-widgets-mode-off)
10374 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10375 (allout-widgets-post-command-business)
10376 (allout-widgets-after-copy-or-kill-function)
10377 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10378 (allout-decorate-item-and-context)
10379 (allout-graphics-modification-handler): Fix typos in docstrings.
10380 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10381
10382 * cmuscheme.el (scheme-start-file): Doc fix.
10383 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10384 (scheme-input-filter): Use `string-match-p'.
10385
10386 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10387
10388 * dired-x.el: Use Dired consistently in docstrings.
10389
10390 * dired.el: Use Dired consistently in docstrings.
10391 (dired-readin, dired-mode): Use `setq-local'.
10392 (dired-switches-alist): Make defvar-local.
10393 (dired-buffers-for-dir): Use `zerop'.
10394 (dired-safe-switches-p, dired-switches-escape-p)
10395 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10396 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10397 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10398 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10399 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10400 (dired-toggle-marks, dired-mark-files-containing-regexp)
10401 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10402 (dired-flag-auto-save-files, dired-flag-backup-files):
10403 Use `looking-at-p'.
10404 (dired-mark-files-regexp, dired-build-subdir-alist):
10405 Use `string-match-p', `looking-at-p'.
10406
10407 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10408 (direct-print-region-helper): Use `string-match-p'.
10409
aed838b5
LL
104102013-06-21 Leo Liu <sdl.web@gmail.com>
10411
cedf5c9d
JB
10412 * comint.el (comint-redirect-results-list-from-process):
10413 Fix infinite loop.
aed838b5 10414
d80a808f
LMI
104152013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10416
10417 * net/eww.el (eww-update-header-line-format): Quote % characters.
10418
e7a526e3
GM
104192013-06-21 Glenn Morris <rgm@gnu.org>
10420
10421 * play/cookie1.el (cookie): New custom group.
10422 (cookie-file): New option.
10423 (cookie-check-file): New function.
10424 (cookie): Make it interactive. Make start and end messages optional.
10425 Interactively, display the result. Default to cookie-file.
10426 (cookie-insert): Default to cookie-file.
10427 (cookie-snarf): Make start and end messages optional.
10428 Default to cookie-file. Use with-temp-buffer.
10429 (cookie-read): Rename from read-cookie.
10430 Make start and end messages optional. Default to cookie-file.
10431 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10432 Do not autoload it.
e7a526e3
GM
10433 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10434 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10435
62efb35e
LL
104362013-06-21 Leo Liu <sdl.web@gmail.com>
10437
10438 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10439
21e3f963
GM
104402013-06-21 Glenn Morris <rgm@gnu.org>
10441
10442 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10443
fd846ab4
SM
104442013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10445 Daniel Hackney <dan@haxney.org>
10446
10447 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10448 Consolidate the single-file vs tarball code.
10449 (package-desc-suffix): New function.
10450 (package-desc-full-name): Don't bother inlining it.
10451 (package-load-descriptor): Return the new package-desc.
10452 (package-mark-obsolete): Remove unused arg `package'.
10453 (package-unpack): Make it work for single files as well.
10454 Make it update package-alist.
10455 (package--make-autoloads-and-stuff): Rename from
10456 package--make-autoloads-and-compile. Don't compile any more.
10457 (package--compile): New function.
10458 (package-generate-description-file): New function, extracted from
10459 package-unpack-single.
10460 (package-unpack-single): Remove.
10461 (package--with-work-buffer): Add indentation and debugging info.
10462 (package-download-single): Remove.
10463 (package-install-from-archive): Rename from package-download-tar, make
10464 it take a pkg-desc, and make it work for single files as well.
10465 (package-download-transaction): Simplify.
10466 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10467 external tar program.
10468 (package-install-from-buffer): Remove `pkg-desc' argument.
10469 Use package-tar-file-info for tar-mode buffers.
10470 (package-install-file): Simplify accordingly.
10471 (package-archive-base): Change to take a pkg-desc.
10472 * tar-mode.el (tar--check-descriptor): New function, extracted from
10473 tar-get-descriptor.
10474 (tar-get-descriptor): Use it.
10475 (tar-get-file-descriptor): New function.
10476 (tar--extract): New function, extracted from tar-extract.
10477 (tar--extract): Use it.
10478 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10479 case the summary uses non-ascii. Adjust to new calling convention of
10480 package-tar-file-info.
10481
b7deae5e
LL
104822013-06-21 Leo Liu <sdl.web@gmail.com>
10483
fd846ab4
SM
10484 * comint.el (comint-redirect-results-list-from-process):
10485 Fix random delay. (Bug#14681)
b7deae5e 10486
7a65a0b2
JB
104872013-06-21 Juanma Barranquero <lekktu@gmail.com>
10488
10489 * profiler.el (profiler-format-number): Use log, not log10.
10490
1493c2af
JB
104912013-06-20 Juanma Barranquero <lekktu@gmail.com>
10492
10493 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10494
aff6371e
SM
104952013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10496
10497 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10498 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10499 yet available.
10500 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10501 (AUTOGENEL): ... here.
10502 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10503 (cl--defsubst-expand): Use it.
10504
89561f72
PE
105052013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10506
10507 * subr.el (log10): Move here from C code, and declare as obsolete.
10508 All uses of (log10 X) replaced with (log X 10).
10509
47199123
JB
105102013-06-20 Juanma Barranquero <lekktu@gmail.com>
10511
10512 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10513 Declare with `defvar-local'.
10514 (tabulated-list-use-header-line, tabulated-list-entries)
10515 (tabulated-list-padding, tabulated-list-printer)
10516 (tabulated-list-sort-key): Declare with `defvar-local'.
10517 (tabulated-list-init-header, tabulated-list-print-fake-header):
10518 Use `setq-local'.
10519
4a172eab
MA
105202013-06-20 Michael Albinus <michael.albinus@gmx.de>
10521
47199123
JB
10522 * arc-mode.el (archive-mode): Add `archive-write-file' to
10523 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10524
5fc0acc0
JB
105252013-06-20 Juanma Barranquero <lekktu@gmail.com>
10526
d5b27848
JB
10527 * cus-edit.el (custom-commands): Fix typos.
10528 (custom-display): Fix tooltip text.
10529 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10530 Fix typos in docstrings.
10531 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10532 (custom-unlispify-menu-entry, custom-magic-value-create)
10533 (custom-add-see-also, custom-group-value-create): Use ?\s.
10534 (custom-guess-type, customize-apropos, editable-field)
10535 (custom-face-value-create): Use `string-match-p'.
10536 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10537
10538 * custom.el (custom-load-symbol): Use `string-match-p'.
10539
a5c581d8
JB
10540 * ansi-color.el: Convert to lexical binding.
10541 (ansi-colors): Fix URL.
10542 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10543 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10544 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10545
970ad972
G
105462013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10547
10548 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10549
10550 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10551
105522013-06-19 Tom Tromey <tromey@redhat.com>
10553
10554 * net/eww.el (eww-top-url): Remove.
10555 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10556 (eww-render): Set new variables. Don't set eww-top-url.
10557 (eww-handle-link): Handle "prev", "home", and "contents".
10558 Downcase the rel text.
10559 (eww-top-url): Choose best top URL.
10560
105612013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10562
10563 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10564 relying in widget.el. Using widget.el leads to too many
10565 user interface inconsistencies.
10566 (eww-self-insert): Implement entering commands in text fields.
10567 (eww-process-text-input): New function to make text input field editing
10568 work.
10569 (eww-submit): Rewrite to use the new-style form methods.
10570 (eww-select-display): Display the correct selected item.
10571 (eww-change-select): Implement changing the select value.
10572 (eww-toggle-checkbox): Implement radio/checkboxes.
10573 (eww-update-field): Fix compilation error.
10574 (eww-tag-textarea): Implement <textarea>.
10575
10576 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10577 we don't shadow mode-specific bindings.
10578
10579 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10580 nothing to push.
10581
10582 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10583
4582a01c 105842013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10585
10586 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10587
15b263dc
MA
105882013-06-19 Michael Albinus <michael.albinus@gmx.de>
10589
10590 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10591 not needed.
10592
10593 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10594
8f5297f7
LMI
105952013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10596
10597 * net/browse-url.el (browse-url-browser-function):
10598 `eww-browse-url' has the right calling signature, `eww' does not.
10599
011c4552
GM
106002013-06-19 Glenn Morris <rgm@gnu.org>
10601
2285bd27
GM
10602 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10603 Only eval autoloaded macros.
10604 (byte-compile-autoload): Only give the macro warning for macros.
10605
1d653303
GM
10606 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10607 (ps-underlined-faces): Declare.
10608
bdd779ec
GM
10609 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10610 (speedbar-add-supported-extension): Declare.
10611
011c4552
GM
10612 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10613 Don't include a date stamp in the header of the generated file;
10614 it leads to needless differences between output files.
10615
e59dfb0e
MA
106162013-06-19 Michael Albinus <michael.albinus@gmx.de>
10617
c763842b
SM
10618 * net/secrets.el (secrets-struct-secret-content-type):
10619 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10620 Some servers do not offer introspection.
e59dfb0e 10621
102626e2
SM
106222013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * electric.el (electric-pair-mode): Improve interaction with
10625 electric-layout-mode.
10626 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10627 (electric-pair-syntax): Use text-mode-syntax-table in comments
10628 and strings.
10629 (electric-pair--insert): New function.
10630 (electric-pair-post-self-insert-function): Use it and
10631 electric--after-char-pos.
10632
ad528125
LL
106332013-06-19 Leo Liu <sdl.web@gmail.com>
10634
10635 * progmodes/octave.el (octave-help): Fix regexp.
10636
924d6997
G
106372013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10638
10639 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10640 (shr-table-horizontal-line): Allow nil as a value, and change the
10641 default.
10642 (shr-insert-table-ruler): Respect the nil value.
10643
106442013-06-18 Tom Tromey <tromey@barimba>
10645
10646 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10647 New defvars.
10648 (eww-open-file): New defun.
10649 (eww-render): Initialize new variables.
10650 (eww-display-html): Handle "link" and "a".
10651 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10652 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10653 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10654 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10655 New defuns.
924d6997 10656
d1bbba4f
DG
106572013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10658
10659 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10660 Distinguish ternary operator tokens from slash symbol and slash
10661 char literal.
10662
14dd22d2
JB
106632013-06-18 Juanma Barranquero <lekktu@gmail.com>
10664
10665 Convert symbol prettification into minor mode and global minor mode.
10666
10667 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10668 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10669 (prettify-symbols--keywords): Rename from
10670 `prog-prettify-symbols-alist' and make a local defvar.
10671 (prettify-symbols--compose-symbol): Rename from
10672 `prog--prettify-font-lock-compose-symbol'.
10673 (prettify-symbols--make-keywords): Rename from
10674 `prog-prettify-font-lock-symbols-keywords' and simplify.
10675 (prog-prettify-install): Remove.
10676 (prettify-symbols-mode): New minor mode, based on
10677 `prog-prettify-install'.
10678 (turn-on-prettify-symbols-mode): New function.
10679 (global-prettify-symbols-mode): New globalized minor mode.
10680
10681 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10682 * progmodes/cfengine.el (cfengine3-mode):
10683 * progmodes/perl-mode.el (perl-mode): Don't call
10684 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10685
292c880c
JL
106862013-06-18 Juri Linkov <juri@jurta.org>
10687
10688 * files-x.el (modify-file-local-variable-message): New function.
10689 (modify-file-local-variable)
10690 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10691 and call `modify-file-local-variable-message' when it's non-nil.
10692 (add-file-local-variable, delete-file-local-variable)
10693 (add-file-local-variable-prop-line)
10694 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10695 and use it. (Bug#9820)
10696
0950aa27
JL
106972013-06-18 Juri Linkov <juri@jurta.org>
10698
10699 * emulation/vi.el (vi-shell-op):
10700 * emulation/vip.el (vip-execute-com, ex-command):
10701 * emulation/viper-cmd.el (viper-exec-bang):
10702 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10703 the call of `shell-command-on-region'. (Bug#14637)
10704
10705 * simple.el (shell-command-on-region): Doc fix.
10706
8fbcca16
SM
107072013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10710 (bug#14633).
10711
dd7426ea
GM
107122013-06-18 Glenn Morris <rgm@gnu.org>
10713
4ba54f7d
GM
10714 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10715
dd7426ea
GM
10716 * newcomment.el (comment-search-forward, comment-search-backward):
10717 Doc fix. (Bug#14376)
10718
58aa805b
JB
107192013-06-18 Juanma Barranquero <lekktu@gmail.com>
10720
10721 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10722 (buffer-face-mode-invoke): Doc fix.
10723
9a08a617
MM
107242013-06-18 Matthias Meulien <orontee@gmail.com>
10725
10726 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10727 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10728
f2f426ca
GM
107292013-06-18 Glenn Morris <rgm@gnu.org>
10730
9445f99b
GM
10731 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10732 Replace obsolete function generic-make-keywords with its expansion.
10733
e0df2d14
GM
10734 * progmodes/python.el (ffap-alist): Declare.
10735
f2f426ca
GM
10736 * textmodes/reftex.el (bibtex-mode-map): Declare.
10737
f7f9a720
SM
107382013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10741 (package-unpack, package-unpack-single): Return the pkg-dir.
10742 (package-download-transaction): Use it to update package-alist.
10743
57ff04e0
LMI
107442013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10745
10746 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10747 possible choice.
10748
c048c022
JL
107492013-06-17 Juri Linkov <juri@jurta.org>
10750
10751 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10752
b5bcaee5
DG
107532013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10754
a020afb9
JB
10755 * emacs-lisp/package.el (package-load-descriptor):
10756 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10757 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10758
551e07e5
JB
107592013-06-17 Juanma Barranquero <lekktu@gmail.com>
10760
10761 * startup.el (command-line): Expand package name returned by
10762 `package--description-file' (bug#14639).
10763
d363bffb
DG
107642013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10765
10766 * emacs-lisp/package.el (package-load-descriptor): Do not call
10767 `emacs-lisp-mode', just use its syntax table.
10768
f612933b
JB
107692013-06-17 Juanma Barranquero <lekktu@gmail.com>
10770
10771 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10772 `font-lock-extra-managed-props' if any prettifying keyword is added.
10773 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10774 (prog-mode): Use `setq-local'.
10775
db3b7db5
SM
107762013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * international/characters.el (standard-case-table): Set syntax of ?»
10779 and ?« to punctuation.
10780
f3d674df
JB
107812013-06-16 Juanma Barranquero <lekktu@gmail.com>
10782
10783 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10784 Save relevant match data before calling `syntax-ppss' (bug#14595).
10785
31489a32
JL
107862013-06-15 Juri Linkov <juri@jurta.org>
10787
10788 * files-x.el (modify-file-local-variable-prop-line): Add local
10789 variables to the end of the existing comment on the first line.
10790 Use `file-auto-mode-skip' to skip interpreter magic line,
10791 and also skip XML declaration.
10792
66bd25ab
SM
107932013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * startup.el (package--builtin-versions): New var.
10796 (package-subdirectory-regexp): Remove.
10797 (package--description-file): Hard code its value instead.
10798
10799 * emacs-lisp/package.el: Don't activate packages older than builtin.
10800 (package-obsolete-list): Rename from package-obsolete-alist, and make
10801 it into a simple list of package-desc.
10802 (package-strip-version): Remove.
10803 (package-built-in-p): Use package--builtin-versions.
10804 (package-mark-obsolete): Simplify.
10805 (package-process-define-package): Mark it obsolete if older than the
10806 builtin version.
10807 (package-handle-response): Use line-end-position.
10808 (package-read-archive-contents, package--download-one-archive):
10809 Simplify.
10810 (package--add-to-archive-contents): Skip if older than the builtin or
10811 installed version.
10812 (package-menu-describe-package): Fix last change.
10813 (package-list-unversioned): New var.
10814 (package-menu--generate): Use it.
10815
10816 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10817 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10818 (autoload-builtin-package-versions): New variable.
10819 (autoload-generate-file-autoloads): Use them.
10820 Remove the list of autoloaded functions/macros from the
10821 (autoload...) comments.
10822
10823 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10824
9583ec36
EZ
108252013-06-15 Eli Zaretskii <eliz@gnu.org>
10826
10827 * simple.el (line-move-partial): Don't jump to the next screen
10828 line as soon as it becomes visible. Instead, continue enlarging
10829 the vscroll until the portion of a tall screen line that's left on
10830 display is about the height of the frame's default font.
10831 (Bug#14567)
10832
f0100d8a
GM
108332013-06-15 Glenn Morris <rgm@gnu.org>
10834
b86a85ca
GM
10835 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10836 compilation-error-regexp-alist void, or local while let-bound.
10837
f0100d8a
GM
10838 * progmodes/make-mode.el (makefile-mode-syntax-table):
10839 Treat "=" as punctuation. (Bug#14614)
10840
05e7ce90
JB
108412013-06-15 Juanma Barranquero <lekktu@gmail.com>
10842
10843 * help-fns.el (describe-variable):
10844 Add extra line for permanent-local variables.
10845
12e5e86e
SH
108462013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10847
10848 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10849 Add export, import, library. (Bug#9164)
10850 (library): Set indent function.
10851
230dcbaf
GM
108522013-06-14 Glenn Morris <rgm@gnu.org>
10853
10854 * term/xterm.el (xterm--query):
10855 Stop after first matching handler. (Bug#14615)
10856
e36b2d20 108572013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10858
10859 Add support for dired in saveplace.
10860 * dired.el (dired-initial-position-hook): New variable.
10861 (dired-initial-position): Call hook to place cursor position.
10862 * saveplace.el (save-place-to-alist): Add dired position.
10863 (save-place-dired-hook): New function.
10864
0b31660d
SM
108652013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10866
bf1e6ae8
SM
10867 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10868 through a symbol rather than letrec.
10869
1b8dff23
SM
10870 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10871 (package-desc): Add `dir' field.
10872 (package-desc-full-name): New function.
10873 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10874 (package-maybe-load-descriptor): Remove.
10875 (package-load-all-descriptors): Just call package-load-descriptor.
10876 (package--disabled-p): New function.
10877 (package-desc-vers, package-desc-doc): Remove aliases.
10878 (package--dir): Remove function.
10879 (package-activate): Check if a package is disabled.
10880 (package-process-define-package): New function, extracted from
10881 define-package.
10882 (define-package): Turn into a place holder.
10883 (package-unpack-single, package-tar-file-info):
10884 Use package--description-file.
10885 (package-compute-transaction): Use package--disabled-p.
10886 (package-download-transaction): Don't call
10887 package-maybe-load-descriptor since they're all loaded anyway.
10888 (package-install): Change argument to be a pkg-desc.
10889 (package-delete): Use a single pkg-desc argument.
10890 (describe-package-1): Use package-desc-dir instead of package--dir.
10891 Use package-desc property instead of package-symbol.
10892 (package-install-button-action): Adjust accordingly.
10893 (package--push): Rewrite.
10894 (package-menu--print-info): Adjust accordingly. Change the ID format
10895 to be a pkg-desc.
10896 (package-menu-describe-package, package-menu-get-status)
10897 (package-menu--find-upgrades, package-menu-mark-upgrades)
10898 (package-menu-execute, package-menu--name-predicate):
10899 Adjust accordingly.
10900 * startup.el (package--description-file): New function.
10901 (command-line): Use it.
10902 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10903 Use package-desc-version.
10904
0b31660d
SM
10905 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10906 (byte-compile-preprocess): Use it.
10907 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10908 can't quite recognize.
10909 (byte-compile-add-to-list): Remove.
10910 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10911 (cconv-closure-convert): Add assertion.
10912
10913 * emacs-lisp/map-ynp.el: Use lexical-binding.
10914 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10915 Factor out some repeated code.
10916
de0503df
SM
109172013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * subr.el (with-eval-after-load): New macro.
10920 (eval-after-load): Allow form to be a function.
10921 take advantage of lexical-binding.
10922 (do-after-load-evaluation): Use dolist and adjust to new format.
10923 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10924
bc5c8c5a
JL
109252013-06-13 Juri Linkov <juri@jurta.org>
10926
10927 * replace.el (perform-replace): Display "symbol " and other search
10928 modes from `isearch-message-prefix' in the *Help* buffer.
10929
10930 * isearch.el (isearch-query-replace): Add " symbol" and other
10931 possible search modes from `isearch-message-prefix' to the prompt.
10932 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10933 when reading a regexp to collect.
10934
a22289f7
JL
109352013-06-13 Juri Linkov <juri@jurta.org>
10936
10937 * isearch.el (word-search-regexp): Match whitespace if the search
10938 string begins or ends in whitespace. The LAX arg is applied to
10939 both ends of the search string. Use `regexp-quote' and explicit
10940 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10941 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10942 boundaries are replaced with symbol boundaries, and characters
10943 between symbols match non-word non-symbol syntax. (Bug#14602)
10944
cb89acab
JL
109452013-06-13 Juri Linkov <juri@jurta.org>
10946
10947 * isearch.el (isearch-del-char): Don't exceed the length of
10948 `isearch-string' by the prefix arg. (Bug#14563)
10949
6e8cfc81
JL
109502013-06-13 Juri Linkov <juri@jurta.org>
10951
10952 * isearch.el (isearch-yank-word, isearch-yank-line)
10953 (isearch-char-by-name, isearch-quote-char)
10954 (isearch-printing-char, isearch-process-search-char):
10955 Add optional count prefix arg. (Bug#14563)
10956
10957 * international/isearch-x.el
10958 (isearch-process-search-multibyte-characters):
10959 Add optional count prefix arg.
10960
c23d55f4
VS
109612013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10962
10963 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10964 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10965 lexical-binding.
10966
109672013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10968
10969 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10970
ba947bc4
GM
109712013-06-13 Glenn Morris <rgm@gnu.org>
10972
8baeb37a
GM
10973 * startup.el (tty-handle-args):
10974 Don't just discard "--" and anything after. (Bug#14608)
10975
ba947bc4
GM
10976 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10977
9abefce4
MA
109782013-06-13 Michael Albinus <michael.albinus@gmx.de>
10979
10980 Implement changes in Secret Service API. Make it backward compatible.
10981 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10982 (secrets-create-item): Use it. Prefix properties with interface.
10983
5755011f
MH
109842013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10985
10986 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10987 (term-emulate-terminal): Respect term-suppress-hard-newline.
10988
1261d2da
S
109892013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10990
10991 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10992 Only remove a `thumb-file' overlay. (Bug#14548)
10993
868490bb
GJ
109942013-06-12 Grégoire Jadi <daimrod@gmail.com>
10995
10996 * mail/reporter.el (reporter-submit-bug-report):
10997 Handle missing package-name. (Bug#14600)
10998
79d7167f
TH
109992013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11000
11001 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11002 (reftex-citation-prompt, reftex-default-bibliography)
11003 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11004 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11005 (reftex-bib-sort-author, reftex-bib-sort-year)
11006 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11007 (reftex-extract-bib-entries-from-thebibliography)
11008 (reftex-get-bibkey-default, reftex-get-bib-names)
11009 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11010 (reftex-format-bib-entry, reftex-parse-bibitem)
11011 (reftex-format-bibitem, reftex-do-citation)
11012 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11013 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11014 (reftex-insert-bib-matches, reftex-format-citation)
11015 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11016 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11017 existing comments into docstrings.
11018
5f9dbd7a
XF
110192013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11020
11021 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11022
94df41ab
AS
110232013-06-12 Andreas Schwab <schwab@suse.de>
11024
11025 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11026 for auto-save files.
11027
a7f3fecc
GM
110282013-06-12 Glenn Morris <rgm@gnu.org>
11029
001809f6
GM
11030 * ido.el (ido-delete-ignored-files): Remove.
11031 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11032 Go back to calling ido-ignore-item-p directly.
a7f3fecc 11033
834b5ded
EL
110342013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11035
08c73ed2
EL
11036 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11037
834b5ded
EL
11038 * ido.el (ido-delete-ignored-files): New function,
11039 split from ido-make-file-list-1.
11040 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11041 (ido-make-file-list-1): Use ido-delete-ignored-files.
11042
daabf15a
LL
110432013-06-12 Leo Liu <sdl.web@gmail.com>
11044
11045 * progmodes/octave.el (inferior-octave-startup)
11046 (inferior-octave-completion-table)
11047 (inferior-octave-track-window-width-change)
11048 (octave-eldoc-function-signatures, octave-help)
11049 (octave-find-definition): Use single quoted strings.
11050 (inferior-octave-startup-args): Change default value.
11051 (inferior-octave-startup): Do not hard code "-i" and
11052 "--no-line-editing".
11053 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11054 (inferior-octave-directory-tracker): Use it.
11055 (octave-goto-function-definition): Robustify.
11056 (octave-help): Support highlighting operators in 'See also'.
11057 (octave-find-definition): Find subfunctions only in Octave mode.
11058
cf4e5178
SM
110592013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11060
11061 * help-fns.el (help-fns--compiler-macro): If the handler function is
11062 named, then put a link to it.
11063 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11064 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11065 (cl-typep): Use it.
11066 (cl-eval-when): Simplify debug spec.
11067 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11068 compiler-macro function instead of setting `compiler-macro-file'.
11069
99c81280 110702013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
11071
11072 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11073 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11074
f56be016
SM
110752013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11076 Daniel Hackney <dan@haxney.org>
11077
11078 First part of Daniel Hackney's patch to package.el.
11079 * emacs-lisp/package.el: Use defstruct.
11080 (package-desc): New, main struct.
11081 (package--bi-desc, package--ac-desc): New structs, used to describe the
11082 format in external files.
11083 (package-desc-vers): Replace with package-desc-version accessor.
11084 (package-desc-doc): Replace with package-desc-summary accessor.
11085 (package-activate-1): Remove `package' arg since the pkg-vec now
11086 includes the name.
11087 (define-package): Use package-desc-from-define.
11088 (package-unpack-single): Change file-name arg to be a symbol.
11089 (package--add-to-archive-contents): Use package-desc-create and new
11090 accessor functions to package--ac-desc.
11091 (package-buffer-info, package-tar-file-info): Return a package-desc.
11092 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11093 arg to be a package-desc.
11094 (package-install-file): Adjust accordingly. Use \' to match EOS.
11095 (package--from-builtin): New function.
11096 (describe-package-1, package-menu--generate): Use it.
11097 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11098 (package-generate-autoloads): Idem and return the name of the file.
11099 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11100 Change pkg-info arg to be a package-desc.
11101 Use package-make-ac-desc.
11102 (package-upload-file): Use \' to match EOS.
11103 * finder.el (finder-compile-keywords): Use package-make-builtin.
11104
31119d63
SM
111052013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11106
931a2762
SM
11107 * vc/vc.el (vc-deduce-fileset): Change error message.
11108 (vc-read-backend): New function.
11109 (vc-next-action): Use it.
11110
5a3eb0c6
SM
11111 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11112
e3eb1bb7
SM
11113 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11114 (prolog-font-lock-keywords): Use regexp-opt instead.
11115 Don't manually highlight strings.
11116 (prolog-mode-variables): Simplify comment-start-skip.
11117 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11118
31119d63
SM
11119 * emacs-lisp/generic.el (generic--normalise-comments)
11120 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11121 (generic-mode-set-comments): Use them.
11122 (generic-bracket-support): Use setq-local.
11123 (generic-make-keywords-list): Declare obsolete.
11124
7de135d0
GM
111252013-06-11 Glenn Morris <rgm@gnu.org>
11126
11127 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11128 Prettify after setting font-lock-defaults. (Bug#14574)
11129
fa6bc6fd
JB
111302013-06-11 Juanma Barranquero <lekktu@gmail.com>
11131
11132 * replace.el (query-replace, occur-read-regexp-defaults-function)
11133 (replace-search):
11134 * subr.el (declare-function, number-sequence, local-set-key)
11135 (substitute-key-definition, locate-user-emacs-file)
11136 (with-silent-modifications, split-string, eval-after-load):
11137 Fix typos, remove unneeded backslashes and reflow some docstrings.
11138
cf1f9b9a
SM
111392013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11140
11141 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11142 default for Elisp files.
11143
56602a4b
GM
111442013-06-11 Glenn Morris <rgm@gnu.org>
11145
11146 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11147 although define-derived-mode was doing this anyway. (Bug#14583)
11148
30ae0b2c
JB
111492013-06-10 Juanma Barranquero <lekktu@gmail.com>
11150
11151 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11152 Fix make-variable-buffer-local call to refer to the correct variable.
11153
fa472906
AG
111542013-06-10 Aidan Gauland <aidalgol@amuri.net>
11155
11156 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11157 (eshell-visual-subcommands, eshell-visual-options):
11158 Add summary line to docstrings. Add cross-references.
fa472906 11159
ff4871b9
GM
111602013-06-10 Glenn Morris <rgm@gnu.org>
11161
11162 * epa.el (epa-read-file-name): New function. (Bug#14510)
11163 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11164
04fcf1b0
AG
111652013-06-09 Aidan Gauland <aidalgol@amuri.net>
11166
11167 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11168 output redirection to be ignored with visual commands.
11169
88b00caa
AG
111702013-06-09 Aidan Gauland <aidalgol@amuri.net>
11171
11172 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11173 (eshell-term-initialize): Move long lambda to separate function
11174 eshell-visual-command-p.
27821a89 11175 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11176 * eshell/em-script.el (eshell-script-initialize):
11177 Add missing #' to lambda.
88b00caa 11178
fda74125
LL
111792013-06-08 Leo Liu <sdl.web@gmail.com>
11180
11181 * progmodes/octave.el (octave-add-log-current-defun): New function.
11182 (octave-mode): Set add-log-current-defun-function.
11183 (octave-goto-function-definition): Do not move point if not found.
11184 (octave-find-definition): Enhance to try subfunctions first.
11185
467f3b33
GM
111862013-06-08 Glenn Morris <rgm@gnu.org>
11187
11188 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11189 (byte-compile-backward-char, byte-compile-backward-word):
11190 Improve previous change, to handle non-explicit nil.
11191
544badc3
SM
111922013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11195 (smie--opener/closer-at-point): New function.
11196 (smie--matching-block-data): Use it. Don't match from right after an
11197 opener or right before a closer. Obey smie-blink-matching-inners.
11198 Don't signal a mismatch for repeated inners like "switch..case..case".
11199
a175bf33
LL
112002013-06-07 Leo Liu <sdl.web@gmail.com>
11201
11202 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11203 to t. (Bug#14303)
ce8209d4
LL
11204 (octave-function-header-regexp): Fix. (Bug#14570)
11205 (octave-help-mode-finish-hook, octave-help-mode-finish):
11206 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11207
11208 * newcomment.el (comment-search-backward): Revert last change.
11209 (Bug#14434)
11210
11211 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11212
a822acff
EZ
112132013-06-07 Eli Zaretskii <eliz@gnu.org>
11214
11215 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11216 through xargs, to avoid failure due to MS-Windows limitations on
11217 command-line length.
11218
961166f5
GM
112192013-06-06 Glenn Morris <rgm@gnu.org>
11220
d0341459
GM
11221 * font-lock.el (lisp-font-lock-keywords-2):
11222 Treat user-error like error.
11223
961166f5
GM
11224 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11225 (byte-compile-backward-char, byte-compile-backward-word):
11226 Handle explicit nil arguments. (Bug#14565)
11227
80fa505f
AM
112282013-06-05 Alan Mackenzie <acm@muc.de>
11229
11230 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11231 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11232 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11233 (Bug#9706)
80fa505f 11234
fccdc796
SM
112352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * autorevert.el (auto-revert-notify-handler): Use memq.
11238 Hide assertion failure.
11239
11240 * skeleton.el: Use cl-lib.
11241 (skeleton-further-elements): Use defvar-local.
11242 (skeleton-insert): Use cl-progv.
11243
9bfff84b
TZ
112442013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11245
11246 * progmodes/prog-mode.el (prog-prettify-symbols)
11247 (prog-prettify-install): Update docstrings.
11248
55577e7c
SM
112492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * simple.el: Move all the prog-mode code to prog-mode.el.
11252 * progmodes/prog-mode.el: New file.
11253 * loadup.el: Add prog-mode.el.
11254
8fc57765
TZ
112552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11256
11257 * simple.el (prog-prettify-symbols): Add version.
11258 (prog-prettify-install): Add convenience function to prettify symbols.
11259
11260 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11261 (perl--augmented-font-lock-keywords-1)
11262 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11263 variables and use it.
11264
11265 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11266 (cfengine3-mode): Remove unneeded variable and use it.
11267
11268 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11269 (lisp--augmented-font-lock-keywords-1)
11270 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11271 Remove unneeded variables and use it.
11272
650645d5 112732013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11274
11275 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11276 to point when opening the connection. (Bug#14380)
28f5da6d 11277
781b4af6
SM
112782013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * subr.el (load-history-regexp, load-history-filename-element)
11281 (eval-after-load, after-load-functions, do-after-load-evaluation)
11282 (eval-next-after-load, display-delayed-warnings)
11283 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11284 definition of save-match-data.
11285 (overriding-local-map): Remove accidental obsolescence declaration.
11286
11287 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11288
3ca0d0b4
TZ
112892013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11290
11291 Generalize symbol prettify support to prog-mode and implement it
11292 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11293 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11294 (prog--prettify-font-lock-compose-symbol)
11295 (prog-prettify-font-lock-symbols-keywords): New variables and
11296 functions to support symbol prettification.
11297 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11298 (lisp--augmented-font-lock-keywords-1)
11299 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11300 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11301 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11302 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11303 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11304 * progmodes/perl-mode.el (perl-prettify-symbols)
11305 (perl--font-lock-compose-symbol)
11306 (perl--font-lock-symbols-keywords): Move to prog-mode.
11307 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11308 (perl-font-lock-keywords-1)
11309 (perl-font-lock-keywords-2): Remove explicit prettify support.
11310 (perl--augmented-font-lock-keywords)
11311 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11312 (perl--augmented-font-lock-keywords-2, perl-mode):
11313 Implement prettify support.
3ca0d0b4 11314
976cb066
LL
113152013-06-05 Leo Liu <sdl.web@gmail.com>
11316
27821a89 11317 Re-implement SMIE matching block highlight using
976cb066
LL
11318 show-paren-data-function. (Bug#14395)
11319 * emacs-lisp/smie.el (smie-matching-block-highlight)
11320 (smie--highlight-matching-block-overlay)
11321 (smie--highlight-matching-block-lastpos)
11322 (smie-highlight-matching-block)
11323 (smie-highlight-matching-block-mode): Remove.
11324 (smie--matching-block-data-cache): New variable.
11325 (smie--matching-block-data): New function.
11326 (smie-setup): Use smie--matching-block-data for
11327 show-paren-data-function.
11328
11329 * progmodes/octave.el (octave-mode-menu): Fix.
11330 (octave-find-definition): Skip garbage lines.
11331
208d0342
SM
113322013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 Fix compilation error with simultaneous dynamic+lexical scoping.
11335 Add warning when a defvar appears after the first let-binding.
11336 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11337 (byte-compile-close-variables): Initialize it.
11338 (byte-compile--declare-var): New function.
11339 (byte-compile-file-form-defvar)
11340 (byte-compile-file-form-define-abbrev-table)
11341 (byte-compile-file-form-custom-declare-variable): Use it.
11342 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11343 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11344 (byte-compile-bind): Handle dynamic bindings that shadow
11345 lexical bindings.
11346 (byte-compile-unbind): Make arg non-optional.
11347 (byte-compile-let): Simplify.
11348 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11349 (cconv--analyse-function, cconv-analyse-form): Populate it.
11350 Protect byte-compile-bound-variables to limit the scope of defvars.
11351 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11352 Remove unneeded rule for `declare'.
11353
11354 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11355 so as to avoid depending on cl-adjoin at run-time.
11356 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11357
11358 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11359 (macroexp--warn-and-return): Use it.
11360
1ac2891e
GM
113612013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11362
a12bf61e 11363 * subr.el: Convert to lexical binding.
1ac2891e
GM
11364 (overriding-local-map): Make obsolete.
11365 (add-to-list): Doc fix. Add compiler macro.
11366 (read-key): Swap values of local maps.
11367
2587b005
LL
113682013-06-05 Leo Liu <sdl.web@gmail.com>
11369
11370 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11371
f1da3c88
LL
113722013-06-04 Leo Liu <sdl.web@gmail.com>
11373
11374 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11375 (compilation-auto-jump): Suppress the "Mark set" message to give
11376 way to exit message.
11377
3caa391f
AM
113782013-06-04 Alan Mackenzie <acm@muc.de>
11379
11380 Remove faulty optimisation from indentation calculation.
11381 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11382 search limit based on 2000 characters back from indent-point.
11383
068922a2
TH
113842013-06-03 Tassilo Horn <tsdh@gnu.org>
11385
11386 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11387
1f8fdd53
SM
113882013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11389
bbcc4d97
SM
11390 * emacs-lisp/lisp.el: Use lexical-binding.
11391 (lisp--local-variables-1, lisp--local-variables): New functions.
11392 (lisp--local-variables-completion-table): New var.
208d0342 11393 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11394
1f8fdd53
SM
11395 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11396 eagerly (bug#14422).
11397
c9628c79
MA
113982013-06-03 Michael Albinus <michael.albinus@gmx.de>
11399
11400 * autorevert.el (auto-revert-notify-enabled)
11401 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11402 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11403 (auto-revert-notify-handler): Handle also gfilenotify.
11404
e7b41c4c 11405 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11406 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11407 Remove.
c9628c79 11408
e5e4a942
JL
114092013-06-03 Juri Linkov <juri@jurta.org>
11410
11411 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11412 `M-s h .'. (Bug#14427)
11413
11414 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11415 command `hi-lock-face-symbol-at-point'.
11416 (hi-lock-face-symbol-at-point): New command.
11417 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11418 (hi-lock-menu): Add `highlight-symbol-at-point'.
11419 (hi-lock-mode): Doc fix.
11420
11421 * isearch.el (isearch-forward-symbol-at-point): New command.
11422 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11423 (isearch-highlight-regexp): Add a regexp which matches
11424 words/symbols for word/symbol mode.
11425
11426 * subr.el (find-tag-default-bounds): New function with the body
11427 mostly moved from `find-tag-default'.
11428 (find-tag-default): Move most code to `find-tag-default-bounds',
11429 call it and apply `buffer-substring-no-properties' afterwards.
11430
26b3353a
TH
114312013-06-03 Tassilo Horn <tsdh@gnu.org>
11432
781b4af6
SM
11433 * eshell/em-term.el (eshell-term-initialize):
11434 Use `cl-intersection' rather than `intersection'.
26b3353a 11435
51b60f53
XF
114362013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11437
fe054b63 11438 * vc/log-view.el: Doc fix.
d3ffe17c 11439 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11440
a0eb10b3 114412013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11442
11443 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11444 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11445 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11446 (eieio-unbound, eieio-default-superclass)
11447 (eieio--define-field-accessors, method-static, method-before)
11448 (method-primary, method-after, method-num-lists)
11449 (method-generic-before, method-generic-primary)
11450 (method-generic-after, method-num-slots)
11451 (eieio-specialized-key-to-generic-key)
11452 (eieio--check-type, class-v, class-p)
11453 (eieio-class-name, define-obsolete-function-alias)
11454 (eieio-class-parents-fast, eieio-class-children-fast)
11455 (same-class-fast-p, class-constructor, generic-p)
11456 (generic-primary-only-p, generic-primary-only-one-p)
11457 (class-option-assoc, class-option, eieio-object-p)
11458 (class-abstract-p, class-method-invocation-order)
11459 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11460 (eieio-class-un-autoload, eieio-defclass)
11461 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11462 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11463 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11464 (eieio-defgeneric-reset-generic-form)
11465 (eieio-defgeneric-form-primary-only)
11466 (eieio-defgeneric-reset-generic-form-primary-only)
11467 (eieio-defgeneric-form-primary-only-one)
11468 (eieio-defgeneric-reset-generic-form-primary-only-one)
11469 (eieio-unbind-method-implementations)
11470 (eieio--defmethod, eieio--typep)
11471 (eieio-perform-slot-validation, eieio-validate-slot-value)
11472 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11473 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11474 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11475 (eieio-slot-name-index, eieio-class-slot-name-index)
11476 (eieio-set-defaults, eieio-initarg-to-attribute)
11477 (eieio-attribute-to-initarg, eieio-c3-candidate)
11478 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11479 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11480 (eieio-class-precedence-list, eieio-generic-call-methodname)
11481 (eieio-generic-call-arglst, eieio-generic-call-key)
11482 (eieio-generic-call-next-method-list)
11483 (eieio-pre-method-execution-functions, eieio-generic-call)
11484 (eieio-generic-call-primary-only, eieiomt-method-list)
11485 (eieiomt-optimizing-obarray, eieiomt-install)
11486 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11487 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11488 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11489 (defclass): Remove `eval-and-compile' from macro.
11490 (call-next-method, shared-initialize): Instead of using
11491 `scoped-class' variable, use new eieio--scoped-class, and
11492 eieio--with-scoped-class.
11493 (initialize-instance): Rename local variable 'scoped-class' to
11494 'this-class' to remove ambiguitity from old global.
11495
11496 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11497 eieio.el.
4f405069
JB
11498 (eieio--scoped-class-stack): New variable.
11499 (eieio--scoped-class): New fcn.
890f7890
DE
11500 (eieio--with-scoped-class): New scoping macro.
11501 (eieio-defclass): Use pushnew instead of add-to-list.
11502 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11503 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11504 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11505 `scoped-class' variable, use new eieio--scoped-class, and
11506 eieio--with-scoped-class.
11507
11508 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11509
d105b0e2
TH
115102013-06-02 Tassilo Horn <tsdh@gnu.org>
11511
11512 * eshell/esh-ext.el (eshell-external-command): Pass args to
11513 `eshell-find-interpreter'.
11514 (eshell-find-interpreter): Add new second parameter ARGS.
11515
11516 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11517 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11518
11519 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11520 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11521
11522 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11523 (eshell-visual-options): New defcustom.
11524 (eshell-escape-control-x): Adapt docstring.
11525 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11526 `eshell-visual-options' in addition to `eshell-visual-commands'.
11527 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11528
f46305c8 115292013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11530
11531 * progmodes/python.el (python-indent-block-enders): Add break,
11532 continue and raise keywords.
11533
d870df21
GM
115342013-06-01 Glenn Morris <rgm@gnu.org>
11535
9133b82e
GM
11536 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11537
02c992ec 11538 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11539 * progmodes/cc-cmds.el (delete-forward-p):
11540 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11541 * progmodes/cc-engine.el (buffer-syntactic-context):
11542 * progmodes/cc-fonts.el (face-property-instance):
11543 * progmodes/cc-mode.el (set-keymap-parents):
11544 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11545 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11546 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11547 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11548 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11549
31e7b090
GM
11550 * progmodes/cc-vars.el (other): Emacs has this widget since
11551 at least 21.1, so don't (re)define it.
11552
d870df21
GM
11553 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11554 Replace the obsolete alias pcomplete-arg-quote-list.
11555
c75c93c7
LL
115562013-06-01 Leo Liu <sdl.web@gmail.com>
11557
11558 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11559 punctuation syntax.
11560 (inferior-octave-minimal-columns)
11561 (inferior-octave-last-column-width): New variables.
11562 (inferior-octave-track-window-width-change): New function.
11563 (inferior-octave-mode): Adjust column width so that Octave output,
11564 for example from 'ls', can fit into the window nicely.
11565
973d1e12
DG
115662013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11567
11568 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11569 Highlight expansions inside regexp literals.
11570
0888c286
GM
115712013-05-31 Glenn Morris <rgm@gnu.org>
11572
e26aac1f
GM
11573 * obsolete/sym-comp.el (symbol-complete):
11574 Replace obsolete completion-annotate-function.
11575
0888c286
GM
11576 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11577
19bb8e62
DG
115782013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11579
781b4af6
SM
11580 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11581 New function, checks if point is inside a literal that allows
19bb8e62
DG
11582 expression expansion.
11583 (ruby-syntax-propertize-expansion): Use it.
11584 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11585 around the body.
11586
01dea85f
JL
115872013-05-30 Juri Linkov <juri@jurta.org>
11588
11589 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11590 to "\M-si".
11591 (isearch-invisible): New variable.
11592 (isearch-forward): Doc fix.
11593 (isearch-mode): Set `isearch-invisible'
11594 to the value of `search-invisible'.
11595 (isearch-toggle-case-fold): Doc fix.
11596 (isearch-toggle-invisible): New command.
11597 (isearch-query-replace): Let-bind `search-invisible'
11598 to the value of `isearch-invisible'.
11599 (isearch-search): Use `isearch-invisible' instead of
11600 `search-invisible'. Let-bind `search-invisible'
11601 to the value of `isearch-invisible'. (Bug#11378)
11602
ab1bdce5
JL
116032013-05-30 Juri Linkov <juri@jurta.org>
11604
11605 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11606 call when `query-flag' is nil and `search-invisible' is non-nil.
11607 (Bug#11746)
11608
d6d236e2
GM
116092013-05-30 Glenn Morris <rgm@gnu.org>
11610
8accd027
GM
11611 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11612
2a8bed1c
GM
11613 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11614 (cc-require): Suppress spurious "noruntime" warnings.
11615 (cc-require-when-compile): Use fboundp, for sake of compiler.
11616
d6d236e2
GM
11617 * progmodes/cc-mode.el: Move load of cc-vars before that of
11618 cc-langs (which in turn loads cc-vars), to quieten compiler.
11619
9190b35b
SM
116202013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11621
11622 * paren.el: Simplify the code.
11623 (show-paren-mode): Always start the timer.
11624 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11625 (show-paren--overlay, show-paren--overlay-1): Rename from
11626 show-paren-overlay and show-paren-overlay-1, and initialize to an
11627 overlay rather than to nil.
11628 (show-paren-function): Misc cleanup and simplifications.
11629
4f8d1cf6
SM
116302013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * paren.el (show-paren-data-function): New hook.
11633 (show-paren--default): New function, extracted from show-paren-function.
11634 (show-paren-function): Use show-paren-data-function.
11635
02d844b5
GM
116362013-05-30 Glenn Morris <rgm@gnu.org>
11637
d209d4a9
GM
11638 * ielm.el (ielm-map, ielm-complete-symbol):
11639 Use completion-at-point rather than obsolete functions.
11640 (inferior-emacs-lisp-mode): Doc fix.
11641 Set completion-at-point-functions, rather than
11642 comint-dynamic-complete-functions.
11643
2082faa6
GM
11644 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11645 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11646 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11647
dd8620de
GM
11648 * image.el (image-animated-p): Tweak definition.
11649
ceca95b1
GM
11650 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11651 (rlogin-process-connection-type): Tweak default. Add set-after.
11652 (rlogin-host): Doc fix.
11653 (rlogin): Tweak prompt.
11654 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11655
ee9f1acc
GM
11656 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11657 * progmodes/tcl.el (inferior-tcl-mode-map):
11658 Use completion-at-point rather than obsolete alias.
11659
45ce222e
GM
11660 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11661
02d844b5
GM
11662 * minibuffer.el (read-file-name-completion-ignore-case):
11663 Move before completion--in-region, for eager macro expansion.
11664
ac44d6c1
JL
116652013-05-29 Juri Linkov <juri@jurta.org>
11666
11667 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11668 for total count of matching lines. Add `global-matches' for total
11669 count of matches. Rename `matches' to `lines' for count of
11670 matching lines. Add `matches' for count of matches.
11671 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11672 to `prev-line' for line number of prev match endpt.
11673 Increment `matches' for every match. Print the number of
11674 matching lines in the header.
11675 (occur-context-lines): Rename `lines' to `curr-line'.
11676 Rename `prev-lines' to `prev-line'. (Bug#14017)
11677
3c9c9d38
JL
116782013-05-29 Juri Linkov <juri@jurta.org>
11679
11680 * replace.el (perform-replace): Add `skip-read-only-count',
11681 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11682 Increment them for corresponding conditions and report the number
11683 of skipped occurrences in the final message. (Bug#11746)
11684 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11685 (replace-string, replace-regexp): Doc fix.
11686
33e249a2
SM
116872013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11688
8e399682
SM
11689 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11690
33e249a2 11691 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11692 prog-mode-map (bug#14504).
33e249a2 11693
f236dd84
LL
116942013-05-29 Leo Liu <sdl.web@gmail.com>
11695
11696 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11697 (octave-help): Small simplification.
11698
11699 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11700 off the highlight first.
11701
3694d13f
GM
117022013-05-29 Glenn Morris <rgm@gnu.org>
11703
03983bdc
GM
11704 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11705 Handle idlwave-last-system-routine-info-cons-cell being nil.
11706
bc74a74a
GM
11707 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11708 (idlwave-write-paths): Simplify via with-temp-buffer.
11709
8b394200
GM
11710 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11711 * emulation/cua-rect.el: Also load cua-base at run time.
11712
3694d13f
GM
11713 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11714 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11715 (cperl-imenu-on-info): Require imenu.
11716
336d7284
AM
117172013-05-28 Alan Mackenzie <acm@muc.de>
11718
11719 Handle "capitalised keywords" correctly.
33e249a2 11720 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11721
cb29c582
AG
117222013-05-28 Aidan Gauland <aidalgol@amuri.net>
11723
781b4af6 11724 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11725
690e44b2
GM
117262013-05-28 Glenn Morris <rgm@gnu.org>
11727
e658d75c
GM
11728 * vc/vc-arch.el (vc-exec-after): Declare.
11729 (vc-switches): Autoload.
11730 * vc/vc-bzr.el: No need to require vc when compiling.
11731 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11732 (vc-resynch-buffer, vc-dir-refresh): Declare.
11733 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11734 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11735 (vc-resynch-buffer): Declare.
11736 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11737 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11738 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11739 (grep-read-regexp, grep-read-files, grep-expand-template)
11740 (vc-dir-refresh): Declare.
11741 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11742 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11743 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11744 * vc/vc-mtn.el (vc-exec-after): Declare.
11745 (vc-switches): Autoload.
11746 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11747 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11748 (vc-file-tree-walk): Declare.
712b9732
GM
11749 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11750 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11751 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11752 * vc/vc-svn.el (vc-exec-after): Declare.
11753 (vc-switches, vc-setup-buffer): Autoload.
11754 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11755 Autoload.
11756 (vc-resynch-buffer): Declare.
11757
98e87fb3
GM
11758 * obsolete/fast-lock.el (byte-compile-warnings):
11759 Don't warn about obsolete features in this obsolete file.
11760
f5379553
GM
11761 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11762 Move definition before use.
11763
7a20ef83
GM
11764 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11765 (dun-unix-verbs): Remove dun-zippy.
11766 (dun-zippy): Remove function.
11767
690e44b2
GM
11768 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11769
3a52ccf7
JL
117702013-05-27 Juri Linkov <juri@jurta.org>
11771
11772 * replace.el (replace-search): New function with code moved out
11773 from `perform-replace'.
11774 (replace-highlight, replace-dehighlight): Move function definitions
11775 up closer to `replace-search'. (Bug#11746)
11776
d289938a
JL
117772013-05-27 Juri Linkov <juri@jurta.org>
11778
11779 * replace.el (perform-replace): Ignore invisible matches.
11780 In addition to checking `query-replace-skip-read-only', also
11781 filter out matches by calling `run-hook-with-args-until-failure'
11782 on `isearch-filter-predicates', and also check `search-invisible'
11783 for t or call `isearch-range-invisible'.
11784 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11785
66fc57e3
JL
117862013-05-27 Juri Linkov <juri@jurta.org>
11787
11788 * isearch.el (isearch-filter-predicates): Rename from
11789 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11790 (isearch-message-prefix): Display text from the property
11791 `isearch-message-prefix' of the currently active filters.
11792 (isearch-search): Don't compare `isearch-filter-predicate' with
11793 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11794 on `isearch-filter-predicates'. Also check `search-invisible' for t
11795 or call `isearch-range-invisible'.
11796 (isearch-filter-visible): Make obsolete.
11797 (isearch-lazy-highlight-search):
11798 Call `run-hook-with-args-until-failure' on
11799 `isearch-filter-predicates' and use `isearch-range-invisible'.
11800
11801 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11802 `isearch-filter-predicates' instead of `funcall'ing
11803 `isearch-filter-predicate'.
11804 (Info-mode): Set `Info-isearch-filter' to
11805 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11806
11807 * dired-aux.el (dired-isearch-filter-predicate-orig):
11808 Remove variable.
11809 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11810 (dired-isearch-filenames-end): Add and remove
11811 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11812 instead of changing the value of `isearch-filter-predicate'.
11813 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11814 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11815 Put property `isearch-message-prefix' to "filename " on
11816 `dired-isearch-filter-filenames'.
11817
11818 * wdired.el (wdired-change-to-wdired-mode):
11819 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11820 locally instead of changing `isearch-filter-predicate'.
11821 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11822
f1a60a0f
DG
118232013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11824
11825 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11826 return the commit hash (Bug#14459). Also set the
11827 `vc-git-detached' property.
11828 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11829 (vc-git-mode-line-string): Use the same help-echo format whether
11830 in detached mode or not, because we know the actual revision now.
11831 When in detached mode, shorten the revision to 7 chars.
11832
7f17cc40
SM
118332013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11834
11835 * emacs-lisp/easy-mmode.el (define-minor-mode):
11836 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11837 mode hook and provide a docstring.
11838
25c8401c
AM
118392013-05-27 Alan Mackenzie <acm@muc.de>
11840
11841 Remove spurious syntax-table text properties inserted by C-y.
11842 * progmodes/cc-mode.el (c-after-change): Also clear hard
11843 syntax-table property with value nil.
11844
dde84790
MA
118452013-05-27 Michael Albinus <michael.albinus@gmx.de>
11846
11847 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11848 when reading the events; the buffer layout shall not be changed.
11849
837fd9af
LL
118502013-05-27 Leo Liu <sdl.web@gmail.com>
11851
11852 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11853 New variable.
11854 (inferior-octave-directory-tracker): Automatically re-sync
11855 default-directory.
11856 (octave-help): Improve handling of 'See also'.
11857
4fd996b3
SM
118582013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11859
416f1802
SM
11860 * doc-view.el: Minor naming convention tweaks.
11861 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11862
4fd996b3
SM
11863 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11864 even if there's no `display' property yet (bug#14435).
11865
a052ef3b
EZ
118662013-05-25 Eli Zaretskii <eliz@gnu.org>
11867
4fd996b3 11868 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11869
11870 * Makefile.in (custom-deps, finder-data, autoloads)
11871 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11872 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11873 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11874
c9023370
SM
118752013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11878 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11879 Don't burp at EOB.
c9023370 11880
24d699fa
LL
118812013-05-25 Leo Liu <sdl.web@gmail.com>
11882
11883 * comint.el (comint-previous-matching-input): Do not flood the
11884 *Messages* buffer with trivial messages.
11885
17e5c0cc
SM
118862013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * progmodes/flymake.el (flymake-nop): Don't return a string.
11889 (flymake-set-at): Fix typo.
11890
11891 * simple.el (read--expression): New function, extracted from
11892 eval-expression. Set completion-at-point-functions (bug#14465).
11893 (eval-expression, eval-minibuffer): Use it.
11894
5d028165
XF
118952013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11896
11897 * progmodes/flymake.el (flymake-save-buffer-in-file)
11898 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11899 (flymake-selected-frame, flymake-log, flymake-ins-after)
11900 (flymake-set-at, flymake-get-buildfile-from-cache)
11901 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11902 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11903 Refine the doc string.
11904 (flymake-get-file-name-mode-and-masks): Reformat.
11905 (flymake-get-real-file-name-function): Fix a minor bug.
11906
7a1d7ba7
JL
119072013-05-24 Juri Linkov <juri@jurta.org>
11908
11909 * progmodes/grep.el (grep-mode-font-lock-keywords):
11910 Support =linenumber= format used by git-grep for lines with
11911 function names. (Bug#13549)
11912
650cff3d
SM
119132013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11914
11915 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11916 0 after a semi-colon; it works better for smie-auto-fill.
11917 (octave--indent-new-comment-line): New function.
11918 (octave-indent-new-comment-line): Use it (indirectly).
11919 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11920 modify comment-line-break-function.
11921
11922 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11923 (smie-setup): Use add-function to set it.
11924
9631677d
SS
119252013-05-24 Sam Steingold <sds@gnu.org>
11926
11927 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11928 argument (before the `interactive' argument).
11929
50105835
SM
119302013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 * image-mode.el (image-mode-winprops): Add winprops to
11933 image-mode-winprops-alist before running
11934 image-mode-new-window-functions.
11935 * doc-view.el (doc-view-new-window-function): Don't delay
11936 doc-view-goto-page via timers (bug#14435).
11937
57b9823e
TH
119382013-05-24 Tassilo Horn <tsdh@gnu.org>
11939
11940 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11941 (doc-view-desktop-save-buffer): New function.
11942 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11943 (desktop-buffer-mode-handlers):
11944 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11945 handler.
11946 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11947 `desktop-save-buffer' function.
11948
91aafa16
MA
119492013-05-24 Michael Albinus <michael.albinus@gmx.de>
11950
11951 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11952 (tramp-gvfs-file-name-handler): Raise a user error when
11953 `tramp-gvfs-enabled' is nil.
11954 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11955 Do not raise a user error when loading package. (Bug#14447)
11956
ec076379
MA
11957 * net/xesam.el: Move to obsolete/.
11958
db785726
GM
119592013-05-24 Glenn Morris <rgm@gnu.org>
11960
af5c7606
GM
11961 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11962
e5d1916a
GM
11963 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11964
ded62b08
GM
11965 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11966 (Info-find-node, Man-getpage-in-background): Declare.
11967
9e614a3f
GM
11968 * mail/unrmail.el (unrmail):
11969 Replace obsolete detect-coding-with-priority.
11970
892f8ca3
GM
11971 * net/socks.el (socks-split-string): Use this rather than split-string.
11972 (socks-nslookup-host): Update for above change.
11973 (dynamic-choice, s5-dynamic-choice-match)
11974 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11975 Comment out unused code.
11976
3c291973
GM
11977 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11978 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11979 (gud-tooltip-echo-area): Make obsolete.
11980 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11981
43cc956b
GM
11982 * progmodes/js.el (js--optimize-arglist): Declare.
11983
dab49a3b
GM
11984 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11985
36b9d085
GM
11986 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11987 (ediff-window-C): Declare.
11988
e354ae76
GM
11989 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11990 Tweak requires to silence compiler.
11991
b8e57bf4
GM
11992 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11993 (he-search-string, he-tried-table, he-expand-list)
11994 (he-init-string, he-string-member, he-substitute-string)
11995 (he-reset-string): Declare.
11996
db785726
GM
11997 * obsolete/options.el (list-options): Use custom-variable-p,
11998 rather than obsolete alias.
11999
b3531901
SS
120002013-05-23 Sam Steingold <sds@gnu.org>
12001
12002 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12003 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12004 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12005
bdda4c66
SM
120062013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * emacs-lisp/smie.el (smie-indent-forward-token)
12009 (smie-indent-backward-token): Handle string tokens (bug#14381).
12010
c43d45f9
TH
120112013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12012
fe1eb856
RS
12013 * ielm.el (ielm-menu): New menu.
12014 (inferior-emacs-lisp-mode): Set comment-start.
96172128 12015
fe1eb856
RS
120162013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12017
a12bf61e 12018 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
12019 Fix deactivate action.
12020
a12bf61e 12021 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 12022 Add cleveref macros.
074dd971 12023
a12bf61e 12024 * textmodes/reftex-parse.el
c43d45f9
TH
12025 (reftex-locate-bibliography-files): Accept options for
12026 bibliography commands.
a12bf61e 12027 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
12028 Add addbibresource. Basic Biblatex support.
12029
7764286e
MA
120302013-05-23 Michael Albinus <michael.albinus@gmx.de>
12031
12032 * net/tramp-gvfs.el (top):
12033 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12034 when loading package. (Bug#14447)
12035
d361bc10
GM
120362013-05-23 Glenn Morris <rgm@gnu.org>
12037
8fa23984
GM
12038 * progmodes/js.el: No need to load comint when compiling.
12039 (ring-insert, comint-send-string, comint-send-input)
12040 (comint-last-input-end, ido-chop): Declare.
12041
a5c7df1a
GM
12042 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12043 * vc/ediff-mult.el: Adjust requires.
12044 (ediff-directories-internal, ediff-directory-revisions-internal)
12045 (ediff-patch-file-internal): Declare.
12046 * vc/ediff-ptch.el: Adjust requires.
12047 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12048 (ediff-find-file): Autoload.
12049 * vc/ediff-util.el: No need to load ediff when compiling.
12050 (ediff-regions-internal): Declare.
12051 * vc/ediff-wind.el: Adjust requires.
12052 (ediff-compute-toolbar-width): Define when compiling.
12053 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12054 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12055 (dired-get-filename, dired-get-marked-files)
12056 (ediff-last-dir-patch, ediff-patch-default-directory)
12057 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12058 (ediff-patch-buffer-internal): Declare.
12059
e2aec513
GM
12060 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12061 (ispell-process, ispell-buffer-local-words, lm-summary)
12062 (lm-section-start, lm-section-end): Declare.
12063 (checkdoc-ispell-init): Simplify.
12064
e68bbd7c
GM
12065 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12066 (he-string-member, he-reset-string, he-substitute-string): Declare.
12067
7efe0991
GM
12068 * eshell/em-ls.el: Adjust requires.
12069 (eshell-glob-regexp): Declare.
f87b1284
GM
12070 * eshell/em-tramp.el: Adjust requires.
12071 (eshell-parse-command): Autoload.
12072 * eshell/em-xtra.el: Adjust requires.
12073 (eshell-parse-command): Autoload.
12074 * eshell/esh-ext.el: Adjust requires.
12075 (eshell-parse-command, eshell-close-handles): Autoload.
12076 * eshell/esh-io.el: Adjust requires.
12077 (eshell-output-filter): Autoload.
12078 * eshell/esh-util.el: No need to load tramp when compiling.
12079 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12080 Declare.
12081 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12082 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12083 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12084 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12085 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12086 * eshell/esh-opt.el, eshell/esh-proc.el:
12087 * eshell/esh-var.el: Adjust requires.
12088 * eshell/eshell.el: Do not require esh-util twice.
12089 (eshell-add-input-to-history): Declare.
12090 (eshell-command): Check history module is active before using it.
12091
d361bc10
GM
12092 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12093
85d090a9
LL
120942013-05-22 Leo Liu <sdl.web@gmail.com>
12095
12096 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12097
5d0acd9d
MA
120982013-05-22 Michael Albinus <michael.albinus@gmx.de>
12099
12100 * autorevert.el (auto-revert-notify-add-watch)
12101 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12102 it indicates changes in file modification time.
12103
0cdffd7d
GM
121042013-05-22 Glenn Morris <rgm@gnu.org>
12105
ca5995ec
GM
12106 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12107 Always delete the autoloaded function from the noruntime and
12108 unresolved functions lists.
12109
6450907e
GM
12110 * allout.el: No need to load epa, epg, overlay when compiling.
12111 (epg-context-set-passphrase-callback, epg-list-keys)
12112 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12113 (epg-key-user-id-list): Declare.
12114
9c6906f6
GM
12115 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12116 (viper-set-parsing-style-toggling-macro)
12117 (viper-set-emacs-state-searchstyle-macros):
12118 Use called-interactively-p on Emacs.
12119 (viper-looking-back): Make it an obsolete alias. Update callers.
12120 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12121 Use looking-back rather than viper-looking-back.
12122 (viper-tmp-insert-at-eob, viper-enlarge-region)
12123 (viper-read-string-with-history, viper-register-to-point)
12124 (viper-append-to-register, viper-change-state-to-vi)
12125 (viper-backward-char-carefully, viper-forward-char-carefully)
12126 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12127 (viper-change-state-to-emacs): Declare.
12128 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12129 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12130 * emulation/viper-mous.el: Do not load viper-cmd.
12131 (viper-backward-char-carefully, viper-forward-char-carefully)
12132 (viper-forward-word, viper-adjust-window): Declare.
12133
5f70c169
GM
12134 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12135
b1b7f300
GM
12136 * progmodes/idlw-help.el (idlwave-help-fontify):
12137 Use called-interactively-p.
12138
f6ebbb46
GM
12139 * term/w32console.el (w32-get-console-codepage)
12140 (w32-get-console-output-codepage): Declare.
12141
0cdffd7d
GM
12142 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12143 Remove unnecessary declarations.
12144 (dframe-message): Doc fix.
12145
12146 * info.el (dframe-select-attached-frame, dframe-current-frame):
12147 Declare.
12148
12149 * speedbar.el (speedbar-message): Make it an obsolete alias.
12150 Update all callers.
12151 (speedbar-with-attached-buffer)
12152 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12153 (speedbar-with-writable): Use backquote.
12154 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12155 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12156 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12157 rather than speedbar- aliases.
12158 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12159 (speedbar-make-specialized-keymap, speedbar-insert-button)
12160 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12161 (speedbar-do-function-pointer): Declare.
12162 (rmail-speedbar-button, rmail-speedbar-find-file)
12163 (rmail-speedbar-move-message):
12164 Use dframe-with-attached-buffer rather than speedbar- alias.
12165 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12166 (dframe-message, speedbar-make-specialized-keymap)
12167 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12168 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12169 (speedbar-insert-button, dframe-select-attached-frame)
12170 (dframe-maybee-jump-to-attached-frame)
12171 (speedbar-change-initial-expansion-list)
12172 (speedbar-previously-used-expansion-list-name): Declare.
12173 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12174 Use dframe-message, dframe-with-attached-buffer rather than
12175 speedbar- aliases.
12176 (gud-sentinel): Silence compiler.
12177 * progmodes/vhdl-mode.el (speedbar-refresh)
12178 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12179 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12180 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12181 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12182 (speedbar-file-lists, speedbar-make-tag-line)
12183 (speedbar-line-directory, speedbar-goto-this-file)
12184 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12185 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12186 (speedbar-make-button, speedbar-reset-scanners)
12187 (speedbar-files-item-info, speedbar-line-text)
12188 (speedbar-find-file-in-frame, speedbar-set-timer)
12189 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12190 (speedbar-with-writable): Do not (re)define it.
12191 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12192 rather than speedbar- alias.
12193
ee44b62a
LL
121942013-05-21 Leo Liu <sdl.web@gmail.com>
12195
12196 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12197 menu items.
12198 (octave-mode): Tweak fill-nobreak-predicate.
12199 (inferior-octave-startup): Check process to avoid infinite loop.
12200 (inferior-octave): Pop to buffer first to show abornmal process
12201 exit information.
12202
640f050f
GM
122032013-05-21 Glenn Morris <rgm@gnu.org>
12204
79458038
GM
12205 * printing.el (pr-menu-bar): Define when compiling.
12206
9cc3e83f
LL
122072013-05-21 Leo Liu <sdl.web@gmail.com>
12208
12209 * progmodes/octave.el (octave-auto-fill): Remove.
12210 (octave-indent-new-comment-line): Improve.
12211 (octave-mode): Use auto fill mode through
4f405069 12212 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12213 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12214 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12215 (octave-help): Show parent directory.
12216
f440830d
GM
122172013-05-21 Glenn Morris <rgm@gnu.org>
12218
12219 * files.el (dired-unmark):
12220 * progmodes/gud.el (gdb-input): Update declarations.
12221
12222 * calculator.el (electric, ehelp): No need to load when compiling.
12223 (Electric-command-loop, electric-describe-mode): Declare.
12224
12225 * doc-view.el (doc-view-current-converter-processes): Move before use.
12226
12227 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12228 Move MODE-set-explicitly definition before use.
12229
12230 * international/mule-diag.el (mule-diag):
12231 Don't use obsolete window-system-version.
12232
12233 * mail/feedmail.el (smtpmail): No need to load when compiling.
12234 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12235
12236 * mail/mail-utils.el (rfc822): No need to load when compiling.
12237 (rfc822-addresses): Autoload it.
12238 (mail-strip-quoted-names): Trivial simplification.
12239
12240 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12241 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12242
12243 * net/snmp-mode.el (tempo): Don't duplicate requires.
12244
12245 * progmodes/prolog.el (info): No need to load when compiling.
12246 (comint): Require before shell requires it.
12247 (Info-goto-node): Autoload it.
12248 (Info-follow-nearest-node): Declare.
12249 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12250
12251 * textmodes/artist.el (picture-mode-exit): Declare.
12252
12253 * textmodes/reftex-parse.el (reftex-parse-from-file):
12254 Trivial rewrite so the compiler can parse it better.
12255
b4da2cbb
LL
122562013-05-20 Leo Liu <sdl.web@gmail.com>
12257
12258 * progmodes/octave.el (octave-help-mode-map)
12259 (octave-help-mode-finish-hook): New variables.
12260 (octave-help-mode, octave-help-mode-finish): New functions.
12261 (octave-help): Use octave-help-mode.
12262
33c0f65b
GM
122632013-05-20 Glenn Morris <rgm@gnu.org>
12264
12265 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12266
1a0a0a8a
DG
122672013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12268
12269 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12270 start at point, so that expansion starting right after opening
12271 slash in a regexp is recognized.
12272 (ruby-syntax-before-regexp-re): New defvar, extracted from
12273 ruby-syntax-propertize-function. Since the value of this regexp
12274 is looked up at runtime now, we should be able to turn
12275 `ruby-syntax-methods-before-regexp' into a defcustom later.
12276 (ruby-syntax-propertize-function): Split regexp matching into two
12277 parts, for opening and closing slashes. That allows us to skip
12278 over string interpolations and support multiline regexps.
12279 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12280 for them, which calls `ruby-syntax-propertize-expansion'.
12281 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12282 call to `ruby-syntax-propertize-function'.
12283 (ruby-syntax-propertize-expansion): Extracted from
12284 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12285 (ruby-syntax-propertize-percent-literal): Leave point right after
12286 the percent symbol, so that the expression expansion rule can
12287 propertize the contents.
462388b6
DG
12288 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12289 heredoc openers.
12290 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12291
c1a6c0a4
JL
122922013-05-18 Juri Linkov <juri@jurta.org>
12293
12294 * man.el (Man-default-man-entry): Remove `-' from the end
12295 of the default value. (Bug#14400)
12296
8051fccd
GM
122972013-05-18 Glenn Morris <rgm@gnu.org>
12298
12299 * comint.el (comint-password-prompt-regexp):
12300 Allow "password for XXX" where XXX contains colons (eg https://...).
12301
5e80b74f
LL
123022013-05-18 Leo Liu <sdl.web@gmail.com>
12303
12304 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12305 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12306 (octave-source-directories): Don't check process.
12307 (octave-source-directories, octave-find-definition): Doc fix.
12308
521a54c5
GM
123092013-05-18 Glenn Morris <rgm@gnu.org>
12310
86a94b05
GM
12311 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12312 Remove backspace/delete bindings. (Bug#14392)
12313
521a54c5
GM
12314 * cus-dep.el (custom-make-dependencies): Sort the output.
12315 (custom-versions-load-alist): Convert comment to doc.
12316
42caeb89
LL
123172013-05-17 Leo Liu <sdl.web@gmail.com>
12318
12319 * newcomment.el (comment-search-backward): Stricter in finding
12320 comment start. (Bug#14303)
12321
12322 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12323 (octave-comment-start-skip): Properly anchored.
12324
e219dd97
LL
123252013-05-17 Leo Liu <sdl.web@gmail.com>
12326
fe1eb856
RS
12327 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12328 Clean up when turned off. (Bug#14395)
e219dd97
LL
12329 (smie--highlight-matching-block-overlay): No longer buffer-local.
12330 (smie-highlight-matching-block): Adjust.
12331
dc5dcb4b
PE
123322013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12333
12334 Doc string fix for "nanoseconds" (Bug#14406).
12335 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12336 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12337
1db165f0
JB
123382013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12339
12340 * calc/calc-units.el (math-extract-units): Preserve powers
12341 of units.
12342
c7a8fcac
LL
123432013-05-17 Leo Liu <sdl.web@gmail.com>
12344
12345 * subr.el (delete-consecutive-dups): New function.
12346 * ido.el (ido-set-matches-1): Use it.
12347 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12348 * ido.el (ido-remove-consecutive-dups): Remove.
12349
f678b18a
SM
123502013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12351
12352 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12353 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12354 regexp-opt's `words'.
12355
ebfe68e8
LL
123562013-05-16 Leo Liu <sdl.web@gmail.com>
12357
12358 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12359 (smie--highlight-matching-block-overlay)
12360 (smie--highlight-matching-block-lastpos)
12361 (smie--highlight-matching-block-timer): New variables.
12362 (smie-highlight-matching-block): New function.
12363 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12364 (smie-setup): Conditionally enable smie-blink-matching-open.
12365
bc8bc17d
WS
123662013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12367
12368 Sync with upstream verilog-mode r840.
12369 * progmodes/verilog-mode.el (verilog-mode-version)
12370 (verilog-mode-release-date): Update.
12371 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12372 (verilog-sig-tieoff): Fix string error on
12373 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12374 (verilog-read-decls): Fix parameters confusing
12375 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12376
df065a0b
EZ
123772013-05-16 Eli Zaretskii <eliz@gnu.org>
12378
12379 * subr.el (reveal-filename): New function.
12380
12381 * loadup.el: Compute Emacs executable versions on MS-Windows,
12382 where executables have the .exe extension. Add a hard link
12383 emacs-XX.YY.ZZ.exe on MS-Windows.
12384
12385 * Makefile.in (XARGS_LIMIT): New variable.
12386 (custom-deps, finder-data, autoloads)
12387 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12388 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12389 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12390 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12391
2d4bf34b
LL
123922013-05-16 Leo Liu <sdl.web@gmail.com>
12393
12394 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12395 (octave-mode-menu, octave-mode-map): Remove its uses.
12396
6b9c2d85
RZ
123972013-05-16 Reto Zimmermann <reto@gnu.org>
12398
12399 Sync with upstream vhdl mode v3.34.2.
12400 * progmodes/vhdl-mode.el: Use `push' throughout.
12401 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12402 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12403 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12404 (vhdl-actual-generic-name): New option to derive actual generic name.
12405 (vhdl-port-paste-signals): Replace formal by actual generics.
12406 (vhdl-beautify): New name for old group vhdl-align. Update users.
12407 (vhdl-beautify-options): New option.
12408 (vhdl-last-input-event): New compat alias. Use throughout.
12409 (vhdl-goto-line): Replace user level function `goto-line'.
12410 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12411 vhdl-fix-statement-buffer.
12412 (vhdl-create-mode-menu): Add some entries.
12413 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12414 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12415 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12416 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12417 to force statements on one line.
12418 (vhdl-remove-trailing-spaces-region):
12419 New, split from vhdl-remove-trailing-spaces.
12420 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12421 Respect vhdl-beautify-options.
12422 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12423 (vhdl-update-sensitivity-list): Not add with index if exists without.
12424 Not include array index with signal. Ignore keywords in comments.
12425 (vhdl-get-visible-signals): Regexp tweaks.
12426 (vhdl-template-component-inst): Handle empty library.
12427 (vhdl-template-type): Add template for 'enum' type.
12428 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12429 Use vhdl-replace-string.
12430 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12431 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12432 (vhdl-speedbar-initialize): Update for above name change.
12433 (vhdl-compose-wire-components): Fix in handling of constants.
12434 (vhdl-error-regexp-emacs-alist): New variable.
12435 (vhdl-error-regexp-add-emacs): New function;
12436 adds support for new compile.el (Emacs 22+)
12437 (vhdl-generate-makefile-1): Change target order for single lib. units.
12438 Allow use of absolute file names.
12439
9df4ec5e
LL
124402013-05-16 Leo Liu <sdl.web@gmail.com>
12441
12442 * simple.el (prog-indent-sexp): Indent enclosing defun.
12443
f5ba00a6
GM
124442013-05-15 Glenn Morris <rgm@gnu.org>
12445
ed8be7ff
GM
12446 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12447 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12448 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12449 (whitespace-highlight): Move to whitespace group.
12450
12451 * comint.el (comint-source):
12452 * pcmpl-linux.el (pcmpl-linux):
12453 * shell.el (shell-faces):
12454 * eshell/esh-opt.el (eshell-opt):
12455 * international/ccl.el (ccl): Remove empty custom groups.
12456
12457 * completion.el (dynamic-completion-mode):
12458 * jit-lock.el (jit-lock-debug-mode):
12459 * minibuffer.el (completion-in-region-mode):
12460 * type-break.el (type-break-mode-line-message-mode)
12461 (type-break-query-mode):
12462 * emulation/tpu-edt.el (tpu-edt-mode):
12463 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12464 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12465 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12466
12467 * term/xterm.el (xterm): Change parent group to terminals.
12468
12469 * master.el (master): Remove empty custom group.
12470 (master-mode): Remove unused :group argument.
12471 * textmodes/refill.el (refill): Remove empty custom group.
12472 (refill-mode): Remove unused :group argument.
12473
12474 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12475
82a7c41b
GM
12476 * cus-dep.el: Provide a feature.
12477 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12478 Don't mistakenly ignore files whose basenames match a basename
12479 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12480 Add a fallback method for getting :group.
f5ba00a6 12481
6d65486d
JL
124822013-05-15 Juri Linkov <juri@jurta.org>
12483
da547b32
JL
12484 * isearch.el (isearch-char-by-name): Rename from
12485 `isearch-insert-char-by-name'. Doc fix.
12486 (isearch-forward): Mention `isearch-char-by-name' in
12487 the docstring. (Bug#13348)
12488
6d65486d
JL
12489 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12490 `exit-minibuffer' instead of
12491 `isearch-nonincremental-exit-minibuffer'.
12492 (isearch-edit-string): Remove mention of
12493 `isearch-nonincremental-exit-minibuffer' from docstring.
12494 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12495 (isearch-forward-exit-minibuffer)
12496 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12497
c9990474
SM
124982013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12499
6e911150
SM
12500 * loadup.el: Just use unversioned DOC.
12501
c9990474
SM
12502 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12503 literals as extending to EOB.
12504 (nxml-last-fontify-end): Remove unused variable.
12505 (nxml-after-change1): Use with-silent-modifications.
12506 (nxml-extend-after-change-region): Simplify.
12507 (nxml-extend-after-change-region1): Remove function.
12508 (nxml-after-change1): Don't adjust for dependent regions.
12509 (nxml-fontify-matcher): Simplify.
12510 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12511 (xmltok-add-dependent): Remove function.
12512 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12513 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12514 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12515 unclosed <[[, <?, comment, and other literals as extending to EOB.
12516 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12517 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12518 Remove functions.
12519 (rng-do-some-validation-1): Don't mark dependent regions.
12520 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12521 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12522 (nxml-clear-dependent-regions): Remove functions.
12523 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12524 (nxml-ensure-scan-up-to-date):
12525 Don't clear&mark dependent regions.
12526
e3772e98
LL
125272013-05-15 Leo Liu <sdl.web@gmail.com>
12528
c9990474
SM
12529 * progmodes/octave.el (octave-goto-function-definition):
12530 Improve and fix callers.
e3772e98 12531
5ac2eb34
SM
125322013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12533
c46c57b0
SM
12534 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12535 the setter (bug#14387).
12536
5ac2eb34
SM
12537 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12538 surrounding group (bug#14402).
12539
180ed218
JL
125402013-05-14 Juri Linkov <juri@jurta.org>
12541
12542 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12543 (Bug#14390)
12544
0ac0fecb
GM
125452013-05-14 Glenn Morris <rgm@gnu.org>
12546
12547 * progmodes/f90.el (f90-imenu-generic-expression):
12548 Fix typo in 2013-05-08 change. (Bug#14402)
12549
2e78e6a7
JPG
125502013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12551
5ac2eb34
SM
12552 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12553 Remove signals for which replies are never received.
2e78e6a7 12554
53267cca
JPG
125552013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12556
12557 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12558 (gdb-handler-alist, gdb-handler-number): Remove variables.
12559 (gdb-handler-list): New variable.
12560 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12561 (gdb-pending-handler-p, gdb-handle-reply)
12562 (gdb-remove-all-pending-triggers): New functions.
12563 (gdb-discard-unordered-replies): New defcustom.
12564 (gdb-handler): New defstruct.
12565 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12566 instead of gdb-pending-triggers. Update docstring.
12567 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12568 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12569 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12570 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12571 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12572 (gdb-frame-handler): Pending triggers are now automatically managed.
12573 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12574 Remove argument.
12575 (gdb-input): Automatically handles pending triggers. Update docstring.
12576 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12577 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12578 Update comments.
12579 (gdb-done-or-error): Now use gdb-handle-reply.
12580
d04ce803
JPG
125812013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12582
12583 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12584 gdb-debug-log.
12585
0114073a
GM
125862013-05-14 Glenn Morris <rgm@gnu.org>
12587
12588 * subr.el (user-emacs-directory-warning): New option.
12589 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12590
4d25fd7e
LL
125912013-05-14 Leo Liu <sdl.web@gmail.com>
12592
12593 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12594 during redisplay.
12595 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12596 (octave-font-lock-texinfo-comment): Fix invalid search bound
12597 error: wrong side of point.
4d25fd7e 12598
27c8b6eb
GM
125992013-05-14 Glenn Morris <rgm@gnu.org>
12600
61aaeb01
GM
12601 * progmodes/flymake.el (flymake-xml-program): New option.
12602 (flymake-xml-init): Use it.
12603
5bf90bc5
GM
12604 * term/xterm.el: Provide a feature.
12605
12606 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12607
f4c7dfd2
GM
126082013-05-13 Glenn Morris <rgm@gnu.org>
12609
12610 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12611 Add compat aliases as a hack workaround. (Bug#14384)
12612
2aeb3a1d
LL
126132013-05-13 Leo Liu <sdl.web@gmail.com>
12614
b0e069c2
LL
12615 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12616 ###, and %!.
f5a9432f
LL
12617 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12618 C-M-q.
b0e069c2
LL
12619 (octave-comment-start-skip): Include %!.
12620 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12621
30ea8374
LL
126222013-05-12 Leo Liu <sdl.web@gmail.com>
12623
12624 * progmodes/octave.el (inferior-octave-startup): Store the value
12625 of __octave_srcdir__ for octave-source-directories.
12626 (inferior-octave-check-process): New function refactored out of
12627 inferior-octave-send-list-and-digest.
12628 (octave-source-directories)
12629 (octave-find-definition-filename-function): New variables.
12630 (octave-source-directories)
12631 (octave-find-definition-default-filename): New functions.
12632 (octave-find-definition): Improve to find functions implemented in C++.
12633
472a3834
GM
126342013-05-12 Glenn Morris <rgm@gnu.org>
12635
12636 * calendar/diary-lib.el (diary-outlook-format-1):
12637 Don't include dayname in the output. (Bug#14349)
12638
3191b52f
GM
126392013-05-11 Glenn Morris <rgm@gnu.org>
12640
0060ac73
GM
12641 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12642
3191b52f
GM
12643 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12644 Treat cc-provide like provide.
12645
e065ba74
KR
126462013-05-11 Kevin Ryde <user42@zip.com.au>
12647
12648 * cus-dep.el (custom-make-dependencies):
12649 Use generated-autoload-load-name for the sake of files such
12650 such cedet/semantic/bovine/c.el, where the base file name
12651 is not in load-path. (Bug#5277)
12652
36f84c37
GM
126532013-05-11 Glenn Morris <rgm@gnu.org>
12654
12655 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12656 Provide features.
12657
c8730c3a
LL
126582013-05-11 Leo Liu <sdl.web@gmail.com>
12659
12660 * progmodes/octave.el (octave-indent-comment): Improve.
12661 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12662 (octave-eldoc-function-signatures, octave-eldoc-function):
12663 New functions.
c8730c3a
LL
12664 (octave-mode, inferior-octave-mode): Add eldoc support.
12665
212e29f2
RS
126662013-05-11 Richard Stallman <rms@gnu.org>
12667
12668 * epa.el (epa-decrypt-file): Take output file name as argument
12669 and read it using `interactive'.
12670
083fe0d7
LL
126712013-05-11 Leo Liu <sdl.web@gmail.com>
12672
12673 * progmodes/octave.el (octave-beginning-of-line)
12674 (octave-end-of-line): Check before using up-list because it jumps
12675 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12676 (octave-indent-comment): New function.
12677 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12678 (octave-begin-keywords, octave-end-keywords)
12679 (octave-reserved-words, octave-smie-bnf-table)
12680 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12681
8582e4c4
GM
126822013-05-11 Glenn Morris <rgm@gnu.org>
12683
f20def1f
GM
12684 * faces.el (internal-face-x-get-resource):
12685 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12686 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12687 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12688 Fix declarations.
f20def1f 12689
445f95e2
GM
12690 * calc/calc-menu.el: Make it loadable in isolation.
12691
12692 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12693 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12694 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12695 (eudc-bbdb-query-internal): Require 'bbdb.
12696
99fb2756
GM
12697 * lpr.el (lpr-headers-switches):
12698 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12699
12700 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12701
0da7ad96
GM
12702 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12703
8582e4c4
GM
12704 * term.el (term-set-escape-char): Make it idempotent.
12705
f71c50d0
LL
127062013-05-10 Leo Liu <sdl.web@gmail.com>
12707
5ac2eb34
SM
12708 * progmodes/octave.el (inferior-octave-completion-table):
12709 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12710 completion due to bug#11906.
12711 (octave-beginning-of-defun): Re-write to be more general.
12712
d5837773
GM
127132013-05-10 Glenn Morris <rgm@gnu.org>
12714
12715 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12716
027c0f75
SM
127172013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * comint.el (comint-redirect-send-command-to-process): Use :around
12720 rather than :override for comint-redirect-filter.
12721 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12722 Call it instead of comint-redirect-original-filter-function (which
12723 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12724
4465bfb4
JD
127252013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12726
12727 * frame.el (display-monitor-attributes-list): Add NS case.
12728 (ns-display-monitor-attributes-list): Declare.
12729
2d809ffa 127302013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12731
12732 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12733
e54eeb9b
GM
127342013-05-09 Glenn Morris <rgm@gnu.org>
12735
56cd351d
GM
12736 * international/fontset.el (vertical-centering-font-regexp):
12737 Set standard-value.
12738
d84b6108
GM
12739 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12740
a931698a
GM
12741 * bookmark.el (bookmark-search-delay):
12742 * cus-start.el (vertical-centering-font-regexp):
12743 * ps-mule.el (ps-mule-font-info-database-default):
12744 * ps-print.el (ps-default-fg, ps-default-bg):
12745 * type-break.el (type-break-good-break-interval):
12746 * whitespace.el (whitespace-indentation-regexp)
12747 (whitespace-space-after-tab-regexp):
12748 * emacs-lisp/testcover.el (testcover-1value-functions)
12749 (testcover-noreturn-functions, testcover-progn-functions)
12750 (testcover-prog1-functions):
12751 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12752 * eshell/em-glob.el (eshell-glob-translate-alist):
12753 * play/tetris.el (tetris-tty-colors):
12754 * progmodes/cpp.el (cpp-face-default-list):
12755 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12756 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12757 (idlwave-help-browser-generic-args):
12758 * progmodes/make-mode.el (makefile-special-targets-list):
12759 * progmodes/python.el (python-shell-virtualenv-path):
12760 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12761 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12762 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12763 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12764 * textmodes/reftex-vars.el (reftex-format-label-function):
12765 * textmodes/remember.el (remember-diary-file): Fix custom types.
12766
e54eeb9b
GM
12767 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12768 Add :version.
12769
455851dd
LL
127702013-05-09 Leo Liu <sdl.web@gmail.com>
12771
12772 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12773 Restore file completion. (Bug#14300)
455851dd
LL
12774 (inferior-octave-startup): Fix incorrect highlighting for the
12775 first prompt.
12776
a9e4425b
SM
127772013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12778
12779 * progmodes/ruby-mode.el: First cut at SMIE support.
12780 (ruby-use-smie): New var.
12781 (ruby-smie-grammar): New constant.
12782 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12783 (ruby-smie--forward-token, ruby-smie--backward-token)
12784 (ruby-smie-rules): New functions.
12785 (ruby-mode-variables): Setup SMIE if applicable.
12786
060ca408
EZ
127872013-05-08 Eli Zaretskii <eliz@gnu.org>
12788
12789 * simple.el (line-move-visual): Signal beginning/end of buffer
12790 only if vertical-motion moved less than it was requested. Avoids
12791 silly incorrect error messages when there are display strings with
12792 multiple newlines at EOL.
12793
1d5963cc
SM
127942013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12795
12796 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12797 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12798 (prolog-char-quote-workaround):
12799 * progmodes/cperl-mode.el (cperl-under-as-char):
12800 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12801 Mark as obsolete.
12802 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12803 their declaration.
12804 (vhdl-mode-syntax-table-init): Remove.
12805
c9990474
SM
12806 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12807 last change.
1d5963cc
SM
12808
12809 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12810 syntax for "_".
12811 (ld-script-font-lock-keywords):
12812 Change regexps to use things like \_< and \_>.
12813
12814 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12815 Change all regexps to use things like \_< and \_>.
12816
12817 * progmodes/autoconf.el (autoconf-definition-regexp)
12818 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12819 Handle a _ with symbol syntax.
12820 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12821
c9990474
SM
12822 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12823 Consolidate declaration.
1d5963cc
SM
12824 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12825 the declaration.
12826 (ada-create-syntax-table): Remove.
12827 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12828 already has the right syntax nowadays.
12829 (ada-goto-next-word): Don't change the syntax of "_".
12830
12831 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12832 with-wrapper-hook.
12833
72d3cfca
SS
128342013-05-08 Sam Steingold <sds@gnu.org>
12835
12836 * thingatpt.el (thing-at-point): Accept optional second argument
12837 NO-PROPERTIES to strip the text properties from the return value.
12838 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12839 to `thing-at-point' instead of stripping the properties ourselves.
12840 Also, when `thing-at-point' fails to find a url, prepend "http://"
12841 to the filename at point on the assumption that the user is
12842 pointing at something like gnu.org/gnu.
12843
5cb15713
JB
128442013-05-08 Juanma Barranquero <lekktu@gmail.com>
12845
12846 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12847 * faces.el (crm-separator):
12848 Silence byte-compiler.
12849
12850 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12851 (tool-bar-map): Remove unneeded defvars.
12852
ea78b95b
LL
128532013-05-08 Leo Liu <sdl.web@gmail.com>
12854
12855 Re-work a fix for bug#10994 based on Le Wang's patch.
12856 * ido.el (ido-remove-consecutive-dups): New helper.
12857 (ido-completing-read): Use it.
12858 (ido-chop): Revert fix for bug#10994.
12859
dc7466df
AS
128602013-05-08 Adam Spiers <emacs@adamspiers.org>
12861
12862 * cus-edit.el (custom-save-variables):
12863 Pretty-print long values. (Bug#14187)
12864
9ecf672a
GM
128652013-05-08 Glenn Morris <rgm@gnu.org>
12866
12867 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12868 (m4-mode-syntax-table): Init in the defvar.
12869 (m4-mode-abbrev-table): Let define-derived-mode define it.
12870
3f555be8
TT
128712013-05-08 Tom Tromey <tromey@redhat.com>
12872
12873 * progmodes/m4-mode.el (m4-mode-syntax-table):
12874 Do not treat "_" as word constituent. (Bug#14167)
12875
7cc8ae06
GM
128762013-05-07 Glenn Morris <rgm@gnu.org>
12877
4f58bc06
GM
12878 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12879 Remove explicit eshell-isearch-cancel-map.
12880
7cc8ae06
GM
12881 * progmodes/f90.el (f90-smart-end-names): New option.
12882 (f90-smart-end): Doc fix.
12883 (f90-end-block-optional-name): New constant.
12884 (f90-block-match): Respect f90-smart-end-names.
12885
ceb57e59
SM
128862013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12889 about implicit semi-colons (bug#14218).
12890
4e3f9230
YM
128912013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12892
12893 * frame.el (display-monitor-attributes-list)
12894 (frame-monitor-attributes): New functions.
12895
203a5572
LL
128962013-05-06 Leo Liu <sdl.web@gmail.com>
12897
12898 * progmodes/octave.el (octave-syntax-propertize-function): Change
12899 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12900 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12901 (octave-completion-at-point): Rename from
203a5572
LL
12902 octave-completion-at-point-function.
12903 (inferior-octave-directory-tracker): Robustify.
12904 (octave-text-functions): Remove and fix its uses. No such things
12905 any more.
12906
ee6cff99
SM
129072013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12908
12909 * emacs-lisp/trace.el (trace--display-buffer): New function.
12910 (trace-make-advice): Use it.
12911
32985194
JL
129122013-05-06 Juri Linkov <juri@jurta.org>
12913
12914 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12915 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12916 Doc fix.
12917 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12918 in the help string. (Bug#12985)
12919
a1c700de
KD
129202013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12921
12922 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12923
c67c0839
SM
129242013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12925
323885fd
SM
12926 * progmodes/perl-mode.el: Add support for here documents.
12927 (perl-syntax-propertize-function): Match here-doc markers.
12928 (perl-syntax-propertize-special-constructs): Find their end.
12929 (perl-imenu-generic-expression): Use [:alnum:].
12930
c67c0839
SM
12931 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12932 (advice--add-function): Refresh the advice if already present
12933 (bug#14317).
12934
d491e7a8
IA
129352013-05-06 Ivan Andrus <darthandrus@gmail.com>
12936
12937 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12938
ddf9925e
GM
129392013-05-06 Glenn Morris <rgm@gnu.org>
12940
7cc3af27
GM
12941 * w32-fns.el (w32-charset-info-alist): Declare.
12942
16e343d6
GM
12943 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12944 of its defcustom properties.
12945 (eshell-cmpl-initialize): No need to load pcomplete.
12946
7d889a47
GM
12947 * generic-x.el: No need to require comint when compiling.
12948
ddf9925e
GM
12949 * net/eudc-export.el: Make it loadable without bbdb.
12950 (top-level): Use require rather than load-library.
12951 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12952 (eudc-batch-export-records-to-bbdb)
12953 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12954 Require bbdb.
12955
1e2c18df
SM
129562013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12959 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12960 some tweaks, instead.
12961
02502a5f
LL
129622013-05-05 Leo Liu <sdl.web@gmail.com>
12963
12964 * progmodes/octave.el (octave-font-lock-keywords)
12965 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12966 (inferior-octave-send-list-and-digest): Improve error message.
12967 (octave-mode, inferior-octave-mode): Use setq-local.
12968 (octave-help): Set info-lookup-mode.
12969
0dc04f42
RS
129702013-05-05 Richard Stallman <rms@gnu.org>
12971
6c54491c
RS
12972 * vc/compare-w.el (compare-windows-whitespace):
12973 Treat no-break space as whitespace.
12974
0dc04f42
RS
12975 * mail/rmailsum.el (rmail-summary-rmail-update):
12976 Detect empty summary and don't change selected message.
12977 (rmail-summary-goto-msg): Likewise.
12978
df8f35df
RS
12979 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12980 Doc fixes, rename args.
12981
5356e1a3
AM
129822013-05-05 Alan Mackenzie <acm@muc.de>
12983
12984 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12985
d44014cb
JL
129862013-05-05 Juri Linkov <juri@jurta.org>
12987
12988 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12989 to not add the length of the summary segment to the return value.
12990 (Bug#14125)
12991
c129b51f
LL
129922013-05-05 Leo Liu <sdl.web@gmail.com>
12993
12994 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12995 (inferior-octave-output-filter): Remove.
12996 (octave-send-region, inferior-octave-startup): Fix callers.
12997 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12998 (octave-binary-file-extensions): New user variable.
12999 (octave-find-definition): Confirm if opening binary files.
13000 (octave-help-file): Use octave-find-definition to get the binary
13001 confirmation.
13002 (octave-help): Adjust for octave-help-file change.
13003
aa7dab97
SM
130042013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13005
13006 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13007 Merge the two entries that handle function definitions.
13008 (pascal--syntax-propertize): New const.
13009 (pascal-mode): Use it. Use setq-local.
13010
fd3a9a6b
GM
130112013-05-04 Glenn Morris <rgm@gnu.org>
13012
13013 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13014 (diary-from-outlook): Respect diary-from-outlook-function.
13015
30c7e542
SM
130162013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13017
13018 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13019 Move the declaration from C.
13020 (read-minibuffer, eval-minibuffer): Move from C.
13021 (completion-setup-function): Avoid minibuffer-completion-contents.
13022
b54f978b
LL
130232013-05-03 Leo Liu <sdl.web@gmail.com>
13024
13025 * progmodes/octave.el (octave-font-lock-keywords): Do not
13026 dehighlight 'end' in comments or strings.
30c7e542
SM
13027 (octave-completing-read, octave-goto-function-definition):
13028 New helpers.
d4d0f9b3
LL
13029 (octave-help-buffer): New user variable.
13030 (octave-help-file, octave-help-function): New button types.
13031 (octave-help): New command and bind it to C-h ;.
13032 (octave-find-definition): New command and bind it to M-.
d74a1581 13033 (user-error): Alias to error if not defined.
b54f978b 13034
27135018
LL
130352013-05-02 Leo Liu <sdl.web@gmail.com>
13036
13037 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13038 for \. (bug#14332)
13039 (octave-font-lock-keywords): Include [ and {.
13040
0d634d3a
LL
130412013-05-02 Leo Liu <sdl.web@gmail.com>
13042
13043 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13044 (inferior-octave): Remove calling comint-mode and return the buffer.
13045 (inferior-octave-startup): Cosmetic changes.
13046
b4c8295e
LL
130472013-05-02 Leo Liu <sdl.web@gmail.com>
13048
30c7e542
SM
13049 * progmodes/octave.el (octave-syntax-propertize-function):
13050 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 13051
f12ad6ec
GM
130522013-05-02 Glenn Morris <rgm@gnu.org>
13053
13054 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13055 * desktop.el (vc-dir-mode): Just autoload it here.
13056
30cac1e0
AM
130572013-05-02 Alan Mackenzie <acm@muc.de>
13058
13059 Eliminate variable c-standard-font-lock-fontify-region-function.
13060 * progmodes/cc-mode.el
13061 (c-standard-font-lock-fontify-region-function): Remove.
13062 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13063
d8ef28b1
LL
130642013-05-01 Leo Liu <sdl.web@gmail.com>
13065
2640d52e 13066 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 13067 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 13068 variables were removed from Octave in 2007.
d8ef28b1
LL
13069 (inferior-octave-startup): Fix uses.
13070 (comint-line-beginning-position): Remove compatibility code for
13071 emacs 21.
13072
ac63ec89
JL
130732013-05-01 Juri Linkov <juri@jurta.org>
13074
13075 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13076
9e9be37c
JL
130772013-05-01 Juri Linkov <juri@jurta.org>
13078
13079 * comint.el (comint-previous-matching-input): Don't print message
13080 "History item: %d" when `isearch-mode' is active.
13081 (comint-history-isearch-message): Print message "History item: %d"
13082 when `comint-input-ring-index' is not empty and this function is
13083 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13084
9b92c13b
LL
130852013-05-01 Leo Liu <sdl.web@gmail.com>
13086
13087 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13088 definitions. Use completion-at-point to insert keywords.
13089 (octave-abbrev-start): Remove.
13090 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13091
b12d33d7
LL
130922013-04-30 Leo Liu <sdl.web@gmail.com>
13093
13094 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13095 change.
13096
3d1c39fa
AM
130972013-04-30 Alan Mackenzie <acm@muc.de>
13098
13099 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13100 * progmodes/cc-engine.el (c-back-over-member-initializers):
13101 new function.
3d1c39fa
AM
13102 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13103 (most) member init lists.
13104
5147fc17
RS
131052013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13106
13107 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13108 variable.
13109
5b78d7fc
LL
131102013-04-30 Leo Liu <sdl.web@gmail.com>
13111
13112 * progmodes/octave.el (octave-variables): Remove. No builtin
13113 variables any more. All converted to functions.
13114 (octave-font-lock-keywords, octave-completion-at-point-function):
13115 Fix uses.
13116 (octave-font-lock-texinfo-comment): New user variable.
13117 (octave-texinfo-font-lock-keywords): New variable for texinfo
13118 comment block.
13119 (octave-function-comment-block): New face.
13120 (octave-font-lock-texinfo-comment): New function.
13121 (octave-mode): Font lock texinfo comment block.
13122
38d8527b
LL
131232013-04-29 Leo Liu <sdl.web@gmail.com>
13124
13125 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13126 indexing expression.
13127 (octave-continuation-string): Do not use \.
13128 (inferior-octave-complete-impossible): Remove.
13129 (inferior-octave-completion-table)
13130 (inferior-octave-completion-at-point): Remove its uses.
13131 (inferior-octave-startup): completion_matches was introduced to
13132 Octave in 1996 so safe to assume it.
13133 (octave-function-file-comment): Improve to follow how Octave does it.
13134 (octave-update-function-file-comment): Tweak.
13135
2ec12cb0
LL
131362013-04-29 Leo Liu <sdl.web@gmail.com>
13137
13138 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13139 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13140 (octave-function-file-comment): Fix typo.
13141 (octave-sync-function-file-names): Use read-char-choice.
13142
6eaed048
JB
131432013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13144
13145 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13146 to t for the less important warnings.
13147
3ffa2d4f
DH
131482013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13149
13150 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13151
685c9501
GM
131522013-04-27 Glenn Morris <rgm@gnu.org>
13153
13154 * vc/log-view.el (log-view-current-entry):
13155 Treat "---" separator lines as part of the following rev. (Bug#14169)
13156
0208ede7
JL
131572013-04-27 Juri Linkov <juri@jurta.org>
13158
13159 * subr.el (read-number): Doc fix about using it by interactive
13160 code letter `n'. (Bug#14254)
13161
5db9dace
JL
131622013-04-27 Juri Linkov <juri@jurta.org>
13163
13164 * desktop.el (desktop-auto-save-timeout): New option.
13165 (desktop-file-checksum): New variable.
13166 (desktop-save): Add optional arg `auto-save' and don't auto-save
13167 if nothing changed.
13168 (desktop-auto-save-timer): New variable.
13169 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13170 (after-init-hook): Call `desktop-auto-save-set-timer'.
13171 Suggested by Reuben Thomas <rrt@sc3d.org> in
13172 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13173
b7260dd4
LL
131742013-04-27 Leo Liu <sdl.web@gmail.com>
13175
13176 * progmodes/octave.el (octave-function-file-p)
13177 (octave-skip-comment-forward, octave-function-file-comment)
13178 (octave-update-function-file-comment): New functions.
13179 (octave-mode-map): Bind C-c ; to
13180 octave-update-function-file-comment.
13181 (octave-mode-menu): Add octave-update-function-file-comment.
13182 (octave-mode, inferior-octave-mode): Fix doc-string.
13183 (octave-insert-defun): Conform to Octave's coding convention.
13184 (Bug#14285)
13185
13186 * files.el (basic-save-buffer): Don't let errors in
13187 before-save-hook prevent saving buffer.
13188
c46da669
RW
131892013-04-20 Roland Winkler <winkler@gnu.org>
13190
13191 * faces.el (read-face-name): Use completing-read if arg multiple
13192 is nil.
13193
a81ee1eb
IL
131942013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13195
13196 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13197 displayed, move point to after the totals line.
13198 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13199 for the details.
13200
4fac34ce
SM
132012013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13202
13203 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13204 Add current dir to the load-path.
13205 (package-generate-autoloads): Don't rely on
13206 autoload-ensure-default-file.
13207
f6bfc063
RT
132082013-04-26 Reuben Thomas <rrt@sc3d.org>
13209
d40ab5cf
BG
13210 * textmodes/remember.el (remember-store-in-files): Document that
13211 the file name format is passed to `format-time-string'.
f6bfc063 13212
e55d3b04
LL
132132013-04-26 Leo Liu <sdl.web@gmail.com>
13214
13215 * progmodes/octave.el (octave-sync-function-file-names): New function.
13216 (octave-mode): Use it in before-save-hook.
13217
e53052d3
SM
132182013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13219
140ef50c
SM
13220 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13221 (bug#14274).
13222
e53052d3
SM
13223 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13224 \n and comment, even if it's not an implicit ; (bug#14218).
13225
af80458d 132262013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13227
13228 * subr.el (read-number): Once more use `read' rather than
13229 `string-to-number', to trap non-numeric input. (Bug#14254)
13230
af80458d 132312013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13232
13233 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13234 Use `syntax-multiline' text property consistently instead of
8a621d53 13235 `font-lock-multiline'. (Bug#14237)
70203c2e 13236
e6ea1f6c
GM
132372013-04-26 Glenn Morris <rgm@gnu.org>
13238
13239 * emacs-lisp/shadow.el (list-load-path-shadows):
13240 No longer necessary to check for duplicate simple.el, since
13241 2012-07-07 change to init_lread to not include installation lisp
13242 directories in load-path when running uninstalled. (Bug#14270)
13243
070ccca4
LL
132442013-04-26 Leo Liu <sdl.web@gmail.com>
13245
13246 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13247 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13248 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13249 octave-in-string-or-comment-p.
13250 (octave-in-comment-p, octave-in-string-p)
13251 (octave-in-string-or-comment-p): Replace defsubst with defun.
13252
9d1c5fb6
PE
132532013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13254
13255 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13256
c034abda
BG
132572013-04-25 Bastien Guerry <bzg@gnu.org>
13258
13259 * textmodes/remember.el (remember-data-directory)
13260 (remember-directory-file-name-format): Fix custom types.
13261
584ea277
LL
132622013-04-25 Leo Liu <sdl.web@gmail.com>
13263
e53052d3
SM
13264 * progmodes/octave.el (octave-completion-at-point-function):
13265 Make use of inferior octave process.
584ea277
LL
13266 (octave-initialize-completions): Remove.
13267 (inferior-octave-completion-table): New function.
13268 (inferior-octave-completion-at-point): Use it.
13269 (octave-completion-alist): Remove.
13270
1693b06a
SM
132712013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13272
13273 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13274 (opascal-mode-syntax-table): New var.
13275 (opascal-literal-kind, opascal-is-literal-end)
13276 (opascal-literal-token-at): Rewrite.
13277 (opascal--literal-start-re, opascal-font-lock-keywords)
13278 (opascal--syntax-propertize): New constants.
13279 (opascal-font-lock-defaults): Adjust.
13280 (opascal-mode): Use them. Set comment-<foo> variables as well.
13281 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13282 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13283 (delphi-other-face, opascal-other-face): Remove face variables.
13284 (opascal-save-state): Remove macro.
13285 (opascal-fontifying-progress-step): Remove constant.
13286 (opascal--ignore-changes): Remove var.
13287 (opascal-set-token-property, opascal-parse-next-literal)
13288 (opascal-is-stable-literal, opascal-complete-literal)
13289 (opascal-is-literal-start, opascal-face-of)
13290 (opascal-parse-region, opascal-parse-region-until-stable)
13291 (opascal-fontify-region, opascal-after-change)
13292 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13293 (opascal-debug-parse-region, opascal-debug-parse-window)
13294 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13295 (opascal-debug-fontify-buffer): Remove.
13296 (opascal-debug-mode-map): Adjust accordingly.
13297
be64c05d
LL
132982013-04-25 Leo Liu <sdl.web@gmail.com>
13299
13300 Merge octave-mod.el and octave-inf.el into octave.el with some
13301 cleanups.
13302 * progmodes/octave.el: New file renamed from octave-mod.el.
13303 * progmodes/octave-inf.el: Merged into octave.el.
13304 * progmodes/octave-mod.el: Renamed to octave.el.
13305
d79d37bd
TH
133062013-04-25 Tassilo Horn <tsdh@gnu.org>
13307
13308 * textmodes/reftex-vars.el
13309 (reftex-label-ignored-macros-and-environments): New defcustom.
13310
13311 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13312
ced3fc5d
SM
133132013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13316 (smie-indent-keyword): Improve the check to ensure that the next
13317 comment is really on the same line.
13318 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13319
13320 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13321 semi-colons if the line is not otherwise empty (bug#14218).
13322
1c141dad
GM
133232013-04-25 Glenn Morris <rgm@gnu.org>
13324
13325 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13326
5058062a
SM
133272013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 * progmodes/opascal.el (opascal-set-token-property): Rename from
13330 opascal-set-text-properties and only set `token' (bug#14134).
13331 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13332 (opascal-literal-text-properties): Remove.
13333 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13334 Adjust callers.
13335
5db9dace 133362013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13337
13338 * textmodes/remember.el (remember-handler-functions): Add an
13339 option for a new handler `remember-store-in-files'.
13340 (remember-data-directory, remember-directory-file-name-format):
13341 New options.
13342 (remember-store-in-files): New function to store remember notes
13343 as separate files within a directory.
13344
4391916c
MH
133452013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13346
13347 * progmodes/compile.el (compilation-next-error-function):
13348 Pass "formats" to compilation-find-file (bug#11777).
13349
bb7cdf58
GM
133502013-04-24 Glenn Morris <rgm@gnu.org>
13351
3b8fe752 13352 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13353 * vc/vc-hg.el (vc-hg-print-log):
13354 * vc/vc-svn.el (vc-svn-print-log):
13355 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13356
bb7cdf58
GM
13357 * vc/vc-bzr.el (vc-bzr-print-log):
13358 * vc/vc-cvs.el (vc-cvs-print-log):
13359 * vc/vc-git.el (vc-git-print-log):
13360 * vc/vc-hg.el (vc-hg-print-log):
13361 * vc/vc-mtn.el (vc-mtn-print-log):
13362 * vc/vc-rcs.el (vc-rcs-print-log):
13363 * vc/vc-sccs.el (vc-sccs-print-log):
13364 * vc/vc-svn.el (vc-svn-print-log):
13365 * vc/vc.el (vc-print-log-internal): Doc fixes.
13366
b46a056e
GM
133672013-04-23 Glenn Morris <rgm@gnu.org>
13368
13369 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13370 Remove venerable code attempting to avoid substitute-command-keys.
13371
0aecf718
TH
133722013-04-23 Tassilo Horn <tsdh@gnu.org>
13373
4391916c
MH
13374 * textmodes/reftex-vars.el (reftex-label-regexps):
13375 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13376
117f94cf
SM
133772013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13378
4391916c 13379 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13380 Use lexical-binding.
13381 (jit-lock-force-redisplay): Use markers, check buffer's continued
13382 existence and beware narrowed buffers.
13383 (jit-lock-fontify-now): Adjust call accordingly.
13384
1d829c64
SM
133852013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13386
13387 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13388 to avoid misleading the user.
13389
72d548a9
LL
133902013-04-22 Leo Liu <sdl.web@gmail.com>
13391
13392 * info-look.el: Prefer latex2e.info. (Bug#14240)
13393
d0853629
MA
133942013-04-22 Michael Albinus <michael.albinus@gmx.de>
13395
13396 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13397
13398 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13399 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13400 (tramp-set-completion-function, tramp-parse-putty):
13401 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13402 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13403 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13404 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13405 (tramp-call-local-coding-command): Use `tramp-call-process'
13406 instead of `tramp-compat-call-process'.
13407
13408 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13409 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13410 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13411 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13412 (tramp-maybe-send-script): Check for Perl binary.
13413 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13414
38cc0210
DU
134152013-04-22 Daiki Ueno <ueno@gnu.org>
13416
13417 * epg.el (epg-context-pinentry-mode): New function.
13418 (epg-context-set-pinentry-mode): New function.
13419 (epg--start): Pass --pinentry-mode option to gpg command.
13420
cc641ee1
XF
134212013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13422
02d844b5 13423 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13424 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13425 `completion-at-point'. (Bug#13774)
5d4e5c31 13426
cc641ee1
XF
13427 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13428 default key binding for `describe-distribution' has been moved to
13429 `C-h C-o'. (Bug#13970)
13430
1b42ee43
GM
134312013-04-21 Glenn Morris <rgm@gnu.org>
13432
13433 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13434 Add doc strings.
13435 (vc-print-log): Clarify interactive prompt.
13436
a6d63d97
GM
134372013-04-20 Glenn Morris <rgm@gnu.org>
13438
13439 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13440 No longer include timestamp etc information.
13441
d7f5c16f
RW
134422013-04-20 Roland Winkler <winkler@gnu.org>
13443
13444 * faces.el (read-face-name): Bug fix, return just one face if arg
13445 multiple is nil. (Bug#14209)
13446
bcd7a0a4
SM
134472013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13448
13449 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13450 (remove-function): Autoload.
13451
13452 * comint.el (comint-redirect-original-filter-function): Remove.
13453 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13454 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13455 (vc-cvs-annotate-command):
bcd7a0a4
SM
13456 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13457 * progmodes/prolog.el (prolog-consult-compile):
13458 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13459 Use add/remove-function instead.
13460 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13461 (gud-tooltip-process-output, gud-tooltip-tips):
13462 Use add/remove-function instead.
13463 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13464 (scheme-interaction-mode, exit-scheme-interaction-mode):
13465 Use add/remove-function instead.
13466
13467 * vc/vc-dispatcher.el: Use lexical-binding.
13468 (vc--process-sentinel): Rename from vc-process-sentinel.
13469 Change last arg to be the code to run. Don't use vc-previous-sentinel
13470 and vc-sentinel-commands any more.
13471 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13472 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13473
e36b2d20 134742013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13475
bcd7a0a4 13476 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13477 Handle function names with a single character. (Bug#14111)
4d3268ba 13478
27821a89 134792013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13480
13481 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13482 for subroutines defined in an eval (bug#14182).
13483
7d688336
TV
134842013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13485
13486 * bookmark.el (bookmark-completing-read): Improve handling of empty
13487 string (bug#14176).
13488
31dcede0
SM
134892013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13490
13491 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13492
adc31213
FEG
134932013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13494
13495 New faster Imenu implementation (bug#14058).
13496 * progmodes/python.el:
13497 (python-imenu-prev-index-position):
13498 (python-imenu-format-item-label-function)
13499 (python-imenu-format-parent-item-label-function)
13500 (python-imenu-format-parent-item-jump-label-function):
13501 New vars.
13502 (python-imenu-format-item-label)
13503 (python-imenu-format-parent-item-label)
13504 (python-imenu-format-parent-item-jump-label)
13505 (python-imenu--put-parent, python-imenu--build-tree)
13506 (python-imenu-create-index, python-imenu-create-flat-index)
13507 (python-util-popn): New functions.
13508 (python-mode): Set imenu-create-index-function to
13509 python-imenu-create-index.
13510
cdca8255
SM
135112013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * winner.el (winner-active-region): Use region-active-p, activate-mark
13514 and deactivate-mark (bug#14225).
13515
13516 * simple.el (deactivate-mark): Don't inline it.
13517
beb42340
MA
135182013-04-18 Michael Albinus <michael.albinus@gmx.de>
13519
13520 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13521
fc7f4d7e
TH
135222013-04-18 Tassilo Horn <tsdh@gnu.org>
13523
13524 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13525 file extensions from the archive-mode entry in order to prefer
13526 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13527
29f47822
LL
135282013-04-18 Leo Liu <sdl.web@gmail.com>
13529
13530 * bindings.el (help-event-list): Add ?\?.
13531
d36ed1c8
SM
135322013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13533
13534 * subr.el (with-wrapper-hook): Declare obsolete.
13535 * simple.el (filter-buffer-substring-function): New hook.
13536 (filter-buffer-substring): Use it.
13537 (filter-buffer-substring-functions): Mark obsolete.
13538 * minibuffer.el (completion-in-region-function): New hook.
13539 (completion-in-region): Use it.
13540 (completion-in-region-functions): Mark obsolete.
13541 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13542 * abbrev.el (abbrev-expand-function): New hook.
13543 (expand-abbrev): Use it.
13544 (abbrev-expand-functions): Mark obsolete.
13545 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13546 and :filter-return.
13547
04754d36
FEG
135482013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13549
13550 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13551 and do not care about match data.
13552
dd8791e9
SM
135532013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13556 completion tables when completing error conditions and
13557 `declare' arguments.
13558 (lisp-complete-symbol, field-complete): Mark as obsolete.
13559 (check-parens): Unmatched parens are user errors.
13560 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13561
ffe54a13
AM
135622013-04-17 Michal Nazarewicz <mina86@mina86.com>
13563
dd8791e9
SM
13564 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13565 command changed buffer (ie. `flyspell-pre-buffer' is not current
13566 buffer), which prevents making decisions based on invalid value of
13567 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13568 cause an error when `flyspell-pre-point' was nil after switching
13569 buffers.
13570 (flyspell-post-command-hook): No longer needs to change buffers when
13571 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13572
ec7e39f2
AM
135732013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13574
13575 * textmodes/ispell.el (ispell-add-per-file-word-list):
13576 Fix `flyspell-correct-word-before-point' error when accepting
13577 words and `coment-padding' is an integer by using
13578 `comment-normalize-vars' (Bug #14214).
13579
083850a6
FEG
135802013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13581
13582 New defun movement commands.
13583 * progmodes/python.el (python-nav--syntactically)
13584 (python-nav--forward-defun, python-nav-backward-defun)
13585 (python-nav-forward-defun): New functions.
13586
619ed6e1
FEG
135872013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13588
13589 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13590 (python-syntax-context): Use named compiler-macro for backwards
13591 compatibility with Emacs 24.x.
13592
7a1beb6c
LL
135932013-04-17 Leo Liu <sdl.web@gmail.com>
13594
13595 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13596 octave-hide-process-buffer.
13597
2d3fa3e5
SM
135982013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13601 (bug#14216).
13602
7ce5be54
JPG
136032013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13604
13605 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13606 Fix adjustment of offset when receiving incomplete responses from GDB
13607 (bug#14129).
13608
351edece
SM
136092013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13612 python-mode-abbrev-table.
13613 (python-skeleton-define): Adjust accordingly.
13614 (python-mode-abbrev-table): New table that inherits from it so that
13615 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13616
13617 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13618 (abbrev-symbol): Use it.
13619 (abbrev--before-point): Use it since we already handle inheritance.
13620
613f9481
LL
136212013-04-16 Leo Liu <sdl.web@gmail.com>
13622
13623 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13624 binding to info-lookup-symbol.
13625
51646b62
JB
136262013-04-16 Juanma Barranquero <lekktu@gmail.com>
13627
13628 * minibuffer.el (completion--twq-all):
13629 * term/ns-win.el (ns-initialize-window-system):
13630 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13631
efb3f01d
SM
136322013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13633
36c0a301
SM
13634 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13635 global bindings.
13636
efb3f01d
SM
13637 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13638
fb549d64
DG
136392013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13640
13641 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13642 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13643 to nil.
13644 (ruby-end-of-defun): Remove the unused arg, change the docstring
13645 to reflect that this function is only used as the value of
13646 `end-of-defun-function'.
13647 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13648 to reflect an earlier change that beginning/end-of-defun functions
13649 jump between methods in a class definition, as well as top-level
13650 functions.
13651
21e8fe2f
SM
136522013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * minibuffer.el (minibuffer-complete): Don't just scroll
13655 a *Completions* that's been iconified.
13656 (minibuffer-force-complete): Make sure repetitions do cycle when going
13657 through completion-in-region -> minibuffer-complete.
13658
20e527d0
AM
136592013-04-15 Alan Mackenzie <acm@muc.de>
13660
13661 Correct the placement of c-cpp-delimiters when there're #s not at
13662 col 0.
13663
13664 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13665 place a submatch around the #.
21e8fe2f
SM
13666 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13667 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13668 on the #, not BOL.
13669
dabefae5
SM
136702013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13671
13672 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13673 (advice--member-p): New arg `name'.
13674 (advice--add-function, advice-member-p): Use it (bug#14202).
13675
85c9ab64
AM
136762013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13677
13678 Reformulate java imenu-generic-expression.
13679 The old expression contained ill formed regexps.
13680
13681 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13682 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13683 (cc-imenu-java-method-arg-regexp): New defconsts.
13684 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13685 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13686 handling of spaces in the regexp.
13687
0f821d99
AM
136882013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13689
13690 * textmodes/ispell.el (ispell-command-loop): Remove
13691 flyspell highlight of a word when ispell accepts it (bug #14178).
13692
eb922adf
MA
136932013-04-15 Michael Albinus <michael.albinus@gmx.de>
13694
13695 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13696 uses code from the previous `ange-ftp-run-real-handler'.
13697 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13698 only in case that function exist. This is needed for proper
13699 unloading of Tramp.
13700
4d9a0979
TH
137012013-04-15 Tassilo Horn <tsdh@gnu.org>
13702
13703 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13704
13705 * textmodes/reftex.el (reftex-compile-variables): Use it.
13706
a829b0dc
SM
137072013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13708
91e8293c
SM
13709 * files.el (normal-mode): Only use default major-mode if no other mode
13710 was specified.
13711
830aed4d
SM
13712 * emacs-lisp/trace.el (trace-values): New function.
13713
a829b0dc
SM
13714 * files.el: Allow : in local variables (bug#14089).
13715 (hack-local-variable-regexp): New var.
13716 (hack-local-variables-prop-line, hack-local-variables): Use it.
13717
7ae9f0fb
RW
137182013-04-13 Roland Winkler <winkler@gnu.org>
13719
13720 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13721 data before it gets modified by bibtex-beginning-of-entry.
13722
6646e848
RW
137232013-04-13 Roland Winkler <winkler@gnu.org>
13724
13725 * textmodes/bibtex.el (bibtex-url): Doc fix.
13726
137272013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13728
13729 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13730 does not visit a BibTeX file, exclude it from the list of buffers
13731 returned by bibtex-initialize.
13732
0aa3616e
SB
137332013-04-13 Stephen Berman <stephen.berman@gmx.net>
13734
13735 * window.el (split-window): Remove interactive form, since as a
13736 command this function is a special case of split-window-below.
13737 Correct doc string.
13738
011cddd6
RW
137392013-04-12 Roland Winkler <winkler@gnu.org>
13740
13741 * faces.el (read-face-name): Do not override value of arg default.
13742 Allow single faces and strings as default values. Remove those
13743 elements from return value that are not faces.
13744 (describe-face): Simplify.
13745 (face-at-point): New optional args thing and multiple so that this
13746 function can provide the same functionality previously provided by
13747 read-face-name.
13748 (make-face-bold, make-face-unbold, make-face-italic)
13749 (make-face-unitalic, make-face-bold-italic, invert-face)
13750 (modify-face, read-face-and-attribute): Use face-at-point.
13751
13752 * cus-edit.el (customize-face, customize-face-other-window)
13753 * cus-theme.el (custom-theme-add-face)
13754 * face-remap.el (buffer-face-set)
13755 * facemenu.el (facemenu-set-face): Use face-at-point.
13756
f24e0036
MA
137572013-04-12 Michael Albinus <michael.albinus@gmx.de>
13758
13759 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13760
da3cda2d
TH
137612013-04-10 Tassilo Horn <tsdh@gnu.org>
13762
13763 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13764 off leading { and trailing } from field values.
13765
15e54145
SM
137662013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13767
78ce603d
SM
13768 * emacs-lisp/timer.el (timer--check): New function.
13769 (timer--time, timer-set-function, timer-event-handler): Use it.
13770 (timer-set-idle-time): Simplify.
13771 (timer--activate): CSE.
13772 (timer-event-handler): Give more info in error message.
13773 (internal-timer-start-idle): New function, moved from C.
13774
15e54145
SM
13775 * mpc.el (mpc-proc): Add `restart' argument.
13776 (mpc-proc-cmd): Use it.
13777 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13778 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13779 less often.
13780
7144c627
MY
137812013-04-10 Masatake YAMATO <yamato@redhat.com>
13782
13783 * progmodes/sh-script.el: Implement `sh-mode' own
13784 `add-log-current-defun-function' (bug#14112).
13785 (sh-current-defun-name): New function.
13786 (sh-mode): Use the function.
13787
b39792eb
BG
137882013-04-09 Bastien Guerry <bzg@gnu.org>
13789
13790 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13791
8acdeb71
SM
137922013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13793
6fcdab68
SM
13794 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13795
8acdeb71
SM
13796 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13797 timer (bug#14156).
13798
e3e7b504
NF
137992013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13800
13801 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13802 declaration.
13803
201bb296
LL
138042013-04-07 Leo Liu <sdl.web@gmail.com>
13805
13806 * pcmpl-x.el: New file.
13807
ebb19708
DA
138082013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13809
13810 Do not set x-display-name until X connection is established.
13811 This is needed to prevent from weird situation described at
13812 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13813 * frame.el (make-frame): Set x-display-name after call to
13814 window system initialization function, not before.
13815 * term/x-win.el (x-initialize-window-system): Add optional
13816 display argument and use it.
13817 * term/w32-win.el (w32-initialize-window-system):
13818 * term/ns-win.el (ns-initialize-window-system):
13819 * term/pc-win.el (msdos-initialize-window-system):
13820 Add compatible optional display argument.
13821
33bb237a
EZ
138222013-04-06 Eli Zaretskii <eliz@gnu.org>
13823
13824 * files.el (normal-backup-enable-predicate): On MS-Windows and
13825 MS-DOS compare truenames of temporary-file-directory and of the
13826 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13827 don't fail comparison by compare-strings. Also, compare file
13828 names case-insensitively on MS-Windows and MS-DOS.
13829
134abf1f
SM
138302013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13831
13832 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13833 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13834
d695cb94
DG
138352013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13836
e3e7b504
NF
13837 * whitespace.el (whitespace-color-on, whitespace-color-off):
13838 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13839
f4ad7ea1 138402013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13841
13842 * ispell.el (ispell-set-spellchecker-params):
13843 Really set `ispell-args' for all equivs.
13844
632556e4
SM
138452013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13846
13847 * ido.el (ido-completions): Use extra elements of ido-decorations
13848 (bug#14143).
13849 (ido-decorations): Update docstring.
13850
2a417372
MA
138512013-04-05 Michael Albinus <michael.albinus@gmx.de>
13852
13853 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13854 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13855 nil during initialization, in order not to miss changes since the
13856 file was opened. (Bug#14140)
13857
fc164b0c
LL
138582013-04-05 Leo Liu <sdl.web@gmail.com>
13859
13860 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13861
0ccecc08
JB
138622013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13863
13864 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13865
51af1aa2
GM
138662013-04-04 Glenn Morris <rgm@gnu.org>
13867
13868 * electric.el (electric-pair-inhibit-predicate): Add :version.
13869
b208ebc6
SM
138702013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13871
13872 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13873 when a package is required several times (bug#14082).
13874
f3d3eaf0
RW
138752013-04-04 Roland Winkler <winkler@gnu.org>
13876
13877 * faces.el (read-face-name): Behave as promised by the docstring.
13878 Assume that arg default is a list of faces.
13879 (describe-face): Call read-face-name with list of default faces.
13880
2575da50
TV
138812013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13882
13883 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13884 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13885 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13886 the header.
13887 (bookmark-exit-hook-internal): Save even if list is empty.
13888
397703b4
YH
138892013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13890
13891 * emacs-lisp/package.el (package-pinned-packages): New var.
13892 (package--add-to-archive-contents): Obey it (bug#14118).
13893
691e26ae
AM
138942013-04-03 Alan Mackenzie <acm@muc.de>
13895
8a621d53
JB
13896 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13897 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13898
13899 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13900 parameter `not-in-delimiter'. Handle being inside comment opener.
13901 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13902 character in case we're typing a '*' after a '/'.
13903 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13904 instead by passing the parameter to c-state-pp-to-literal.
13905
13906 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13907 for elt. 7 of a parse state.
13908
4b725a70
PE
139092013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13910
13911 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13912 * international/latin1-disp.el, international/mule-util.el:
13913 * language/cyril-util.el, language/european.el, language/ind-util.el:
13914 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13915 * language/tibetan.el, language/viet-util.el:
13916 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13917
15c579f0
SM
139182013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13919
13920 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13921 (electric-pair-post-self-insert-function): Use it.
13922 (electric-pair-default-inhibit): New function, extracted from
13923 electric-pair-post-self-insert-function.
13924
a77e2924
RW
139252013-03-31 Roland Winkler <winkler@gnu.org>
13926
13927 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13928
2bd8a4a8
SM
139292013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13930
13931 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13932
8d3655be 139332013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13934
13935 Un-indent after "pass" and "return" statements (Bug#13888)
13936 * progmodes/python.el (python-indent-block-enders): New var.
13937 (python-indent-calculate-indentation): Use it.
13938
8d3655be 139392013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13940
13941 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13942 defun. Defining it as defalias could introduce too eager
13943 byte-compiler optimization. (Bug#14030)
13944
8d3655be 139452013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13946
13947 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13948
0b1619da
LL
139492013-03-30 Leo Liu <sdl.web@gmail.com>
13950
13951 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13952 (kmacro-execute-from-register): Pass the keyboard macro to
13953 kmacro-call-macro or repeating won't work correctly.
13954
0b938190
TZ
139552013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13956
13957 * progmodes/subword.el: Back to using `forward-symbol'.
13958
13959 * subr.el (forward-whitespace, forward-symbol)
13960 (forward-same-syntax): Move from thingatpt.el.
13961
35710234
LL
139622013-03-29 Leo Liu <sdl.web@gmail.com>
13963
13964 * kmacro.el (kmacro-to-register): New command.
13965 (kmacro-execute-from-register): New function.
13966 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13967
efc0bb73
SM
139682013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13969
13970 * mpc.el: Use defvar-local and setq-local.
13971 (mpc--proc-connect): Connection failures are not bugs.
13972 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13973 (mpc-volume-map): Bind to the up-events.
13974
75a2f981
TZ
139752013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13976
13977 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13978 instead of `forward-symbol'.
13979
17c781d1
SM
139802013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13981
13982 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13983 (edebug--recursive-edit): Use it.
13984 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13985 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13986
f67bfbcf
LL
139872013-03-28 Leo Liu <sdl.web@gmail.com>
13988
13989 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13990
b59f639d
EZ
139912013-03-27 Eli Zaretskii <eliz@gnu.org>
13992
13993 * facemenu.el (list-colors-callback): New defvar.
13994 (list-colors-redisplay): New function.
13995 (list-colors-display): Install list-colors-redisplay as the
13996 revert-buffer-function. (Bug#14063)
13997
f557c1b1
SM
139982013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13999
b1da2957
SM
14000 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14001 and suffixes don't overlap (bug#14061).
14002
f557c1b1
SM
14003 * case-table.el: Use lexical-binding.
14004 (case-table-get-table): New function.
14005 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14006
002668e1
TZ
140072013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14008
14009 * progmodes/subword.el: Add `superword-mode' to do word motion
14010 over symbol_words (parallels and leverages `subword-mode' which
14011 does word motion inside MixedCaseWords).
14012
73572c72
AG
140132013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14014
78b8f320 14015 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 14016 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 14017
69b2c07e
SM
140182013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14019
14020 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14021 Change return value to be a sexp. Delay `get-buffer' to after
14022 restoring the desktop (bug#13951).
14023
08bb5ee2
LL
140242013-03-26 Leo Liu <sdl.web@gmail.com>
14025
14026 * register.el: Move semantic tag handling back to
14027 cedet/semantic/senator.el. (Bug#14052)
14028
8d4c974e
SM
140292013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14032 into the prompt either (bug#13963).
14033
b234d92c
SM
140342013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14037 part of "(error-foo)".
14038
ddfa3cb4
JL
140392013-03-24 Juri Linkov <juri@jurta.org>
14040
14041 * replace.el (list-matching-lines-prefix-face): New defcustom.
14042 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14043 `occur-engine' if `face-differs-from-default-p' returns t.
14044 (occur-engine): Add `,' inside backquote construct to evaluate
14045 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14046 Pass `prefix-face' to the functions `occur-context-lines' and
14047 `occur-engine-add-prefix'.
14048 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14049 `prefix-face' and propertize the prefix with `prefix-face'.
14050 (Bug#14017)
14051
7b0e2f85
LL
140522013-03-24 Leo Liu <sdl.web@gmail.com>
14053
14054 * nxml/rng-valid.el (rng-validate-while-idle)
14055 (rng-validate-quick-while-idle): Guard against deleted buffer.
14056 (Bug#13999)
14057
14058 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14059 is the last entry in kill-buffer-hook.
14060
14061 * files.el (kill-buffer-hook): Doc fix.
14062
b3082f49
DG
140632013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14064
b234d92c
SM
14065 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14066 Make it safe-local.
bde73d27 14067
b3082f49
DG
14068 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14069
a320a2db
LL
140702013-03-23 Leo Liu <sdl.web@gmail.com>
14071
7e74b0fb
LL
14072 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14073 Remove.
14074
14075 * nxml/rng-valid.el (rng-validate-mode)
14076 (rng-after-change-function, rng-do-some-validation):
14077 * nxml/rng-maint.el (rng-validate-buffer):
14078 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14079 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14080 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14081 (nxml-extend-after-change-region): Use with-silent-modifications.
14082
a320a2db
LL
14083 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14084 timer-idle-list.
14085
14086 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14087 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14088 timer-idle-list. (Bug#13999)
14089
e38e6780
JL
140902013-03-23 Juri Linkov <juri@jurta.org>
14091
14092 * info.el (info-index-match): New face.
14093 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14094 main pattern and add text properties with the new face to matches
14095 in index entries relative to the beginning of the index entry.
14096 (Bug#14015)
14097
e8cc7880
DE
140982013-03-21 Eric Ludlam <zappo@gnu.org>
14099
39c87140 14100 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14101 Inhibit read only while inserting objects.
14102
9bb0d822
TZ
141032013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14104
14105 * progmodes/cfengine.el: Update docs to mention
14106 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14107 symbol motion. Remove "_" from the word syntax.
14108
aa703640
TZ
141092013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14110
14111 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14112 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14113
afff09d0
JL
141142013-03-20 Juri Linkov <juri@jurta.org>
14115
14116 * info.el (Info-next-reference-or-link)
14117 (Info-prev-reference-or-link): New functions.
14118 (Info-next-reference, Info-prev-reference): Use them.
14119 (Info-try-follow-nearest-node): Handle footnote navigation.
14120 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14121
9a1ff164
SM
141222013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14123
14124 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14125 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14126
2667d15d
PE
141272013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14128
14129 Suppress unnecessary non-ASCII chatter during build process.
14130 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14131 (batch-skkdic-convert): Suppress most of the chatter.
14132 It's not needed so much now that machines are faster,
14133 and its non-ASCII component was confusing; see Dmitry Gutov in
14134 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14135
438b0579
LL
141362013-03-20 Leo Liu <sdl.web@gmail.com>
14137
14138 * ido.el (ido-chop): Fix bug#10994.
14139
c128ab07
DG
141402013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14141
14142 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14143 Remove vars.
9a1ff164
SM
14144 (whitespace-color-on, whitespace-color-off):
14145 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14146
0e6008c5
SM
141472013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14150 remapping in mode-line.
14151 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14152
627b52b0
DG
141532013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14154
14155 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14156 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14157 (whitespace-font-lock-keywords): Change description.
14158 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14159 the constructed keywords instead.
14160 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14161
50c3a20b
LL
141622013-03-19 Leo Liu <sdl.web@gmail.com>
14163
14164 * progmodes/compile.el (compilation-display-error): New command.
14165 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14166 C-o. (Bug#13992)
14167
2aa2157b
PE
141682013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14169
14170 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14171
e477dbfa
JD
141722013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14173
14174 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14175
64ab82d1
MA
141762013-03-18 Michael Albinus <michael.albinus@gmx.de>
14177
14178 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14179
14180 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14181 * net/tramp-gvfs.el (top):
14182 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14183 (tramp-handle-shell-command): Use it.
14184 (tramp-dissect-file-name): Raise an error when hostname is a
14185 method name, and neither method nor user is specified.
14186
14187 * net/trampver.el: Update release number.
14188
33cef733
LL
141892013-03-18 Leo Liu <sdl.web@gmail.com>
14190
14191 Make sure eldoc can be turned off properly.
14192 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14193 eldoc-mode.
14194 (eldoc-display-message-p): Revert last change.
14195 (eldoc-display-message-no-interference-p)
14196 (eldoc-print-current-symbol-info): Tweak.
14197
2167b7b2
TH
141982013-03-18 Tassilo Horn <tsdh@gnu.org>
14199
14200 * doc-view.el (doc-view-new-window-function): Check the new window
14201 overlay's display property instead the char property of the
14202 buffer's first char. Use `with-selected-window' instead of
14203 `save-window-excursion' with `select-window'.
14204 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14205 display property instead the char property of the buffer's first char.
2167b7b2 14206
982efbcd
PE
142072013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14208
14209 Automate the build of ja-dic.el (Bug#13984).
14210 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14211 from the input, rather than assume that it's been done for us by the
14212 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14213 the current date into a ja-dic.el comment, as that complicates
14214 regression testing.
14215
2fcc7665
SM
142162013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14217
14218 * whitespace.el: Fix double evaluation.
14219 (whitespace-space, whitespace-hspace, whitespace-tab)
14220 (whitespace-newline, whitespace-trailing, whitespace-line)
14221 (whitespace-space-before-tab, whitespace-indentation)
14222 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14223 obsolete defvars.
14224 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14225 (whitespace-color-on): Use a single font-lock-add-keywords call.
14226 Fix double-evaluation of face variables.
14227
67c0a6e6
MA
142282013-03-17 Michael Albinus <michael.albinus@gmx.de>
14229
2fcc7665
SM
14230 * net/tramp-adb.el (tramp-adb-parse-device-names):
14231 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14232 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14233
69489f1d
LL
142342013-03-17 Leo Liu <sdl.web@gmail.com>
14235
14236 Extend eldoc to display info in the mode-line. (Bug#13978)
14237 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14238 (eldoc-mode-line-string): New variable.
14239 (eldoc-minibuffer-message): New function.
14240 (eldoc-message-function): New variable.
14241 (eldoc-message): Use it.
14242 (eldoc-display-message-p)
2fcc7665
SM
14243 (eldoc-display-message-no-interference-p):
14244 Support eldoc-post-insert-mode.
69489f1d
LL
14245
14246 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14247 (eval-expression): Run it.
14248
9c44569e
RW
142492013-03-17 Roland Winkler <winkler@gnu.org>
14250
14251 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14252 strings in the list of return values.
14253
327f1f6f
JB
142542013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14255
14256 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14257 radix before checking for HMS forms.
14258
67ed8fcd
LL
142592013-03-16 Leo Liu <sdl.web@gmail.com>
14260
14261 * progmodes/scheme.el: Add indentation and font-locking for λ.
14262 (Bug#13975)
14263
78be8b64 142642013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14265
14266 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14267 token before point (bug#13942).
14268
78be8b64 142692013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14270
95b43468 14271 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14272
98e775e6
EZ
142732013-03-16 Eli Zaretskii <eliz@gnu.org>
14274
14275 * startup.el (command-line-normalize-file-name): Fix handling of
14276 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14277 <xfq.free@gmail.com> in
14278 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14279
2edd6029
MA
142802013-03-15 Michael Albinus <michael.albinus@gmx.de>
14281
14282 Sync with Tramp 2.2.7.
14283
14284 * net/trampver.el: Update release number.
14285
d35f5864
TH
142862013-03-14 Tassilo Horn <tsdh@gnu.org>
14287
e903c210 14288 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14289 (doc-view-insert-image): Don't modify overlay associated to
14290 non-live windows, and implement horizontal centering of image in
14291 case it's smaller than the window.
14292 (doc-view-new-window-function): Force redisplay of new windows on
14293 doc-view buffers.
d35f5864 14294
1c4a85ed
KF
142952013-03-13 Karl Fogel <kfogel@red-bean.com>
14296
14297 * saveplace.el (save-place-alist-to-file): Don't sort
14298 `save-place-alist', just pretty-print it (bug#13882).
14299
85b66a21
MA
143002013-03-13 Michael Albinus <michael.albinus@gmx.de>
14301
a020afb9
JB
14302 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14303 Check whether `default-file-name-coding-system' is bound.
14304 It isn't in XEmacs.
85b66a21 14305
175600da
SM
143062013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14307
e7f7cb1a
SM
14308 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14309 backquotes for `obsolete' (bug#13929).
14310
175600da
SM
14311 * international/mule.el (find-auto-coding): Include file name in
14312 obsolescence warning (bug#13922).
14313
ca68a22e
TZ
143142013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14315
14316 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14317 for CFEngine 3-specific indentation.
14318 (cfengine3-indent-line): Use it. Fix up category regex.
14319 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14320
940e5099
SM
143212013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * type-break.el (type-break-file-name):
14324 * textmodes/remember.el (remember-data-file):
14325 * strokes.el (strokes-file):
14326 * shadowfile.el (shadow-initialize):
14327 * saveplace.el (save-place-file):
14328 * ps-bdf.el (bdf-cache-file):
14329 * progmodes/idlwave.el (idlwave-config-directory):
14330 * net/quickurl.el (quickurl-url-file):
14331 * international/kkc.el (kkc-init-file-name):
14332 * ido.el (ido-save-directory-list-file):
14333 * emulation/viper.el (viper-custom-file-name):
14334 * emulation/vip.el (vip-startup-file):
14335 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14336 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14337
cc725808
PE
143382013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14339
14340 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14341 * language/thai-word.el: Switch to UTF-8.
14342
a020afb9 14343See ChangeLog.16 for earlier changes.
e3d51b27
MR
14344
14345;; Local Variables:
14346;; coding: utf-8
e3d51b27
MR
14347;; End:
14348
ba318903 14349 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14350
14351 This file is part of GNU Emacs.
14352
14353 GNU Emacs is free software: you can redistribute it and/or modify
14354 it under the terms of the GNU General Public License as published by
14355 the Free Software Foundation, either version 3 of the License, or
14356 (at your option) any later version.
14357
14358 GNU Emacs is distributed in the hope that it will be useful,
14359 but WITHOUT ANY WARRANTY; without even the implied warranty of
14360 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14361 GNU General Public License for more details.
14362
14363 You should have received a copy of the GNU General Public License
14364 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.