Refine previous fix of x_set_window_size to handle Bug#17077.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f6614a47
SM
12014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (redisplay-highlight-region-function): Increase priority of
4 overlay to make sure boundaries are visible (bug#15899).
5
3ea2c781
JB
62014-03-23 Juanma Barranquero <lekktu@gmail.com>
7
ee79b33f
JB
8 * frameset.el (frameset-restore): Compare display strings with equal.
9
3ea2c781
JB
10 * frame.el (make-frame): Don't quote display name in error message,
11 it is already a string.
12
f1e06f7b
TV
132014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14
15 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
16 the password.
17
2614c1af
DG
182014-03-23 Dmitry Gutov <dgutov@yandex.ru>
19
20 * emacs-lisp/package.el (package-show-package-list): If the buffer
21 is already displayed in another window, switch to that window.
22
a41475e1
DC
232014-03-21 Daniel Colascione <dancol@dancol.org>
24
25 * mail/emacsbug.el (report-emacs-bug): Include memory usage
26 information in bug reports.
27
7eab98da
DC
282014-03-23 Daniel Colascione <dancol@dancol.org>
29
30 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
31 list to look for keyword arguments instead of `memq', fixing
32 (Bug#3647) --- unfortunately, only for freshly-compiled code.
33 Please make bootstrap.
34
9e37f3b9
RS
352014-03-23 Richard Stallman <rms@gnu.org>
36
37 * battery.el (battery-linux-sysfs): Search for each field
38 from the beginning of the buffer.
39
1197f2e6
DG
402014-03-22 Dmitry Gutov <dgutov@yandex.ru>
41
42 * emacs-lisp/package.el (package-desc): Use the contents of the
43 quoted form, not its cdr. (Bug#16873)
44
aac06179
JB
452014-03-22 Juanma Barranquero <lekktu@gmail.com>
46
47 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
48 benefit of doc.c; change parameter profile to match the X function.
49
1e92a8a3
MA
502014-03-21 Michael Albinus <michael.albinus@gmx.de>
51
52 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
53 and `tramp-copy-env'.
54
55 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
56 (tramp-maybe-open-connection): Handle `tramp-login-env'.
57
78540c42
GM
582014-03-21 Glenn Morris <rgm@gnu.org>
59
60 * electric.el (electric-indent-post-self-insert-function): Add doc.
61
1fc8f655
DG
622014-03-21 Dmitry Gutov <dgutov@yandex.ru>
63
dcf78667
DG
64 * emacs-lisp/package.el (package-compute-transaction):
65 Use `version-list-<=' to compare the requirement version against
66 the version of package already to be installed. Update the error
67 message. (Bug#16826)
68
1fc8f655
DG
69 * progmodes/ruby-mode.el (ruby-smie-rules):
70 Add indentation rule for ` @ '. (Bug#17050)
71
dada060d
JB
722014-03-21 Juanma Barranquero <lekktu@gmail.com>
73
74 * align.el (align-regexp): Remove superfluous backslash.
75
76 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
77 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
78 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
79 Fix docstring typos.
80 (ffap-next): Use C-u in docstring.
81 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
82 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
83 Remove superfluous backslashes.
84 (ffap-string-at-point): Reflow docstring.
85
86 * server.el (server-host): Reflow docstring.
87 (server-unload-function): Fix docstring typo.
88 (server-eval-at): Remove superfluous backslash.
89
90 * skeleton.el (skeleton-insert): Remove superfluous backslash.
91 (skeleton-insert): Doc fix.
92 (skeleton-insert): Reflow docstring.
93
94 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
95 (tty-color-approximate, tty-color-by-index, tty-color-values)
96 (tty-color-desc): Remove superfluous backslashes.
97
049fac7c
SM
982014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
99
494ec1e7
SM
100 * electric.el (electric-newline-and-maybe-indent): New command.
101 Bind it globally to C-j.
102 (electric-indent-mode): Don't mess with the global map any more.
103 Don't drop the post-self-insert-hook is some buffer is still using it
104 (bug#16770).
105 * bindings.el (global-map): Remove C-j binding.
106
049fac7c
SM
107 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
108 the docstring of functions advised before dumping (bug#16993).
109
f15ec1ba 1102014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
111
112 * ps-print.el (ps-generate-postscript-with-faces):
113 Explicitly deactivate the mark (bug#16866).
114 * simple.el (deactivate-mark): Update region highlight.
115
f88bdc45
JB
1162014-03-19 Juanma Barranquero <lekktu@gmail.com>
117
118 * emacs-lisp/package.el (describe-package-1):
119 Decode commentary (bug#16733).
120
6b88e570
JB
1212014-03-18 Juanma Barranquero <lekktu@gmail.com>
122
123 * custom.el (defcustom): Doc fix: recommend avoiding destructive
124 modification of the value argument of :set (bug#16755).
125
ac9b4703
SM
1262014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * simple.el (newline-and-indent): Do autofill (bug#17031).
129
2b7858ec
DG
1302014-03-18 Dmitry Gutov <dgutov@yandex.ru>
131
132 * newcomment.el (comment-normalize-vars): Only add escaping check
133 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
134 (comment-beginning): Use `narrow-to-region' instead of moving back
135 one character.
136 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
137 (comment-start-skip): Update the docstring.
138
11eff3ae
RS
1392014-03-18 Richard Stallman <rms@gnu.org>
140
141 * dired.el (dired-display-file): Force use of other window.
142
07f44fdb
JB
1432014-03-18 Daniel Colascione <dancol@dancol.org>
144
145 * startup.el (tty-handle-args): Remove debug message from 2007.
146
1472014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
148
149 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
150 (advice--make-interactive-form): Use it to avoid (auto)loading function.
151 (advice--make-1, advice-add, advice-remove):
152 Remove braindead :advice-pending hack.
153
61debe4a
GM
1542014-03-17 Glenn Morris <rgm@gnu.org>
155
156 * calendar/calendar.el (calendar-generate-month): Apply weekend
157 face to the right days; fixes 2013-08-06 change. (Bug#17028)
158
8273986b
MA
1592014-03-17 Michael Albinus <michael.albinus@gmx.de>
160
161 * net/tramp.el (tramp-action-out-of-band): Read pending output.
162 (tramp-call-process): Trace also DESTINATION.
163
164 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
165 Quote file names when they are local. Remove superfluous trace.
166
4f8aeb84
DG
1672014-03-17 Dmitry Gutov <dgutov@yandex.ru>
168
218feefc
DG
169 * newcomment.el (comment-beginning): If `comment-start-skip'
170 doesn't match, move back one char and try again. (Bug#16971)
171
6c187ef5
SM
172 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
173 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
174 Set `comment-start-skip' to a simpler value that doesn't try to
175 check if the semicolon is escaped (this is handled by
176 `syntax-ppss' now). (Bug#16971)
177
178 * progmodes/scheme.el (scheme-mode-variables): Same.
179
b92631bf
MR
1802014-03-16 Martin Rudalics <rudalics@gmx.at>
181
182 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
183 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
184 current (Bug#16816, Bug#17007).
185 (with-current-buffer-window): New macro doing the same as
186 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
187 * help.el (help-print-return-message): Warn in doc-string to not
188 use this in `with-help-window'.
189 (describe-bindings-internal): Call `describe-buffer-bindings'
190 from within help buffer. See Juanma's scenario in (Bug#16816).
191 (with-help-window): Update doc-string.
192 * dired.el (dired-mark-pop-up):
193 * files.el (save-buffers-kill-emacs):
194 * register.el (register-preview): Use `with-current-buffer-window'
195 instead of `with-temp-buffer-window'.
196
57348c4d
JB
1972014-03-16 Juanma Barranquero <lekktu@gmail.com>
198
199 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
200 Implement inserting into current buffer, documented in their docstrings.
201 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
202 (rst-section-tree-point, rst-forward-section, rst-indent)
203 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
204 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
205 (rst-font-lock-handle-adornment-pre-match-form)
206 (rst-repeat-last-character): Reflow docstrings.
207 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
208 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
209 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
210 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
211 Fix docstring typos.
212 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
213 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
214 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
215
fd16b061
JB
2162014-03-15 Juanma Barranquero <lekktu@gmail.com>
217
a2403e3d
JB
218 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
219 for compatibility with other ports.
220 (ns-initialize-window-system): Use it. It is set in term/common-win.el
221 from the -xrm command line argument, but in the Nextstep port its value
222 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
223
fd16b061
JB
224 * progmodes/python.el (defconst, python-syntax-count-quotes)
225 (python-indent-region, python-indent-shift-right)
226 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
227 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
228 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
229 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
230 (inferior-python-mode, python-shell-make-comint, run-python-internal)
231 (python-shell-buffer-substring, python-shell-send-buffer)
232 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
233 (python-completion-complete-at-point, python-fill-docstring-style)
234 (python-eldoc-function, python-imenu-format-item-label)
235 (python-imenu-format-parent-item-label)
236 (python-imenu-format-parent-item-jump-label)
237 (python-imenu--build-tree, python-imenu-create-index)
238 (python-imenu-create-flat-index): Fix docstring typos.
239 (python-indent-context, python-shell-prompt-regexp, run-python):
240 Remove superfluous backslashes.
241 (python-indent-line, python-nav-beginning-of-defun)
242 (python-shell-get-buffer, python-shell-get-process)
243 (python-info-current-defun, python-info-current-line-comment-p)
244 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
245 (python-indent-post-self-insert-function, python-shell-send-file)
246 (python-shell-completion-get-completions)
247 (python-shell-completion-complete-or-indent)
248 (python-eldoc--get-doc-at-point): Reflow docstrings.
249
e94807f0
GM
2502014-03-14 Glenn Morris <rgm@gnu.org>
251
88103345
GM
252 * emacs-lisp/package.el (package-menu-mode-map):
253 Replace use of obsolete function alias. Tweak menu item text.
254
f2dd4ba8
GM
255 * info.el (Info-finder-find-node):
256 Ignore the `emacs' metapackage. (Bug#10813)
257
ac0f82ef
GM
258 * finder.el (finder-list-matches): Include unversioned packages
259 in the result of a keyword search.
260
e94807f0
GM
261 * finder.el (finder--builtins-descriptions): New constant.
262 (finder-compile-keywords): Use finder--builtins-descriptions.
263
50d434d1
DG
2642014-03-14 Dmitry Gutov <dgutov@yandex.ru>
265
266 * simple.el (blink-matching-paren): Describe the new value,
267 `jump', enabling the old behavior.
268 (blink-matching-open): Use that value. (Bug#17008)
269
56759cf1
GM
2702014-03-14 Glenn Morris <rgm@gnu.org>
271
459d74ef
GM
272 * finder.el (finder-no-scan-regexp): Add leim-list.
273 (finder-compile-keywords):
274 Don't skip files with same basename. (Bug#14010)
275 * Makefile.in (setwins_finder): New, excluding leim.
276 (finder-data): Use setwins_finder.
277
56759cf1
GM
278 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
279 (help-function-arglist, help-make-usage): Move from here...
280 * help.el (help-split-fundoc, help-add-fundoc-usage)
281 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
282 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
283
7644aa97
JB
2842014-03-14 Juanma Barranquero <lekktu@gmail.com>
285
286 * net/socks.el (socks, socks-override-functions)
fd16b061 287 (socks-find-services-entry):
7644aa97
JB
288 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
289 (hif-find-ifdef-block):
290 * progmodes/modula2.el (m2-indent): Fix docstring typos.
291
292 * net/tls.el (tls-program): Reflow docstring.
293
294 * progmodes/pascal.el (pascal-mode-abbrev-table)
295 (pascal-imenu-generic-expression, pascal-auto-endcomments)
296 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
297 (pascal-outline-mode): Fix docstring typos.
298 (pascal-mode): Let define-derived-mode document mode hook.
299 (pascal-uncomment-area): Reflow.
300 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
301
302 * progmodes/opascal.el (opascal-compound-block-indent)
303 (opascal-case-label-indent): Fix docstring typos.
304 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
305
1f44df94
DG
3062014-03-13 Dmitry Gutov <dgutov@yandex.ru>
307
07f44fdb
JB
308 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
309 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 310
0d71dfb3
TW
3112014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
312
313 * emacs-lisp/package.el (package--prepare-dependencies):
314 Accept requirements without explicit version (bug#14941).
315
d27a1a7b
JB
3162014-03-12 Juanma Barranquero <lekktu@gmail.com>
317
a5765a3d
JB
318 * register.el (register-separator, copy-to-register): Doc fixes.
319 (register-preview-default): Remove unnecessary call to concat.
320
d27a1a7b
JB
321 * frameset.el (frameset-restore): When checking for a visible frame,
322 use the action map instead of calling visible-frame-list.
323
08dfa0b7
JB
3242014-03-12 Jonas Bernoulli <jonas@bernoul.li>
325
326 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
327
8960529e
MR
3282014-03-12 Martin Rudalics <rudalics@gmx.at>
329
330 * window.el (fit-frame-to-buffer): Get maximum width from
331 display's width instead of height.
332
8a51e8e4
GM
3332014-03-12 Glenn Morris <rgm@gnu.org>
334
46456005
GM
335 * desktop.el (desktop-restore-frames)
336 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
337 (desktop-restore-reuses-frames): Doc tweaks.
338
8a51e8e4
GM
339 * electric.el (electric-indent-mode): Doc fix.
340
5983b317
JB
3412014-03-12 Juanma Barranquero <lekktu@gmail.com>
342
343 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
344 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
345 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
346 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
347 (cvs-dired-use-hook): Fix docstring typos.
348 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
349 Doc fixes.
350
351 * vc/pcvs-defs.el (cvs-auto-remove-handled)
352 (cvs-auto-remove-directories, cvs-default-ignore-marks)
353 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
354 (cvs-execute-single-dir): Fix docstring typos.
355
356 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
357 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
358
359 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
360
361 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
362 Fix docstring typos.
363
13c00cf0
JB
3642014-03-12 Juanma Barranquero <lekktu@gmail.com>
365
366 * frameset.el (frameset--jump-to-register): Add autoload; it could be
367 called from jump-to-register after unloading the frameset package.
368
536a17e3
SM
3692014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
370
371 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
372 (bug#16975). Deactivate the mark before setting it to nil.
373 (activate-mark): Do nothing if region is already active.
374
baf8d0ac
JB
3752014-03-11 Juanma Barranquero <lekktu@gmail.com>
376
377 * frameset.el (frameset--target-display): Remove definition; declare.
378 (frameset-save, frameset-restore): Let-bind frameset--target-display.
379
1ea22560
SM
3802014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
383 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
384 when the advice is pending.
385 (advice-remove): Remove this marker when not needed any more.
386
4538c058
JB
3872014-03-11 Juanma Barranquero <lekktu@gmail.com>
388
389 * frameset.el: Separate options for reusing frames and cleaning up.
390 (frameset--reuse-list): Remove definition; declare.
391 (frameset--action-map): Declare.
392 (frameset--find-frame-if): Doc fix.
393 (frameset--restore-frame): Cache frame action.
394 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
395 how to clean up the frame list after restoring. Remove cleaning
396 options from REUSE-FRAMES. Change all keyword values to symbols.
397 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
398
399 * desktop.el (desktop-restore-forces-onscreen)
400 (desktop-restore-reuses-frames): Use non-keyword values.
401 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
402
ba1a5c78
GM
4032014-03-10 Glenn Morris <rgm@gnu.org>
404
776aa432
GM
405 * files.el (find-file): Doc fix: update info node name.
406
ba1a5c78
GM
407 * emacs-lisp/advice.el (ad-add-advice, defadvice):
408 Doc fix: remove references to deleted info nodes.
409
183d706e
MA
4102014-03-10 Michael Albinus <michael.albinus@gmx.de>
411
412 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
413 Do not add `nil' to the environment, when there's no remote `locale'.
414 (tramp-find-inline-encoding): Check, that the remote host has
415 installed perl, before sending scripts.
416
6f0f96e7
LL
4172014-03-10 Leo Liu <sdl.web@gmail.com>
418
536a17e3
SM
419 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
420 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 421
ca70fe78
SM
4222014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
425 (bug#14430).
426
eb67db41
JL
4272014-03-09 Juri Linkov <juri@jurta.org>
428
429 * ansi-color.el (ansi-color-names-vector): Copy default colors
430 from `xterm-standard-colors' that look well on the default white
431 background (and also on the black background) to avoid illegible
8cf07e5a 432 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
433 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
434
e7db5447
JB
4352014-03-08 Juanma Barranquero <lekktu@gmail.com>
436
437 * frameset.el (frameset-restore): When no frame is visible, do not
438 generate a list of frames, just make visible the selected one.
439
f0a4c8d7
DG
4402014-03-08 Dmitry Gutov <dgutov@yandex.ru>
441
442 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
443 it only contains the repository root. (Bug#16897)
444
e50772e3
MA
4452014-03-07 Michael Albinus <michael.albinus@gmx.de>
446
447 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
448 only when `remote-file-name-inhibit-cache' is nil.
449 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
450
cac0a1d6
MR
4512014-03-06 Martin Rudalics <rudalics@gmx.at>
452
453 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
454 Fix doc-strings.
455 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
456 fit-frame-to-buffer variable. Fix doc-string.
457 (fit-window-to-buffer): Set ONLY argument in call of
458 fit-frame-to-buffer. Fix doc-string.
459
fa965cbf
MA
4602014-03-06 Michael Albinus <michael.albinus@gmx.de>
461
462 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
463 (tramp-action-password): Clear password cache if needed.
464 (tramp-read-passwd): Do not clear password cache.
465
466 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
467 cache unless it is the first password request.
468
c94e6ee4
GM
4692014-03-06 Glenn Morris <rgm@gnu.org>
470
03bc753e
GM
471 * simple.el (newline): Doc tweak.
472
c94e6ee4
GM
473 * emacs-lisp/shadow.el (load-path-shadows-find):
474 Ignore dir-locals. (Bug#12357)
475
bd2d43dc
GM
4762014-03-05 Glenn Morris <rgm@gnu.org>
477
478 * files.el (interpreter-mode-alist):
479 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
480
9284000e
JB
4812014-03-05 Juanma Barranquero <lekktu@gmail.com>
482
483 * frameset.el (frameset--initial-params): Filter out null entries.
484
e1a2cb1c
MR
4852014-03-05 Martin Rudalics <rudalics@gmx.at>
486
27821a89
JB
487 * window.el (window-min-height, window-min-width):
488 Rewrite doc-strings.
e1a2cb1c
MR
489 (window-body-size): Add PIXELWISE argument to make it consistent
490 with its callees.
491
6bf67038
JB
4922014-03-05 Juanma Barranquero <lekktu@gmail.com>
493
494 * finder.el (finder-mode-map, finder-mode-syntax-table):
495 Revert part of 2014-02-28 change.
496
90f04e4c
LI
4972014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
498
499 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
500 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
501 (eww-textarea-map): [tab] doesn't work on tty.
502 Reported by Mario Lang.
6952100d
LI
503
504 * net/shr.el (shr-map): Ditto.
90f04e4c 505
3106d59b
GM
5062014-03-04 Glenn Morris <rgm@gnu.org>
507
508 * minibuffer.el (completion-hilit-commonality):
509 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
510
f604dfdc
JB
5112014-03-04 Juanma Barranquero <lekktu@gmail.com>
512
513 * hilit-chg.el (hilit-chg-unload-function): New function.
514 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
515 (hilit-chg-map-changes): Prefer cardinal number to digit.
516 (hilit-chg-display-changes): Reflow docstring.
517 (highlight-changes-rotate-faces): Remove superfluous backslash.
518
5dc65319
MA
5192014-03-04 Michael Albinus <michael.albinus@gmx.de>
520
521 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
522 `tramp-send-command-and-check'.
523
4242d21d
JB
5242014-03-04 Juanma Barranquero <lekktu@gmail.com>
525
b01fa838
JB
526 * hexl.el (hexl-address-region, hexl-ascii-region)
527 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
528 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
529 (hexl-forward-word, hexl-previous-line, hexl-next-line):
530 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
531 (hexl-mode): Doc fix.
532 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
533 (hexl-mode-ruler): Fix typos in docstrings.
534
4242d21d
JB
535 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
536 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
537 Remove superfluous backslashes.
538 (strokes-last-stroke, strokes-global-map, strokes-mode):
539 Reflow docstrings.
540 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
541 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
542 (strokes-distance-squared, strokes-global-set-stroke)
543 (strokes-global-set-stroke-string): Doc fixes.
544 (strokes-help): Fix typos; reflow docstring.
545
87132570
MR
5462014-03-04 Martin Rudalics <rudalics@gmx.at>
547
548 * window.el (window-in-direction): Fix doc-string.
549
d82e752c
GM
5502014-03-04 Glenn Morris <rgm@gnu.org>
551
552 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
553 Explicit error if no grammar.
554 (smie-config-save): Doc fix. Fix quote typo.
555
62528af0
SM
5562014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
557
8d4901dc
SM
558 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
559 electric-indent-mode-hook if we obey electric-indent-mode.
560 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
561 decide whether we obey electric-indent-mode.
562 (c-change-set-fl-decl-start, c-extend-after-change-region):
563 Silence warnings.
564 (c-electric-indent-mode-hook): Assume we do want to obey
565 electric-indent-mode.
566
567 * electric.el (electric-indent-mode-has-been-called): Remove.
568 (electric-indent-mode): Fix accordingly.
569
092c12b2
SM
570 * files.el (hack-local-variables): Mention file name in warning.
571
62528af0
SM
572 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
573
5b87d0d9
MN
5742014-03-04 Michal Nazarewicz <mina86@mina86.com>
575
576 * binding.el: Add comment describing why C-d binds to `delete-char'.
577 * simple.el (delete-forward-char): Mark as interactive-only.
578
542a3840
JB
5792014-03-03 Juanma Barranquero <lekktu@gmail.com>
580
f2d2402e
GM
581 * icomplete.el (icomplete-completions):
582 Follow-up to 2014-03-01 change.
d11320e5
JB
583
584 * icomplete.el: Miscellaneous doc fixes.
585 Use Icomplete everywhere instead of icomplete for consistency.
586 (icomplete-max-delay-chars): Fix typo.
587 (icomplete-mode): Use \[].
588 (icomplete-tidy, icomplete-exhibit): Reflow.
589 (icomplete-minibuffer-setup-hook, icomplete-completions):
590 Remove superfluous backlashes.
591
592 * ido.el: Miscellaneous doc fixes.
593 Use Ido everywhere instead of ido or `ido' for consistency.
594 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
595 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
596 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
597 (ido-separator): Extract obsolescence info from docstring and declare
598 with make-obsolete-variable.
599 (ido-minibuffer-setup-hook): Simplify example.
600 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
601 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
602 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
603 (ido-everywhere): Reflow docstring.
604 (ido-toggle-vc): Doc fix.
605 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
606 of long list of keybindings.
607
7ebd57e9
GM
6082014-03-03 Glenn Morris <rgm@gnu.org>
609
610 * frame.el (display-pixel-height, display-pixel-width)
611 (display-mm-dimensions-alist, display-mm-height)
612 (display-mm-width): Doc tweaks.
613
35e951cd 6142014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
615
616 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
617 case of undo in region.
618
b923819c
MR
6192014-03-02 Martin Rudalics <rudalics@gmx.at>
620
621 * window.el (fit-window-to-buffer): Fix argument in window-size
622 call when window is horizontally combined.
623
b6e443c5
JB
6242014-03-02 Juanma Barranquero <lekktu@gmail.com>
625
626 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 627 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 628
1850913d
DG
6292014-03-01 Dmitry Gutov <dgutov@yandex.ru>
630
35e951cd
JB
631 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
632 Highlight regexp options. (Bug#16914)
1850913d 633
04b577b6
MR
6342014-03-01 Martin Rudalics <rudalics@gmx.at>
635
636 * window.el (window--max-delta-1): Round down when calculating
637 how many lines/columns we can get from a window.
638
b829360f
GM
6392014-03-01 Glenn Morris <rgm@gnu.org>
640
2501c912
GM
641 * isearch.el (search-invisible): Doc fix.
642
b829360f
GM
643 * minibuffer.el (completion-hilit-commonality):
644 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
645 * comint.el (comint-dynamic-list-completions): Doc fix.
646 * comint.el (comint-dynamic-list-completions):
647 * filecache.el (file-cache-minibuffer-complete):
648 * tempo.el (tempo-display-completions):
649 * eshell/em-hist.el (eshell-list-history):
650 Replace use of obsolete argument of display-completion-list.
651
9a155058
JB
6522014-03-01 Juanma Barranquero <lekktu@gmail.com>
653
654 * icomplete.el (icomplete-completions):
655 Revert back to using "..." when ?… cannot be displayed.
656
53f6cda8
JB
6572014-02-28 Juanma Barranquero <lekktu@gmail.com>
658
659 * finder.el (finder-unload-function): New function.
660
43977c23
JB
6612014-02-28 Juanma Barranquero <lekktu@gmail.com>
662
663 * dframe.el (dframe-detach):
664 * find-dired.el (find-dired, find-name-dired):
665 * finder.el (finder-mode-map, finder-mode-syntax-table)
666 (finder-headmark, finder-select, finder-mouse-select):
667 Fix docstring typos.
668
9dda75ad
MR
6692014-02-28 Martin Rudalics <rudalics@gmx.at>
670
671 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
672 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
673 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
674 Fix doc-string based on a suggestion by Nicolas Richard
675 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
676 * help.el (with-help-window): Fix doc-string.
677
8a73034e
IK
6782014-02-28 Ivan Kanis <ivan@kanis.fr>
679
b70257b0
GM
680 * net/shr.el (shr-image-animate): New option.
681 (shr-put-image): Respect shr-image-animate.
8a73034e 682
245aa73e
MA
6832014-02-28 Michael Albinus <michael.albinus@gmx.de>
684
685 * net/tramp-adb.el (tramp-adb-parse-device-names):
686 Use `accept-process-output'.
687 (tramp-adb-handle-file-truename): Cache the localname only.
688 (tramp-adb-handle-make-directory)
689 (tramp-adb-handle-delete-directory): Flush file properties correctly.
690 (tramp-adb-handle-set-file-modes): Do not raise an error when file
691 modes cannot be changed.
692
693 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
694 file properties of symlinks.
695
48e15d64
PS
6962014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
697
698 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
699 required/optional fields to match development biblatex. (Bug#16781)
700
65b77347
AS
7012014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
702
703 * saveplace.el (toggle-save-place):
704 Fix argument handling. (Bug#16673)
705
5e618aba
GM
7062014-02-28 Glenn Morris <rgm@gnu.org>
707
708 * minibuffer.el (completions-first-difference)
709 (completions-common-part, completion-hilit-commonality): Doc fixes.
710
6deb314e
KB
7112014-02-28 Karl Berry <karl@gnu.org>
712
713 * info.el (Info-mode-map): Add H for describe-mode,
714 to synchronize with standalone Info.
715
289996f5
EL
7162014-02-28 Emilio C. Lopes <eclig@gmx.net>
717
718 * progmodes/sql.el (sql-interactive-mode):
719 Avoid setting global comint-input-ring-separator. (Bug#16814)
720
79fc1191
MA
7212014-02-27 Michael Albinus <michael.albinus@gmx.de>
722
723 * net/dbus.el (dbus--init-bus): Declare function.
724 (dbus-path-local, dbus-interface-local): New defconst.
725 (dbus-init-bus): Use them.
726 (dbus-return-values-table): Extend doc.
727 (dbus-handle-bus-disconnect): Extend error message.
728
298520df
JB
7292014-02-27 Juanma Barranquero <lekktu@gmail.com>
730
731 * subr.el (y-or-n-p): Fix double space issue in message.
732
c22c1614
MA
7332014-02-27 Michael Albinus <michael.albinus@gmx.de>
734
735 * net/tramp.el (tramp-call-process): Improve trace message.
736 (tramp-handle-insert-file-contents): Trace error case.
737
738 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
739 <insert-directory>: Use `tramp-handle-insert-directory'.
740 (tramp-adb-handle-insert-directory): Remove function.
741 (tramp-adb-send-command-and-check): New defun, replacing
742 `tramp-adb-command-exit-status'. Change all callees.
743 (tramp-adb-handle-file-attributes)
744 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
745 (tramp-adb-ls-output-name-less-p):
746 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
747 (tramp-adb-handle-delete-directory): Flush also file properties of
748 the truename of directory.
749 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
750 (tramp-adb-handle-file-local-copy): Make the local copy readable.
751 (tramp-adb-handle-write-region): Implement APPEND.
752 (tramp-adb-handle-rename-file): Make it more robust. Flush file
753 properties correctly.
754 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
755 variables. Check for connected devices only when needed.
756
d9263618
GM
7572014-02-27 Glenn Morris <rgm@gnu.org>
758
ea7826ba
GM
759 * minibuffer.el (completion-table-dynamic)
760 (completion-table-with-cache): Doc fixes.
761
d9263618
GM
762 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
763 (completing-read-multiple): Doc fixes.
764
eff3168a
DC
7652014-02-27 Daniel Colascione <dancol@dancol.org>
766
51f213c3
DC
767 * minibuffer.el (completion--nth-completion): Fix indentation.
768
eff3168a
DC
769 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
770 explicit tramp path is empty.
771
b77cfcd7
GM
7722014-02-27 Glenn Morris <rgm@gnu.org>
773
774 * emacs-lisp/crm.el (completing-read-multiple):
775 Empower help-enable-auto-load.
776
9577b569
GM
7772014-02-26 Glenn Morris <rgm@gnu.org>
778
259887e8
GM
779 * startup.el (command-line): Don't init the tty in daemon mode.
780
1d491ef2
GM
781 Avoid calling tty-setup-hook twice, eg if a term file
782 explicitly calls tty-run-terminal-initialization. (Bug#16859)
783 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
784 (tty-create-frame-with-faces): Use it.
785 * startup.el (command-line): Pass run-hook argument
786 to tty-run-terminal-initialization.
787
9577b569
GM
788 * dired.el (dired-restore-desktop-buffer): Demote errors;
789 eg in case a glob match fails. (Bug#16884)
790
40ff7f86
DG
7912014-02-26 Dmitry Gutov <dgutov@yandex.ru>
792
b2388336
DG
793 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
794 error from `read-from-string'. (Bug#16850)
795
40ff7f86
DG
796 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
797 result of `completing-read' in the interactive form. (Bug#16854)
798
98bd6b32
GM
7992014-02-25 Glenn Morris <rgm@gnu.org>
800
f086804c
GM
801 * image.el (image-animate, image-animate-timeout):
802 Stop animating images in dead buffers. (Bug#16878)
803
c107155e
GM
804 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
805
9577b569
GM
806 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
807 Doc fixes.
98bd6b32
GM
808 * startup.el (term-setup-hook): Doc fix. Make obsolete.
809 * term/sun.el (sun-raw-prefix-hooks):
810 Use tty-setup-hook instead of term-setup-hook.
811 (terminal-init-sun): Construct message from bytecomp plist.
812 * term/wyse50.el (enable-arrow-keys): Doc fix.
813
9c9e18e8
JB
8142014-02-24 Juanma Barranquero <lekktu@gmail.com>
815
816 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
817 Fix docstring typos.
818
c848881f
MA
8192014-02-24 Michael Albinus <michael.albinus@gmx.de>
820
821 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
822
0e38ae05
NR
8232014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
824
825 * minibuffer.el (completion--try-word-completion):
826 Fix error when completing M-x commands (bug#16808).
827
8ee4c296
LL
8282014-02-24 Leo Liu <sdl.web@gmail.com>
829
830 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
831
7d4bd627
JB
8322014-02-24 Juanma Barranquero <lekktu@gmail.com>
833
834 * apropos.el (apropos-print): Avoid formatting error when
835 apropos-do-all and apropos-compact-layout are both t.
836
e918e27f
JB
8372014-02-23 Juanma Barranquero <lekktu@gmail.com>
838
839 * apropos.el (apropos-property, apropos-all-words-regexp)
840 (apropos-true-hit, apropos-variable, apropos-print):
841 Fix docstring typos, and remove obsolete comment.
842
85c01f80
MA
8432014-02-23 Michael Albinus <michael.albinus@gmx.de>
844
845 * net/tramp-sh.el (tramp-sh-handle-file-truename):
846 Preserve trailing "/". (Bug#16851)
847
62f95022
DG
8482014-02-23 Dmitry Gutov <dgutov@yandex.ru>
849
850 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
851 after `=>' (bug#16811).
dfdb365c
DG
852 (ruby-smie-rules): Handle the inconsistent second element of the
853 list returned by `smie-indent--parent'.
854 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
855 method call.
62f95022 856
025f2c81
JB
8572014-02-23 Juanma Barranquero <lekktu@gmail.com>
858
859 * elec-pair.el (electric-pair-text-syntax-table)
860 (electric-pair-syntax-info, electric-pair--syntax-ppss)
861 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
862 (electric-pair--looking-at-unterminated-string-p): Doc fix.
863 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
864
123c84f9
GM
8652014-02-22 Glenn Morris <rgm@gnu.org>
866
612c3e46
GM
867 * imenu.el (imenu--generic-function): Doc fix.
868
123c84f9
GM
869 * register.el (frame-configuration-to-register): Make obsolete.
870
e59fa9ad
JB
8712014-02-22 Juanma Barranquero <lekktu@gmail.com>
872
873 * desktop.el (desktop-save-buffer-p): Do not fail when
874 desktop-files-not-to-save is nil. Return t for true result
875 as the doc says.
876
4e652634
DC
8772014-02-22 Daniel Colascione <dancol@dancol.org>
878
27821a89 879 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
880 Check that attribute values are strings, avoiding the construction
881 of invalid dbus messages.
4e652634 882
f35affb6
JB
8832014-02-21 Juanma Barranquero <lekktu@gmail.com>
884
885 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
886 defun-declarations-alist.
887
3d136b1b
SM
8882014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
891 (bug#16829).
892
612ddfc0
JB
8932014-02-21 Juanma Barranquero <lekktu@gmail.com>
894
895 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
896 (whitespace-newline, whitespace-trailing, whitespace-line)
897 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
898 (whitespace-space-after-tab): Fix typo in docstrings.
899
c8481b1b
DG
9002014-02-21 Dmitry Gutov <dgutov@yandex.ru>
901
cb8f50a7
DG
902 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
903
c8481b1b
DG
904 * electric.el (electric-indent-functions-without-reindent):
905 Add `yaml-indent-line'.
906
bed5126f
JB
9072014-02-21 Juanma Barranquero <lekktu@gmail.com>
908
34b71457
JB
909 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
910 It has done nothing for years; should be removed after the release.
911
bed5126f
JB
912 * simple.el (choose-completion): Fix docstring typo.
913 (read-quoted-char-radix): Remove unneeded * in docstring.
914 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
915 Don't escape parentheses unnecessarily in docstrings.
916
8dd3e94f
MR
9172014-02-21 Martin Rudalics <rudalics@gmx.at>
918
919 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
920 * window.el (window--dump-window, window--dump-frame):
921 New functions.
922 (window--min-size-1): Account for window dividers.
923 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
924 sum of the window components has been calculated.
925 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
926 nil make sure at least one text line and two text columns remain
927 fully visible.
928 (window-resize): Signal an error when window-resize-apply fails.
929 (window--resize-child-windows): Fix calculation of by how many
930 pixels a window can still be shrunk via window-new-normal.
931 (adjust-window-trailing-edge): Call window--resizable with
932 correct TRAIL argument.
933
2ed94e04
MR
934 (with-temp-buffer-window): Don't evaluate BODY within
935 with-current-buffer (Bug#16816).
936
0e5324c4
MA
9372014-02-21 Michael Albinus <michael.albinus@gmx.de>
938
939 * net/tramp.el (tramp-check-cached-permissions):
940 Call `file-attributes' with `suffix' being a symbol but a string.
941
48198420
DC
9422014-02-21 Daniel Colascione <dancol@dancol.org>
943
944 * net/dbus.el (dbus-init-bus-1): Declare new subr.
945 (dbus-init-bus): New function: call into dbus-init-bus-1
946 and installs a handler for the disconnect signal.
947 (dbus-call-method): Rewrite to look for result in cons.
948 (dbus-call-method-handler): Store result in cons.
949 (dbus-check-event): Recognize events with nil sender as valid.
950 (dbus-handle-bus-disconnect): New function. React to bus
951 disconnection signal by synthesizing dbus error for each
952 pending synchronous or asynchronous call.
953 (dbus-notice-synchronous-call-errors): New function.
954 (dbus-handle-event): Raise errors directly only when `dbus-debug'
955 is true, not all the time.
956
99e15133
JB
9572014-02-21 Juanma Barranquero <lekktu@gmail.com>
958
e48983a6
JB
959 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
960 Remove obsolescence declarations, these variables do not exist anymore.
961
fdcfd745
JB
962 * savehist.el (savehist-save-minibuffer-history)
963 (savehist-additional-variables, savehist-file, savehist-mode-hook)
964 (savehist-save-hook, savehist-coding-system, savehist-loaded)
965 (savehist-load, savehist-install, savehist-autosave): Fix typos;
966 mostly, refer to "Savehist mode" when talking about the mode,
967 and not the function.
968
99e15133
JB
969 * saveplace.el (save-place): Remove redundant info in docstring.
970 (save-place-forget-unreadable-files, toggle-save-place)
971 (save-place-forget-unreadable-files, save-place-dired-hook):
972 Fix typos and remove unneeded backslashes.
973
f5bee33b
MA
9742014-02-20 Michael Albinus <michael.albinus@gmx.de>
975
976 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
977 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
978
979 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 980 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
981 (tramp-gvfs-handle-insert-directory): Remove function.
982
983 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
984 Call `tramp-handle-insert-directory'.
985
ee0761ca
JB
9862014-02-20 Juanma Barranquero <lekktu@gmail.com>
987
988 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
989 before the start of buffer/region (bug#16799).
990
4d49cc65
GM
9912014-02-20 Glenn Morris <rgm@gnu.org>
992
993 * isearch.el (search-invisible): Doc fix.
994
eee0d650
TK
9952014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
996
997 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
998 (bug#16657).
999
94e5e202
JB
10002014-02-19 Juanma Barranquero <lekktu@gmail.com>
1001
1002 * frameset.el (frameset-restore): Delay removing an old frame's
1003 duplicate id until the new frame has been correctly created.
1004
50bfdd5d
MA
10052014-02-19 Michael Albinus <michael.albinus@gmx.de>
1006
1007 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1008 (tramp-check-cached-permissions): Call `file-attributes' if the
1009 cache is empty.
1010
1011 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1012 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1013
1014 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1015 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1016 (tramp-gvfs-maybe-open-connection): Set always connection
1017 properties, even if target is mounted already.
1018
1019 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1020 Set tramp-autoload cookie.
1021 (tramp-get-remote-touch): New defun.
1022 (tramp-sh-handle-set-file-times): Use it.
1023 (tramp-sh-handle-directory-files-and-attributes):
1024 Use `tramp-handle-directory-files-and-attributes' if neither stat
1025 nor perl are available on the remote host.
1026
1027 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1028 "/". Write long listing only when "l" belongs to the switches.
1029
1030 * net/trampver.el: Update release number.
1031
f097a3d2
JB
10322014-02-19 Juanma Barranquero <lekktu@gmail.com>
1033
1034 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1035
8e009b78
MR
10362014-02-19 Martin Rudalics <rudalics@gmx.at>
1037
1038 * window.el (window-state-put): Allow WINDOW to refer to an
1039 internal window (Bug#16793).
1040
95160c90
GM
10412014-02-19 Glenn Morris <rgm@gnu.org>
1042
1043 * textmodes/remember.el: Move provide statement to end.
1044 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1045 (remember-notes): Doc fixes.
1046
b28df58c
SM
10472014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * delsel.el (delete-char): Restore incorrectly erased property
1050 (bug#16795).
1051
7108e1c0
JB
10522014-02-18 Juanma Barranquero <lekktu@gmail.com>
1053
1054 * frameset.el (frameset--restore-frame): When a frame is being reused
1055 and its root window is not alive, delete all the frame's windows before
1056 restoring the window state. This works around the issue in bug#16793.
1057
c863b6ad
GM
10582014-02-18 Glenn Morris <rgm@gnu.org>
1059
a73fae1f
GM
1060 * textmodes/remember.el (remember-data-directory)
1061 (remember-directory-file-name-format, remember-store-in-files)
1062 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1063 (remember-notes-save-and-bury-buffer)
1064 (remember-notes--kill-buffer-query): Doc fixes.
1065
c863b6ad
GM
1066 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1067
29238d28
AM
10682014-02-17 Alan Mackenzie <acm@muc.de>
1069
1070 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1071 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1072 to electric-indent-{,local-}-mode.
b28df58c
SM
1073 (c-basic-common-init): Set electric-indent-inhibit.
1074 Initialise c-electric-flag from electric-indent-mode.
29238d28 1075 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1076 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1077
1078 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1079 hit, toggle electric-indent-local-mode.
29238d28 1080
b28df58c
SM
1081 * electric.el (electric-indent-mode-has-been-called):
1082 New variable.
29238d28 1083
c6463340
JB
10842014-02-17 Juanma Barranquero <lekktu@gmail.com>
1085
1086 * frameset.el (frameset-cfg-id): New function.
1087 (frameset--reuse-frame, frameset-restore): Use it.
1088 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1089
94912b88
SM
10902014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * ido.el (ido-file-internal): Remove unused var `d'.
1093 Use \` for to match BoS. Fit within 80n columns.
1094
26ea164c
DC
10952014-02-17 Daniel Colascione <dancol@dancol.org>
1096
1097 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1098 dbus-call-method check for completion using a busy-wait loop with
1099 gradual backoff.
1100
dd7691b7
MA
11012013-10-02 Michael Albinus <michael.albinus@gmx.de>
1102
1103 Sync with Tramp 2.2.9.
1104
1105 * net/trampver.el: Update release number.
1106
17d1b51b
DG
11072014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1108
1109 * ido.el (ido-file-internal): Don't add the name of an existing
1110 directory twice. (Bug#16747)
1111
5bcad689
GM
11122014-02-16 Glenn Morris <rgm@gnu.org>
1113
1114 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1115 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1116
11172014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1118
1119 * progmodes/sql.el: Version 3.4
1120 (sql-oracle-options): New default value ("-L").
94912b88 1121 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1122 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1123 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1124 (sql-login-delay): New variable.
1125 (sql-product-interactive): Use it.
1126
285f1858
JB
11272014-02-15 Juanma Barranquero <lekktu@gmail.com>
1128
1129 * frameset.el (frameset--jump-to-register): Check that buffer is live
1130 (bug#16749).
1131
5d645ea4
GM
11322014-02-15 Glenn Morris <rgm@gnu.org>
1133
1134 * info.el (info-initialize): Revert 2014-01-10 change.
1135
48c4f9b1
GM
11362014-02-14 Glenn Morris <rgm@gnu.org>
1137
b8630261
GM
1138 * replace.el (map-query-replace-regexp)
1139 (read-regexp-defaults-function, read-regexp): Doc fixes.
1140
b2bf2a25
GM
1141 * dired.el (dired-read-regexp):
1142 * faces.el (list-faces-display):
1143 * misearch.el (multi-isearch-read-matching-buffers)
1144 (multi-isearch-read-matching-files):
1145 * play/cookie1.el (cookie-apropos):
1146 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1147
48c4f9b1
GM
1148 * textmodes/remember.el (remember): Use frameset-to-register
1149 rather than frame-configuration-to-register.
1150
2804e0bd
JB
11512014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1152
1153 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1154 incorrect keybinding.
1155
0b87142f
DC
11562014-02-13 Daniel Colascione <dancol@dancol.org>
1157
1158 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1159 when adding overlays so that line numbers from compiler match line
1160 numbers we use.
1161
47a73eb0
GM
11622014-02-13 Glenn Morris <rgm@gnu.org>
1163
8abcfd51
GM
1164 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1165
47a73eb0
GM
1166 * jit-lock.el (jit-lock-mode): Doc fix.
1167
c9b6b262
JB
11682014-02-13 Juanma Barranquero <lekktu@gmail.com>
1169
1170 * apropos.el (apropos-read-pattern): When the user passes an empty
1171 string, give a more helpful error message than "Wrong type
1172 argument: stringp, nil".
1173
eb4c6947
SM
11742014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1175
1176 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1177
0dab5068
GM
11782014-02-13 Glenn Morris <rgm@gnu.org>
1179
1180 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1181
59075dcf
SM
11822014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1185 shift-select commands.
1186
5af9fbad
DG
11872014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1188
1189 * progmodes/js.el (js-indent-line): Don't widen.
1190 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1191
a215930c
GM
11922014-02-12 Glenn Morris <rgm@gnu.org>
1193
a8cb4247
GM
1194 * icomplete.el (icomplete): Add info-link to defgroup.
1195 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1196 (icomplete-minibuffer-map, icomplete-mode)
1197 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1198
a215930c
GM
1199 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1200 (package-menu-filter): Rename from package-menu-filter-interactive.
1201 Doc fix.
1202
26c5ecd9
JB
12032014-02-11 Juanma Barranquero <lekktu@gmail.com>
1204
1205 * frameset.el (frameset--jump-to-register): Select the required
1206 window and buffer before restoring position (bug#16696).
1207
fcd58a02
LI
12082014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1209
1210 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1211
bacb3380
GM
12122014-02-10 Glenn Morris <rgm@gnu.org>
1213
1214 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1215
881329dc
EZ
12162014-02-10 Eli Zaretskii <eliz@gnu.org>
1217
02328db9
EZ
1218 * w32-common-fns.el (x-get-selection): Doc fix.
1219 * select.el (x-get-selection): Doc fix. (Bug#15109)
1220
881329dc
EZ
1221 * face-remap.el (face-remap-add-relative)
1222 (face-remap-remove-relative, face-remap-reset-base)
1223 (face-remap-set-base): Call force-mode-line-update to redisplay
1224 the current buffer due to potential change in faces. (Bug#16709)
1225
c7db4c06
MA
12262014-02-10 Michael Albinus <michael.albinus@gmx.de>
1227
1228 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1229 script more robustly.
1230
6abe4589
LI
12312014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1232
7602b5c3
LI
1233 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1234
e3692ee0
LI
1235 * simple.el (choose-completion): Doc fix (bug#14160).
1236
41015524
LI
1237 * subr.el (event-start): Say what a nil EVENT value means.
1238
87c79dcb
LI
1239 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1240 (bug#14197).
1241
3ab49e2c
LI
1242 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1243
f3c60241
LI
1244 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1245
3bd1d8a8
LI
1246 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1247
6abe4589
LI
1248 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1249 predicate function (bug#15455).
1250
a11463de
DG
12512014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1252
1253 * ielm.el (inferior-emacs-lisp-mode): Instead of
1254 `comment-use-global-state', set `comment-use-syntax'.
1255
2ab0ad85
GM
12562014-02-10 Glenn Morris <rgm@gnu.org>
1257
1258 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1259
411141fb
AM
12602014-02-09 Alan Mackenzie <acm@muc.de>
1261
1262 Fix c-invalidate-state-cache on narrowed buffers.
1263 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1264 Widen when setting and clearing the CPP delimiter properties.
1265
d6d5fdf8
LI
12662014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1267
92c70367
LI
1268 * help.el (describe-bindings): Doc fix (bug#9888).
1269
468ef484
LI
1270 * files.el (save-buffer): Use ARG as the parameter name for
1271 consistency (bug#10346).
7e34193f 1272 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1273
fc2b1ffa 1274 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1275 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1276 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1277
790aceec
LI
1278 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1279
a54a7552 1280 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1281 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1282
dd163123
LI
1283 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1284 meaning of the parameter (bug#12282).
1285
9e108fe6
LI
1286 * files.el (find-file-noselect): Clarify prompt when changing
1287 readedness (bug#13261).
5a836f58
LI
1288 (locate-file): Suffixes aren't returned, so don't say that they
1289 are (bug#12674).
2356b316 1290 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1291
20dda930
LI
1292 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1293 before we actually start to delete things (bug#16331).
1294
d6d5fdf8
LI
1295 * subr.el (event-start): Doc fix (bug#14228).
1296 (event-end): Ditto.
1297
2abd71e5
GM
12982014-02-09 Glenn Morris <rgm@gnu.org>
1299
1300 * emacs-lisp/warnings.el (lwarn):
1301 Empower help-enable-auto-load. (Bug#15940)
1302
c1b5900b
AS
13032014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1304
1305 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1306 (Bug#16690)
1307
429b93bd
MA
13082014-02-08 Michael Albinus <michael.albinus@gmx.de>
1309
1310 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1311 Insert output at end of buffer. (Bug#16120)
1312
b772a699
LI
13132014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1314
18c6aa8c
LI
1315 * simple.el (choose-completion-string-functions): Document new
1316 calling convention (bug#14153).
54dd147a 1317 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1318
dce8463b
LI
1319 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1320
b772a699 1321 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1322 (find-grep-dired): Doc fix (bug#14288).
b772a699 1323
2423c8d5
JL
13242014-02-08 Juri Linkov <juri@jurta.org>
1325
1326 * isearch.el (isearch-quote-char): Check character validity
1327 like in `quoted-insert' (bug#16677).
1328
518f26c2
LI
13292014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1330
893cc908
LI
1331 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1332
9165ffc0
LI
1333 * isearch.el (isearch-hide-immediately): Doc clarification
1334 (bug#14723).
1335
6ef4f3ce
LI
1336 * simple.el (line-move): Document utility function used many
1337 places in the Emacs sources (bug#14843).
1338
be58a238 1339 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1340 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1341 (dired-up-directory): Doc fix (bug#14848).
be58a238 1342
dd7aafbb
LI
1343 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1344
15cb9968
LI
1345 * files.el (file-relative-name): Doc fix (bug#15159).
1346
9788effd
LI
1347 * fringe.el (fringe-styles): Doc fix (bug#15239).
1348
c96411bd
LI
1349 * isearch.el (isearch-filter-predicate): Documentation typo fix
1350 (bug#15474).
1351
ea838c36
LI
1352 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1353
0d8a4ae7
LI
1354 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1355
f7a17bb3
LI
1356 * replace.el (replace-match-maybe-edit): Doc clarification
1357 (bug#15632).
1358
1bde5c3b
LI
1359 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1360
518f26c2
LI
1361 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1362
dd8e49fd
GM
13632014-02-08 Glenn Morris <rgm@gnu.org>
1364
1365 * help-fns.el (describe-variable):
1366 Check {file,dir}-local-variables-alist, and buffer-file-name,
1367 in the correct buffer.
1368
7e088b29
IL
13692014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1370
1371 * help-fns.el (describe-variable): Fix the case where
1372 a value is directory-local with no dir-locals file. (Bug#16635)
1373
41a4a82f
GM
13742014-02-08 Glenn Morris <rgm@gnu.org>
1375
1376 * abbrev.el (edit-abbrevs-mode):
1377 Derive from fundamental-mode. (Bug#16682)
1378
e255a703
JB
13792014-02-07 Juanma Barranquero <lekktu@gmail.com>
1380
1381 * simple.el (quoted-insert): Check character validity (bug#16677).
1382
c99cf5ee
JL
13832014-02-07 Juri Linkov <juri@jurta.org>
1384
1385 * desktop.el (desktop-read): Claim the lock when the owner is not
1386 the current process. (Bug#16157)
1387
7d7a68d8
JL
13882014-02-07 Juri Linkov <juri@jurta.org>
1389
1390 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1391 to "\\` ". (Bug#16651)
1392
2b777cd9
JL
13932014-02-07 Juri Linkov <juri@jurta.org>
1394
1395 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1396 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1397 (desktop-auto-save-cancel-timer): New function with some code from
1398 `desktop-auto-save-set-timer'.
1399 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1400 Instead of setting `desktop-save-mode' to nil, call
1401 `desktop-save-mode' with arg 0. (Bug#16630)
1402
60eabbb9
GM
14032014-02-07 Glenn Morris <rgm@gnu.org>
1404
99cf3859
GM
1405 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1406 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1407 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1408
2b568bc9
GM
1409 * obsolete/iswitchb.el: Move to obsolete/.
1410 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1411 since obsolete/ is not scanned for autoloads.
1412 * emacs-lisp/authors.el (authors-valid-file-names):
1413 Add iswitchb.el.
1414
60eabbb9
GM
1415 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1416 Disable now non-functional find-file-hook.
1417
629de968
MA
14182014-02-06 Michael Albinus <michael.albinus@gmx.de>
1419
1420 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1421 instead of ";" in order to avoid additional prompts. Let heredoc
1422 scripts read from tty. (Bug#16582)
1423 (tramp-send-command): No special handling of heredocs, it isn't
1424 necessary anymore.
1425
29127376
SM
14262014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1429 with a space (bug#16664). Limit the symbols considered to the ones
1430 that are bound or fbound (bug#16646).
1431
79b6e0a9
GM
14322014-02-06 Glenn Morris <rgm@gnu.org>
1433
1434 * epa.el (epa-mail-aliases): Doc fix.
1435
a333e4d2
DG
14362014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1437
29127376
SM
1438 * emacs-lisp/lisp.el (lisp-completion-at-point):
1439 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1440 (bug#16604).
1441
1442 * minibuffer.el (completion-table-merge): New function.
1443
9a83b32b
MA
14442014-02-05 Michael Albinus <michael.albinus@gmx.de>
1445
1446 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1447 (tramp-sh-handle-set-file-acl)
1448 (tramp-sh-handle-start-file-process)
1449 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1450 (tramp-find-executable, tramp-send-command): Use it.
1451
451ea3e6
GM
14522014-02-05 Glenn Morris <rgm@gnu.org>
1453
9a83b32b 1454 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1455
dd27d13b
FEG
14562014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1457
35e951cd 1458 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1459 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1460
08e41897
AL
14612014-02-04 Anders Lindgren <andlind@gmail.com>
1462
1463 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1464 the names (bug#16620).
1465
764ec9e5
MR
14662014-02-03 Martin Rudalics <rudalics@gmx.at>
1467
08e41897
AL
1468 * faces.el (window-divider): New default value. Rewrite doc-string.
1469 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1470
6da8227c
DG
14712014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1472
1473 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1474 `protected' and `public' can also be called without arguments.
1475
6a6b8e40
GM
14762014-02-03 Glenn Morris <rgm@gnu.org>
1477
7bcbca40
GM
1478 * register.el (window-configuration-to-register)
1479 (frame-configuration-to-register): Unadvertise unused argument.
1480 * frameset.el (frameset-to-register): Remove unused argument.
1481
719d965d 1482 * frameset.el (frameset-to-register):
6a6b8e40
GM
1483 * kmacro.el (kmacro-to-register):
1484 * register.el (increment-register):
1485 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1486 (calc-append-to-register, calc-prepend-to-register):
1487 * play/gametree.el (gametree-layout-to-register)
1488 (gametree-apply-register-layout):
1489 * textmodes/picture.el (picture-clear-rectangle-to-register)
1490 (picture-yank-rectangle-from-register):
1491 * vc/emerge.el (emerge-combine-versions-register):
1492 Use register-read-with-preview to read registers.
1493
5dca7759
JT
14942014-02-03 João Távora <joaotavora@gmail.com>
1495
1496 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1497 when at beginning of (possibly narrowed) buffer.
1498
709085b9
DC
14992014-02-02 Daniel Colascione <dancol@dancol.org>
1500
c295fc18 1501 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1502 Also try to display local help from just before point.
709085b9 1503
99f7b0a6
AM
15042014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1505
1506 c-parse-state. Don't "append-lower-brace-pair" in certain
1507 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1508 recognised as a comment.
1509
1510 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1511 as well as normal comment starter.
1512 (c-parse-state-get-strategy): Extra return possibility
1513 'back-and-forward.
1514 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1515 return value list to indicate replacement of a brace-pair cons
1516 with its car.
1517 (c-parse-state-1): With 'back-and-forward, only call
1518 c-append-lower-brace-pair-to state-cache when cons-separated.
1519
f0a10576
JD
15202014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1521
1522 * term/ns-win.el (ns-suspend-error): New function.
1523 (ns-initialize-window-system): Add ns-suspend-error to
1524 suspend-hook (Bug#16612).
1525
b8d552c2
DC
15262014-02-02 Daniel Colascione <dancol@dancol.org>
1527
35e951cd
JB
1528 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1529 Make loading cc-mode silent.
b8d552c2 1530
f2b7d123
DC
15312014-02-02 Daniel Colascione <dancol@dancol.org>
1532
35e951cd
JB
1533 * comint.el (comint-prompt-read-only): Change doc to suggest
1534 remap keybinding.
f2b7d123 1535
4472a196
GM
15362014-02-02 Glenn Morris <rgm@gnu.org>
1537
1538 * register.el (register-read-with-preview, point-to-register)
1539 (window-configuration-to-register, frame-configuration-to-register)
1540 (jump-to-register, number-to-register, view-register, insert-register)
1541 (copy-to-register, append-to-register, prepend-to-register)
1542 (copy-rectangle-to-register): Doc fixes.
1543
70e5a261
SM
15442014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1547 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1548 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1549 * help-fns.el (describe-function-1): Use it.
1550
7c324762
GM
15512014-02-02 Glenn Morris <rgm@gnu.org>
1552
1553 * register.el (register-preview-default): New function,
1554 split from register-preview.
1555 (register-preview-function): Rename from register-preview-functions,
1556 make it not a hook.
1557 (register-preview): Use register-preview-function.
1558 (register-read-with-preview): Error on non-character event. (Bug#16595)
1559
a09beb3d
DG
15602014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1561
1562 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1563 `:' before binary operators (bug#16609). Don't check for `:'
1564 before `[' and `(', or their syntax status. A percent literal
1565 can't end with either.
68e004e0
DG
1566 (ruby-font-lock-keywords): For built-ins that require arguments,
1567 check that they're followed by something that looks like argument
1568 (bug#16610).
a09beb3d 1569
ed4d2875
LI
15702014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1571
1572 * subr.el (butlast): Document what an omitted N means (bug#13437).
1573 (nbutlast): Ditto.
1574
dba6e3ec
LI
15752014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1576
1577 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1578 depth shallower (bug#16587).
cc477daa
LI
1579 (shr-tag-svg): Respect `shr-inhibit-images'.
1580 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1581
e2a67bd0
DG
15822014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1583
1584 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1585 (ruby-smie-grammar): Make "." right-associative. Make its priority
1586 lower than the ternary and all binary operators.
1587 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1588 parent, or the first "." parent at indentation.
1589 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1590 (Bug#16593)
1591
bd21bf41
JL
15922014-01-31 Juri Linkov <juri@jurta.org>
1593
1594 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1595 from `make-hash-table'.
1596
1597 * textmodes/ispell.el (ispell-init-process): Change message format
1598 to be consistent with other messages.
1599
b7e615b9
GM
16002014-01-31 Glenn Morris <rgm@gnu.org>
1601
a69ecd19
GM
1602 * delsel.el (delete-selection-mode): Doc fix.
1603
9997d7e3
GM
1604 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1605 (trace-function-background): Doc fixes.
1606
fbb764b8
GM
1607 * ido.el (ido-use-virtual-buffers): Doc fix.
1608 Reset :version, since the default value has not changed.
1609
da942af1
GM
1610 * register.el (register-preview-delay, register-read-with-preview):
1611 Doc fixes.
1612
b7e615b9
GM
1613 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1614 do not mess with mail-buffer position (fixes 2009-11-03 change).
1615 * progmodes/cc-mode.el (c-submit-bug-report):
1616 Check auto-fill-mode is bound. (Bug#16592)
1617
0a25002d
DH
16182014-01-31 Darren Hoo <darren.hoo@gmail.com>
1619
1620 * startup.el (fancy-splash-image-file): New function,
1621 split from fancy-splash-head.
1622 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1623 so that we are both using the same image. (Bug#16574)
1624
ad78f432
GM
16252014-01-30 Glenn Morris <rgm@gnu.org>
1626
6bbc0c84
GM
1627 * simple.el (eval-expression): Doc fix.
1628
ad78f432
GM
1629 * hexl.el (hexl-mode-hook):
1630 * ielm.el (ielm-mode-hook):
1631 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1632 (lisp-interaction-mode-hook):
1633 * progmodes/cfengine.e (cfengine3-documentation-function):
1634 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1635
7b2f049c
SM
16362014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1639 is a symbol (bug#16584).
1640
0c633f13
GM
16412014-01-30 Glenn Morris <rgm@gnu.org>
1642
1643 * help.el (help-for-help-internal): Add "P" to text.
1644
5e61c1ef
GM
16452014-01-29 Glenn Morris <rgm@gnu.org>
1646
1647 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1648
1dcb169c
MR
16492014-01-28 Martin Rudalics <rudalics@gmx.at>
1650
1651 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1652 height constraints.
1653
a9128931
LL
16542014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1655
1656 * progmodes/hideif.el: Extend to full CPP expression syntax.
1657 (hif-token-alist): Add missing tokens.
1658 (hif-token-regexp): Add support for float/octal/hex immediates.
1659 (hif-string-literal-regexp): New const.
1660 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1661 (hif-exprlist): New function.
1662 (hif-parse-if-exp): Use it.
1663 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1664 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1665 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1666 (hif-logxor, hif-comma): New functions.
1667
a22359a7
GM
16682014-01-28 Glenn Morris <rgm@gnu.org>
1669
793ffe81
GM
1670 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1671
e3bd7eed
GM
1672 * indent.el (tab-stop-list): Doc fix. Add :version.
1673
a22359a7
GM
1674 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1675 (cvs-append-to-ignore): Add compatibility alias.
1676
52695556 16772014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1678
bac524e0
GM
1679 * dired.el (dired-hide-details-mode): Don't autoload it,
1680 since it cannot be used outside Dired buffers anyway.
1681
52695556 1682 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1683
52695556
GM
1684 * dired.el (dired-hide-details-hide-symlink-targets)
1685 (dired-hide-details-hide-information-lines)
1686 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1687
1688 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1689 * strokes.el (strokes-file): Doc fix. Bump :version.
1690 (strokes-help): Doc fix.
1691 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1692 * emulation/viper.el (viper): Doc fix for custom group.
1693 (top-level): Remove oh-so-no-longer-relevant text about vip.
1694 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1695
1696 * ido.el (ido-save-directory-list-file):
1697 * saveplace.el (save-place-file):
1698 * calendar/timeclock.el (timeclock-file):
1699 * net/quickurl.el (quickurl-url-file):
1700 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1701 * progmodes/idlwave.el (idlwave-config-directory):
1702 * textmodes/remember.el (remember-data-file):
1703 Bump :version.
1704
169d6004
GM
17052014-01-26 Glenn Morris <rgm@gnu.org>
1706
de6a923b
GM
1707 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1708 Doc fix. Make obsolete.
1709 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1710
169d6004
GM
1711 * sort.el (delete-duplicate-lines): Doc fix.
1712
ed85dee6
RS
17132014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1714
1715 * progmodes/ada-mode.el (ada):
1716 * woman.el (woman): Link to info manual and Commentary section.
1717
1718 * progmodes/flymake.el (flymake):
1719 * nxml/nxml-mode.el (nxml):
1720 * net/eww.el (eww):
1721 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1722 * htmlfontify.el (htmlfontify):
1723 * ses.el (ses):
1724 * epa.el (epa):
1725 * ido.el (ido): Link to info manual.
1726
e0c67e1d
LL
17272014-01-25 Leo Liu <sdl.web@gmail.com>
1728
1729 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1730
35408b1a
AS
17312014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1732
1733 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1734 (bug#16537).
1735
11eff3ae 1736>>>>>>> MERGE-SOURCE
76c3fa95
JB
17372014-01-24 Juanma Barranquero <lekktu@gmail.com>
1738
f77c7a99
JB
1739 * net/eww.el (eww-download-callback):
1740 Fix reference to eww-download-directory.
1741
76c3fa95
JB
1742 * emacs-lisp/bytecomp.el (byte-compile-file):
1743 Remove unused local variable `file-name'.
1744
1e548e40
GM
17452014-01-24 Glenn Morris <rgm@gnu.org>
1746
03f3b318
GM
1747 * woman.el (woman-default-faces, woman-monochrome-faces):
1748 Fix obsolescence specification.
1749
1e548e40
GM
1750 * subr.el (with-demoted-errors): Doc fix.
1751
d4f0427b
SM
17522014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1755 (cl--macroexp-fboundp): New function.
1756 (cl--make-type-test): Use it.
1757
1670e27f
GM
17582014-01-23 Glenn Morris <rgm@gnu.org>
1759
1760 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1761 * simple.el (eval-expression): Doc fixes.
1762
80efa207
GM
17632014-01-22 Glenn Morris <rgm@gnu.org>
1764
1765 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1766
29afcbab
SM
17672014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * emacs-lisp/package.el: Write files silently.
1770 (package-autoload-ensure-default-file, package--write-file-no-coding)
1771 (package-generate-description-file, package--download-one-archive)
1772 (package-install-from-archive): Tell `write-region' to stay quiet.
1773 (package-menu-mode, package-menu--print-info): Omit the Archive column
1774 if there's only one archive.
1775 (package-all-keywords, package--has-keyword-p): Remove dead code.
1776
2a5bce4f
GM
17772014-01-22 Glenn Morris <rgm@gnu.org>
1778
edace89f
GM
1779 * version.el (emacs-bzr-version-bzr): Fix typo.
1780
2a5bce4f
GM
1781 * version.el (emacs-repository-get-version):
1782 Check either .bzr or .git, but not both.
1783 Make the git case actually use the DIR argument, and return nil
1784 rather than the empty string.
983664c0 1785 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1786
6cb4da45
MR
17872014-01-22 Martin Rudalics <rudalics@gmx.at>
1788
1789 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1790 * window.el (window-total-size, window-size): New argument ROUND.
1791 (window--min-delta-1, window-min-delta, window--max-delta-1):
1792 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1793 columns a window can shrink (Bug#16430).
1794 (fit-window-to-buffer): Simplify code.
1795 * term.el (term-window-width): Call window-body-width again.
1796
cc0f2ece
GM
17972014-01-22 Glenn Morris <rgm@gnu.org>
1798
7b997b14
GM
1799 * image.el (image-format-suffixes): Doc fix.
1800
44e76f9d
GM
1801 * international/quail.el (quail-define-package): Doc fix.
1802
35e951cd 1803 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1804 (authors-renamed-files-alist): Additions.
7bfc1caa 1805
85a5f61f
GM
1806 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1807 reverts 2014-01-09 change. (Bug#16422)
1808
cc0f2ece
GM
1809 * calc/calc-embed.el (thing-at-point-looking-at):
1810 * emacs-lisp/map-ynp.el (x-popup-dialog):
1811 * obsolete/lmenu.el (x-popup-dialog):
1812 * emacs-lisp/package.el (url-recreate-url):
1813 * mail/mailclient.el (clipboard-kill-ring-save):
1814 * subr.el (x-popup-dialog): Update declaration.
1815 * mail/rmail.el (rmail-mime-message-p):
1816 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1817
00d2a6bb
DC
18182014-01-21 Daniel Colascione <dancol@dancol.org>
1819
1820 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1821 Correctly detect when we're inside an arithmetic expansion form
1822 containing nested parenthesis.
c295fc18 1823 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1824 to detect cases where we shouldn't expand "<<" to a heredoc
1825 skeleton.
1826
dd9d2e9d
SM
18272014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1830 (eldoc--message-command-p): New function.
1831 (eldoc-display-message-p): Use it.
1832 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1833 message is not automatically erased for us.
1834 (eldoc-print-current-symbol-info): Erase previous message, if any.
1835
e7d807ca
TH
18362014-01-21 Tassilo Horn <tsdh@gnu.org>
1837
4ff0a0e5
TH
1838 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1839 specify it's an interactive function.
1840
dd9d2e9d
SM
1841 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1842 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1843 citations with optional arguments.
1844
87503791
LL
18452014-01-21 Leo Liu <sdl.web@gmail.com>
1846
1847 * simple.el (read--expression): Don't enable eldoc-mode.
1848
6cc750ee
SM
18492014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * simple.el (move-beginning-of-line): Make sure we don't move forward
1852 (bug#16497).
1853
71f16bda
JL
18542014-01-20 Juri Linkov <juri@jurta.org>
1855
1856 * saveplace.el (toggle-save-place, save-place-to-alist)
1857 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1858 'dired-mode) before checking for dired-directory. (Bug#16477)
1859
3c5a4839
JL
18602014-01-20 Juri Linkov <juri@jurta.org>
1861
1862 * indent.el (indent-line-to): Use backward-to-indentation
1863 instead of back-to-indentation. (Bug#16461)
1864
f952002e
PE
18652014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1866
1867 Revert some of the CANNOT_DUMP fix (Bug#16494).
1868 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1869 but fixing this can wait until after the next release.
1870 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1871
93675500
MA
18722014-01-19 Michael Albinus <michael.albinus@gmx.de>
1873
1874 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1875 Use `password-word-equivalents'.
1876 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1877 to t. (Bug#5664, Bug#13124)
1878
e3af763f
AM
18792014-01-19 Alan Mackenzie <acm@muc.de>
1880
1881 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1882 points.
1883 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1884 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1885 * progmodes/cc-mode.el (c-before-change, c-after-change)
1886 (c-font-lock-fontify-region): Bind it here.
1887
4ff6d92d
MR
18882014-01-19 Martin Rudalics <rudalics@gmx.at>
1889
1890 * term.el (term-window-width): Call window-text-width instead of
1891 window-width (Bug#16470).
1892
9a685cf6
PE
18932014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1894
1895 * simple.el (password-word-equivalents): Remove duplicates.
1896 Sort, to make this easier next time.
1897 Downcase. Omit ": " after "jelszó".
1898
5aa78c2d
JD
18992014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1900
1901 * term/common-win.el (saved-region-selection): Defvar it.
1902 (x-select-text): Set saved-region-selection (Bug#16382).
1903
cabb250c
GM
19042014-01-18 Glenn Morris <rgm@gnu.org>
1905
1906 * emacs-lisp/authors.el (authors-aliases)
1907 (authors-renamed-files-alist): Add some entries.
1908
a1340440
MA
19092014-01-17 Michael Albinus <michael.albinus@gmx.de>
1910
93675500
MA
1911 * net/tramp.el (tramp-password-prompt-regexp):
1912 Use `password-word-equivalents' if available.
a1340440
MA
1913 (tramp-action-password, tramp-process-one-action)
1914 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1915
681ce5d2
CY
19162014-01-17 Chong Yidong <cyd@gnu.org>
1917
1918 * simple.el (password-word-equivalents): New defcustom.
1919 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1920 to 24.4.
1921 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1922 to t. (Bug#13124)
1923
fb3d479c
DG
19242014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1925
1926 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1927 (ruby-align-to-stmt-keywords): Change the default value.
1928 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1929 choices.
1930 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1931 keywords, check against the value of `ruby-alignable-keywords'
1932 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1933
0d613483
GM
19342014-01-17 Glenn Morris <rgm@gnu.org>
1935
fc23fe2d
GM
1936 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1937
0d613483 1938 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1939 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1940 (authors-ignored-files): Add some entries, remove others.
1941 (authors-ambiguous-files, authors-valid-file-names):
1942 Add some entries.
1943 (authors-renamed-files-alist): Add, remove, and adjust entries.
1944 (authors-renamed-files-regexps): Add some entries.
1945 Remove some very broad ones. Make some entries `lax'.
1946 (authors-lax-changelogs): New constant.
1947 (authors-disambiguate-file-name): Treat top-level specially.
1948 (authors-lax-changelog-p): New function.
1949 (authors-canonical-file-name): Check file as written against
1950 authors-valid-file-names. Do not special-case etc/.
1951 Handle `lax' logs and authors-renamed-files-regexps elements.
1952
2dbf4ffd
DG
19532014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1954
1955 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1956 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1957 callers.
2dbf4ffd 1958
87b2a7f2
SM
19592014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1962 Assume we're already in the proper buffer.
1963 Inspired by Anders Lindgren <andlind@gmail.com>.
1964 (follow-post-command-hook): Call it from the right buffer.
1965 (follow-comint-scroll-to-bottom): Adjust call.
1966 (follow-all-followers): Use get-buffer-window-list.
1967
93acfb0e
DC
19682014-01-15 Daniel Colascione <dancol@dancol.org>
1969
1970 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1971 `buffer-file-name' in interactive-form so that we don't leave
1972 pathless file names in `file-name-history'.
1973
ccc6b208
JL
19742014-01-15 Juri Linkov <juri@jurta.org>
1975
1976 * indent.el (indent-rigidly): Set deactivate-mark to nil
1977 in transient indentation mode. (Bug#16438)
1978
5c92e00d
DG
19792014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1980
1981 * emacs-lisp/package.el (package-desc-keywords): New function
1982 (Bug#16222).
1983 (describe-package-1, package-all-keywords)
1984 (package--has-keyword-p): Use it.
1985
dac69660
NR
19862014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1987
1988 * simple.el (define-alternatives): When creating the
1989 COMMAND-alternatives variable, assign COMMAND as its definition
1990 name so that `describe-variable' can relocate it.
1991
8b63edf8
ML
19922014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1993
1994 * font-lock.el (font-lock-keywords): Fix typo in docstring
1995 (bug#16307).
1996
c6a0b8eb
AM
19972014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1998
1999 * ispell.el (ispell-region): Reset `in-comment' for new line
2000 instead of wrongly reset `add-coment' (bug#13577).
2001
02bf443d
DU
20022014-01-14 Daiki Ueno <ueno@gnu.org>
2003
2004 * epa-file.el (epa-file-write-region): Encode the region according
2005 to `buffer-file-format'. Problem reported at:
2006 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2007
fd7fde15
SM
20082014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2011 so it applies in the right buffer (bug#16410).
2012
c176054f
DC
20132014-01-13 Daniel Colascione <dancol@dancol.org>
2014
2015 * textmodes/rst.el (rst-define-key): Provide deprecated
2016 keybindings through named functions instead of anonymous ones so
2017 that "??" doesn't appear in describe-mode output.
2018
e3f33e5d
BG
20192014-01-13 Bastien Guerry <bzg@gnu.org>
2020
2021 * simple.el (define-alternatives): Call the selected command
2022 interactively. When setting `COMMAND--implementation' for the
2023 first time, tell the user how to chose another implementation.
2024 Enhance the docstring.
2025
c055d654
SM
20262014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2029 (log-edit--match-first-line): New function.
2030 (log-edit-font-lock-keywords): Use it.
2031 (log-edit-mode): Make jit-lock-defer-multiline work.
2032
d791cc3b
BG
20332014-01-13 Bastien Guerry <bzg@gnu.org>
2034
2035 * rect.el (rectangle-mark-mode): When the region is not active,
2036 display a message saying that the mark as been set and that
2037 rectangle mode is in use.
2038 (rectangle--highlight-for-redisplay): Only put an overlay with a
2039 visible vertical bar when (display-graphic-p) is non-nil.
2040 This partially fixes Bug#16403.
2041
3c0c4562
JL
20422014-01-13 Juri Linkov <juri@jurta.org>
2043
2044 * info.el (Info-find-file): Go to DIR before displaying the error
2045 about a nonexistent file if no previous Info file is visited.
2046 Use `user-error' instead of `error' for "Info file %s does not exist".
2047 (Info-find-node-2): In case of a nonexistent node in unwind forms
2048 go to the Top node if there is no previous node to revert to.
2049 (Bug#16405)
2050
25a700d0
MR
20512014-01-13 Martin Rudalics <rudalics@gmx.at>
2052
2053 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2054 * window.el (fit-frame-to-buffer): Fix doc-string.
2055 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2056 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2057 when avoiding that frame goes partially off-screen.
2058 (fit-window-to-buffer): Respect window-min-height/-width
2059 (Bug#14096).
2060
6ae948d8
SM
20612014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2064 after an empty line.
2065
6137cb82
SM
20662014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * net/shr.el (shr-render-region): Autoload.
2069
e6344e17
XF
20702014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2071
2072 * net/eww.el (eww-download-directory): Rename from
2073 `eww-download-path' (Bug#16419).
2074
3b922c70
LL
20752014-01-12 Leo Liu <sdl.web@gmail.com>
2076
2077 * dired-x.el (dired-mode-map): Fix last change.
2078
2079 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2080
4fa51741
PE
20812014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2082
2083 Spelling fixes.
2084 * emacs-lisp/generic.el (generic--normalize-comments):
2085 Rename from generic--normalise-comments. All uses changed.
35e951cd 2086 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2087 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2088 (bubbles--neighborhood-available)
2089 (bubbles--update-neighborhood-score):
2090 Rename from names with 'neighbourhood'. All uses changed.
2091
9b335362
LL
20922014-01-12 Leo Liu <sdl.web@gmail.com>
2093
2094 Re-implement the feature of showing eldoc info after editing.
2095 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2096 (eldoc-edit-message-commands): New function.
2097 (eldoc-print-after-edit): New variable.
2098 (eldoc-pre-command-refresh-echo-area): Emit message only by
2099 eldoc-message-commands.
2100 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2101 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2102 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2103 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2104
e2a095b1
GM
21052014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2106 Eric S. Raymond <esr@thyrsus.com>
9685190b 2107
841a6d0c 2108 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2109 function works correctly in either a Bazaar or Git repo.
0abf4134 2110
e2a095b1
GM
21112014-01-11 Eric S. Raymond <esr@thyrsus.com>
2112
6137cb82
SM
2113 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2114 Goes with removal of the joke manpages from /etc.
9685190b 2115
c295fc18 21162014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2117
6137cb82
SM
2118 * mail/rmail.el (rmail-get-coding-system):
2119 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2120
d2f16e93
GM
21212014-01-10 Glenn Morris <rgm@gnu.org>
2122
2123 * emacs-lisp/authors.el (authors-fixed-entries):
2124 Update for files that no longer exist.
2125
7e03bb32
ER
21262014-01-10 Eric S. Raymond <esr@thyrsus.com>
2127
2128 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2129 24.3 (Tested).
7e03bb32 2130
dd806710
BB
21312014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2132
2133 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2134 and Podfile.
2135
ed6ec139
EZ
21362014-01-10 Eli Zaretskii <eliz@gnu.org>
2137
2138 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2139
cc33cac9
CY
21402014-01-10 Chong Yidong <cyd@gnu.org>
2141
6137cb82 2142 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2143
d9d836b5
AL
21442014-01-10 Anders Lindgren <andlind@gmail.com>
2145
2146 * follow.el (follow-cache-command-list): Include right-char and
2147 left-char.
2148
06827ec8
PE
21492014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2150
2151 Spelling fixes.
2152 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2153 * woman.el (woman-mark-horizontal-position):
2154 Rename from woman-mark-horizonal-position. Use changed.
2155
458dbf5e
GM
21562014-01-10 Glenn Morris <rgm@gnu.org>
2157
dad6fae7
GM
2158 * info.el (info-initialize): If running uninstalled, ensure our
2159 own info files are always found first, even if INFOPATH is set.
2160
458dbf5e
GM
2161 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2162
05e0afce
DE
21632014-01-09 David Engster <deng@randomsample.de>
2164
2165 * emacs-lisp/eieio-custom.el:
2166 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2167 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2168 * emacs-lisp/eieio.el: Regenerate autoloads.
2169
f29778b3
ER
21702014-01-09 Eric S. Raymond <esr@thyrsus.com>
2171
2172 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2173 following renames. (Bug#8756)
f29778b3 2174
684d44ef
SM
21752014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2178 (bug#16382).
2179 (activate-mark): Add `no-tmm' argument.
2180 (set-mark, push-mark-command): Use it instead of running
2181 activate-mark-hook by hand.
2182
9475054f
ER
21832014-01-08 Eric S. Raymond <esr@thyrsus.com>
2184
2185 In preparation for the move to git, sanitize out some
2186 Bazaar-specific names.
2187
38942b9c
GM
2188 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2189
9475054f 2190 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2191 emacs-repository-version. Obsolete-variable alias made.
9475054f 2192 * loadup.el: Follow through on this name change.
a12bf61e 2193 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2194 assumption about the version control system in use.
2195
0f918d96 21962014-01-08 David Engster <deng@randomsample.de>
abb82152 2197
684d44ef
SM
2198 * help-fns.el (help-fns-describe-function-functions):
2199 New variable to call functions for augmenting help buffers.
abb82152
DE
2200 (describe-function-1): Remove explicit calls to
2201 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2202 `help-fns--obsolete'. Put them in above new variable instead, and
2203 call them through `run-hook-with-args'.
2204 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2205 `eieio-describe-class'. Not meant for interactive use anymore,
2206 but to augment existing help buffers. Remove optional second
684d44ef
SM
2207 argument. Create proper button for file location.
2208 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2209 possible.
2210 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2211 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2212 (describe-method, describe-generic, eieio-describe-method):
2213 Remove aliases.
0f918d96
DE
2214 (eieio-help-constructor, eieio-help-generic): Rename from
2215 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2216 Rewrite to use `insert' in the current buffer and use proper help
2217 buttons.
2218 (eieio-help-find-method-definition)
2219 (eieio-help-find-class-definition): Also accept symbols as
2220 arguments.
2221 (eieio-help-mode-augmentation-maybee): Remove.
2222 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2223 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2224 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2225
136b74c5
PE
22262014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2227
2228 Spelling fixes.
2229 * language/china-util.el (hz-ascii-designation):
2230 Rename from hz-ascii-designnation.
2231 (hz-ascii-designation): Rename from hz-ascii-designnation.
2232 All uses changed.
2233
ec6c7de2
SM
22342014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2237 package-alist.
2238
d6262c7c
BG
22392014-01-08 Bastien Guerry <bzg@gnu.org>
2240
4b9e6087
GM
2241 * emacs-lisp/package.el (package-delete):
2242 Correctly delete the package from package-alist.
d6262c7c 2243
0a3eec32
DU
22442014-01-08 Daiki Ueno <ueno@gnu.org>
2245
2246 * emacs-lisp/package.el (url-recreate-url): Declare.
2247 (url-http-target-url): Declare.
4b9e6087 2248 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2249 (package--check-signature): Don't re-signal errors from
2250 package--with-work-buffer. Suggested by Stefan Monnier.
2251
68f0bb97
BG
22522014-01-07 Bastien Guerry <bzg@gnu.org>
2253
2254 * minibuffer.el (completion--try-word-completion): When both a
2255 hyphen and a space are possible candidates for the character
2256 following a word, display both candidates. (Bug#15980)
2257
7e1899d7
MR
22582014-01-07 Martin Rudalics <rudalics@gmx.at>
2259
2260 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2261 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2262
0030ec15
GM
22632014-01-07 Glenn Morris <rgm@gnu.org>
2264
2265 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2266 (menu-bar-help-menu): Use view-external-packages instead.
2267
2b6b4f20
BG
22682014-01-07 Bastien Guerry <bzg@gnu.org>
2269
2270 * emacs-lisp/package.el (package-delete): Also delete the package
2271 name from `package-alist', not its description only.
2272
e9be0a13
GM
22732014-01-07 Glenn Morris <rgm@gnu.org>
2274
2275 * help.el (view-external-packages):
2276 * menu-bar.el (menu-bar-help-extra-packages):
2277 Visit efaq.info rather than etc/MORE.STUFF.
2278
e4f74da9
JL
22792014-01-07 Juri Linkov <juri@jurta.org>
2280
2281 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2282 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2283
2284 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2285 that shadows RET. (Bug#16342)
2286
de7ce2d1
CY
22872014-01-07 Chong Yidong <cyd@gnu.org>
2288
2289 * isearch.el (isearch-yank-char, isearch-yank-word)
2290 (isearch-yank-line): Doc fix.
2291
6bdd9204
SM
22922014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2295 * emacs-lisp/elint.el (elint-find-builtins):
2296 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2297 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2298 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2299 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2300 * apropos.el (apropos-safe-documentation):
2301 * subr.el (symbol-file): Remove redundant fboundp.
2302 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2303
daccca97
BG
23042014-01-06 Bastien Guerry <bzg@gnu.org>
2305
2306 * hl-line.el (global-hl-line-overlay): Make a local variable.
2307 (global-hl-line-overlays): New variable to store all overlays.
2308 (global-hl-line-mode): Don't delete overlays from the current
2309 buffer when `global-hl-line-sticky-flag' is non-nil.
2310 (global-hl-line-highlight): Add new overlays to
2311 `global-hl-line-overlays'.
2312 (global-hl-line-unhighlight-all): New function to delete all
2313 overlays when turning off `global-hl-line-mode'.
2314 This fixes Bug#16183.
2315
ec00f20f
SM
23162014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * subr.el (set-transient-map): Fix nested case and docstring.
2319
a0031f97
TH
23202014-01-06 Tassilo Horn <tsdh@gnu.org>
2321
2322 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2323 `Texinfo' entry.
2324
bf6a77f3
DC
23252014-01-06 Daniel Colascione <dancol@dancol.org>
2326
2327 Fix defun navigation in vc log view.
2328
2329 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2330 like `beginning-of-defun'.
c295fc18 2331 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2332 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2333 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2334 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2335 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2336
d5081c1e
PE
23372014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2338
2339 Spelling fixes.
2340 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2341 * emacs-lisp/debug.el (cancel-debug-on-entry):
2342 * epg.el (epg-error-to-string):
2343 * files.el (recover-file):
2344 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2345 * mail/emacsbug.el (report-emacs-bug-hook):
2346 * mail/sendmail.el (mail-recover):
2347 * ses.el (ses-yank-resize):
2348 * term/ns-win.el (ns-print-buffer):
2349 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2350 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2351 All uses changed.
2352 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2353
53f6b148
LL
23542014-01-06 Leo Liu <sdl.web@gmail.com>
2355
2356 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2357 to avoid shadowing global key. (Bug#16354)
53f6b148 2358
b82ace2f
DC
23592014-01-06 Daniel Colascione <dancol@dancol.org>
2360
2361 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2362 rst-mode.
2363
3669b636
MR
23642014-01-05 Martin Rudalics <rudalics@gmx.at>
2365
2366 * window.el (balance-windows): Add mising t to fix Bug#16351.
2367
1a29adc2
LMI
23682014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2369
2370 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2371 (bug#16285).
3d95a0f4
LMI
2372 (shr-insert): If we have a word that's longer than `shr-width',
2373 break after it anyway. Otherwise we'll do no breaking once we get
2374 such a long word.
1a29adc2 2375
f4018140
KN
23762014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2377
3fcfc4ee 2378 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2379 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2380 (eww-history-quit): Delete and use quit-window.
2381 (eww-history-kill): Delete, because it doesn't work well and
2382 not necessary.
2383 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2384
4e619754
PE
23852014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2386
73dbf960
PE
2387 Fix misspelling of 'chinese' in rx (Bug#16237).
2388 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2389 chinese-two-byte.
2390
4e619754
PE
2391 Change subword regexps back to vars (Bug#16296).
2392 * progmodes/subword.el (subword-forward-regexp)
2393 (subword-backward-regexp): Change these back to variables.
2394
e18b70fc
SM
23952014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2398 syntax-begin-function (bug#16247).
2399
0d53f628
CY
24002014-01-03 Chong Yidong <cyd@gnu.org>
2401
2402 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2403 (advice--docstring): Delete variable.
2404 (advice--make-1): Leave the docstring empty.
2405 (advice-add): Use function-documentation for advised docstring.
2406
2407 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2408 Ignore function-documentation property when getting documentation.
2409 (ad-activate-advised-definition): Use function-documentation
2410 generate the docstring.
2411 (ad-make-advised-definition): Don't call
2412 ad-make-advised-definition-docstring.
2413 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2414 Delete functions.
2415
2416 * progmodes/sql.el (sql-help): Use function-documentation instead
2417 of dynamic-docstring-function property. No need to autoload now.
2418 (sql--help-docstring): New variable.
2419 (sql--make-help-docstring): Use it.
2420
6f547583
SM
24212014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2422
6ef9aed8
SM
2423 * ielm.el (ielm-tab): Retarget.
2424 (ielm-map): Use ielm-tab for tab.
2425 (ielm-complete-filename): Use comint-filename-completion.
2426 (ielm-complete-symbol): Remove.
2427 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2428 remove ielm-tab from completion-at-point-functions (bug#16224).
2429
6f547583
SM
2430 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2431 Beware signals raised by predicates (bug#16201).
2432
a574edbe
RS
24332014-01-02 Richard Stallman <rms@gnu.org>
2434
e831604d
RS
2435 * dired-aux.el (dired-do-print): Handle printer-name.
2436
6f547583
SM
2437 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2438 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2439 (rmail-epa-decrypt): Turn off mime processing.
2440
3fcfc4ee 2441 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2442 Add parens in message-id.
2443
2444 * mail/rmail.el (rmail-get-coding-function): Variable.
2445 (rmail-get-coding-system): Use it.
2446
04311a16
KH
24472013-12-31 Eli Zaretskii <eliz@gnu.org>
2448
2449 * international/mule-conf.el: Unify the charset indian-is13194.
2450 (indian-is13194): Specify unify-map.
2451
c8d89778
LL
24522013-12-31 Leo Liu <sdl.web@gmail.com>
2453
2454 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2455
e63ace37
DC
24562013-12-30 Daniel Colascione <dancol@dancol.org>
2457
9e0bf19a
DC
2458 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2459 of printing a useless when we resume from sleep.
2460
e63ace37 2461 * progmodes/sh-script.el
c295fc18 2462 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2463 in indentation code. (Bug#16233)
2464
e9d6c46a
JT
24652013-12-28 João Távora <joaotavora@gmail.com>
2466
6f547583
SM
2467 * elec-pair.el (electric-pair-post-self-insert-function):
2468 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2469
bf7bea5d
EZ
24702013-12-28 Eli Zaretskii <eliz@gnu.org>
2471
2472 * frame.el (window-system-for-display): Don't allow to create a
2473 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2474
8449dd1f
GM
24752013-12-28 Glenn Morris <rgm@gnu.org>
2476
9c5a5c77
GM
2477 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2478 Update callers.
2479
2480 * apropos.el (apropos-match-face):
2481 * calculator.el (calculator-displayer):
2482 * dabbrev.el (dabbrev-search-these-buffers-only):
2483 * face-remap.el (buffer-face-mode-face):
2484 * simple.el (yank-handled-properties):
2485 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2486 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2487 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2488 (hashcash-double-spend-database):
2489 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2490 (ruby-deep-indent-paren-style):
2491 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2492 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2493 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2494 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2495 Specify custom types.
2496
bb098075
GM
2497 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2498 * bookmark.el (bookmark-bmenu-use-header-line):
2499 * doc-view.el (doc-view-scale-internally):
2500 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2501 * register.el (register-preview-delay):
2502 * net/shr.el (shr-bullet):
2503 * progmodes/cfengine.el (cfengine-cf-promises)
2504 (cfengine-parameters-indent):
2505 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2506 * textmodes/reftex-vars.el (reftex-label-regexps):
2507 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2508
9c61f806
GM
2509 * net/tls.el (tls-certtool-program): Fix default value.
2510
2511 * desktop.el (desktop-restore-in-current-display):
2512 * newcomment.el (comment-empty-lines):
2513 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2514 (idlwave-pad-keyword):
2515 * progmodes/tcl.el (tcl-tab-always-indent):
2516 * textmodes/reftex-vars.el (reftex-index-default-tag):
2517 * elec-pair.el (electric-pair-skip-whitespace):
2518 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2519
8449dd1f
GM
2520 * emacs-lisp/authors.el (authors-ignored-files)
2521 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2522
fdadeb49
JC
25232013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2524
72140a0f
GM
2525 * shell.el (shell-dynamic-complete-command): Doc fix.
2526 (shell--command-completion-data): Shell completion now matches
2527 executable filenames from the current buffer's directory, on
da5ecfa9 2528 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2529
e572a7d8
LI
25302013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2531
2532 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2533
7514d3f8
SM
25342013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2535
a4151f3b
SM
2536 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2537 (bug#16251).
2538
7514d3f8
SM
2539 * electric.el: Move all electric-pair-* to elec-pair.el.
2540 * elec-pair.el: New file, split from electric.el.
2541
ac5758d1
LI
25422013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2543
2544 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2545 indentation level is larger than the width, because that will
2546 infloop.
2547 (shr-insert): Fill repeatedly long texts, so that Japanese is
2548 formatted correctly (bug#16263).
24a6b65e
LI
2549 (shr-find-fill-point): Off by one error in comparison with the
2550 indentation.
ac5758d1 2551
7514d3f8 25522013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2553
2554 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2555 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2556 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2557 if that keeps or improves their balance in buffers.
2558 (electric-pair-delete-adjacent-pairs): Delete the pair when
2559 backspacing over adjacent matched delimiters.
2560 (electric-pair-open-extra-newline): Open extra newline when
2561 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2562 (electric--sort-post-self-insertion-hook):
2563 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2564 minor-modes are activated.
2565 * simple.el (newline-and-indent): Call newline with interactive
2566 set to t.
2567 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2568 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2569 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2570 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2571 electric-pair-open-newline-between-pairs to nil.
2572
fbcc63a3
FEG
25732013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2574
2575 * progmodes/python.el: Use lexical-binding.
2576 (python-nav-beginning-of-defun): Stop searching ASAP.
2577
ed78d16c
XF
25782013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2579
2580 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2581 Fix interactive spec. Doc fix. (Bug#15754)
2582
38b2c142
KY
25832013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2584
2585 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2586 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2587 Fix edebug spec (bug#16184).
2588
3c856c14
LI
25892013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2590
83fa295c 2591 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2592 (shr-insert): Don't infloop if we can't find a good place to break
2593 the line (bug#16256).
3c856c14 2594
01379221
FEG
25952013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2596
35e951cd 2597 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2598 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2599 python-nav-lisp-forward-sexp-safe.
2600 (python-nav--forward-sexp): New argument SAFE allows switching
2601 forward sexp movement behavior for parens.
2602 (python-nav-forward-sexp): Throw errors on unterminated parens
2603 (Bug#16191).
2604 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2605 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2606 (python-shell-buffer-substring):
2607 Use `python-nav-forward-sexp-safe'.
01379221 2608
99e4926f
LI
26092013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2610
2611 * net/shr.el (shr-find-fill-point): Don't break lines before a
2612 quotation mark.
c6c20584
LI
2613 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2614 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2615 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2616
fec0e828
KN
26172013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2618
2619 * net/eww.el (eww-form-textarea): Use a different face for
2620 textareas than text input since they have different keymaps
2621 (bug#16142).
2622
89c868ad
FEG
26232013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2624
7514d3f8
SM
2625 * progmodes/python.el (python-nav-beginning-of-statement):
2626 Speed up (Bug#15295).
89c868ad 2627
eeef121a
LI
26282013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2629
2630 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2631 the window configuration.
2632
121ea65f
EZ
26332013-12-24 Eli Zaretskii <eliz@gnu.org>
2634
2635 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2636 we run on MS-Windows or MS-DOS.
2637
18cee9ec
MR
26382013-12-24 Martin Rudalics <rudalics@gmx.at>
2639
2640 * window.el (balance-windows-area): Call window-size instead of
2641 window-height and window-width. Bug#16241.
2642
58f2b9a5
LI
26432013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2644
2645 * net/eww.el (eww-bookmark-quit): Remove.
2646 (eww-bookmark-browse): Restore the window configuration when you
2647 choose a bookmark (bug#16144).
2648
d64b6308
DC
26492013-12-24 Daniel Colascione <dancol@dancol.org>
2650
2651 * icomplete.el: Remove redundant :group arguments to `defcustom'
2652 throughout.
2653 (icomplete-show-matches-on-no-input): New customizable variable.
2654 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2655 we have something to show.
7514d3f8 2656 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2657
0da54898
DC
26582013-12-23 Daniel Colascione <dancol@dancol.org>
2659
2660 * icomplete.el: Move `provide' to end of file.
2661
b90aa4f4
TZ
26622013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2663
2664 * net/gnutls.el (gnutls-verify-error): Add version tag.
2665
8cd22a08
CY
26662013-12-23 Chong Yidong <cyd@gnu.org>
2667
2668 * subr.el (set-transient-map): Rename from
2669 set-temporary-overlay-map. Doc fix.
2670
2671 * face-remap.el (text-scale-adjust):
2672 * indent.el (indent-rigidly):
2673 * kmacro.el (kmacro-call-macro):
2674 * minibuffer.el (minibuffer-force-complete):
2675 * repeat.el (repeat):
2676 * simple.el (universal-argument--mode):
2677 * calendar/todo-mode.el (todo-insert-item--next-param):
2678 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2679
7510b021
CY
2680 * indent.el (indent-rigidly): Use substitute-command-keys.
2681
72140a0f 26822013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2683
2684 * net/eww.el (eww-tag-select): Add text-property to jump to next
2685 select field.
e9dc713d 2686 (eww): Add non-supported ftp error.
56890ecd 2687
1f87a56c
DG
26882013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2689
2690 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2691 comments. Handle electric indent after typing `?' and `!'.
2692
dca38cf9
CY
26932013-12-22 Chong Yidong <cyd@gnu.org>
2694
2695 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2696 applicable to a frame, fall back on the defface spec.
2697 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2698
f2351498
DG
26992013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2700
2701 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2702 after `{'. We need it after block openers, and it doesn't seem
2703 to hurt after hash openers.
2704
6cddebc1
DG
27052013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2706
2707 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2708 extracted from `ruby-smie-rules'.
2709 (ruby--electric-indent-chars): New variable.
2710 (ruby--electric-indent-p): New function.
2711 (ruby-mode): Use `electric-indent-functions' instead of
2712 `electric-indent-chars'.
2713
65a1da00
DG
27142013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2715
2716 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2717 docstring.
2718 (ruby-smie-rules): Indent plus one level after `=>'.
2719
b51ad4cf
RS
27202013-12-21 Richard Stallman <rms@gnu.org>
2721
2722 * simple.el (newline): Doc fix.
2723
72140a0f 27242013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2725
e9dc713d 2726 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2727 (eww-history-browse, eww-history-quit, eww-history-kill)
2728 (eww-history-mode-map, eww-history-mode): New command and
2729 functions to list browser histories.
e9dc713d
JB
2730 (eww-form-text): Support text form with disabled
2731 and readonly attributes.
2732 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2733
5e1901c1
RS
27342013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2735
2736 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2737 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2738 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2739 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2740 Use `user-error'.
2741 (eww-bookmark-mode-map): Add menu.
2742 (eww-render, eww-mode): Use `setq-local'.
2743 (eww-tool-bar-map): New variable.
2744 (eww-mode): Set `tool-bar-map'.
2745 (eww-view-source): Check for `html-mode' with `fboundp'.
2746
073d5cfd
LMI
27472013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2748
2749 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2750 elements with text inside. Also remove debugging.
2751
41cf3d11
JD
27522013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2753
2754 * cus-start.el (all): Add ns-use-srgb-colorspace.
2755
aac2b673
CY
27562013-12-21 Chong Yidong <cyd@gnu.org>
2757
2758 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2759 undefined. Thus, theme settings for undefined faces do not take
2760 effect until the faces are defined with defface, the same as with
2761 theme variables.
2762
2763 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2764 (face-spec-reset-face): Don't assign extra properties in temacs.
2765 (face-spec-recalc): Apply X resources too.
2766
bacb0e77
CY
27672013-12-21 Chong Yidong <cyd@gnu.org>
2768
2769 * faces.el (face-spec-set):
2770 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2771 * custom.el (defface): Doc fixes (Bug#16203).
2772
77221051
CY
2773 * indent.el (indent-rigidly-map): Add docstring, and move commands
2774 into named functions.
2775 (indent-rigidly-left, indent-rigidly-right)
2776 (indent-rigidly-left-to-tab-stop)
2777 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2778 indentation direction based on bidi direction, and accumulate
2779 sequential commands in a single undo boundary.
2780 (indent-rigidly--pop-undo): New utility function.
2781
e0eb0550
JB
27822013-12-20 Juanma Barranquero <lekktu@gmail.com>
2783
2784 * faces.el (read-face-name): Require crm.el when using crm-separator.
2785
3282bd2e
DC
27862013-12-20 Daniel Colascione <dancol@dancol.org>
2787
2788 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2789 so that we don't reflow comments into the shebang line.
2790
1d42e5b6
JL
27912013-12-20 Juri Linkov <juri@jurta.org>
2792
2793 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2794 a position when `dired-directory' is non-nil. Check integer
2795 positions with `integerp'.
2796 (toggle-save-place, save-places-to-alist): Add check for
2797 `dired-directory'.
2798 (save-place-find-file-hook): Check integer positions with
2799 `integerp'.
2800 (save-place-dired-hook): Use `dired-goto-file' when
2801 `dired-filename' is found in the assoc list. Check integer
2802 positions with `integerp'.
2803 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2804
2805 * dired.el (dired-initial-position-hook): Rename back from
2806 `dired-initial-point-hook'.
2807 (dired-initial-position): Rename `dired-initial-point-hook' to
2808 `dired-initial-position-hook'.
2809 (dired-file-name-at-point): Doc fix. (Bug#15329)
2810
24da7273
JL
28112013-12-20 Juri Linkov <juri@jurta.org>
2812
2813 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2814 (read-regexp-suggestions): New function.
2815 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2816 Use `read-regexp-suggestions'. Add non-empty default to history
2817 for empty input.
2818 (occur-read-regexp-defaults-function): Remove function.
2819 (occur-read-primary-args): Use `regexp-history-last' instead of
2820 `occur-read-regexp-defaults-function'.
2821
2822 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2823 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2824 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2825 `hi-lock-read-regexp-defaults-function'. Doc fix.
2826 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2827 with `find-tag-default-as-symbol-regexp'. Doc fix.
2828 (hi-lock-read-regexp-defaults): Remove function.
2829 (hi-lock-regexp-okay): Add check for null.
2830
2831 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2832 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2833
2834 * subr.el (find-tag-default-as-symbol-regexp): New function.
2835 (find-tag-default-as-regexp): Move symbol regexp formatting to
2836 `find-tag-default-as-symbol-regexp'.
2837
137f57c8
S
28382013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2839
2840 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2841 (Bug#14179)
2842
f3a66082
SB
28432013-12-20 Stephen Berman <stephen.berman@gmx.net>
2844
2845 * calendar/todo-mode.el: New implementation of item insertion
2846 commands and key bindings.
2847 (todo-key-prompt): New face.
2848 (todo-insert-item): New command.
2849 (todo-insert-item--parameters): New defconst, replacing defvar
2850 todo-insertion-commands-args-genlist.
2851 (todo-insert-item--param-key-alist): New defconst, replacing
2852 defvar todo-insertion-commands-arg-key-list.
2853 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2854 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2855 (todo-insert-item--next-param): New functions.
2856 (todo-insert-item--args, todo-insert-item--argleft)
2857 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2858 New variables.
2859 (todo-key-bindings-t): Change binding of "i" from
2860 todo-insertion-map to todo-insert-item.
2861 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2862 (todo-insertion-command-name, todo-insertion-commands-names)
2863 (todo-define-insertion-command, todo-insertion-commands)
2864 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2865
2f99433b
SB
28662013-12-20 Stephen Berman <stephen.berman@gmx.net>
2867
2868 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2869 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2870 eval-when-compile.
2871 (todo-move-category): Allow choosing a non-existing todo file to
2872 move the category to, and create that file.
2873 (todo-default-priority): New user option.
2874 (todo-set-item-priority): Use it.
2875 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2876 (desktop-restore-file-buffer): Declare.
2877 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2878 (todo-modes-set-2): Locally set desktop-save-buffer to
2879 todo-desktop-save-buffer.
2880 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2881 (auto-mode-alist): Add autoload cookie.
2882
131e4695
BB
28832013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2884
2885 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2886 helpers.el was a poor choice of name.
3cbfb935
BB
2887 (string-remove-prefix): New function.
2888 (string-remove-suffix): New function.
131e4695 2889
c44de18d
MR
28902013-12-20 Martin Rudalics <rudalics@gmx.at>
2891
2892 Fix assignment for new window total sizes.
2893 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2894 (window--pixel-to-total-1, window--pixel-to-total):
2895 Fix calculation of new total sizes.
c44de18d 2896
ca65efcc
VS
28972013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2898
2899 * comint.el (comint-output-filter): Fix rear-nonsticky property
2900 placement (Bug#16010).
2901
a9574eb7
CY
29022013-12-20 Chong Yidong <cyd@gnu.org>
2903
2904 * faces.el (read-color): Minor fix for completion function.
2905
b520f210
DG
29062013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2907
e0eb0550
JB
2908 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2909 New option. (Bug#16182)
b520f210
DG
2910 (ruby-smie--indent-to-stmt-p): Use it.
2911 (ruby-smie-rules): Revert the logic in the handling of `when'.
2912 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2913 (ruby-deep-arglist, ruby-deep-indent-paren)
2914 (ruby-deep-indent-paren-style): Update docstrings to note that the
2915 vars don't have any effect with SMIE.
2916
26b75b45
JB
29172013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2918
2919 * calc/calc.el (calc-enter, calc-pop): Use the variable
2920 `calc-context-sensitive-enter'.
2921
cf91cee7
LMI
29222013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2923
2924 * net/shr.el (shr-insert): Protect against infloops in degenerate
2925 tables.
2926
51d971b4
RS
29272013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2928
2929 * progmodes/octave.el (octave): Add link to manual and octave
2930 homepage.
2931 (octave-mode-menu): Link to octave-mode manual.
2932
8c2e462a
LL
29332013-12-20 Leo Liu <sdl.web@gmail.com>
2934
2935 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2936 insertion using skeleton-end-newline. (Bug#16138)
2937
501158bc
JL
29382013-12-20 Juri Linkov <juri@jurta.org>
2939
2940 * replace.el (occur-engine): Use `add-face-text-property'
2941 to add the face property to matches and titles. (Bug#14645)
2942
2943 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2944 the palette of other hi-lock colors.
2945 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2946
50ab1da6
JL
29472013-12-19 Juri Linkov <juri@jurta.org>
2948
2949 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2950 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2951 (minibuffer-history-symbol): Move variable declaration closer to
2952 its usage.
2953
2954 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2955 (Bug#14785)
2956
3d6e95e7
JL
29572013-12-19 Juri Linkov <juri@jurta.org>
2958
2959 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2960 New function.
2961 (log-edit-hook): Add it to :options. (Bug#16170)
2962
b41594fd
JL
29632013-12-19 Juri Linkov <juri@jurta.org>
2964
2965 * simple.el (eval-expression-print-format): Don't check for
2966 command names and the last command. Always display additional
2967 formats of the integer result in the echo area, and insert them
2968 to the current buffer only with a zero prefix arg.
2969 Display character when char-displayable-p is non-nil.
2970 (eval-expression): With a zero prefix arg, set `print-length' and
2971 `print-level' to nil, and insert the integer values from
2972 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2973
2974 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2975 `eval-last-sexp-arg-internal'. Doc fix.
2976 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2977 `eval-last-sexp-print-value'. Doc fix.
2978 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2979 Set `print-length' and `print-level' to nil when arg is zero.
2980 (eval-last-sexp): Doc fix.
2981 (eval-defun-2): Print the integer values from
2982 `eval-expression-print-format' at the end.
2983
2984 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2985 values from `eval-expression-print-format' at the end.
2986
2987 * ielm.el (ielm-eval-input): Print the integer
2988 values from `eval-expression-print-format' at the end.
2989
8f2be364
TZ
29902013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2991
2992 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2993 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2994
2230a6e3
SM
29952013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2998 (hl-line-highlight, global-hl-line-highlight): Use it.
2999 (hl-line-overlay): Use defvar-local.
3000
1269a680
JD
30012013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3002
3003 * term/ns-win.el: Require dnd.
3004 (global-map): Remove drag items.
3005 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3006 (ns-set-background-at-mouse):
3007 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3008 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3009 New functions.
1269a680 3010
049638ad
GM
30112013-12-19 Glenn Morris <rgm@gnu.org>
3012
3013 * emacs-lisp/ert.el (ert-select-tests):
3014 Fix string/symbol mixup. (Bug#16121)
3015
ce41edb4
DG
30162013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3017
3018 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3019 keywords to their parent.
3020
7e1549c9
DG
30212013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3022
3023 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3024 first arg to be a string (fixed dead code), or an operator symbol.
3025 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3026 operator symbols.
3027 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3028 did nothing. Don't respond to `(:after ".")', it will be called
3029 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3030 change anything. Only return indentation for binary operators
3031 when they are hanging. De-dent opening paren when its parent is
3032 `.', otherwise it looks bad when the dot is not at bol or eol
3033 (bug#16182).
3034
3ee4cd64
JL
30352013-12-19 Juri Linkov <juri@jurta.org>
3036
3037 * replace.el (query-replace-read-args): Split a non-negative arg
3038 and a negative arg into separate elements.
3039 (query-replace, query-replace-regexp, replace-string)
3040 (replace-regexp): Add arg `backward'. Doc fix.
3041 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3042 move point to the beginning of the match.
3043 (replace-search, replace-highlight): Use new arg `backward'
3044 to set the value of `isearch-forward'.
3045 (perform-replace): Add arg `backward' and use it to perform
3046 replacement backward. (Bug#14979)
3047
3048 * isearch.el (isearch-query-replace): Use a negative prefix arg
3049 to call `perform-replace' with a non-nil arg `backward'.
3050
0cda6b7b
JL
30512013-12-18 Juri Linkov <juri@jurta.org>
3052
3053 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3054 to the default list. Move `log-edit-show-files' to the end.
3055 Add more available functions to options.
3056 (log-edit): Move default specific settings to
3057 `log-edit-insert-message-template'. Don't move point.
3058 (log-edit-insert-message-template): New function.
3059 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3060 (Bug#16170)
3061
b216f0a6
JL
30622013-12-18 Juri Linkov <juri@jurta.org>
3063
3064 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3065 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3066
1d1c55dc
LL
30672013-12-18 Leo Liu <sdl.web@gmail.com>
3068
e9dc713d
JB
3069 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3070 (Bug#16186)
1d1c55dc 3071
64e4c76e
EZ
30722013-12-18 Eli Zaretskii <eliz@gnu.org>
3073
3074 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3075 formats for displaying file sizes when the -s switch is given.
3076 Instead, compute a separate format for displaying the size in
3077 blocks, which is displayed in addition to the "regular" size.
3078 When -h is given in addition to -s, produce size in blocks in
3079 human-readable form as well. (Bug#16179)
3080
b2984e39
TH
30812013-12-18 Tassilo Horn <tsdh@gnu.org>
3082
2230a6e3
SM
3083 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3084 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3085
50ff2e06
CY
30862013-12-18 Chong Yidong <cyd@gnu.org>
3087
0081bc84
CY
3088 * cus-edit.el (custom-magic-alist): Fix "themed" description
3089 (Bug#14348).
3090
a7ee9424
CY
3091 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3092 is non-nil, do not create a new entry in the symbol's theme-value
3093 or theme-face property; update theme-settings only (Bug#14664).
18874304 3094 (custom-available-themes): Doc fix.
a7ee9424 3095
8f942537
CY
3096 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3097 (Bug#15674).
3098
50ff2e06
CY
3099 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3100
83c60f60
KI
31012013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3102
3103 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3104 (Bug#13914).
3105
e0eb0550 31062013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3107
3108 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3109
1f41ee56
GM
31102013-12-18 Glenn Morris <rgm@gnu.org>
3111
3112 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3113 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3114
e82134b1
LW
31152013-12-18 Le Wang <l26wang@gmail.com>
3116
2230a6e3
SM
3117 * comint.el (comint-previous-matching-input-from-input):
3118 Retain point (Bug#13404).
e82134b1 3119
33f5d4c1
CY
31202013-12-18 Chong Yidong <cyd@gnu.org>
3121
3122 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3123
ccc9f6dc
GM
31242013-12-18 Glenn Morris <rgm@gnu.org>
3125
3126 * mail/emacsbug.el (report-emacs-bug):
3127 Only mention enable-multibyte-characters if non-standard.
3128
33dd8e95
JL
31292013-12-17 Juri Linkov <juri@jurta.org>
3130
3131 * arc-mode.el (archive-extract-by-file): Check if directory exists
3132 before deletion to not show irrelevant errors if it doesn't exist.
3133
7a409b30
JL
31342013-12-17 Juri Linkov <juri@jurta.org>
3135
3136 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3137 (Bug#14751)
3138
3139 * net/eww.el (browse-web): Add alias to `eww'.
3140 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3141 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3142
3143 * net/browse-url.el (browse-url-browser-function): Move `eww'
3144 closer to similar functions.
3145
3146 * startup.el (fancy-startup-screen, fancy-about-screen):
3147 Set browse-url-browser-function to eww-browse-url locally.
3148 (Bug#14751)
3149
2d6b6005
SM
31502013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3151
3152 * window.el (window--pixel-to-total): Remove unused `mini' var.
3153 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3154 (split-window): Remove unused `new' var.
3155 (window--display-buffer): Remove unused `frame' and `delta' vars.
3156 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3157 and display-width'.
3158
cf2b7efc
MR
31592013-12-17 Martin Rudalics <rudalics@gmx.at>
3160
3161 * dired.el (dired-mark-pop-up):
3162 * register.el (register-preview): Don't bind
3163 split-height-threshold here since it's now done in
3164 display-buffer-below-selected.
3165
ed3af8a7 31662013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3167
3168 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3169 xterm-rgb-convert-to-16bit.
3170 (rxvt-register-default-colors): Standardize with
3171 xterm-register-default-colors (Bug#14078).
3172
76da3455
DK
31732013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3174
3175 * simple.el (kill-region): Pass mark first, then point, so that
3176 kill-append works right (Bug#12819).
3177 (copy-region-as-kill, kill-ring-save): Likewise.
3178
2b84d763
LL
31792013-12-17 Leo Liu <sdl.web@gmail.com>
3180
3181 * net/rcirc.el (rcirc-add-face):
3182 * eshell/em-prompt.el (eshell-emit-prompt):
3183 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3184 (Bug#16167)
3185
e2f6a0bc
CY
31862013-12-17 Chong Yidong <cyd@gnu.org>
3187
3188 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3189 Suggested by Xue Fuqiao.
3190
35b249a6
DG
31912013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3192
3193 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3194
e9145444
SM
31952013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * net/shr.el (shr-insert-document): Remove unused var
3198 `shr-preliminary-table-render'.
3199 (shr-rescale-image): Remove unused arg `force'.
3200 (shr-put-image): Update calls accordingly.
3201 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3202
5556c0ce
DG
32032013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3204
3205 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3206 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3207 :close-all, to see which indentation method to use (Bug#16116).
3208 (smie-rules-function): Document the method :close-all.
3209
11bade0a
LMI
32102013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3211
1c4b1e61
LMI
3212 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3213
11bade0a
LMI
3214 * net/eww.el (eww-display-html): If we can't find the anchor we're
3215 looking for, then go to point-min.
3216
8fb8c4f3
PE
32172013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3218
3219 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3220 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3221 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3222 Expand dir too, in case it's relative.
3223
6c8e0ae6
JL
32242013-12-16 Juri Linkov <juri@jurta.org>
3225
3226 * desktop.el (desktop-auto-save-timeout): Change default to
3227 `auto-save-timeout'. Doc fix.
3228 (desktop-save): Skip the timestamp in desktop-saved-frameset
3229 when checking for auto-save changes.
3230 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3231 `desktop-auto-save' is called repeatedly by the idle timer.
3232 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3233 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3234 (Bug#15331)
3235
2178e858
JL
32362013-12-16 Juri Linkov <juri@jurta.org>
3237
3238 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3239 (Bug#16035)
3240 (isearch-pre-command-hook): Check `this-command' for symbolp.
3241
39cb42c6
SM
32422013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3245
5b9b750a
TZ
32462013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3247
3248 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3249 (cfengine3--current-function): Bring in the current-function
3250 functionality from `cfengine3--current-word'.
3251 (cfengine3-completion-function): Bring in the
3252 bounds-of-current-word functionality from
3253 `cfengine3--current-word'.
3254
d144ef06
MR
32552013-12-16 Martin Rudalics <rudalics@gmx.at>
3256
39cb42c6
SM
3257 * window.el (display-buffer-below-selected):
3258 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3259
a8bbe298
LL
32602013-12-16 Leo Liu <sdl.web@gmail.com>
3261
3262 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3263 Remove NOMSG arg and all uses changed.
3264
2013a2f9
SM
32652013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3268 (cua--deactivate-rectangle): Don't deactivate the mark.
3269 (cua-set-rectangle-mark): Don't set mark-active since
3270 cua--activate-rectangle already does it for us.
3271 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3272 non-rectangular region.
3273
3274 * emulation/cua-base.el (cua-repeat-replace-region):
3275 Use with-current-buffer.
3276
3277 * net/gnutls.el: Use cl-lib.
3278 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3279
5ae811dd
TZ
32802013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3281
3282 * emacs-lisp/package.el (package-built-in-p): Support both
3283 built-in and the package.el converted package descriptions.
3284 (package-show-package-list): Allow keywords.
3285 (package-keyword-button-action): Use it instead of
3286 `finder-list-matches'.
3287 (package-menu-filter-interactive): Interactive filtering (by
3288 keyword) function.
3289 (package-menu--generate): Support keywords and change keymappings
3290 and headers when they are given.
3291 (package--has-keyword-p): Helper function.
3292 (package-menu--refresh): Use it.
3293 (package--mapc): Helper function.
3294 (package-all-keywords): Use it.
3295 (package-menu-mode-map): Set up menu items and keybindings to
3296 provide a filtering UI.
3297
31b4827e
TZ
32982013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3299
3300 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3301 the behavior when a certificate fails validation. Defaults to
3302 old behavior: never abort, just warn.
3303 (gnutls-negotiate): Use it.
3304
f93cc74f
MR
33052013-12-14 Martin Rudalics <rudalics@gmx.at>
3306
3307 * window.el (display-buffer-below-selected): Never split window
3308 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3309
f77d7d17
TW
33102013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3311
3312 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3313 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3314
7514d3f8
SM
33152013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3316
aa2bddd7 3317 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3318 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3319
276bc333
DG
33202013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3321
3322 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3323 open-paren tokens when preceded by a open-paren, too.
3324 (ruby-smie-rules): Handle virtual indentation after open-paren
3325 tokens specially. If there is code between it and eol, return the
3326 column where is starts (Bug#16118).
3327
d43957f3
TZ
33282013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3329
a5c1ac0c 3330 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3331 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3332 (cfengine3--current-word): Fix parameters.
3333 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3334 (cfengine3-completion-function, cfengine3--current-function):
3335 Use `assq' for symbols.
d43957f3
TZ
3336 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3337
06a4f110
GM
33382013-12-13 Glenn Morris <rgm@gnu.org>
3339
3340 * loadup.el (load-path): Warn if site-load or site-init changes it.
3341 No more need to reset it when bootstrapping.
3342
978a5fda
TZ
33432013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3344
3345 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3346 locations for cf-promises.
3347 (cfengine-mode-syntax-functions-regex): New caching variable.
3348 (cfengine3-fallback-syntax): Fallback syntax for cases where
3349 cf-promises doesn't run.
3350 (cfengine3--current-word): Reimplement using
3351 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3352 (cfengine3-completion-function, cfengine3--current-function):
3353 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3354 (cfengine3-clear-syntax-cache): New function.
3355 (cfengine3-make-syntax-cache): Simplify and create
3356 `cfengine-mode-syntax-functions-regex' on demand.
3357 (cfengine3-format-function-docstring): Don't call
3358 `cfengine3-make-syntax-cache' explicitly.
3359
71e6691e
MR
33602013-12-13 Martin Rudalics <rudalics@gmx.at>
3361
3362 Fix windmove-find-other-window broken after pixelwise resizing
3363 (Bug#16017).
3364 * windmove.el (windmove-other-window-loc): Revert change from
3365 2013-12-04.
3366 (windmove-find-other-window): Call window-in-direction.
3367 * window.el (window-in-direction): New arguments SIGN, WRAP and
3368 MINI to emulate original windmove-find-other-window behavior.
3369
84c73ba0
DG
33702013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3371
3372 * simple.el (blink-matching--overlay): New variable.
3373 (blink-matching-open): Instead of moving point, highlight the
3374 matching paren with an overlay
3375 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3376
3377 * faces.el (paren-showing-faces, show-paren-match)
3378 (show-paren-mismatch): Move from paren.el.
3379
b9e20952
LL
33802013-12-13 Leo Liu <sdl.web@gmail.com>
3381
3382 * indent.el (indent-region): Disable progress reporter in
3383 minibuffer. (Bug#16108)
3384
3385 * bindings.el (visual-order-cursor-movement): Fix version.
3386
ce030451
FEG
33872013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3388
3389 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3390 Also match after beginning of line.
3391 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3392 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3393
4a9c6865
JL
33942013-12-13 Juri Linkov <juri@jurta.org>
3395
3396 * simple.el <Keypad support>: Remove key bindings duplicated
3397 with bindings.el. (Bug#14397)
3398
2bc170c3
JL
33992013-12-13 Juri Linkov <juri@jurta.org>
3400
3401 * comint.el (comint-mode-map): Replace `delete-char' with
3402 `delete-forward-char'. (Bug#16109)
3403
bc9222c9
FEG
34042013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3405
aa2bddd7 3406 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3407 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3408
cb3a1380
SM
34092013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3412 (advice--make): Pay attention to `depth'.
3413 (advice--make-1): Don't autoload commands eagerly.
3414 * emacs-lisp/elp.el (elp-instrument-function):
3415 * emacs-lisp/trace.el (trace-function-internal):
3416 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3417
3418 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3419
01633a17
EZ
34202013-12-12 Eli Zaretskii <eliz@gnu.org>
3421
3422 * term/w32-win.el (w32-handle-dropped-file):
3423 * startup.el (normal-top-level):
3424 * net/browse-url.el (browse-url-file-url):
3425 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3426 decode file names using 'utf-8' rather than
3427 file-name-coding-system.
3428
09faee72
FEG
34292013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3430
3431 * progmodes/python.el (python-indent-context)
3432 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3433 behavior for comment blocks. (Bug#15916)
09faee72 3434
f4f84024 34352013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3436
cb3a1380
SM
3437 * progmodes/python.el (python-indent-calculate-indentation):
3438 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3439 operators when they are just string constituents. (Bug#15812)
3440
d5ccb7be
JL
34412013-12-12 Juri Linkov <juri@jurta.org>
3442
3443 * uniquify.el (uniquify-buffer-name-style): Change default to
3444 `post-forward-angle-brackets'.
3445
3446 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3447 `uniquify'. Change default to `post-forward-angle-brackets'.
3448
7b3f5679
GM
34492013-12-11 Glenn Morris <rgm@gnu.org>
3450
3451 * emacs-lisp/package.el (finder-list-matches):
3452 Autoload rather than falsely declaring.
3453
f4fe8fdd
TZ
34542013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3455
3456 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3457 (eww-mode-map): Use them.
3458
3c29190f
MR
34592013-12-11 Martin Rudalics <rudalics@gmx.at>
3460
3461 * window.el (display-buffer-in-side-window): Fix doc-string
3462 (Bug#16115).
3463
0cd616a2
JB
34642013-12-11 Juanma Barranquero <lekktu@gmail.com>
3465
3466 * vc/vc-git.el: Silence byte-compiler warnings.
3467 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3468 (log-edit-set-header): Declare.
3469
3ef8e0d1
EZ
34702013-12-11 Eli Zaretskii <eliz@gnu.org>
3471
3472 * Makefile.in (custom-deps, finder-data): Run output file names
3473 through unmsys--file-name. (Bug#16099)
3474
afdadaf7
SM
34752013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3476
7ae3ae39 3477 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3478 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3479
5b4f37ab
SM
3480 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3481 instead of deleting the selection "by hand" (bug#16098).
3482 Rely on insert-for-yank to yank rectangles.
3483 (cua-highlight-region-shift-only): Mark obsolete.
3484 (cua-mode): Don't enable/disable transient-mark-mode,
3485 shift-select-mode (cua-mode works both with and without them), and
3486 pc-selection-mode (obsolete).
3487 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3488 (cua--deactivate-rectangle): Deactivate it.
3489
4b72c12b
SM
3490 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3491 (delete-selection-helper): Make sure yank starts at the top of the
3492 deleted region.
3493 (minibuffer-keyboard-quit): Use region-active-p.
3494
e82af72d
SM
3495 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3496
afdadaf7
SM
3497 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3498 to `delete' (bug#16109).
3499
ed4bc201
RS
35002013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3501
3502 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3503 info manual and show keybindings and set `:group' keyword.
3504
bb8097b9
JL
35052013-12-11 Juri Linkov <juri@jurta.org>
3506
3507 * delsel.el (delete-active-region): Let-bind `this-command'
3508 to prevent `kill-region' from changing its original value.
3509 (delete-selection-helper): Handle `overwrite-mode' for the type
3510 `kill' exactly the same way as for the type `t'.
3511 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3512 Support more commands. (Bug#13312)
3513
c1916ff5
JL
35142013-12-11 Juri Linkov <juri@jurta.org>
3515
3516 * bindings.el: Map kp keys to non-kp keys systematically
3517 with basic modifiers control, meta and shift. (Bug#14397)
3518
7514d3f8 35192013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3520
3521 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3522 "Close browser" menu items. Fix wrong function of "List
3523 bookmarks".
3524
4cc51eaf
JL
35252013-12-11 Juri Linkov <juri@jurta.org>
3526
3527 * misearch.el (multi-isearch-buffers): Set the value of
3528 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3529 arg of isearch-forward to t.
3530 (multi-isearch-buffers-regexp): Set the value of
3531 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3532 arg of isearch-forward-regexp to t.
3533 (multi-isearch-files): Set the value of
3534 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3535 arg of isearch-forward to t.
3536 (multi-isearch-files-regexp): Set the value of
c295fc18 3537 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3538 arg of isearch-forward-regexp to t. (Bug#16035)
3539
3540 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3541 arg of isearch-forward to t.
3542 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3543 arg of isearch-forward-regexp to t.
3544 (dired-isearch-filter-filenames): Remove unnecessary check for
3545 `dired-isearch-filenames'.
3546
3547 * comint.el (comint-history-isearch-backward):
3548 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3549 (comint-history-isearch-backward-regexp):
3550 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3551
ceac12b7
EZ
35522013-12-10 Eli Zaretskii <eliz@gnu.org>
3553
3554 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3555 unmsys--file-name. (Bug#16099)
3556
5a565782
TZ
35572013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3558
cb3a1380
SM
3559 * emacs-lisp/package.el (package-keyword-button-action):
3560 Remove finder.el require dependency.
5a565782 3561
a81fc7ba
TZ
35622013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3563
3564 * emacs-lisp/package.el: Require finder.el.
3565 (describe-package-1): Add keyword buttons.
3566 (package-make-button): New convenience function.
3567 (package-keyword-button-action): Keyword button action using
e0eb0550 3568 `finder-list-matches'.
a81fc7ba 3569
6aaca951
EZ
35702013-12-09 Eli Zaretskii <eliz@gnu.org>
3571
3572 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3573 last commit.
3574
a1099a91
MA
35752013-12-09 Michael Albinus <michael.albinus@gmx.de>
3576
3577 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3578 symlinked files.
3579
8212d9c0
DG
35802013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3581
3582 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3583 after the end of a percent literal.
3584
8f48d131
CD
35852013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3586
cb3a1380
SM
3587 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3588 Handle caret-delimited strings (Bug#16079).
8f48d131 3589
ff8c9764
DG
35902013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3591
cb3a1380
SM
3592 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3593 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3594 `ruby-parse-partial' (Bug#16078).
3595
d64643b4
LL
35962013-12-09 Leo Liu <sdl.web@gmail.com>
3597
3598 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3599
47e59c66
DG
36002013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3601
3602 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3603 (js-switch-indent-offset): New option.
3604 (js--proper-indentation): Use it. And handle the case when
3605 "default" is actually a key in an object literal.
3606 (js--same-line): New function.
3607 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3608 (js--indent-in-array-comp, js--array-comp-indentation):
3609 New functions.
47e59c66
DG
3610 (js--proper-indentation): Use them, to handle array comprehension
3611 continuations.
3612
974ebc9c
LL
36132013-12-08 Leo Liu <sdl.web@gmail.com>
3614
3615 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3616 (flymake-make-overlay): Remove arg MOUSE-FACE.
3617 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3618
27262e39
SM
36192013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3622 New function.
3623 (redisplay-highlight-region-function): Use it.
3624
3625 * emulation/cua-base.el (cua--explicit-region-start)
3626 (cua--last-region-shifted): Remove.
3627 (cua--deactivate): Use deactivate-mark.
3628 (cua--pre-command-handler-1): Don't handle shift-selection.
3629 (cua--post-command-handler-1): Don't change transient-mark-mode.
3630 (cua--select-keymaps): Use region-active-p rather than
3631 cua--explicit-region-start or cua--last-region-shifted.
3632 (cua-mode): Enable shift-select-mode.
3633
6407822c
LL
36342013-12-08 Leo Liu <sdl.web@gmail.com>
3635
27262e39
SM
3636 * progmodes/flymake.el (flymake-popup-current-error-menu):
3637 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3638 (flymake-posn-at-point-as-event, flymake-popup-menu)
3639 (flymake-make-emacs-menu): Remove. (Bug#16077)
3640
00a2b823
SM
36412013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3642
02033d49
SM
3643 * rect.el (rectangle-mark-mode): Activate mark even if
3644 transient-mark-mode is off (bug#16066).
3645 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3646 is > mark and at bolp.
3647
6f8dfccf
SM
3648 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3649 (region-extract-function): Use it.
3650 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3651 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3652 Delete functions.
3653 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3654 kill-ring-save, kill-region, delete-char, delete-forward-char.
3655 Ignore self-insert-iso.
3656
3657 * emulation/cua-gmrk.el (cua--init-global-mark):
3658 Ignore `self-insert-iso'.
3659
3660 * emulation/cua-base.el (cua--prefix-copy-handler)
3661 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3662 checking cua--rectangle.
3663 (cua-delete-region): Use region-extract-function.
3664 (cua-replace-region): Delete function.
3665 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3666 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3667 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3668 (cua--init-keymaps): Don't remap delete-selection commands.
3669 (cua-mode): Use delete-selection-mode instead of rolling our own
3670 (bug#16085).
3671
3672 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3673 Obey region-extract-function.
3674
00a2b823
SM
3675 Make registers and delete-selection-mode work on rectangles.
3676 * register.el (describe-register-1): Don't modify the register's value.
3677 (copy-to-register): Obey region-extract-function.
3678 * delsel.el (delete-active-region): Obey region-extract-function.
3679
a92fa5f1
LL
36802013-12-08 Leo Liu <sdl.web@gmail.com>
3681
3682 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3683 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3684 (flymake-compilation-prevents-syntax-check)
3685 (flymake-start-syntax-check-on-newline)
3686 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3687 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3688 (flymake-xml-program, flymake-master-file-dirs)
3689 (flymake-master-file-count-limit)
3690 (flymake-allowed-file-name-masks): Relocate.
3691 (flymake-makehash, flymake-float-time)
3692 (flymake-replace-regexp-in-string, flymake-split-string)
3693 (flymake-get-temp-dir): Remove.
3694 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3695 (flymake-current-row, flymake-selected-frame)
3696 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3697 related functions. (Bug#16077)
3698
73c8ceea
BB
36992013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3700
3701 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3702
faec28d9
TH
37032013-12-07 Tassilo Horn <tsdh@gnu.org>
3704
3705 * help-fns.el (describe-function-1): Use new advice-* functions
3706 rather than old ad-* functions. Fix function type description and
3707 source links for advised functions and subrs.
3708
e330b646
LMI
37092013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3710
00a2b823 3711 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3712
4803595d
MA
37132013-12-06 Michael Albinus <michael.albinus@gmx.de>
3714
3715 * progmodes/compile.el (compilation-start):
3716 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3717
3718 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3719 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3720
fa834a93
DG
37212013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3722
00a2b823
SM
3723 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3724 Touch up the last change.
fa834a93 3725
b2856a6f
LL
37262013-12-06 Leo Liu <sdl.web@gmail.com>
3727
3728 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3729 (inferior-octave-startup): Always use "octave> " for prompt.
3730 (octave-goto-function-definition)
3731 (octave-sync-function-file-names)
3732 (octave-find-definition-default-filename): Remove redundant backquotes.
3733
af67e79a
DG
37342013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3735
3736 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3737 syntax for `?'.
3738 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3739 where appropriate already.
3740 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3741 end of method names (Bug#15874).
3742
bf093209
JL
37432013-12-06 Juri Linkov <juri@jurta.org>
3744
3745 * isearch.el (isearch--saved-overriding-local-map):
3746 New internal variable.
3747 (isearch-mode): Set it to the initial value of
3748 `overriding-terminal-local-map'.
3749 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3750 with `isearch--saved-overriding-local-map'. (Bug#16035)
3751
16588fad
DG
37522013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3753
00a2b823
SM
3754 * progmodes/octave.el (inferior-octave-completion-table):
3755 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3756 (Bug#11906). Update all references.
3757
3758 * minibuffer.el (completion-table-with-cache): New function.
3759
bf4906d7
CD
37602013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3761
3762 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3763
ff69c18f
TZ
37642013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3765
3766 * net/eww.el (eww-current-source): New variable to store page
3767 source.
3768 (eww-display-html, eww-mode, eww-save-history)
3769 (eww-restore-history): Use it.
3770 (eww-view-source): New command to view page source.
3771 Opportunistically uses `html-mode' to highlight the buffer.
3772 (eww-mode-map): Install it.
3773
b85eff45
MA
37742013-12-05 Michael Albinus <michael.albinus@gmx.de>
3775
3776 * net/dbus.el (dbus-unregister-service)
3777 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3778 Fix docstring.
3779 (dbus-unregister-service): Skip :serial entries in
3780 `dbus-registered-objects-table'.
3781 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3782
39eb0899
TZ
37832013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3784
3785 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3786 around keywords with extra `split-string' argument.
3787
456760a5
MR
37882013-12-04 Martin Rudalics <rudalics@gmx.at>
3789
3790 * windmove.el (windmove-other-window-loc): Handle navigation
3791 between windows (excluding the minibuffer window - Bug#16017).
3792
81961e4c
MA
37932013-12-04 Michael Albinus <michael.albinus@gmx.de>
3794
3795 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3796 in D-Bus type syntax.
3797 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3798 preserve unibyte strings. (Bug#16048)
3799
8497f938
SM
38002013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3803 Call force-mode-line-update is the proper buffer (bug#16042).
3804
dda61916
DG
38052013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3806
3807 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3808 `log-edit-remember-comment', make argument optional. Adjust all
3809 callers.
3810 (log-edit-mode): Add `log-edit-remember-comment' to
3811 `kill-buffer-hook' locally.
3812 (log-edit-kill-buffer): Don't remember comment explicitly since
3813 the buffer is killed anyway.
3814
c085e5b9
JL
38152013-12-04 Juri Linkov <juri@jurta.org>
3816
3817 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3818 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3819
e0eb0550 38202013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3821
3822 * notifications.el (notifications-close-notification): Call the
81961e4c 3823 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3824
39fa32d6
KY
38252013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3826
3827 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3828
9139632a
JL
38292013-12-03 Juri Linkov <juri@jurta.org>
3830
3831 * progmodes/compile.el (compilation-start): Rename window alist
3832 entry `no-display-ok' to `allow-no-window'.
3833
3834 * simple.el (shell-command): Add window alist entry
3835 `allow-no-window' to `display-buffer'.
3836 (async-shell-command): Doc fix.
3837
3838 * window.el (display-buffer-no-window): New action function.
3839 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3840
0f457a37
DG
38412013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3842
3843 * vc/log-edit.el (log-edit-set-header): Extract from
3844 `log-edit-toggle-header'.
3845 (log-edit-extract-headers): Separate the summary, when extracted
3846 from header, from the rest of the message with an empty line.
3847
3848 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3849 line, if present, to the Summary header.
3850
0962f376
SM
38512013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3854 in current-buffer (bug#16029).
3855
f345395c
HE
38562013-12-02 Helmut Eller <eller.helmut@gmail.com>
3857
3858 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3859 (debugger-mode-map): Bind it.
3860 (debugger--backtrace-base): New function.
3861 (debugger-eval-expression): Use it.
3862 (debugger-frame-number): Skip local vars when present.
3863 (debugger--locals-visible-p, debugger--insert-locals)
3864 (debugger--show-locals, debugger--hide-locals): New functions.
3865
a8a15d9d
MA
38662013-12-02 Michael Albinus <michael.albinus@gmx.de>
3867
3868 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3869 "LC_ALL".
3870 (tramp-get-remote-locale): New defun.
3871 (tramp-open-connection-setup-interactive-shell): Use it.
3872
0518b057
LL
38732013-12-02 Leo Liu <sdl.web@gmail.com>
3874
3875 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3876
3877 * progmodes/sh-script.el (sh-shell-process):
3878 * progmodes/octave.el (inferior-octave-process-live-p):
3879 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3880 (gdb-inferior-io-sentinel):
3881 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3882
3adc9c6d
DG
38832013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3884
3885 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3886 `save-selected-window' to `log-edit-hide-buf'. This makes
3887 `log-edit-show-files' idempotent.
3888 (log-edit-show-files): Mark the new window as dedicated.
3889
47e8b74e
DG
38902013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3891
3892 * vc/log-edit.el (log-edit-mode-map): Add binding for
3893 `log-edit-kill-biffer'.
3894 (log-edit-hide-buf): Add a FIXME comment.
3895 (log-edit-add-new-comment): New function, extracted from
3896 `log-edit-done'.
3897 (log-edit-done, log-edit-add-to-changelog): Use it.
3898 (log-edit-kill-buffer): New command.
3899
1f6e1bb0
LMI
39002013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3901
3902 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3903 instead of killing the buffer.
3904
fb651d15
SM
39052013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3906
3907 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3908
8feacce0
RS
39092013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3910
fb651d15 3911 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3912 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3913 (eww-form-checkbox, eww-toggle-checkbox):
3914 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3915
e0eb0550 3916 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3917 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3918 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3919 no :src tag was specified.
3920
fb651d15 3921 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3922 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3923 Use \\` to match beginning of string instead of ^.
3924 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3925 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3926
177948a5
RS
3927 * net/shr.el (shr-tag-video): Display content for video if no
3928 poster is available.
eb2dd24d 3929 (shr-tag-audio): Add support for <audio> tag.
177948a5 3930
e0eb0550 3931 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3932 (eww-process-text-input): Treat input types in
3933 `eww-text-input-types' as text.
3934
8feacce0
RS
3935 * net/shr.el (shr-tag-table): Fix comment typo.
3936
513562a1
LMI
39372013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3938
3939 * net/eww.el (eww-follow-link): New command to avoid reloading
3940 pages when we follow #target links (bug#15243).
de8a5633 3941 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3942
9dd99753
KN
39432013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3944
3945 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3946 forms.
3947
3e9876de
LMI
39482013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3949
3950 * net/eww.el (eww-restore-history): Update the window title after
3951 moving in the history.
ab6dea82 3952 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3953
52789f7f
DG
39542013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3955
3956 * vc/log-edit.el (log-edit-mode-map): Add binding for
3957 `log-edit-beginning-of-line'.
3958 (log-edit-setup-add-author): New user option.
3959 (log-edit-beginning-of-line): New command.
3960 (log-edit): Move major mode call above the contents setup so that
3961 the local variable values are already applied.
3962 (log-edit): Only insert "Author: " when
3963 `log-edit-setup-add-author' is non-nil.
3964 (log-edit): When SETUP is non-nil, position point after ": "
3965 instead of point-min.
3966
2e6710c3
GM
39672013-12-01 Glenn Morris <rgm@gnu.org>
3968
3969 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3970
fadec31f
EZ
39712013-11-30 Eli Zaretskii <eliz@gnu.org>
3972
3973 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3974 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3975 visible. (Bug#16014)
3976
10634b40 39772013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3978
3979 Support resizing frames and windows pixelwise.
3980 * cus-start.el (frame-resize-pixelwise)
3981 (window-resize-pixelwise): New entries.
3982 * emacs-lisp/debug.el (debug): Use window-total-height instead
3983 of window-total-size.
3984 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3985 * help.el (describe-bindings-internal): Use help-buffer as
3986 argument for with-help-window.
880e6158
MR
3987 (temp-buffer-max-width): New option.
3988 (resize-temp-buffer-window, help-window-setup)
3989 (with-help-window): Rewrite.
3990 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3991 dragging dividers.
3992 * window.el (frame-char-size, window-min-pixel-height)
3993 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3994 (window-min-pixel-width, window-safe-min-pixel-size)
3995 (window-combination-p, window-safe-min-size)
3996 (window-resizable-p, window--size-to-pixel)
3997 (window--pixel-to-size, window--resize-apply-p): New functions.
3998 (window-safe-min-height): Fix doc-string.
3999 (window-size, window-min-size, window--min-size-1)
4000 (window-sizable, window-sizable-p, window--min-delta-1)
4001 (window-min-delta, window--max-delta-1, window-max-delta)
4002 (window--resizable, window--resizable-p, window-resizable)
4003 (window-full-height-p, window-full-width-p, window-at-side-p)
4004 (window--in-direction-2, window-in-direction)
4005 (window--resize-reset-1, window--resize-mini-window)
4006 (window-resize, window-resize-no-error)
4007 (window--resize-child-windows-normal)
4008 (window--resize-child-windows, window--resize-siblings)
4009 (window--resize-this-window, window--resize-root-window)
4010 (window--resize-root-window-vertically)
4011 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4012 (maximize-window, minimize-window, delete-window)
4013 (quit-restore-window, window-split-min-size, split-window)
4014 (balance-windows-2, balance-windows)
4015 (balance-windows-area-adjust, balance-windows-area)
4016 (window--state-get-1, window-state-get, window--state-put-1)
4017 (window--state-put-2, window-state-put)
fb651d15
SM
4018 (display-buffer-record-window, window--display-buffer):
4019 Make functions handle pixelwise sizing of windows.
880e6158 4020 (display-buffer--action-function-custom-type)
fb651d15
SM
4021 (display-buffer-fallback-action):
4022 Add display-buffer-in-previous-window.
880e6158
MR
4023 (display-buffer-use-some-window): Resize window to height it had
4024 before.
4025 (fit-window-to-buffer-horizontally): New option.
4026 (fit-frame-to-buffer): Describe new values.
4027 (fit-frame-to-buffer-bottom-margin): Replace with
4028 fit-frame-to-buffer-margins.
4029 (window--sanitize-margin): New function.
4030 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4031 using window-text-pixel-size.
4032
f9b697dd
GM
40332013-11-30 Glenn Morris <rgm@gnu.org>
4034
3e2fb4db
GM
4035 * emacs-lisp/bytecomp.el (byte-compile-form):
4036 Make the `interactive-only' warning like the `obsolete' one.
4037 * comint.el (comint-run):
4038 * files.el (insert-file-literally, insert-file):
4039 * replace.el (replace-string, replace-regexp):
4040 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4041 (goto-line, insert-buffer, next-line, previous-line):
4042 Tweak `interactive-only' spec.
4043
f9b697dd
GM
4044 Stop keeping (most) generated cedet grammar files in the repository.
4045 * Makefile.in (semantic): New.
4046 (compile-main): Depend on semantic.
4047
da048127
SM
40482013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4049
7784b779
SM
4050 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4051 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4052
4e36a6a6
SM
4053 * uniquify.el (uniquify-buffer-name-style): Change default.
4054
4055 * loadup.el: Preload "uniquify".
4056
e0ba1308
SM
4057 * time.el (display-time-update): Update all mode lines (bug#15999).
4058
da048127
SM
4059 * electric.el (electric-indent-mode): Enable by default.
4060 * loadup.el: Preload "electric".
4061
015b3b3e
BB
40622013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4063
4064 * emacs-lisp/helpers.el (string-empty-p): New function.
4065 (string-blank-p): New function.
4066
7efb806d
AP
40672013-11-29 Andreas Politz <politza@hochschule-trier.de>
4068
4069 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4070 (Bug#14029).
4071
c8f0efc2
AP
40722013-11-29 Andreas Politz <politza@fh-trier.de>
4073 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4074 allow non-lambda lists as functions.
4075 (imenu--in-alist): Don't recurse into non-subalists.
4076 (imenu): Don't pass function itself as an argument (Bug#14029).
4077
bd15d9d1
SM
40782013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4079
4080 * progmodes/python.el (python-mode-map): Remove binding for ":".
4081 (python-indent-electric-colon): Remove command.
4082 (python-indent-post-self-insert-function): Integrate the previous code
4083 of python-indent-electric-colon. Make it conditional on
4084 electric-indent-mode.
4085 (python-mode): Add ?: to electric-indent-chars.
4086 Move python-indent-post-self-insert-function to the end of
4087 post-self-insert-hook.
4088
1b10adb6
SM
40892013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4090
655ab9a3
SM
4091 * doc-view.el (doc-view-goto-page): Update mode-line.
4092
1b10adb6
SM
4093 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4094
7e3bf78c
GM
40952013-11-27 Glenn Morris <rgm@gnu.org>
4096
4097 * international/charprop.el, international/uni-bidi.el:
4098 * international/uni-category.el, international/uni-combining.el:
4099 * international/uni-comment.el, international/uni-decimal.el:
4100 * international/uni-decomposition.el, international/uni-digit.el:
4101 * international/uni-lowercase.el, international/uni-mirrored.el:
4102 * international/uni-name.el, international/uni-numeric.el:
4103 * international/uni-old-name.el, international/uni-titlecase.el:
4104 * international/uni-uppercase.el:
4105 Remove generated files from VCS repository.
4106
fb6a5d68
EZ
41072013-11-27 Eli Zaretskii <eliz@gnu.org>
4108
4109 * filenotify.el (file-notify-add-watch): Don't special-case
4110 w32notify when computing the directory to watch.
4111
cb6c95a3
GM
41122013-11-27 Glenn Morris <rgm@gnu.org>
4113
20372d0c
GM
4114 Make bootstrap without generated uni-*.el files possible again.
4115 * loadup.el: Update command-line-args checking for unidata-gen.
4116 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4117 * composite.el, international/characters.el:
4118 Handle unicode tables being undefined.
4119
52d6635f 4120 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4121 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4122 (compile-main): Depend on leim rule.
4123 (leim): New rule.
4124 * loadup.el: Move leim-list.el to leim/ subdirectory.
4125 * startup.el (normal-top-level): No more leim directory.
4126 * international/ja-dic-cnv.el (skkdic-convert):
4127 Disable version-control and autoloads in output files.
4128 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4129 Disable version-control and autoloads in output files.
4130 * leim/quail: Move here from ../leim.
4131 * leim/quail/hangul.el (hangul-input-method-activate):
4132 Add autoload cookie.
4133 (generated-autoload-load-name): Set file-local value.
4134 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4135 (generated-autoload-load-name): Set file-local value.
4136
7514d3f8 41372013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4138
e0eb0550 4139 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4140 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4141 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4142
0e2c793f
EZ
41432013-11-26 Eli Zaretskii <eliz@gnu.org>
4144
4145 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4146 reading output from Diff on MS-Windows and MS-DOS.
4147
447bdcb8
BB
41482013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4149
4150 * emacs-lisp/helpers.el (string-reverse): New function.
4151
5fbf6856
MA
41522013-11-26 Michael Albinus <michael.albinus@gmx.de>
4153
4154 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4155 names on MS Windows, like "/[::1]:".
4156
4157 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4158 SWITCHES.
4159
624780f0
GM
41602013-11-26 Glenn Morris <rgm@gnu.org>
4161
0bf3f0fa
GM
4162 * progmodes/python.el (python-indent-guess-indent-offset):
4163 Avoid corner-case error. (Bug#15975)
4164
624780f0
GM
4165 Preload leim-list.el. (Bug#4789)
4166 * loadup.el: Load leim-list.el when found.
4167 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4168
4301875e 41692013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4170
4171 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4172
4301875e
BB
4173 * emacs-lisp/helpers.el (string-join): New function.
4174
1633a815 41752013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4176
4177 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4178 Mark as obsolete and replace it with a symbol property.
4179 (byte-compile-form): Use new 'interactive-only property.
4180 * comint.el, files.el, replace.el, simple.el:
4181 Apply new 'interactive-only properly.
4182
00139435
MR
41832013-11-25 Martin Rudalics <rudalics@gmx.at>
4184
4185 * window.el (display-buffer-at-bottom): Make sure that
4186 split-window-sensibly creates the new window on bottom
4187 (Bug#15961).
4188
5f5b128d
DK
41892013-11-23 David Kastrup <dak@gnu.org>
4190
4191 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4192 on the conflict markers when available.
4193 (smerge--get-marker): New function.
4194 (smerge-end-re, smerge-base-re): Add subgroup.
4195
623891e5
SM
41962013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4197
4198 * frame.el (handle-focus-in, handle-focus-out): Add missing
4199 interactive spec.
4200
05ca27d8
MA
42012013-11-25 Michael Albinus <michael.albinus@gmx.de>
4202
4203 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4204 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4205
511fa0d3
SM
42062013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4207
e82ad66c
SM
4208 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4209 (gomoku--last-pos): New var.
4210 (gomoku--intangible-chars): New const.
4211 (gomoku--intangible): New function.
4212 (gomoku-mode): Use it. Derive from special-mode.
4213 (gomoku-move-up): Adjust line count.
4214 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4215 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4216 Simplify accordingly.
4217
511fa0d3
SM
4218 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4219 Remove blink-cursor code.
4220 (blink-cursor-timer-function, blink-cursor-suspend):
4221 Don't special-case GUIs.
4222 (blink-cursor-mode): Use focus-in/out-hook.
4223
6f20dd03
DG
42242013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4225
4226 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4227 work when annotation is invisible (Bug#13886).
4228
431dec31 42292013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4230
4231 * json.el (json-alist-p): Only return non-nil if the alist has
4232 simple keys (Bug#13518).
4233
431dec31 42342013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4235
4236 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4237 when control-statement is the first statement in a buffer (Bug#15956).
4238
ee4f0261
DG
42392013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4240
4241 * imenu.el (imenu-generic-skip-comments-and-strings):
4242 New option (Bug#15560).
4243 (imenu--generic-function): Use it.
4244
c484f866
JS
42452013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4246
e9dc713d
JB
4247 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4248 (Bug#13898)
c484f866 4249
41ce6f70
BB
42502013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4251
b55aea38
BB
4252 * emacs-lisp/helpers.el: Add some string helpers.
4253 (string-trim-left): Removes leading whitespace.
4254 (string-trim-right): Removes trailing whitespace.
4255 (string-trim): Removes leading and trailing whitespace.
4256
41ce6f70
BB
4257 * subr.el (string-suffix-p): New function.
4258
3cfb6af3
GM
42592013-11-23 Glenn Morris <rgm@gnu.org>
4260
4261 * progmodes/python.el (python-shell-send-file):
4262 Add option to delete file when done. (Bug#15647)
4263 (python-shell-send-string, python-shell-send-region): Use it.
4264
c27924b7
IS
42652013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4266
e1b01c7f
IS
4267 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4268 to set buffer-read-only to t, never to nil. (Bug#15938)
4269
c27924b7
IS
4270 * textmodes/tex-mode.el (latex-noindent-environments):
4271 Add safe-local-variable property. (Bug#15936)
4272
17e0445b
GM
42732013-11-23 Glenn Morris <rgm@gnu.org>
4274
92f78ea3
GM
4275 * textmodes/enriched.el (enriched-mode): Doc fix.
4276 * emacs-lisp/authors.el (authors-renamed-files-alist):
4277 Add enriched.doc -> enriched.txt.
4278
17e0445b
GM
4279 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4280
965bb23a
LL
42812013-11-22 Leo Liu <sdl.web@gmail.com>
4282
4283 * progmodes/octave.el (inferior-octave-startup): Spit out error
4284 message.
4285
d19ffd64
BB
42862013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4287
4288 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4289 Improve docstring.
15ba2182
BB
4290 Add :version.
4291 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4292
7a7567d2
LL
42932013-11-22 Leo Liu <sdl.web@gmail.com>
4294
4295 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4296 (Bug#15076)
8c09f64b
LL
4297 (octave-help-mode): Adapt to change to help-mode-finish to use
4298 derived-mode-p on 2013-09-17.
4299 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4300 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4301
724bc265
LL
43022013-11-22 Leo Liu <sdl.web@gmail.com>
4303
4304 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4305 (inferior-octave-startup, inferior-octave-check-process)
4306 (inferior-octave-track-window-width-change)
4307 (octave-completion-at-point, octave-eldoc-function): Use it.
4308 (octave-kill-process): Provide confirmation. (Bug#10564)
4309
38637cca
LL
43102013-11-21 Leo Liu <sdl.web@gmail.com>
4311
511fa0d3
SM
4312 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4313 Fix obsolete variable comment-use-global-state.
38637cca 4314
06e752b4
RS
43152013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4316
511fa0d3
SM
4317 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4318 Add `octave-source-file'.
06e752b4
RS
4319 (octave-source-file): New function. (Bug#15935)
4320
7514d3f8 43212013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4322
4323 * net/eww.el (eww-local-regex): New variable.
4324 (eww): Use it to detect localhost and similar.
4325
b6ffa04a
LL
43262013-11-21 Leo Liu <sdl.web@gmail.com>
4327
4328 Add completion for command `ag'.
2021a200
LL
4329 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4330 (pcomplete/ag): New function.
e9dc713d 4331 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4332
d1a6bccc
SM
43332013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4336 (bug#14646).
4337 (make-obsolete): Remove interactive spec.
4338
2df10228
GM
43392013-11-21 Glenn Morris <rgm@gnu.org>
4340
4341 * startup.el (command-line-1): Use path-separator with -L.
4342
86fd16b6
TZ
43432013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4344
4345 * emacs-lisp/package.el (describe-package-1): Add package archive
4346 to shown fields.
4347
0449d6cd 43482013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4349
4350 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4351 Change default to "# encoding: %s" to differentiate it from the
4352 default Ruby encoding comment template.
4353
dc7e8c17 43542013-11-20 era eriksson <era+emacsbugs@iki.fi>
4355
4356 * ses.el (ses-mode): Doc fix. (Bug#14748)
4357
f0cfa5fe
LL
43582013-11-20 Leo Liu <sdl.web@gmail.com>
4359
4360 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4361
826dc7b6
DN
43622013-11-19 Dan Nicolaescu <dann@gnu.org>
4363
4364 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4365 when rebase or bisect are in progress.
4366
a6e3a5d5
XF
43672013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4368
4369 * filenotify.el (file-notify-add-watch): Doc fix.
4370
f130cb76
LL
43712013-11-19 Leo Liu <sdl.web@gmail.com>
4372
e0855d7d
LL
4373 * obsolete/rcompile.el: Mark obsolete.
4374
f130cb76 4375 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4376 (compilation-goto-locus, compilation-find-file):
4377 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4378 (Bug#13594)
4379
4380 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4381 new parameter no-display-ok. Return either a window or nil
4382 but never a non-window value.
f130cb76 4383
1f35d401
SM
43842013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4385
25158c76
SM
4386 * electric.el (electric-indent-mode-map): Remove.
4387 (electric-indent-mode): Change the global-map instead (bug#15915).
4388
4389 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4390 Use add-function.
1f35d401 4391
9bc67baa
SM
43922013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4393
986545b5
SM
4394 * emacs-lisp/nadvice.el (remove-function): Align with
4395 add-function's behavior.
4396
9bc67baa
SM
4397 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4398 (gdb--string-regexp): New constant.
4399 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4400 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4401 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4402 submatch 1.
4403 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4404 Adjust use accordingly.
4405 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4406
56cd894e
AS
44072013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4408
4409 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4410 interpolation curlies (Bug#15914).
4411
014690de
JB
44122013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4413
4414 * calc/calc.el (calc-context-sensitive-enter): New variable.
4415 (calc-enter): Use `calc-context-sensitive-enter'.
4416
7e26a6c3
TZ
44172013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4418
4419 * progmodes/cfengine.el: Version bump.
4420 (cfengine-cf-promises): New defcustom to locate cf-promises.
4421 (cfengine3-vartypes): Add new "data" type.
4422 (cfengine3--current-word): New function to get current name-like
4423 word or its bounds.
4424 (cfengine3--current-function): New function to look up a CFEngine
4425 function's definition.
4426 (cfengine3-format-function-docstring): New function.
4427 (cfengine3-make-syntax-cache): New function.
4428 (cfengine3-documentation-function): New function: ElDoc glue.
4429 (cfengine3-completion-function): New function: completion glue.
4430 (cfengine3-mode): Set `compile-command',
4431 `eldoc-documentation-function', and add to
4432 `completion-at-point-functions'.
4433
355204dd
MA
44342013-11-16 Michael Albinus <michael.albinus@gmx.de>
4435
4436 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4437 `tramp-current-connection'.
4438
43cebc23
DG
44392013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4440
4441 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4442 nil/self/true/false with "end of symbol".
4443
a3fed6ff
BB
44442013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4445
4446 * subr.el (version-regexp-alist): Fix a typo.
4447
e675b3e4
MA
44482013-11-15 Michael Albinus <michael.albinus@gmx.de>
4449
4450 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4451 "en_US.utf8" and "LC_CTYPE" to "".
4452 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4453 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4454
a1f03e89
LL
44552013-11-15 Leo Liu <sdl.web@gmail.com>
4456
4457 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4458
5d9d9451
SM
44592013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4460
58362662
CS
4461 * progmodes/gud.el (ctl-x-map):
4462 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4463 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4464
6c1bf086
BB
44652013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4466
0d5363c4
BB
4467 * subr.el (version-regexp-alist):
4468 Recognize hg, svn and darcs versions as snapshot versions.
4469
4e9fc48c
BB
4470 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4471 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4472 (ruby--encoding-comment-required-p): Extract from
4473 `ruby-mode-set-encoding'.
4474 (ruby-mode-set-encoding): Add the ability to always insert an
4475 utf-8 encoding comment. Fix and simplify coding comment update
4476 logic.
6c1bf086 4477
2f7e72f8
MA
44782013-11-14 Michael Albinus <michael.albinus@gmx.de>
4479
4480 * net/tramp-gvfs.el (top): Run init code only when
4481 `tramp-gvfs-enabled' is not nil.
4482 (tramp-gvfs-enabled): Check also :system bus.
4483
0f137a73
SM
44842013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4485
4486 Sync with upstream verilog-mode revision 78e66ba.
4487 * progmodes/verilog-mode.el (verilog-end-of-defun)
4488 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4489 (verilog-get-end-of-defun): Remove unused argument.
4490 (verilog-comment-depth): Remove unused local `e'.
4491 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4492 Don't pass arg to verilog-get-end-of-defun.
4493
1c276bdd
GM
44942013-11-14 Glenn Morris <rgm@gnu.org>
4495
4496 * obsolete/assoc.el (aget): Prefix dynamic variable.
4497
4498 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4499
ff6ec81d
SM
45002013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * widget.el, hfy-cmap.el: Remove bogus package version number.
4503
75f777b6
GM
45042013-11-13 Glenn Morris <rgm@gnu.org>
4505
1d43dba1
GM
4506 * replace.el (replace-eval-replacement):
4507 Try to give more helpful error message. (Bug#15836)
4508
ff4b7bd5
GM
4509 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4510 (archive-7z-update): Avoid custom type mismatches.
4511
75f777b6
GM
4512 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4513
11151a06
MA
45142013-11-13 Michael Albinus <michael.albinus@gmx.de>
4515
e675b3e4 4516 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4517 address can be empty.
4518
4519 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4520 Accept nil SWITCHES.
4521 (tramp-gvfs-handle-write-region): Implement APPEND.
4522
7b08f97e
DG
45232013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4524
4525 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4526 binary "|" operator and closing block args delimiter.
4527 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4528 (ruby-smie--implicit-semi-p): Not after "|" operator.
4529 (ruby-smie--closing-pipe-p): New function.
4530 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4531 (ruby-smie-rules): Indent after "|".
4532
f201cf3a
GM
45332013-11-12 Glenn Morris <rgm@gnu.org>
4534
4535 * ps-print.el (ps-face-attribute-list):
4536 Handle anonymous faces. (Bug#15827)
4537
e6f759f9
MR
45382013-11-12 Martin Rudalics <rudalics@gmx.at>
4539
4540 * window.el (display-buffer-other-frame): Fix doc-string.
4541 (Bug#15868)
4542
ecda65d4
SM
45432013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4546
7ce8fcc3
MA
45472013-11-11 Michael Albinus <michael.albinus@gmx.de>
4548
4549 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4550 (tramp-sh-handle-file-local-copy): Don't write a message when
4551 saving temporary files.
4552
4553 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4554 both directories are remote.
4555 (tramp-smb-handle-directory-files): Do not return double entries.
4556 Do not expand full file names.
4557 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4558 (tramp-smb-handle-write-region): Implement APPEND.
4559 (tramp-smb-get-stat-capability): Fix a stupid bug.
4560
7818df11
SM
45612013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4564
608c2085
NT
45652013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4566
4567 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4568 throwing error over malformed let/let* (bug#15814).
4569
122a7e46
SM
45702013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * iswitchb.el (iswitchb-mode): Mark obsolete.
4573
766284d9
GM
45742013-11-11 Glenn Morris <rgm@gnu.org>
4575
4576 * international/uni-bidi.el, international/uni-category.el:
4577 * international/uni-name.el, international/uni-numeric.el:
4578 Regenerate for Unicode 6.3.0.
4579
7072a4e9
MA
45802013-11-10 Michael Albinus <michael.albinus@gmx.de>
4581
4582 * net/tramp.el (tramp-methods):
4583 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4584 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4585
c9df215b
AS
45862013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4587
608c2085
NT
4588 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4589 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4590
fa47d796
DG
45912013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4592
4593 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4594 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4595 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4596 (ispell-complete-word): Call `ispell-lookup-words' with the value
4597 independent of `ispell-look-p'.
4598
1629a329
DG
45992013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4600
4601 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4602 Not after "||".
4603 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4604 their parent.
4605
ad16897c
SM
46062013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4609 (ruby-font-lock-keywords): Use backquote.
4610
ffa2df72
DG
46112013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4612
4613 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4614 (ruby-smie--backward-token): Only consider full-string matches.
4615
5b97b4c0
JD
46162013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4617
4618 * faces.el (describe-face): Add distant-foreground.
4619
71731c03
BB
46202013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4621
4e9fc48c
BB
4622 * progmodes/ruby-mode.el: Improve encoding comment handling.
4623 (ruby-encoding-magic-comment-style): New option.
4624 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4625 (ruby--insert-coding-comment, ruby--detect-encoding):
4626 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4627 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4628 to control the style of the auto-inserted encoding comment.
71731c03 4629
da3b328d
DG
46302013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4631
ad16897c
SM
4632 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4633 Use `smie-backward-sexp' with token argument.
da3b328d 4634
1606c2d3
MA
46352013-11-08 Michael Albinus <michael.albinus@gmx.de>
4636
4637 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4638 Remove instrumentation code.
4639
b0f4c320
GM
46402013-11-08 Glenn Morris <rgm@gnu.org>
4641
4642 * progmodes/autoconf.el (autoconf-mode):
4643 Tweak comment-start-skip. (Bug#15822)
4644
43668fb1
SM
46452013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4648 at bobp (bug#15826).
4649 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4650
daddb3fd
DH
46512013-11-08 Darren Hoo <darren.hoo@gmail.com>
4652
4653 * man.el (Man-start-calling): New macro, extracted from
4654 Man-getpage-in-background.
4655 (Man-getpage-in-background): Use it.
4656 (Man-update-manpage): New command.
4657 (Man-mode-map): Bind it.
4658
1f923923
DG
46592013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4660
4661 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4662 of "and", "or", "&&" and "||".
4663 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4664 argument. Prohibit opening curly brace because it could only be a
4665 block opener in that position.
daddb3fd
DH
4666 (ruby-smie--forward-token, ruby-smie--backward-token):
4667 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4668 arguments.
4669 (ruby-smie--indent-to-stmt): New function, seeks the end of
4670 previous statement or beginning of buffer.
4671 (ruby-smie-rules): Use it.
4672 (ruby-smie-rules): Check if there's a ":" before a curly block
4673 opener candidate; if there is, it's a hash.
4674
3220d527
SM
46752013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4678 (cl--block-wrapper): Fix last accidental change.
4679
1eb1f9e0
MA
46802013-11-07 Michael Albinus <michael.albinus@gmx.de>
4681
4682 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4683 Instrument, in order to hunt failure on hydra.
4684
e6e4db3c
NT
46852013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4686
4687 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4688 malformed bindings form (bug#15814).
4689
b420ccfc
DG
46902013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4691
4692 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4693 "." compared to " @ ". This incidentally fixes some indentation
4694 examples with "do".
e6e4db3c 4695 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4696 (ruby-smie-grammar): New tokens: "and" and "or".
4697 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4698 Exclude "and" and "or". Remove "do" in order to work around token
4699 priorities.
4700 (ruby-smie-rules): Add all infix tokens. Handle the case of
4701 beginning-of-buffer.
b420ccfc 4702
6b4ac03e
GM
47032013-11-06 Glenn Morris <rgm@gnu.org>
4704
4705 * Makefile.in (setwins_almost, setwins_for_subdirs):
4706 Avoid accidental matches.
4707
5ca114d1
SM
47082013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * menu-bar.el (popup-menu): Use key-binding.
4711
f72552bd
EZ
47122013-11-06 Eli Zaretskii <eliz@gnu.org>
4713
4714 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4715 menus, support also the menus produced by minor modes.
4716 (Bug#15817)
4717
5d5c701e
LL
47182013-11-06 Leo Liu <sdl.web@gmail.com>
4719
4720 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4721 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4722
0a8b75e2
GM
47232013-11-06 Glenn Morris <rgm@gnu.org>
4724
4725 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4726 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4727 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4728
a35287ea
SM
47292013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4730
feca4e2d
SM
4731 * electric.el (electric-indent-just-newline): New command.
4732 (electric-indent-mode-map): New keymap.
4733 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4734 Re-add :group which weren't redundant.
4735
a35287ea
SM
4736 * electric.el (electric-indent-local-mode): New minor mode.
4737 (electric-indent-functions-without-reindent): New var.
4738 (electric-indent-post-self-insert-function): Use it.
4739 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4740
375761b2
EZ
47412013-11-05 Eli Zaretskii <eliz@gnu.org>
4742
9a6ad735
EZ
4743 * international/quail.el (quail-help): Be more explicit about the
4744 meaning of the labels shown on the keys. (Bug#15800)
4745
375761b2
EZ
4746 * startup.el (normal-top-level): Load the subdirs.el files before
4747 setting the locale environment. (Bug#15805)
4748
520a6e4a
SM
47492013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4750
0acfafef
SM
4751 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4752 via arguments so as to get the right ones (bug#15418).
4753
520a6e4a
SM
4754 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4755
15826261
MA
47562013-11-05 Michael Albinus <michael.albinus@gmx.de>
4757
4758 Fix problems found while writing a test suite.
4759
4760 * net/tramp-compat.el (tramp-compat-load): New defun.
4761 * net/tramp.el (tramp-handle-load): Use it.
4762
4763 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4764 "(numberp ok-if-already-exists)" correctly.
4765
d35f31a4
XF
47662013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4767
4768 * international/characters.el (glyphless-char-display-control):
4769 Add usage note.
4770
ae93bc74
BB
47712013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4772
520a6e4a
SM
4773 * progmodes/python.el (python-mode):
4774 * progmodes/scheme.el (scheme-mode):
4775 * progmodes/prolog.el (prolog-mode):
4776 * progmodes/ruby-mode.el (ruby-mode):
4777 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4778 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4779
0ade65b5
SM
47802013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4781
a0d5f7a4
SM
4782 * rect.el (rectangle--highlight-for-redisplay):
4783 * emacs-lisp/smie.el (smie--next-indent-change):
4784 Use buffer-chars-modified-tick.
4785
c93f3f5c
SM
4786 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4787
0ade65b5
SM
4788 * electric.el (electric-indent-post-self-insert-function):
4789 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4790
ef9dd188
HE
47912013-11-04 Helmut Eller <eller.helmut@gmail.com>
4792
4793 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4794
306e7308
NT
47952013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4796
4797 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4798 (bug#15786).
4799
e5afbcac
SM
48002013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4801
1d01ad41
SM
4802 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4803
e5afbcac
SM
4804 * progmodes/python.el: Fix up last change.
4805 (python-shell--save-temp-file): New function.
4806 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4807 `string' comes from the current buffer.
4808 (python-shell-send-string-no-output): Remove `msg' arg.
4809 (python--use-fake-loc): New var.
4810 (python-shell-buffer-substring): Obey it. Try to compensate for the
4811 extra coding line added by python-shell--save-temp-file.
4812 (python-shell-send-region): Use python-shell--save-temp-file and
4813 python-shell-send-file directly. Add `nomain' argument.
4814 (python-shell-send-buffer): Use python-shell-send-region.
4815 (python-electric-pair-string-delimiter): New function.
4816 (python-mode): Use it.
4817
d0065ff1
EZ
48182013-11-04 Eli Zaretskii <eliz@gnu.org>
4819
4820 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4821 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4822 environment and decoding all of the default-directory's to here
4823 from command-line.
4824 (command-line): Decode also argv[0].
4825
4826 * loadup.el: Error out if default-directory is a multibyte string
4827 when we are dumping.
4828
4829 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4830
7397c587
TZ
48312013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4832
4833 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4834 (package-menu--print-info, package-menu--archive-predicate):
4835 Add Archive column to package list.
7397c587 4836
b27cc9fc
MA
48372013-11-04 Michael Albinus <michael.albinus@gmx.de>
4838
4839 Fix problems found while writing a test suite.
4840
4841 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4842 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4843 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4844 to nil when running original file name handler. Otherwise,
4845 there are problems with constructs like "$$FOO".
4846
4847 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4848 for `localname'.
4849
d8c4f18a
BB
48502013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4851
7b530552
BB
4852 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4853
4854 * subr.el (version<, version<=, version=):
4855 Update docstrings with information for snapshot versions.
4856
d8c4f18a
BB
4857 * helpers.el: New library for misc helper functions.
4858 (hash-table-keys): New function returning a list of hash keys.
4859 (hash-table-values): New function returning a list of hash values.
4860
dca01b09
DG
48612013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4862
4863 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4864 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4865
0a749fa0
MN
48662013-11-04 Michal Nazarewicz <mina86@mina86.com>
4867
4868 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4869 checking whether point is after a 1-letter word.
4870
48712013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4872
4873 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4874 Don't infloop when expanding region over `multiline' syntax-type that
4875 begins a line (bug#15778).
4876
4aca7145
SM
48772013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4880 Make it into a proper minor mode.
4881 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4882 (rectangle-mark-mode-map): New keymap.
4883 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4884
a0833f62
GM
48852013-11-04 Glenn Morris <rgm@gnu.org>
4886
4887 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4888
e61845c1
SM
48892013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4892 (ruby-smie-rules): Use smie-rule-parent instead.
4893
4894 * emacs-lisp/smie.el (smie-rule-parent): Always call
4895 smie-indent-virtual rather than only for hanging tokens.
4896 (smie--next-indent-change): New helper command.
4897
62942f89
GM
48982013-11-03 Glenn Morris <rgm@gnu.org>
4899
4900 * Makefile.in (abs_srcdir): Remove.
4901 (emacs): Unset EMACSLOADPATH.
4902
b0b9e592
GM
49032013-11-02 Glenn Morris <rgm@gnu.org>
4904
18ba6a33 4905 * Makefile.in (EMACS): Use a relative filename.
8061810d 4906 (abs_top_builddir): Remove.
18ba6a33
GM
4907 (custom-deps, finder-data, autoloads): Use --chdir.
4908
6a8b929e
GM
4909 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4910
c617f3d0
GM
4911 Use relative filenames in TAGS files.
4912 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4913 (lisptagsfiles4, TAGS): Use relative file names.
4914 (TAGS-LISP): Remove.
4915 (maintainer-clean): No more TAGS-LISP file.
4916
b0b9e592
GM
4917 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4918 (lisptagsfiles4): Use absolute filenames again.
4919 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4920 Remove all *loaddefs files, not just the first. Remove esh-groups.
4921 (maintainer-clean): Delete TAGS, TAGS-LISP.
4922
d1c0ea6a
BB
49232013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4924
e61845c1
SM
4925 * emacs-lisp/package.el (package-version-join):
4926 Recognize snapshot versions.
d1c0ea6a 4927
684d71c6
BB
49282013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4929
4930 * subr.el (version-regexp-alist): Add support for snapshot versions.
4931
3d42b968
DG
49322013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4933
e61845c1
SM
4934 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4935 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4936 skip over our direct parent if it's an assignment token..
4937 (ruby-smie-rules): Use it.
4938
7ffd3721
DG
49392013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4940
8449dd1f 4941 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4942 unconditionally. Remove now unnecessary forward declarations.
4943 Remove XEmacs-specific setup.
4944 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4945 (ruby-font-lock-syntactic-keywords)
4946 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4947 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4948 (ruby-here-doc-end-syntax): Remove.
4949 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4950 defined as function.
4951
a3996a2e
BB
49522013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4953
4954 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4955
6f9260e8
BB
49562013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4957
4958 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4959 table and abbrev table, `define-derived-mode' does that for us
4960 anyway.
4961
6014de84
GM
49622013-11-01 Glenn Morris <rgm@gnu.org>
4963
4964 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4965 files is atomic for some time, so no parallel compilation issues).
4966
3c334c14
JD
49672013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4968
4969 * faces.el (face-x-resources): Add :distant-foreground.
4970 (region): Use :distant-foreground for gtk and ns.
4971
9bc236c8
TH
49722013-11-01 Tassilo Horn <tsdh@gnu.org>
4973
5246583b 4974 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4975 BibTeX.
4976 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4977 (reftex-locate-bibliography-files): Us it.
4978
d14c81ee
CB
49792013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4980
0e7690de
CB
4981 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4982 allow comments in pbm files.
4983
d14c81ee
CB
4984 * term/w32-win.el (dynamic-library-alist): Support newer versions
4985 of libjpeg starting with v7: look only for the DLL from the
4986 version against which Emacs was built.
ac1bf374 4987 Support versions of libpng beyond 1.4.x.
019c8218 4988 Support libtiff v4.x.
d14c81ee 4989
983d0df5
BB
49902013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4991
4992 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4993 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4994 Add property :safe.
4995 (ruby-deep-arglist): Add property :type.
4996
47f58d85
GM
49972013-10-31 Glenn Morris <rgm@gnu.org>
4998
4999 * Makefile.in (custom-deps, finder-data): No need to setq the target
5000 variables, we are in the right directory and the defaults work fine.
5001
4f85b479
GM
50022013-10-30 Glenn Morris <rgm@gnu.org>
5003
ca7dd4cd
GM
5004 * Makefile.in (autoloads): Do not use abs_lisp.
5005
4f85b479
GM
5006 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5007 `newline' does not respect `standard-output', so use `princ'.
5008
cf59e41c
AA
50092013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5010
5011 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5012 * buff-menu.el (Buffer-menu--unmark): New function.
5013 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5014
74cf04fb
GM
50152013-10-30 Glenn Morris <rgm@gnu.org>
5016
b040b60e
GM
5017 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5018
f53d3815
GM
5019 * emacs-lisp/package.el (lm-homepage): Declare.
5020
5413d873
GM
5021 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5022 Fix doc typos.
5023
cecedb36
GM
5024 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5025
74cf04fb
GM
5026 * Makefile.in (finder-data, autoloads, update-subdirs)
5027 (compile-main, compile-clean, compile-always, bootstrap-clean):
5028 Check return value of cd.
5029 (compile-calc): Remove.
5030
195ee2f0
SM
50312013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5032
ae4002ce
SM
5033 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5034
5035 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5036 (byte-compile-and-folded): New function.
5037 (=, <, >, <=, >=): Use it.
5038
5039 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5040 (path-separator, null-device, buffer-file-coding-system)
5041 (lpr-headers-switches): Check system-type before modifying them.
5042 (find-buffer-file-type-coding-system): Mark obsolete.
5043 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5044 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5045 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5046 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5047 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5048 (w32-direct-print-region-helper, w32-direct-print-region-function)
5049 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5050 * startup.el (normal-top-level-add-subdirs-to-load-path):
5051 * ps-print.el (ps-print-region-function):
5052 * lpr.el (print-region-function): Use new name.
5053
53b39e89
SM
5054 * subr.el (custom-declare-variable-early): Remove function.
5055 (custom-declare-variable-list): Remove var.
5056 (error, user-error): Remove `while' loop.
5057 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5058 (user-emacs-directory-warning, locate-user-emacs-file):
5059 Move to files.el.
5060 * simple.el (read-quoted-char-radix, read-quoted-char):
5061 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5062 Move from subr.el.
5063 * custom.el (custom-declare-variable-list): Don't process
5064 custom-declare-variable-list.
5065
195ee2f0
SM
5066 * progmodes/python.el (python-shell-get-buffer): New function.
5067 (python-shell-get-process): Use it.
5068 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5069 Python which encoding was used. Don't split-string since we only care
5070 about the first line. Return the temp-file, if applicable.
5071 (python-shell-send-region): Tell compile.el how to turn locations in
5072 the temp-file into locations in the source buffer.
5073
7e3561ee
SM
50742013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5075
4c9797cb
SM
5076 * subr.el (undefined): Add missing behavior from the C code for
5077 unbound keys.
5078
3472b6c6
SM
5079 * rect.el: Use lexical-binding. Add new rectangular region support.
5080 (rectangle-mark): New command.
5081 (rectangle--region): New var.
5082 (deactivate-mark-hook): Reset rectangle--region.
5083 (rectangle--extract-region, rectangle--insert-for-yank)
5084 (rectangle--highlight-for-redisplay)
5085 (rectangle--unhighlight-for-redisplay): New functions.
5086 (region-extract-function, redisplay-unhighlight-region-function)
5087 (redisplay-highlight-region-function): Use them to handle
5088 rectangular region.
5089 * simple.el (region-extract-function): New var.
5090 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5091 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5092 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5093 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5094 (redisplay-unhighlight-region-function)
5095 (redisplay-highlight-region-function): New vars.
5096 (redisplay--update-region-highlight): New function.
5097 (pre-redisplay-function): Use it.
5098 (exchange-point-and-mark): Don't deactivate the mark before
5099 reactivate-it anyway.
5100 * comint.el (comint-kill-region): Remove yank-handler argument.
5101 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5102 (delete-char): Remove property, since it's now part of their
5103 default behavior.
5104 (self-insert-iso): Remove property since this command doesn't exist.
5105
7e3561ee
SM
5106 * emacs-lisp/package.el (package--download-one-archive)
5107 (describe-package-1): Don't query the user about final newline.
5108
b9bef71f
DC
51092013-10-29 Daniel Colascione <dancol@dancol.org>
5110
5111 * net/tramp.el (tramp-methods): Document new functionality.
5112 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5113 tramp-hostname-checker if method provides one instead of scanning
5114 argument list for "%h" to decide hostname acceptability.
5115
4efc33f0
MA
51162013-10-28 Michael Albinus <michael.albinus@gmx.de>
5117
5118 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5119 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5120 Handle COPY-CONTENTS. (Bug#15737)
5121
ed42a877
DU
51222013-10-28 Daiki Ueno <ueno@gnu.org>
5123
5124 * epa-file.el
7e3561ee
SM
5125 (epa-file-cache-passphrase-for-symmetric-encryption):
5126 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5127
18c9f8a2
XF
51282013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5129
35e951cd 5130 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5131
b1e8e010
AM
51322013-10-27 Alan Mackenzie <acm@muc.de>
5133
5134 Indent statements in macros following "##" correctly.
7e3561ee
SM
5135 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5136 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5137
73d40d1e 51382013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5139
5140 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5141
c8c605ac
DG
51422013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5143
5144 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5145 after `=' is probably a new expression.
5146
ca7e59d4
RS
51472013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5148
5149 * man.el (man-imenu-title): New option.
5150 (Man-mode-map): Add menu. (Bug#15722)
5151 (Man-mode): Add imenu to menu.
5152
bae91342
DG
51532013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5154
5155 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5156 specific in what the first arg can be: a non-keyword word,
5157 string/regexp/percent literal opener, opening paren, or unary
5158 operator followed directly by word.
5159
eb89dc14
SM
51602013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5163 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5164 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5165 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5166 Remove vars, they do not apply any more.
5167 (prolog-mode-abbrev-table): Remove redundant declaration.
5168 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5169 (prolog-use-smie): Remove.
5170 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5171 supported by prolog-electric-if-then-else-flag.
5172 (prolog-mode-variables, prolog-menu): Use setq-local.
5173 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5174 Remove binding to `Backspace' since this key doesn't exist anyway.
5175 Remove bindings for electric self-inserting keys.
5176 (prog-mode): Assume it's defined.
5177 (prolog-post-self-insert): New function.
5178 (prolog-mode): Use it.
5179 (prolog-indent-line, prolog-indent-level)
5180 (prolog-find-indent-of-matching-paren)
5181 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5182 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5183 (prolog-goto-next-paren, prolog-in-string-or-comment)
5184 (prolog-tokenize, prolog-inside-mline-comment)
5185 (prolog-find-start-of-mline-comment): Remove functions.
5186 (prolog-find-unmatched-paren, prolog-clause-end)
5187 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5188 (prolog-electric--if-then-else): Rename from
5189 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5190 (prolog-tokenize-searchkey): Remove const.
5191 (prolog-clause-info): Use forward-sexp.
5192 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5193 (prolog-electric-if-then-else): Remove commands.
5194 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5195 for use in post-self-insert-hook.
5196 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5197 for use in post-self-insert-hook.
5198 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5199 for use in post-self-insert-hook.
5200 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5201 adapt it for use in post-self-insert-hook.
5202
3dab0a83
MA
52032013-10-25 Michael Albinus <michael.albinus@gmx.de>
5204
5205 * emacs-lisp/ert.el (ert-run-tests-interactively):
5206 Use `completing-read'. (Bug#9756)
5207
fbfd0e1d
EZ
52082013-10-25 Eli Zaretskii <eliz@gnu.org>
5209
5210 * simple.el (line-move): Call line-move-1 instead of
5211 line-move-visual when the current window hscroll is zero, but
5212 temporary-goal-column indicates we will need to hscroll as result
5213 of the movement. (Bug#15712)
5214
963ce636
DG
52152013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5216
5217 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5218 capitalization. Use :visible instead of :active.
5219 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5220 commands that are used with SMIE.
5221 (ruby-do-end-to-brace): Insert space after `{'.
5222
a0be396a
JA
52232013-10-25 John Anthony <john@jo.hnanthony.com>
5224
f73754c9
JA
5225 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5226
5227 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5228
f5bf77df
GM
52292013-10-25 Glenn Morris <rgm@gnu.org>
5230
5231 * vc/vc.el (vc-print-log): Don't use a working revision unless
5232 one was explicitly specified. (Bug#15322)
5233
37241f62
SM
52342013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * subr.el (add-to-list): Preserve return value in compiler-macro
5237 (bug#15692).
5238
6408a65d
RS
52392013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5240
5241 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5242 result. Ask user to retry using '-all' flag. (Bug#15701)
5243
71e3276b
SM
52442013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5245
5246 * emacs-lisp/smie.el: New smie-config system.
5247 (smie-config): New defcustom.
5248 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5249 (smie-config-guess, smie-config-save): New commands.
5250 (smie-config--mode-local, smie-config--buffer-local)
5251 (smie-config--trace, smie-config--modefuns): New vars.
5252 (smie-config--advice, smie-config--mode-hook)
5253 (smie-config--setter, smie-config-local, smie-config--get-trace)
5254 (smie-config--guess-value, smie-config--guess): New functions.
5255 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5256 text properties. Treat "string fence" syntax like string syntax.
5257
5258 * progmodes/sh-script.el (sh-use-smie): Change default.
5259 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5260 (sh-var-value): Simplify by CSE.
5261 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5262 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5263 is used.
5264 (sh-guess-basic-offset): Use cl-incf.
5265 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5266
60db713e
HE
52672013-10-24 Helmut Eller <eller.helmut@gmail.com>
5268
5269 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5270 (bug#15699).
5271
8b251df6
GM
52722013-10-24 Glenn Morris <rgm@gnu.org>
5273
5274 * Makefile.in (abs_top_srcdir): Remove.
5275 (update-subdirs): Use relative path to update-subdirs.
5276
6be0e22b
EZ
52772013-10-24 Eli Zaretskii <eliz@gnu.org>
5278
5279 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5280 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5281 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5282 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5283
50b5b857
MA
52842013-10-24 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5287 (ert-test-skipped): New error.
5288 (ert-skip, ert-stats-skipped): New defuns.
5289 (ert--skip-unless): New macro.
5290 (ert-test-skipped): New struct.
5291 (ert--run-test-debugger, ert-test-result-type-p)
5292 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5293 (ert--stats-set-test-and-result, ert-char-for-test-result)
5294 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5295 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5296 Handle skipped tests. (Bug#9803)
50b5b857 5297
6f317c2f
GM
52982013-10-24 Glenn Morris <rgm@gnu.org>
5299
e43817c1
GM
5300 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5301
6f317c2f
GM
5302 * Makefile.in (abs_top_srcdir): New, set by configure.
5303 (update-subdirs): Correct build-aux location.
5304
369bbf71
DG
53052013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5306
8297b2cf
DG
5307 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5308 value, whether we could auto-deduce `backend', or not.
5309
369bbf71
DG
5310 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5311 with parameters" example. Simplify the "is it block or is it
5312 hash" check, but also make it more thorough.
5313
d5f1282f
MF
53142013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5315
5316 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5317
bc4aaa31
SM
53182013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5319
03d44565
SM
5320 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5321 { if it is hanging.
5322
bc4aaa31
SM
5323 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5324 :before ";".
5325
f493ff19
JB
53262013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5327
5328 * progmodes/compile.el (compilation-directory-matcher)
5329 (compilation-page-delimiter):
5330 Support GNU Make-4.0 directory quoting. (Bug#15678)
5331
c744a3b9
LL
53322013-10-23 Leo Liu <sdl.web@gmail.com>
5333
5334 * ido.el (ido-tidy): Handle read-only text.
5335
b8e3b0a9
GM
53362013-10-23 Glenn Morris <rgm@gnu.org>
5337
5338 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5339 (emacs, compile, compile-always):
5340 Quote entities that might contain whitespace.
5341 (custom-deps, finder-data, autoloads): Use abs_lisp.
5342 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5343 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5344 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5345
ee4282cd
DG
53462013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5347
bc4aaa31
SM
5348 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5349 Use `following-char'.
7790a270 5350
ee4282cd 53512013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5352
5353 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5354 * progmodes/ruby-mode.el (ruby-smie-rules):
5355 Remove corresponding workaround. Fix indentation rule of ";" so it
5356 also applies when ";" is the parent.
5357
d40a46d7
XF
53582013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5359
5360 * frame.el (display-screens, display-pixel-height)
5361 (display-pixel-width, display-mm-width, display-backing-store)
5362 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5363 (display-visual-class, display-monitor-attributes-list):
5364 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5365
a0f143c9
MG
53662013-10-22 Michael Gauland <mikelygee@amuri.net>
5367
5368 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5369 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5370
18cacc39
DG
53712013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5372
5373 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5374 TODO. Add "." after " @ ".
5375 (ruby-smie--at-dot-call): New function. Checks if point at method
5376 call with explicit target.
5377 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5378 to the method name tokens when it precedes them.
5379 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5380 (ruby-smie-rules): Add rule for indentation before and after "."
5381 token.
5382
df74c4be
SM
53832013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5384
c6dab55f
SM
5385 * textmodes/remember.el (remember-diary-extract-entries):
5386 Avoid add-to-list.
5387
df74c4be
SM
5388 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5389 an instruction.
5390
8c1ae481
DG
53912013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5392
e9dc713d
JB
5393 * progmodes/ruby-mode.el (ruby-smie-grammar):
5394 Add (almost) all infix operators.
cfef16c0
DG
5395 (ruby-smie--implicit-semi-p): Add new operator chars.
5396
8c1ae481
DG
5397 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5398 `smie-down-list'.
5399 (ruby-smie--args-separator-p): Check that there's no newline
5400 between method call and its arguments.
5401
87756ca9
AM
54022013-10-20 Alan Mackenzie <acm@muc.de>
5403
5404 Allow comma separated lists after Java "implements".
5405
df74c4be
SM
5406 * progmodes/cc-engine.el (c-backward-over-enum-header):
5407 Parse commas.
87756ca9
AM
5408 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5409 from a "disallowed" list in enum fontification.
5410
c25f8957
JB
54112013-10-20 Johan Bockgård <bojohan@gnu.org>
5412
df74c4be 5413 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5414
c25f8957
JB
5415 * progmodes/verilog-mode.el (verilog-mode): Don't set
5416 comment-indent-function globally.
5417
aca5fcdc
JD
54182013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5419
5f161884
JD
5420 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5421 Move Info menu item creation to ns-win.el.
5422
5423 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5424 in menu bar.
5425
a6c4680a 5426 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5427
5428 * term/ns-win.el (ns-initialize-window-system): ... to here.
5429
914b7f98
SM
54302013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5431
5432 * simple.el (newline): Only run post-self-insert-hook when
5433 called interactively.
5434
846ffe77
JB
54352013-10-19 Johan Bockgård <bojohan@gnu.org>
5436
5437 * icomplete.el (icomplete-with-completion-tables): Add :version.
5438
033f22dd
AM
54392013-10-19 Alan Mackenzie <acm@muc.de>
5440
5441 Fix fontification bugs with constructors and const.
5442
5443 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5444 CASE 2) Remove the check for the absence of a suffix construct
5445 after a function declaration with only types (no identifiers) in
5446 the parentheses. Also, accept a function declaration with just a
5447 type inside the parentheses, if this type can be positively
5448 recognised as such, or if a prefix keyword like "explicit" nails
5449 down the construct as a declaration.
5450
58ce0cfc
EZ
54512013-10-19 Eli Zaretskii <eliz@gnu.org>
5452
5453 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5454 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5455 the problem whereby selecting a menu item that leads to a
5456 minibuffer prompt moves the cursor out of the minibuffer window,
5457 making it hard to type at the prompt. Suggested by Stefan Monnier
5458 <monnier@iro.umontreal.ca>.
5459
50e28e7d
JD
54602013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5461
5462 * menu-bar.el: Don't make Services menu.
5463
7deed4bf
RS
54642013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5465
5466 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5467 (ffap-alist): Use ffap-c++-mode for c++-mode.
5468 (ffap-c++-path): New variable.
5469 (ffap-c++-mode): New function.
5470
7bcb455b
JVJ
54712013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5472
5473 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5474
f0ff1cd5
MA
54752013-10-18 Michael Albinus <michael.albinus@gmx.de>
5476
5477 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5478 introduced on 2013-09-08, which results in an infinite loop
5479 requesting a password.
5480
d64da4b7
GM
54812013-10-18 Glenn Morris <rgm@gnu.org>
5482
5483 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5484
ea89ff08
WS
54852013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5486
5487 Sync with upstream verilog-mode revision 1a6ecec7.
5488 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5489 (verilog-mode-release-date): Remove.
5490 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5491 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5492 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5493 (verilog-auto-tieoff-ignore-regexp)
5494 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5495 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5496 (verilog-signals-with, verilog-dir-cache-preserving)
5497 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5498 Doc fixes.
5499 (verilog-case-fold): New option, to control case folding in
5500 regexp searches, bug597.
5501 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5502 (verilog-string-match-fold, verilog-in-paren-count)
5503 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5504 (verilog-at-close-struct-p): New functions.
5505 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5506 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5507 (verilog-leap-to-case-head): Handle "unique0" case.
5508 (verilog-in-constraint-re): New constant.
5509 (verilog-keywords, verilog-type-font-keywords):
5510 Add some SystemVerilog 1800-2012 keywords.
5511 (verilog-label-be): Remove unimplemented argument, bug669.
5512 (verilog-batch-execute-func): When batch expanding clear
5513 create-lockfiles to prevent spurious user locks when a file ends
5514 up not changing.
5515 (verilog-calculate-indent, verilog-calc-1)
5516 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5517 (verilog-do-indent): Fix indentation of nested constraints
5518 and structures.
5519 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5520 (verilog-auto-inst-param): Use verilog-string-match-fold.
5521 (verilog-read-inst-module-matcher):
5522 Fix AUTOINST on gate primitives with #1.
5523 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5524 Reads all user-defined typed variables.
5525 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5526 (verilog-signals-matching-regexp)
5527 (verilog-signals-not-matching-regexp, verilog-auto):
5528 Respect verilog-case-fold.
5529 (verilog-diff-report): Fix line count.
5530 (verilog-auto-assign-modport): Remove unused local `modi'.
5531 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5532 better handle multidimensional arrays.
5533 Fix packed array ports misadding bit index in AUTOINST, bug637.
5534 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5535 to not double-declare existing outputs and inputs, respectively.
5536 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5537 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5538 (verilog-sk-uvm-component): New skeleton.
5539 (verilog-submit-bug-report): Add verilog-case-fold,
5540 remove verilog-mode-release-date.
5541
ef566920
BR
55422013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5543
a12bf61e 5544 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5545 as before.
5546
29df8a0b
RT
55472013-10-18 Reuben Thomas <rrt@sc3d.org>
5548
e0eb0550 5549 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5550 remember buffers (bug#13566).
5551
04a19a79
DC
55522013-10-18 Daniel Colascione <dancol@dancol.org>
5553
5554 When evaluating forms in ielm, direct standard output to ielm
5555 buffer. Add new ielm-return-for-effect command. Remove trailing
5556 whitespace throughout.
5557
5558 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5559 (ielm-return-for-effect): New command.
5560 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5561 (ielm-eval-input): Accept optional `for-effect' parameter.
5562 Bind `standard-output' to stream we create using
04a19a79
DC
5563 `ielm-standard-output-impl'. Suppress printing result when
5564 `for-effect'.
5565 (ielm-standard-output-impl): New function.
5566 (inferior-emacs-lisp-mode): Explain new features in documentation.
5567
4c1f03ef
MA
55682013-10-17 Michael Albinus <michael.albinus@gmx.de>
5569
5570 Code cleanup.
5571
5572 * net/tramp.el (tramp-debug-message): Do not check for connection
5573 buffer.
5574 (tramp-message): Use "vector" connection property.
5575
5576 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5577 (tramp-equal-remote, tramp-eshell-directory-change)
5578 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5579 (tramp-adb-handle-rename-file)
5580 * net/tramp-cmds.el (tramp-list-remote-buffers)
5581 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5582 * net/tramp-compat.el (tramp-compat-process-running-p)
5583 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5584 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5585 (tramp-gvfs-handle-rename-file)
5586 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5587 (tramp-set-file-uid-gid)
5588 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5589 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5590 of `file-remote-p'.
5591
5592 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5593 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5594 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5595 (tramp-gw-open-network-stream): Suppress unrelated traces.
5596
5597 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5598 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5599 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5600 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5601 connection property.
5602
5603 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5604 persistency file.
4c1f03ef
MA
5605
5606 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5607 Refactor common code. Improve debug message.
5608 (tramp-maybe-open-connection)
5609 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5610 connection buffer too early.
5611
5612 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5613 from `tramp-smb-actions-with-acl'.
5614 (tramp-smb-actions-set-acl): New defconst.
5615 (tramp-smb-handle-copy-directory)
5616 (tramp-smb-action-get-acl): New defun, renamed from
5617 `tramp-smb-action-with-acl'.
5618 (tramp-smb-action-set-acl): New defun.
5619 (tramp-smb-handle-set-file-acl): Rewrite.
5620
642eb8b6
GM
56212013-10-17 Glenn Morris <rgm@gnu.org>
5622
5623 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5624
85527ff3
SM
56252013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5626
921c1d62
SM
5627 * skeleton.el (skeleton-newline): Remove.
5628 (skeleton-internal-1): Use (insert "\n") instead.
5629
e333fb10
SM
5630 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5631 let-bindings.
5632
85527ff3
SM
5633 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5634 forward-sexp-function while we redo its job (bug#15613).
5635
c8722a97
JB
56362013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5637
5638 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5639 represented by lists.
5640
7a550bbb
GM
56412013-10-16 Glenn Morris <rgm@gnu.org>
5642
5643 * tmm.el (tmm--history): New dynamic variable.
5644 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5645
f19da8ad
MA
56462013-10-16 Michael Albinus <michael.albinus@gmx.de>
5647
5648 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5649 (tramp-smb-errors): Add error messages.
5650 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5651 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5652 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5653 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5654 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5655 (tramp-smb-get-stat-capability): Fix tests.
5656
a24b9961
DK
56572013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5658
5659 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5660 (bug#15580).
5661
62ad85e6
GM
56622013-10-16 Glenn Morris <rgm@gnu.org>
5663
0283d6b0
GM
5664 * ansi-color.el (ansi-color-drop-regexp):
5665 Add 1J, 1K, 2K. (Bug#15617)
5666
012e2f9f
GM
5667 * files.el (hack-local-variables--warned-lexical): New.
5668 (hack-local-variables):
5669 Warn about misplaced lexical-binding. (Bug#15616)
5670
62ad85e6
GM
5671 * net/eww.el (eww-render): Always set eww-current-url,
5672 and update header line. (Bug#15622)
5673 (eww-display-html): ... Rather than just doing it here.
5674
6456c0ea
EZ
56752013-10-15 Eli Zaretskii <eliz@gnu.org>
5676
5677 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5678 menu navigations commands.
5679
c2de5588
DK
56802013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5681
5682 * progmodes/subword.el (subword-capitalize): Be careful when
5683 the search for [[:alpha:]] fails (bug#15580).
5684
ccd4a783
EZ
56852013-10-14 Eli Zaretskii <eliz@gnu.org>
5686
5687 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5688 to commands that scroll the menu.
5689
1eda1d8d
DG
56902013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5691
c2de5588
DK
5692 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5693 Handle methods ending with `?' and `!'.
1eda1d8d 5694
e70181b8
AM
56952013-10-14 Akinori MUSHA <knu@iDaemons.org>
5696
5697 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5698 `japanese-cp932' to `cp932' to fix the problem where saving a
5699 source file written in Shift_JIS twice would end up having
5700 `coding: japanese-cp932' which Ruby could not recognize.
5701 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5702 in `ruby-encoding-map'.
5703 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5704 doesn't need to be explicitly declared in magic comment.
5705 (ruby-encoding-map): Add type declaration for better customize UI.
5706
9148ee92
GM
57072013-10-13 Glenn Morris <rgm@gnu.org>
5708
a5d38e34
GM
5709 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5710 Occur buffers are read-only. http://bugs.debian.org/720775
5711
9148ee92
GM
5712 * emacs-lisp/authors.el (authors-fixed-entries):
5713 Comment out old alpha stuff.
5714
a9ba094b
DG
57152013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5716
5717 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5718 to `after-save-hook' instead of `before-save-hook'.
5719 (ruby-mode-set-encoding): Use the value of coding system used to
5720 write the file. Call `basic-save-buffer-1' after modifying the
5721 buffer.
5722
7a068717
AM
57232013-10-13 Alan Mackenzie <acm@muc.de>
5724
5725 Fix indentation/fontification of Java enum with
5726 "implements"/generic.
5727
c2de5588
DK
5728 * progmodes/cc-engine.el (c-backward-over-enum-header):
5729 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5730 (c-inside-bracelist-p): Uses new function above.
5731 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5732 function above.
5733 (c-font-lock-enum-tail): Uses new function above.
5734
85b64f02
KH
57352013-10-13 Kenichi Handa <handa@gnu.org>
5736
5737 * international/mule-cmds.el (select-safe-coding-system): Remove a
5738 superfluous condition in chekcing whether a coding system is safe
5739 or not.
5740
fc7f501b
OK
57412013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5742
5743 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5744
fdcb2049
AP
57452013-10-13 Andreas Politz <politza@hochschule-trier.de>
5746
5747 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5748
8c106d17
GM
57492013-10-13 Glenn Morris <rgm@gnu.org>
5750
feab892d
GM
5751 * menu-bar.el (menu-bar-update-buffers):
5752 Unify Buffers menu prompt string. (Bug#15576)
5753
b22d0686
GM
5754 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5755
8c106d17
GM
5756 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5757 Add some entries.
5758 (authors-fixed-entries): Use accented form of name.
5759
1b12c797
SM
57602013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5761
650fa7bf 5762 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5763 method calls (bug#15594).
650fa7bf
SM
5764 (ruby-smie--args-separator-p): New function.
5765 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5766 recognize paren-free method calls.
5767
1b12c797
SM
5768 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5769 internals of universal-argument.
5770
029619c8
EZ
57712013-10-11 Eli Zaretskii <eliz@gnu.org>
5772
5773 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5774 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5775 dropped menu on second mouse click on the menu bar.
029619c8 5776
dd070019
SM
57772013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5780 (explicit-shell-file-name): Declare.
5781 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5782 (sh-completion-at-point-function): New function.
5783 (sh-mode): Use it.
5784 (sh-smie--keyword-p): Remove unused argument.
5785 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5786 vars.
5787 (sh-set-shell): Always setup SMIE, even if we use the
5788 old indentation code.
5789
0922b826
DG
57902013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5791
b68e2926
DG
5792 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5793 cases of ? and =.
5794 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5795 predicate would return nil are almost non-existent.
5796 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5797
0922b826
DG
5798 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5799 cache also after commands that modify the buffer but don't move
5800 point.
5801
ee041f2d
SM
58022013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * env.el (substitute-env-in-file-name): New function.
5805 (substitute-env-vars): Extend the meaning of the optional arg.
5806
a5dab159
EZ
58072013-10-10 Eli Zaretskii <eliz@gnu.org>
5808
5809 * term/w32-win.el (dynamic-library-alist): Define separate lists
5810 of GIF DLLs for versions before and after 5.0.0 of giflib.
5811 (Bug#15531)
5812
0449d6cd 58132013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5814
5815 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5816 not locked, use last revision and current source as
5817 defaults. (Bug#15569)
5818
2f6e161e
MY
58192013-10-10 Masatake YAMATO <yamato@redhat.com>
5820
5821 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5822 menu-bar is hidden.
5823
6c8413fc
MR
58242013-10-10 Martin Rudalics <rudalics@gmx.at>
5825
5826 * window.el (pop-to-buffer-same-window): Fix doc-string.
5827 (Bug#15492)
5828
20832de0
SM
58292013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5832
c6e8ae77
AC
58332013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5834
5835 * calendar/icalendar.el (icalendar-import-file):
5836 Fix interactive spec. (Bug#15482)
5837
9db13baf
GM
58382013-10-10 Glenn Morris <rgm@gnu.org>
5839
9271e90e
GM
5840 * desktop.el (desktop-save): Default to saving in .emacs.d,
5841 since PWD is no longer in desktop-path by default. (Bug#15319)
5842
9db13baf
GM
5843 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5844 now that text mode has a menu with the same entry.
5845 (menu-bar-text-mode-auto-fill): Remove now unused func.
5846 * textmodes/text-mode.el (text-mode-map):
5847 Use auto-fill help text from menu-bar.el.
5848
a0be396a 58492013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5850
5851 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5852
2edcd3c7
JL
58532013-10-09 Juri Linkov <juri@jurta.org>
5854
5855 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5856 instead of this-command-keys. Add universal-argument-more and
5857 universal-argument-minus to the list of prefix commands. (Bug#15568)
5858
574411d0
GM
58592013-10-09 Glenn Morris <rgm@gnu.org>
5860
14afa541
GM
5861 * vc/vc-svn.el (vc-svn-create-repo):
5862 Expand paths in file://... url. (Bug#15446)
5863
574411d0
GM
5864 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5865 Add some entries.
5866 (authors): Remove unused local variables.
5867
79804536
SM
58682013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * profiler.el: Create a more coherent calltree from partial backtraces.
5871 (profiler-format): Hide the tail with `invisible' so that C-s can still
5872 find the hidden elements.
5873 (profiler-calltree-depth): Don't recurse so enthusiastically.
5874 (profiler-function-equal): New hash-table-test.
5875 (profiler-calltree-build-unified): New function.
5876 (profiler-calltree-build): Use it.
5877 (profiler-report-make-name-part): Indent the calltree less.
5878 (profiler-report-mode): Add visibility specs for profiler-format.
5879 (profiler-report-expand-entry, profiler-report-toggle-entry):
5880 Expand the whole subtree when provided with a prefix arg.
5881
238150c8
DG
58822013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5883
5884 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5885 iuwu-mod token.
5886 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5887 hanging iuwu-mod token.
5888 (ruby-smie--forward-token): Do not include a dot after a token in
5889 that token.
5890 (ruby-smie--backward-token): Likewise.
5891
b0949cc4
JL
58922013-10-08 Juri Linkov <juri@jurta.org>
5893
5894 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5895 to isearch-other-control-char.
5896 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5897 and isearch-post-command-hook to post-command-hook.
5898 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5899 and isearch-post-command-hook from post-command-hook.
5900 (isearch-unread-key-sequence)
5901 (isearch-reread-key-sequence-naturally)
5902 (isearch-lookup-scroll-key, isearch-other-control-char)
5903 (isearch-other-meta-char): Remove functions.
5904 (isearch-pre-command-hook, isearch-post-command-hook):
5905 New functions based on isearch-other-meta-char rewritten
5906 relying on the new behavior of overriding-terminal-local-map
5907 that does not replace the local keymaps any more. (Bug#15200)
5908
4ed77415
EZ
59092013-10-08 Eli Zaretskii <eliz@gnu.org>
5910
5911 Support menus on text-mode terminals.
5912 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5913 functionality.
5914
5915 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5916
c2de5588
DK
5917 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5918 Move here from mouse.el.
4ed77415
EZ
5919 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5920 and arrow keys.
5921 (tty-menu-navigation-map): New map for TTY menu navigation.
5922
5923 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5924
5925 * frame.el (display-mouse-p): Report text-mode mouse as available
5926 on w32.
5927 (display-popup-menus-p): Report availability if mouse is
5928 available; don't condition on window-system.
5929
5930 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5931 (tty-menu-selected-face): New faces.
5932
b7d5bd82
TL
59332013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5934
06286513
SM
5935 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5936 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5937 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5938 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5939 New constants.
5940 (lisp-mode-variables): New `elisp' argument.
5941 (emacs-lisp-mode): Use it.
5942 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5943 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5944
b7d5bd82
TL
5945 * indent.el: Use lexical-binding.
5946 (indent-region): Add progress reporter.
5947 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5948 last step.
5949 (indent--next-tab-stop): New function to implement this behavior.
5950 (tab-to-tab-stop, move-to-tab-stop): Use it.
5951
59522013-10-08 Teemu Likonen <tlikonen@iki.fi>
5953
5954 * indent.el (indent-rigidly--current-indentation): New function.
5955 (indent-rigidly-map): New var.
5956 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5957
5ea75d23
BG
59582013-10-08 Bastien Guerry <bzg@gnu.org>
5959
f2726fa2 5960 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5961
cc5da1ec
SM
59622013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5963
8ffa1a0b
SM
5964 * progmodes/perl-mode.el: Use lexical-binding.
5965 Remove redundant :group args.
5966 (perl-nochange): Change default to be closer to other major modes's
5967 standard behavior.
5968 (perl-indent-line): Don't consider text on current line as a
5969 valid beginning of function from which to indent.
5970
f2223371
SM
5971 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5972 with more than one argument (bug#15538).
5973
44256060
SM
5974 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5975
cc5da1ec
SM
5976 * vc/pcvs.el: Use lexical-binding.
5977 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5978 environment of `eval'.
5979 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5980 than a list of expressions. Adjust callers.
5981 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5982
0ea1599d
DG
59832013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5984
5985 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5986 case of the dot in a chained method call being on the following line.
0ea1599d 5987
da3e5ebb
SM
59882013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5989
2abb4e65
SM
5990 * electric.el (electric-indent-inhibit): New var.
5991 (electric-indent-post-self-insert-function): Use it.
5992 * progmodes/python.el (python-mode): Set it.
5993
d2e0e795
SM
5994 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5995 open braces.
5996
5997 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5998
bdc6b4c8
SM
5999 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6000 (css-mode): Use electric-indent-chars.
6001
da3e5ebb
SM
6002 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6003 (font-lock-beg, font-lock-end): Move before first use.
6004 (nxml-mode): Use syntax-propertize-function.
6005 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6006 (nxml-extend-after-change-region): Remove.
6007 * nxml/xmltok.el: Use lexical-binding.
6008 (xmltok-save): Use `declare'.
6009 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6010 * nxml/nxml-util.el: Use lexical-binding.
6011 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6012 Use `declare'.
6013 * nxml/nxml-ns.el: Use lexical-binding.
6014 (nxml-ns-save): Use `declare'.
6015 (nxml-ns-prefixes-for): Avoid add-to-list.
6016 * nxml/rng-match.el: Use lexical-binding.
6017 (rng--ipattern): Use cl-defstruct.
6018 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6019 (rng-cons-group-after, rng-subst-group-after)
6020 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6021 Use closures instead of `(lambda...).
6022
f8f91d5d
MA
60232013-10-07 Michael Albinus <michael.albinus@gmx.de>
6024
6025 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6026 of BEG and END.
6027
da3e5ebb
SM
6028 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6029 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6030 (tramp-gvfs-handle-insert-file-contents): Remove function.
6031
da3e5ebb
SM
6032 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6033 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6034
6035 * net/trampver.el: Update release number.
6036
7ccae3b1
SM
60372013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6038
55ca2c0d
SM
6039 * progmodes/compile.el (compilation-parse-errors):
6040 Use compilation--put-prop.
6041 (compilation--ensure-parse): Check compilation-multiline.
6042
731fc3ae
SM
6043 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6044
da3e5ebb
SM
6045 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6046 lexical-binding.
a5833280 6047
2e7ba2c2
SM
6048 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6049
7ccae3b1
SM
6050 * progmodes/ruby-mode.el: Fix recently added tests.
6051 (ruby-smie-grammar): Add - and +.
6052 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6053 (ruby-smie--backward-id): New functions.
6054 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6055 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6056 any more.
6057
85698d63
LL
60582013-10-07 Leo Liu <sdl.web@gmail.com>
6059
6060 * register.el (register-preview-delay)
6061 (register-preview-functions): New variables.
6062 (register-read-with-preview, register-preview)
6063 (register-describe-oneline): New functions.
6064 (point-to-register, window-configuration-to-register)
6065 (frame-configuration-to-register, jump-to-register)
6066 (number-to-register, view-register, insert-register)
6067 (copy-to-register, append-to-register, prepend-to-register)
6068 (copy-rectangle-to-register): Use register-read-with-preview to
6069 read register. (Bug#15525)
6070
3986af6c
DS
60712013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6072
6073 * net/network-stream.el (network-stream-open-starttls): Don't add
6074 --insecure if it's already present, because that gnutls-cli
6075 rejects getting that parameter twice.
6076
5cd9cda9
DG
60772013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6078
6079 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6080 keyword, too.
6081
da9ea6d9
DG
60822013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6083
6084 * newcomment.el (comment-use-global-state): Change default value
6085 to t, mark obsolete (Bug#15251).
6086 (comment-beginning): In addition to `comment-to-syntax', check the
6087 value of `comment-use-global-state'.
6088
34d1a133
SM
60892013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6092 (ruby-comment-column): Follow the global default, by default.
6093 (ruby-smie-grammar): Add assignment syntax.
6094 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6095 open-paren, a comma, or a \.
6096 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6097 and line continuations.
6098 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6099 followed by implicit semi-colons. Add rule for string concatenation
6100 and for indentation at BOB.
27821a89 6101 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6102
6103 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6104 calling next-sexp, since next-token may have skipped chars which
6105 next-sexp doesn't know should be skipped!
6106
6f6ab820
LL
61072013-10-05 Leo Liu <sdl.web@gmail.com>
6108
34d1a133
SM
6109 * progmodes/octave.el (octave-send-region):
6110 Call compilation-forget-errors.
6f6ab820 6111
34ca0f4c
XF
61122013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6113
6114 * vc/vc-svn.el (vc-svn-find-admin-dir):
6115 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6116 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6117 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6118 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6119
a27c1b72
SM
61202013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6122 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6123
258ab3bc
SM
61242013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * subr.el (read-passwd): Hide chars even when called within a context
6127 where after-change-functions is disabled (bug#15501).
6128 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6129 until we removed ourself from overriding-terminal-local-map.
6130
939fb29c
LL
61312013-10-04 Leo Liu <sdl.web@gmail.com>
6132
258ab3bc
SM
6133 * progmodes/octave.el (inferior-octave-mode):
6134 Call compilation-forget-errors.
939fb29c 6135
63bd7f35
XF
61362013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6137
6138 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6139
9e6229fa
MA
61402013-10-04 Michael Albinus <michael.albinus@gmx.de>
6141
6142 * net/secrets.el (secrets-create-collection): Add optional
6143 argument ALIAS. Use proper Label keyword. Append ALIAS as
6144 dbus-call-method argument. (Bug#15516)
6145
1dab32a3
LL
61462013-10-04 Leo Liu <sdl.web@gmail.com>
6147
6148 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6149 (inferior-octave-compilation-font-lock-keywords): New variables.
6150 (compilation-error-regexp-alist)
6151 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6152 (inferior-octave-mode): Use compilation-shell-minor-mode.
6153
6cad7ba3
JS
61542013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6155
6156 * minibuffer.el (completion--replace): Be careful that `end' might be
6157 a marker.
6158
acbadd00
DU
61592013-10-03 Daiki Ueno <ueno@gnu.org>
6160
6161 Add support for package signature checking.
6162 * emacs-lisp/package.el (url-http-file-exists-p)
6163 (epg-make-context, epg-context-set-home-directory)
6164 (epg-verify-string, epg-context-result-for)
6165 (epg-signature-status, epg-signature-to-string)
6166 (epg-check-configuration, epg-configuration)
6167 (epg-import-keys-from-file): Declare.
6168 (package-check-signature): New user option.
6169 (package-unsigned-archives): New user option.
6170 (package-desc): Add `signed' field.
6171 (package-load-descriptor): Set `signed' field if .signed file exists.
6172 (package--archive-file-exists-p): New function.
6173 (package--check-signature): New function.
6174 (package-install-from-archive): Check package signature.
6175 (package--download-one-archive): Check archive signature.
6176 (package-delete): Remove .signed file.
6177 (package-import-keyring): New command.
6178 (package-refresh-contents): Import default keyring.
6179 (package-desc-status): Add "unsigned" status.
6180 (describe-package-1, package-menu--print-info)
6181 (package-menu-mark-delete, package-menu--find-upgrades)
6182 (package-menu--status-predicate): Support "unsigned" status.
6183
adf2aa61
SM
61842013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6187 the new compilation scheme using the new byte-codes.
6188
6189 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6190 (byte-pophandler): New byte codes.
6191 (byte-goto-ops): Adjust accordingly.
6192 (byte-compile--use-old-handlers): New var.
6193 (byte-compile-catch): Use new byte codes depending on
6194 byte-compile--use-old-handlers.
6195 (byte-compile-condition-case--old): Rename from
6196 byte-compile-condition-case.
6197 (byte-compile-condition-case--new): New function.
6198 (byte-compile-condition-case): New function that dispatches depending
6199 on byte-compile--use-old-handlers.
6200 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6201 when we can.
6202
6203 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6204 Optimize under `condition-case' and `catch' if
6205 byte-compile--use-old-handlers is nil.
6206 (disassemble-offset): Handle new bytecodes.
6207
328a8179
SM
62082013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * subr.el (error): Use `declare'.
6211 (decode-char, encode-char): Use advertised-calling-convention instead
6212 of the docstring to discourage use of the `restriction' arg.
6213
15a1e936
DU
62142013-10-03 Daiki Ueno <ueno@gnu.org>
6215
6216 * epg.el (epg-verify-file): Add a comment saying that it does not
6217 notify verification error as a return value nor a signal.
6218 (epg-verify-string): Ditto.
6219
376f862a
KR
62202013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6221
6222 * progmodes/compile.el (compilation-start): Try globbing the arg to
6223 `cd' (bug#15417).
6224
a2f93a5f
MA
62252013-10-02 Michael Albinus <michael.albinus@gmx.de>
6226
6227 Sync with Tramp 2.2.8.
6228
6229 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6230 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6231 * net/trampver.el: Update release number.
6232
0daa0804
JD
62332013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6234
6235 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6236 and default-process-coding-system for darwin only.
6237
abd1ae34
SM
62382013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6241
be4e325d
MH
62422013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6243
6244 * vc/vc-git.el (vc-git-grep): Disable pager.
6245
e9155c4a
DG
62462013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6247
494e898b
DG
6248 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6249 Use :url instead of :homepage, as per
6250 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6251
e9155c4a
DG
6252 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6253 non-nil, use `syntax-ppss' (Bug#15251).
6254
481a8e0f
RS
62552013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6256
be4e325d
MH
6257 * progmodes/octave.el (inferior-octave-startup-file):
6258 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6259
056453c6
DG
62602013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6261
be4e325d
MH
6262 * emacs-lisp/package.el (package-desc-from-define):
6263 Accept additional arguments as plist, convert them to an alist and store
6264 them in the `extras' slot.
056453c6
DG
6265 (package-generate-description-file): Convert extras alist back to
6266 plist and append to the `define-package' form arguments.
6267 (package--alist-to-plist): New function.
6268 (package--ac-desc): Add `extras' slot.
6269 (package--add-to-archive-contents): Check if the archive-contents
6270 vector is long enough, and if it is, pass its `extras' slot value
6271 to `package-desc-create'.
6272 (package-buffer-info): Call `lm-homepage', pass the returned value
6273 to `package-desc-from-define'.
6274 (describe-package-1): Render the homepage button (Bug#13291).
6275
be4e325d
MH
6276 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6277 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6278
832966e5
JD
62792013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6280
6281 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6282 and default-process-coding-system to utf-8-unix (Bug#15402).
6283
6cfe977d
XF
62842013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6285
6286 * subr.el (looking-back): Do not recommend using looking-back.
6287
38de11bd
AM
62882013-09-28 Alan Mackenzie <acm@muc.de>
6289
6290 Fix indentation/fontification of Java enum with "implements".
6291
6292 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6293 regexp which matches "implements", etc., in Java.
6294 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6295 specifier clauses coming after "enum".
6296 * progmodes/cc-fonts.el (c-font-lock-declarations)
6297 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6298 after "enum".
6299
1610938f
JD
63002013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6301
6302 * faces.el (region): Change ns_selection_color to
6303 ns_selection_fg_color, add ns_selection_bg_color.
6304
e090f499
LL
63052013-09-28 Leo Liu <sdl.web@gmail.com>
6306
4d2e94d1
LL
6307 * progmodes/octave.el (inferior-octave-completion-table)
6308 (inferior-octave-completion-at-point): Minor tweaks.
6309
e090f499
LL
6310 * textmodes/ispell.el (ispell-lookup-words): Rename from
6311 lookup-words. (Bug#15460)
6312 (lookup-words): Obsolete.
6313 (ispell-complete-word, ispell-command-loop): All uses changed.
6314
7e138a62
RS
63152013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6316
a12bf61e 6317 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6318 (octave-mode-menu): Add octave-send-buffer.
6319 (octave-send-buffer): New function.
6320
5af5ed08
RS
63212013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6322
a12bf61e 6323 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6324 octave-lookfor.
6325 (octave-mode-menu): Add octave-lookfor.
6326 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6327 octave-lookfor.
6328 (octave-lookfor): New function.
6329
3b7b2692
SM
63302013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6331
35e951cd 6332 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6333 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6334 its convention.
6335 (cl--loop-set-iterator-function): New function.
6336 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6337 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6338 Bind `it' with `let' instead of substituting it with `cl-subst'.
6339 (cl--unused-var-p): New function.
6340 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6341 Eliminate some unused variable warnings (bug#15326).
6342
529fb53f
TH
63432013-09-27 Tassilo Horn <tsdh@gnu.org>
6344
6345 * doc-view.el (doc-view-scale-reset): Rename from
6346 `doc-view-reset-zoom-level'.
6347 (doc-view-scale-adjust): New command.
6348 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6349 `doc-view-scale-adjust'.
6350
0550c95a
TH
63512013-09-26 Tassilo Horn <tsdh@gnu.org>
6352
6353 * doc-view.el (doc-view-reset-zoom-level): New command.
6354 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6355 zoom commands (bug#15466).
6356
6950f152
KH
63572013-09-26 Kenichi Handa <handa@gnu.org>
6358
6359 * international/quail.el (quail-help): Make it not a command.
6360
39587580
LL
63612013-09-26 Leo Liu <sdl.web@gmail.com>
6362
6363 * minibuffer.el (completion-all-sorted-completions): Make args
6364 optional as they are.
6365
00578659
DC
63662013-09-25 Daniel Colascione <dancol@dancol.org>
6367
6368 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6369 specs are and that they're not evaluated.
6370
0c173878
SS
63712013-09-24 Sam Steingold <sds@gnu.org>
6372
6373 * midnight.el (clean-buffer-list-kill-regexps)
6374 (clean-buffer-list-kill-buffer-names): Update for the new Man
6375 buffer naming which includes the object name.
6376
84998447
SM
63772013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6378
6379 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6380 (eshell-parse-command, eshell-parse-pipeline): Use it since
6381 eshell-separate-commands requires a dynamic scoped var.
6382 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6383
33215353
LL
63842013-09-23 Leo Liu <sdl.web@gmail.com>
6385
6386 * autoinsert.el (auto-insert-alist): Make the value of
6387 lexical-binding match its file setting.
6388
57b16162
JB
63892013-09-23 Juanma Barranquero <lekktu@gmail.com>
6390
c8af4e67
JB
6391 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6392
57b16162
JB
6393 * autoarg.el (autoarg-kp-digit-argument):
6394 * electric.el (Electric-command-loop):
6395 * kmacro.el (kmacro-step-edit-insert):
6396 Do not set universal-argument-num-events.
6397
7186ba60
LL
63982013-09-22 Leo Liu <sdl.web@gmail.com>
6399
6400 * files.el (interpreter-mode-alist): Add octave.
6401
ece15004
AM
64022013-09-21 Alan Mackenzie <acm@muc.de>
6403
6404 C++: fontify identifier in declaration following "public:" correctly.
6405 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6406 to match "public", etc.
6407 (c-decl-prefix-re): Add ":" into the C++ value.
6408 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6409 bit. Add a check for a ":" preceded by "public", etc.
6410
75d83e22
EZ
64112013-09-21 Eli Zaretskii <eliz@gnu.org>
6412
6413 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6414 recognized by GDB 7.5 and later.
6415
d052d3bd
XF
64162013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6417
6418 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6419
31dca772
R
64202013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * subr.el (internal--call-interactively): New const.
6423 (called-interactively-p): Use it (bug#3984).
6424
98ccf24e
XF
64252013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6426
6427 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6428 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6429 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6430
c39cc7d1
SM
64312013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6434 (eshell-ls-orig-insert-directory): Remove.
6435 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6436 (eshell-ls-use-in-dired): Use advice-add/remove.
6437 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6438 Add `orig-fun' arg for use in :around advice.
6439 Make it check (redundantly) eshell-ls-use-in-dired.
6440
9a0289a2
GM
64412013-09-19 Glenn Morris <rgm@gnu.org>
6442
a2c501b8
GM
6443 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6444
c440407a
GM
6445 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6446
9a0289a2
GM
6447 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6448
85e05915
MA
64492013-09-19 Michael Albinus <michael.albinus@gmx.de>
6450
6451 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6452 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6453 (tramp-get-remote-python): New defuns.
6454 (tramp-get-remote-uid-with-perl)
6455 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6456 contributed by yary <not.com@gmail.com> (tiny change).
6457 (tramp-get-remote-uid-with-python)
6458 (tramp-get-remote-gid-with-python): New defuns. Python code
6459 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6460 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6461
ce503312
GM
64622013-09-19 Glenn Morris <rgm@gnu.org>
6463
f7544773
GM
6464 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6465
72fd2877
GM
6466 * eshell/em-unix.el (eshell-remove-entries):
6467 Rename argument to avoid name-clash with global `top-level'.
6468
336b5a56
GM
6469 * eshell/esh-proc.el (eshell-kill-process-function):
6470 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6471 (eshell-reset-after-proc): Remove unused arg `proc'.
6472
57a3a53d
GM
6473 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6474 (directory-files-and-attributes): Mark unused arg.
6475
3261d4af
GM
6476 * eshell/em-unix.el (eshell-remove-entries):
6477 Remove unused arg `path'. Update callers.
6478
8e51b5d0
GM
6479 * eshell/em-hist.el (eshell-hist-parse-arguments):
6480 Remove unused arg `silent'. Update callers.
6481
ce503312
GM
6482 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6483 Fix (f)boundp mix-up.
6484
6485 * eshell/em-smart.el (eshell-smart-scroll-window)
6486 (eshell-disable-after-change):
336b5a56 6487 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6488
ee3ce8a7
AM
64892013-09-18 Alan Mackenzie <acm@muc.de>
6490
6491 Fix fontification of type when followed by "const".
6492 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6493 "known" types from fontification.
6494
ec9177ba
GM
64952013-09-18 Glenn Morris <rgm@gnu.org>
6496
7bb3e768
GM
6497 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6498 (chart-face-list): Drop Emacsen without display-color-p.
6499
5148da15
GM
6500 * net/eww.el (libxml-parse-html-region): Declare.
6501 (eww-display-html): Explicit error if no libxml2 support.
6502
2f68e157
GM
6503 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6504
9019d095
GM
6505 * image.el (image-type-from-buffer, image-multi-frame-p):
6506 Remove --without-x warning/error.
67645389 6507
5f30349b 6508 * mouse.el (mouse-yank-primary):
45069b2e 6509 * term.el (term-mouse-paste):
5f30349b
GM
6510 Reorder to silence --without-x compilation.
6511
cd8edbbe
GM
6512 * mpc.el (doc-view-mode): Silence --without-x compilation.
6513
8a78544e
GM
6514 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6515 Silence --without-x compilation.
6516
12679bfd
GM
6517 * progmodes/gud.el (gud-find-file, gud-mode):
6518 Silence --without-x compilation.
6519 (tooltip-mode): Declare.
30810a05 6520
f0047cb9
GM
6521 * wdired.el (dired-backup-overwrite): Remove declaration.
6522 (wdired-mode-map): Add doc string.
6523
e740f9d2
GM
6524 * custom.el (x-get-resource): Declare.
6525
92d77c89
GM
6526 * eshell/em-glob.el (ange-cache):
6527 * eshell/em-unix.el (ange-cache): Declare.
6528
76e69577
GM
6529 * faces.el (x-display-list, x-open-connection, x-get-resource):
6530 Declare.
7e58af4b
GM
6531
6532 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6533 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6534 Declare.
76e69577 6535
4bd4c0af 6536 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6537
ffb82dbd
GM
6538 * net/gnutls.el (gnutls-log-level): Declare.
6539
986ed135
GM
6540 * net/shr.el (image-size, image-animate): Declare.
6541
e740f9d2
GM
6542 * simple.el (font-info): Declare.
6543
d2f3e9f8
GM
6544 * subr.el (x-popup-dialog): Declare.
6545
047a1a4c
GM
6546 * term/common-win.el (x-select-enable-primary)
6547 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6548 Declare.
6549
f4a1d572
GM
6550 * term/ns-win.el (x-handle-args): Declare.
6551
e843de77
GM
6552 * term/x-win.el (x-select-enable-clipboard): Declare.
6553
5fa89513
GM
6554 * term/w32-win.el (create-default-fontset): Declare.
6555
38702b5b
GM
6556 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6557 Declare.
6558
e740f9d2
GM
6559 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6560 (fit-frame-to-buffer): Explicit error if --without-x.
6561 (mouse-autoselect-window-select): Silence compiler.
6562
49a053fc
GM
6563 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6564
6565 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6566 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6567 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6568 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6569 Remove unused local variables.
6570
6571 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6572
ec9177ba
GM
6573 * textmodes/two-column.el: Make 2C-split work for --without-x.
6574 (scroll-bar-columns): Autoload.
6575 (top-level): Require fringe when compiling.
6576
9f25cb77
LL
65772013-09-18 Leo Liu <sdl.web@gmail.com>
6578
6579 * subr.el (add-hook): Robustify to handle closure as well.
6580
2b42da98
GM
65812013-09-17 Glenn Morris <rgm@gnu.org>
6582
6583 * simple.el (messages-buffer-mode-map): Unbind "g".
6584
e8b66a6a
SM
65852013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6586
9c0ad4f7
SM
6587 * help-mode.el (help-mode-finish): Use derived-mode-p.
6588 Remove obsolete highlighting.
6589
7a806dfb
SM
6590 * play/life.el (life-mode): Use define-derived-mode. Derive from
6591 special-mode.
6592 (life): Let-bind inhibit-read-only.
6593 (life-setup): Avoid `setq'. Use `life-mode'.
6594
96dbf5a8
SM
6595 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6596 which should not be needed any more.
6597 (package-menu-refresh, package-menu-describe-package): Use user-error.
6598
e8b66a6a
SM
6599 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6600 (eshell-post-rewrite-command-hook): Make obsolete.
6601 (eshell-parse-command): Simplify.
6602 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6603 (eshell--cmd): Declare.
6604 (eshell-parse-pipeline): Remove unused var `final-p'.
6605 Pass a dynvar to eshell-post-rewrite-command-hook.
6606 Implement the new eshell-post-rewrite-command-function.
6607 (eshell-invoke-directly): Remove unused arg `input'.
6608 * eshell/esh-io.el (eshell-io-initialize):
6609 Use eshell-post-rewrite-command-function (bug#15399).
6610 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6611 adjust to new calling convention.
6612 (eshell-create-handles): Rename args to avoid clashing with dynvar
6613 `standard-output'.
6614
90582f05
GM
66152013-09-17 Glenn Morris <rgm@gnu.org>
6616
6617 * simple.el (messages-buffer-mode): New major mode.
6618 (messages-buffer): New function.
6619 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6620 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6621 (ert-run-test): Use `messages-buffer' function.
90582f05 6622 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6623 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6624 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6625
39eb0cb5 66262013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6627
6628 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6629
1d42e5b6 6630 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6631
70568a90
SM
66322013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6633
504a0381
SM
6634 * icomplete.el (icomplete-in-buffer): New var.
6635 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6636 vars and replace them with functions.
6637 (icomplete-minibuffer-setup): Adjust accordingly.
6638 (icomplete--completion-table, icomplete--completion-predicate)
6639 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6640 New functions.
6641 (icomplete-forward-completions, icomplete-backward-completions)
6642 (icomplete-simple-completing-p, icomplete-exhibit)
6643 (icomplete-completions): Use them.
6644 (icomplete--in-region-buffer): New var.
6645 (icomplete--in-region-setup): New function.
6646 (icomplete-mode): Use it.
6647
70568a90
SM
6648 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6649 (bug#15379).
6650 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6651 return args and options.
6652 (eshell-eval-using-options): Use the new return value of
6653 eshell--do-opts to set the options's vars in their scope.
6654 (eshell--set-option): Rename from eshell-set-option.
6655 Add arg `opt-vals'.
6656 (eshell--process-option): Rename from eshell-process-option.
6657 Add arg `opt-vals'.
6658 (eshell--process-args): Use an `opt-vals' alist to store the options's
6659 values during their processing and return them additionally to the
6660 remaining args.
6661
578c21bc
DG
66622013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6663
6664 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6665 continuation character an operator, as far as indentation is
6666 concerned (Bug#15369).
6667
c089653d
MR
66682013-09-15 Martin Rudalics <rudalics@gmx.at>
6669
6670 * window.el (window--state-put-2): Don't process buffer state
6671 when buffer doesn't exist any more (Bug#15382).
6672
1e53bb4b
GM
66732013-09-15 Glenn Morris <rgm@gnu.org>
6674
30753242
GM
6675 * eshell/em-unix.el (eshell/rm):
6676 Make -f ignore missing files. (Bug#15373)
6677
1e53bb4b
GM
6678 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6679 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6680 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6681
0d8863b3
GM
66822013-09-14 Glenn Morris <rgm@gnu.org>
6683
6684 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6685
d3fc6549
GM
66862013-09-13 Glenn Morris <rgm@gnu.org>
6687
6688 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6689 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6690
fcd42c11
DA
66912013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6692
6693 * frame.el (x-focus-frame): Mark as declared in frame.c.
6694
7830899f
SM
66952013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6696
6697 * ls-lisp.el: Use advice-add.
6698 (original-insert-directory): Remove.
6699 (ls-lisp--insert-directory): Rename from insert-directory; add
6700 `orig-fun' argument.
6701 (insert-directory): Advise.
6702
84387cd2
EZ
67032013-09-13 Eli Zaretskii <eliz@gnu.org>
6704
6705 * term.el (term-emulate-terminal): Decode the command string
6706 before passing it to term-command-hook. (Bug#15337)
6707
35ffc6ba
GM
67082013-09-13 Glenn Morris <rgm@gnu.org>
6709
5c3f9bcc
GM
6710 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6711
2ada368a
GM
6712 * eshell/esh-ext.el (eshell-search-path): Declare.
6713
fcef2e13
GM
6714 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6715 Otherwise an error occurs if eshell-dirs module not loaded.
6716
35ffc6ba
GM
6717 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6718
35c3d36e
MA
67192013-09-13 Michael Albinus <michael.albinus@gmx.de>
6720
6721 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6722 `tramp-check-proper-host'. Check for a valid method name.
6723
6724 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6725 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6726 * net/tramp-sh.el (tramp-maybe-open-connection):
6727 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6728
6729 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6730 also for hash values.
6731
ae5e4c48
SM
67322013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6733
379add74
SM
6734 * term/ns-win.el (parameters): Don't declare as dynamic.
6735 (before-make-frame-hook): Don't add ineffective function.
6736
ae5e4c48
SM
6737 * eshell/*.el: Use lexical-binding (bug#15231).
6738
b5623270
KH
67392013-09-12 Kenichi Handa <handa@gnu.org>
6740
ae5e4c48 6741 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6742
30213927
GM
67432013-09-12 Glenn Morris <rgm@gnu.org>
6744
be94d713 6745 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6746 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6747
44915370
GM
6748 * subr.el (do-after-load-evaluation): Also give compiler warnings
6749 when obsolete files are used (except by obsolete files).
6750
a6ae021f
GM
6751 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6752 in the status output, assume `filename' is the first. (Bug#15322)
6753
40e64f0c
GM
6754 * vc/vc.el (vc-deduce-fileset): Doc fix.
6755
16d9f896
GM
6756 * calc/calc-help.el (Info-goto-node):
6757 * progmodes/cperl-mode.el (Info-find-node):
6758 * vc/ediff.el (Info-goto-node): Update declarations.
6759
dea01c6e
GM
6760 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6761
759880bf 6762 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6763 (vc-bzr-pull): Require vc-dispatcher.
6764 * vc/vc-git.el (vc-compilation-mode): Declare.
6765 (vc-git-pull): Require vc-dispatcher.
6766
08d66420
GM
6767 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6768
30b626e9
GM
6769 * progmodes/octave.el (help-button-action): Declare.
6770
8c05cb10
GM
6771 * shell.el (shell-directory-tracker): Output error as a message
6772 rather than just returning it as a string.
6773 (shell-process-pushd): Remove useless use of message.
6774
30213927
GM
6775 * dframe.el (dframe-timer-fn):
6776 * files.el (dir-locals-read-from-file):
6777 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6778 (mpc-format):
6779 * reveal.el (reveal-post-command):
6780 * saveplace.el (load-save-place-alist-from-file):
6781 * shell.el (shell-resync-dirs):
6782 * w32-common-fns.el (x-get-selection-value):
6783 * emacs-lisp/copyright.el (copyright-find-copyright):
6784 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6785 * emulation/tpu-edt.el (tpu-copy-keyfile):
6786 * play/bubbles.el (bubbles--mark-neighbourhood):
6787 * progmodes/executable.el
6788 (executable-make-buffer-file-executable-if-script-p):
6789 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6790
d3b049e6
SM
67912013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6792
170266d0
SM
6793 Cleanup Eshell to rely less on dynamic scoping.
6794 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6795 last-value, and ext-command here. Bind `args' closer to `body'.
6796 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6797 (eshell--args): Declare new dynamic var.
6798 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6799 last-value, and ext-command. Pass `args' to `body'.
6800 (eshell-process-args): Bind eshell--args.
6801 (eshell-set-option): Use eshell--args.
6802 * eshell/eshell.el (eshell): Use derived-mode-p.
6803 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6804 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6805 (eshell-glob-function): Declare.
6806 * eshell/esh-util.el: Require cl-lib.
6807 (eshell-read-hosts-file): Avoid add-to-list.
6808 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6809 `err'.
6810 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6811 Declare.
6812 (eshell/diff): Remove unused var `err'.
6813 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6814 `killflag'.
6815 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6816 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6817 first use.
6818 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6819 Move declaration before first use.
6820 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6821 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6822 rely on cl-return.
6823
56834f3b
GM
68242013-09-12 Glenn Morris <rgm@gnu.org>
6825
6826 * term/ns-win.el (global-map): Remove binding for ispell-next,
6827 deleted 1999-05-29. (Bug#15357)
6828
5c91a2b8
GM
68292013-09-11 Glenn Morris <rgm@gnu.org>
6830
da712f22
GM
6831 * echistory.el (electric-command-history): Remove call to deleted func.
6832
512e4cdc
GM
6833 * play/landmark.el (landmark-mode): Fix typos.
6834
d3506ca5
GM
6835 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6836 Check cvs-sort-ignore-file is bound.
6837
5c91a2b8
GM
6838 * savehist.el: No need for cl when compiling on Emacs.
6839
feeff482
SM
68402013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6841
656bd483
SM
6842 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6843 (bug#15338).
d3b049e6
SM
6844 (eshell-self-insert-command, eshell-send-invisible):
6845 Remove unused argument.
656bd483
SM
6846 (eshell-handle-control-codes): Remove unused var `orig'.
6847 Avoid delete-backward-char.
6848
feeff482
SM
6849 * files.el (set-auto-mode): Simplify a bit further.
6850
2a08047a
GM
68512013-09-11 Glenn Morris <rgm@gnu.org>
6852
6853 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6854 (set-auto-mode): Don't regexp-quote elements.
6855 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6856 * progmodes/cc-mode.el (interpreter-mode-alist):
6857 * progmodes/ruby-mode.el (interpreter-mode-alist):
6858 Revert previous change.
6859
34675540
SM
68602013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6861
1b3b87df
SM
6862 * play/snake.el (snake-mode):
6863 * play/mpuz.el (mpuz-mode):
6864 * play/landmark.el (lm-mode):
6865 * play/blackbox.el (blackbox-mode):
6866 * play/5x5.el (5x5-mode):
6867 * obsolete/options.el (Edit-options-mode):
6868 * net/quickurl.el (quickurl-list-mode):
6869 * net/newst-treeview.el (newsticker-treeview-mode):
6870 * mail/rmailsum.el (rmail-summary-mode):
6871 * mail/mspools.el (mspools-mode):
6872 * locate.el (locate-mode):
6873 * ibuffer.el (ibuffer-mode):
6874 * emulation/ws-mode.el (wordstar-mode):
6875 * emacs-lisp/debug.el (debugger-mode):
6876 * array.el (array-mode):
6877 * net/eudc.el (eudc-mode): Use define-derived-mode.
6878 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6879 Move initialization into declaration.
6880 (mairix-searches-mode): Use define-derived-mode.
6881 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6882 (eudc-edit-hotlist): Use dolist.
6883 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6884 (Man-mode): Use define-derived-mode.
6885 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6886 (Info-edit-mode): Use define-derived-mode.
6887 (Info-cease-edit): Use Info-mode.
6888 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6889 into declaration.
6890 (eshell-mode): Use define-derived-mode.
6891 * chistory.el (command-history-mode-map): Rename from
6892 command-history-map.
6893 (command-history-mode): Use define-derived-mode.
da712f22 6894 (Command-history-setup): Remove function.
1b3b87df
SM
6895 * calc/calc.el (calc-trail-mode-map): New var.
6896 (calc-trail-mode): Use define-derived-mode.
6897 (calc-trail-buffer): Set calc-main-buffer manually.
6898 * bookmark.el (bookmark-insert-annotation): New function.
6899 (bookmark-edit-annotation): Use it.
6900 (bookmark-edit-annotation-mode): Make it a proper major mode.
6901 (bookmark-send-edited-annotation): Use derived-mode-p.
6902 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6903 closer to its ideal place. Use \' to match EOS.
6904
34675540
SM
6905 * profiler.el (profiler-calltree-find): Use function-equal.
6906
6a5c15d9
GM
69072013-09-10 Glenn Morris <rgm@gnu.org>
6908
1af4c220
GM
6909 * files.el (interpreter-mode-alist): Convert to regexps.
6910 (set-auto-mode): Adapt for this. (Bug#15306)
6911 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6912 Comment out unused variable.
6913 * progmodes/cc-mode.el (interpreter-mode-alist):
6914 * progmodes/python.el (interpreter-mode-alist):
6915 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6916 * progmodes/sh-script.el (sh-set-shell):
6917 No longer use interpreter-mode-alist to get list of shells.
6918
6a5c15d9
GM
6919 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6920
8c27f5ff
SM
69212013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6922
02ef6c1a 6923 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6924 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6925 Bind switch-frame explicitly. Replace universal-argument-minus with
6926 a conditional binding.
6927 (universal-argument-num-events, saved-overriding-map): Remove.
6928 (restore-overriding-map): Remove.
6929 (universal-argument--mode): Rename from save&set-overriding-map,
6930 and rewrite.
6931 (universal-argument, universal-argument-more, negative-argument)
6932 (digit-argument): Adjust accordingly.
6933 (universal-argument-minus): Remove.
6934 (universal-argument-other-key): Remove.
6935
8c27f5ff
SM
6936 * subr.el (with-demoted-errors): Add `format' argument.
6937
6480194c
MA
69382013-09-10 Michael Albinus <michael.albinus@gmx.de>
6939
6940 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6941 `tramp-cleanup-connection'.
6942
6943 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6944 parameters KEEP-DEBUG and KEEP-PASSWORD.
6945
6946 * net/tramp.el (tramp-file-name-handler):
6947 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6948 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6949 (tramp-maybe-open-connection):
8c27f5ff
SM
6950 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6951 Use `tramp-cleanup-connection'.
6480194c 6952
8c27f5ff
SM
6953 * net/tramp-sh.el (tramp-maybe-open-connection):
6954 Catch 'uname-changed inside the progress reporter.
6480194c 6955
e5e916d8
GM
69562013-09-10 Glenn Morris <rgm@gnu.org>
6957
9a2c9b47
GM
6958 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6959
e5e916d8
GM
6960 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6961 returns "alternate access method" in mode (eg "-rw-r--r--.").
6962
144e38fe
GM
69632013-09-08 Glenn Morris <rgm@gnu.org>
6964
6965 * saveplace.el (load-save-place-alist-from-file):
6966 Demote errors. (Bug#15305)
6967
af9ff9e8
MA
69682013-09-08 Michael Albinus <michael.albinus@gmx.de>
6969
6970 Improve compatibility with older Emacsen, and XEmacs.
6971
6972 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6973 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6974 (with-tramp-progress-reporter): Do not let-bind `result'.
6975 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6976 (tramp-handle-make-auto-save-file-name): New function, moved from
6977 tramp-sh.el.
6978
6979 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6980 for `make-auto-save-file-name'.
8c27f5ff
SM
6981 (tramp-adb--gnu-switches-to-ash):
6982 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6983
6984 * net/tramp-cache.el (tramp-cache-print): Call
6985 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6986
6987 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6988 bound. It isn't for XEmacs.
6989
8c27f5ff
SM
6990 * net/tramp-compat.el (tramp-compat-copy-file):
6991 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6992 (tramp-compat-replace-regexp-in-string): New defun.
6993
6994 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6995 for `make-auto-save-file-name'.
6996 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6997 `copy-file'.
6998 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6999 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7000 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7001
8c27f5ff
SM
7002 * net/tramp-gw.el (tramp-gw-open-network-stream):
7003 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7004
8c27f5ff
SM
7005 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7006 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7007 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7008 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7009 (tramp-sh-file-inotifywait-process-filter):
7010 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7011 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7012
7013 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7014 for `make-auto-save-file-name'.
8c27f5ff
SM
7015 (tramp-smb-handle-copy-directory):
7016 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7017 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7018 (tramp-smb-handle-copy-file): Improve error message.
7019 (tramp-smb-handle-rename-file): Rename directly only in case
7020 `newname' does not exist yet. This is a restriction of smbclient.
7021 (tramp-smb-maybe-open-connection): Rerun the function only when
7022 `auth-sources' is non-nil.
7023
0ca754d0
KH
70242013-09-08 Kenichi Handa <handa@gnu.org>
7025
e0eb0550 7026 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7027 more characters.
7028
e8dd0787
AM
70292013-09-07 Alan Mackenzie <acm@muc.de>
7030
7031 Correctly fontify Java class constructors.
7032 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7033 in Java Mode.
7034 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7035 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7036 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7037 "typeless" declaration there.
7038
f2f248e7
RW
70392013-09-07 Roland Winkler <winkler@gnu.org>
7040
7041 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7042 field subtitle for entry type book.
7043
67982e2b
SM
70442013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 * minibuffer.el: Make minibuffer-complete call completion-in-region
7047 rather than other way around.
7048 (completion--some, completion-pcm--find-all-completions):
7049 Don't delay signals when debugging.
7050 (minibuffer-completion-contents): Beware fields within the
7051 minibuffer contents.
7052 (completion-all-sorted-completions): Use defvar-local.
7053 (completion--do-completion, completion--cache-all-sorted-completions)
7054 (completion-all-sorted-completions, minibuffer-force-complete):
7055 Add args `beg' and `end'.
7056 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7057 (minibuffer-complete): Use completion-in-region.
7058 (completion-complete-and-exit): New fun, extracted from
7059 minibuffer-complete-and-exit.
7060 (minibuffer-complete-and-exit): Use it.
7061 (completion--complete-and-exit): Rename from
7062 minibuffer--complete-and-exit.
7063 (completion-in-region--single-word): New function, extracted from
7064 minibuffer-complete-word.
7065 (minibuffer-complete-word): Use it.
7066 (display-completion-list): Make `common-substring' argument obsolete.
7067 (completion--in-region): Call completion--in-region-1 instead of
7068 minibuffer-complete.
7069 (completion-help-at-point): Pass boundaries to
7070 minibuffer-completion-help as args rather than via an overlay.
7071 (completion-pcm--string->pattern): Use `any-delim'.
7072 (completion-pcm--optimize-pattern): New function.
7073 (completion-pcm--pattern->regex): Handle `any-delim'.
7074 * icomplete.el (icomplete-forward-completions)
7075 (icomplete-backward-completions, icomplete-completions):
7076 Adjust calls to completion-all-sorted-completions and
7077 completion--cache-all-sorted-completions.
7078 (icomplete-with-completion-tables): Default to t.
7079 * emacs-lisp/crm.el (crm--current-element): Rename from
7080 crm--select-current-element. Don't put an overlay but return the
7081 boundaries instead.
7082 (crm--completion-command): Take two new args to bind to the boundaries.
7083 (crm-completion-help): Adjust accordingly.
7084 (crm-complete): Use completion-in-region.
7085 (crm-complete-word): Use completion-in-region--single-word.
7086 (crm-complete-and-exit): Use completion-complete-and-exit.
7087
e17d94a5
SM
70882013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7091 than dynamically.
7092
96727100
JL
70932013-09-06 Juri Linkov <juri@jurta.org>
7094
7095 * info.el (Info-display-images-node): When image file doesn't exist
7096 display text version of the image if it's provided in the Info file.
7097 Otherwise, display the location of missing image from SRC attribute.
7098 Add help-echo text property from ALT attribute. (Bug#15279)
7099
86cf7329
SM
71002013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7103 (edit-abbrevs-mode): Use define-derived-mode.
7104
7105 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7106 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7107 that it's defined.
7108 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7109 Use define-derived-mode.
7110
7111 * epg.el (epg-start-encrypt): Minor CSE simplification.
7112
816244a2
WX
71132013-09-06 William Xu <william.xwl@gmail.com>
7114
7115 * arc-mode.el: Add support for 7za (bug#15264).
7116 (archive-7z-program): New var.
7117 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7118 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7119 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7120
1486fa31
MA
71212013-09-06 Michael Albinus <michael.albinus@gmx.de>
7122
7123 Remove URL syntax.
7124
7125 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7126 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7127 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7128 (tramp-postfix-host-format, tramp-file-name-regexp)
7129 (tramp-completion-file-name-regexp)
7130 (tramp-completion-dissect-file-name)
7131 (tramp-handle-substitute-in-file-name): Remove 'url case.
7132 (tramp-file-name-regexp-url)
7133 (tramp-completion-file-name-regexp-url): Remove constants.
7134
39785324
GM
71352013-09-06 Glenn Morris <rgm@gnu.org>
7136
7137 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7138
1f896cb7
DG
71392013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7140
7141 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7142 keywords" below "here-doc beginnings" (Bug#15270).
7143
c0458e0b
SM
71442013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7145
7146 * subr.el (pop): Use `car-safe'.
7147 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7148 to detect unused `pop' return value.
7149
7150 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7151 var `block-regexp'.
7152 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7153 (python-fill-string): Remove unused var `marker'.
7154 (python-skeleton-add-menu-items): Remove unused var `items'.
7155
7156 * international/mule-cmds.el: Require CL.
7157 (find-coding-systems-for-charsets): Avoid add-to-list.
7158 (sanitize-coding-system-list): New function, extracted from
7159 select-safe-coding-system-interactively.
7160 (select-safe-coding-system-interactively): Use it.
7161 (read-input-method-name): Accept symbols for `default'.
7162
7163 * emacs-lisp/advice.el (defadvice): Add indent rule.
7164
6c42fc3e
DH
71652013-09-05 Daniel Hackney <dan@haxney.org>
7166
7167 * dired-x.el:
7168 * net/ange-ftp.el:
7169 * net/browse-url.el:
7170 * net/dbus.el:
7171 * net/eudc.el:
7172 * net/eudcb-ldap.el:
7173 * net/eww.el:
7174 * net/imap.el:
7175 * printing.el:
7176 * vc/ediff-diff.el:
7177 * vc/ediff-init.el:
7178 * vc/ediff-merg.el:
7179 * vc/ediff-mult.el:
7180 * vc/ediff-util.el:
7181 * vc/ediff-wind.el:
7182 * vc/ediff.el:
7183 * vc/emerge.el:
7184 * vc/pcvs.el:
7185 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7186 byte compiler. Remove some unused let-bound variables.
7187
4c528aab
SM
71882013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7191 a "ref-cell", since it gets better optimized (bug#14883).
7192
bd15c390
GM
71932013-09-05 Glenn Morris <rgm@gnu.org>
7194
7195 * progmodes/cc-awk.el (c-forward-sws): Declare.
7196
1c3ac2e5
GM
71972013-09-04 Glenn Morris <rgm@gnu.org>
7198
7199 * generic-x.el [rul-generic-mode]: Require cc-mode.
7200 (c++-mode-syntax-table): Declare.
7201 (rul-generic-mode-syntax-table): Init in the defvar.
7202
52b1cc79
SM
72032013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7204
c828af56
SM
7205 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7206 (vc-do-command, vc-set-async-update):
7207 * vc/vc-mtn.el (vc-mtn-dir-status):
7208 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7209 (vc-hg-pull, vc-hg-merge-branch):
7210 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7211 (vc-git-merge-branch):
7212 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7213 (vc-cvs-dir-status-files):
7214 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7215 (vc-bzr-dir-status-files):
7216 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7217 * vc/vc-annotate.el: Use lexical-binding.
7218 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7219 (vc-sentinel-movepoint): Declare.
7220 (vc-annotate): Don't use `goto-line'.
7221 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7222 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7223 (vc-sentinel-movepoint): Declare.
7224 * vc/vc-svn.el: Use lexical-binding.
7225 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7226 * vc/vc-sccs.el:
7227 * vc/vc-rcs.el: Use lexical-binding.
7228
abae272c
SM
7229 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7230 `deleted'. Don't drop errors silently.
7231
52b1cc79
SM
7232 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7233
63191d9f
XF
72342013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7235
7236 * vc/vc.el (vc-ignore): Rewrite.
7237 (vc-default-ignore): New function.
7238 (vc-default-ignore-completion-table): Use find-ignore-file.
7239
7240 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7241 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7242 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7243 Remove. Most code moved to vc.el.
7244
9d3f707c
SM
72452013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7246
abae272c 7247 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7248 * net/tramp-smb.el (tramp-smb-get-file-entries):
7249 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7250 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7251
fde38d49
SM
7252 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7253 Update call to it.
7254 (eww-change-select): Remove unused var `properties'.
7255 (eww-make-unique-file-name): Remove unused var `base'.
7256
7257 * finder.el (finder-compile-keywords): Don't mess with windows.
7258
84032db7
SM
7259 * calculator.el (calculator-funcall): Fix typo in last change.
7260
724f5e41
SM
7261 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7262
14b511d4
SM
7263 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7264 <pkg>-autoloads.el file stop us.
7265
9d3f707c 7266 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7267 warnings, and factor out common code.
9d3f707c 7268
88527bc0
DG
72692013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7270
7271 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7272 two-character operators and whether the character preceding them
7273 changes their meaning (Bug#15208).
7274
96edb677
FEG
72752013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7276
7277 Format code sent to Python shell for robustness.
9d3f707c
SM
7278 * progmodes/python.el (python-shell-buffer-substring):
7279 New function.
96edb677
FEG
7280 (python-shell-send-region, python-shell-send-buffer): Use it.
7281
95beaef3
MA
72822013-09-02 Michael Albinus <michael.albinus@gmx.de>
7283
7284 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7285 * net/tramp.el (tramp-user-error): ... here.
7286 (tramp-find-method, tramp-check-proper-host)
7287 (tramp-dissect-file-name, tramp-debug-message)
7288 (tramp-handle-shell-command):
7289 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7290 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7291
7292 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7293
f167c27b
MR
72942013-09-02 Martin Rudalics <rudalics@gmx.at>
7295
7296 * avoid.el (mouse-avoidance-point-position)
7297 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7298 returns nil.
7299
cd16c5f1
FEG
73002013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7301
7302 * progmodes/python.el (python-shell-completion-get-completions):
7303 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7304 (python-nav-if-name-main): New command.
cd16c5f1 7305
e73c3a0d
GM
73062013-09-01 Glenn Morris <rgm@gnu.org>
7307
f8ccce03
GM
7308 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7309 Avoid leading space in $wins. Otherwise the sed command used by
7310 eg compile-main ends up containing "/*.el". (Bug#15170)
7311
e73c3a0d
GM
7312 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7313
415f808e
GM
73142013-08-30 Glenn Morris <rgm@gnu.org>
7315
7316 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7317 Fix is-this-a-directory logic. (Bug#15220)
7318
f069bba8
SM
73192013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7320
112798c1
SM
7321 * textmodes/css-mode.el: Use SMIE.
7322 (css-smie-grammar): New var.
7323 (css-smie--forward-token, css-smie--backward-token)
7324 (css-smie-rules): New functions.
7325 (css-mode): Use them.
7326 (css-navigation-syntax-table): Remove var.
7327 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7328 (css-indent-calculate, css-indent-line): Remove functions.
7329
7330 Misc changes to reduce use of `(lambda...); and other cleanups.
7331 * cus-edit.el: Use lexical-binding.
7332 (customize-push-and-save, customize-apropos)
7333 (custom-buffer-create-internal): Use closures.
7334 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7335 * progmodes/ada-xref.el: Use setq.
7336 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7337 * dframe.el: Use lexical-binding.
7338 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7339 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7340 * descr-text.el: Use lexical-binding.
7341 (describe-text-widget, describe-text-sexp, describe-property-list):
7342 Use closures.
7343 * comint.el (comint-history-isearch-push-state): Use a closure.
7344 * calculator.el: Use lexical-binding.
7345 (calculator-number-to-string): Make it work with lexical-binding.
7346 (calculator-funcall): Same and use cl-letf.
7347
2da4c3ab
SM
7348 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7349 (lisp--company-doc-string, lisp--company-location): New functions.
7350 (lisp-completion-at-point): Use them to improve Company support.
7351
f069bba8
SM
7352 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7353 params of lambda expressions.
7354 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7355 (ruby-smie--opening-pipe-p): New function.
7356 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7357 symbols and matched |...| for formal params.
7358 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7359 from being treated as hanging. Handle "rescue".
7360
6758b6a8
GM
73612013-08-29 Glenn Morris <rgm@gnu.org>
7362
7363 * progmodes/cc-engine.el (c-pull-open-brace):
7364 Move definition before use.
7365
e8dfd197
SM
73662013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7369 are immutable. Don't use `unsafe' any more.
7370 (cl--defsubst-expand): Don't substitute at the same time as keeping
7371 a residual unused let-binding. Don't use `unsafe' any more.
7372
cc585c96
GM
73732013-08-29 Glenn Morris <rgm@gnu.org>
7374
ba579ea6
GM
7375 * calendar/cal-china.el (calendar-chinese-year-cache):
7376 Recenter on 2015.
7377
8201a87e
GM
7378 * nxml/nxml-util.el (nxml-debug-clear-inside):
7379 Use cl-loop rather than loop.
7380
6ee877c7
GM
7381 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7382
cc585c96
GM
7383 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7384
27be8d39
GM
73852013-08-28 Glenn Morris <rgm@gnu.org>
7386
397440a1
GM
7387 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7388
2bb762d4
GM
7389 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7390
27be8d39
GM
7391 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7392
2d69b99e
SM
73932013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7394
f663baa7
SM
7395 * simple.el (repeat-complex-command--called-interactively-skip):
7396 New function.
7397 (repeat-complex-command): Use it (bug#14136).
7398
dd4f8b74
SM
7399 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7400 (c-define-abbrev-table): Add `doc' argument.
7401 (c-mode-abbrev-table, c++-mode-abbrev-table)
7402 (objc-mode-abbrev-table, java-mode-abbrev-table)
7403 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7404 (awk-mode-abbrev-table): Use it.
7405 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7406 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7407 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7408 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7409 Move initialization into the declaration; and remove any
7410 autoload cookie.
7411
b58969f7
SM
7412 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7413 and dynamic let binding.
7414
4021d6a6
SM
7415 * vc/smerge-mode.el: Remove redundant :group args.
7416
2d69b99e
SM
7417 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7418 to load-path.
7419
274919fd
JL
74202013-08-28 Juri Linkov <juri@jurta.org>
7421
7422 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7423 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7424 (isearch-other-meta-char): Handle an undefined shifted printing
7425 character by downshifting it. (Bug#15200)
7426
121f8c95
JL
74272013-08-28 Juri Linkov <juri@jurta.org>
7428
7429 * isearch.el (isearch-search): Change regexp error message for
7430 non-regexp searches. (Bug#15166)
7431
50b13cde
PE
74322013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7433
7434 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7435 for portability to hosts where /bin/sh has problems.
7436
95888bca
SM
74372013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7440
bbe558f1
JL
74412013-08-27 Juri Linkov <juri@jurta.org>
7442
7443 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7444 in the keyboard macro. (Bug#15126)
7445
26f98a7d
JL
74462013-08-27 Juri Linkov <juri@jurta.org>
7447
7448 * isearch.el (isearch-quote-char): Comment out converting unibyte
7449 to multibyte, thus syncing with its `quoted-insert' counterpart.
7450 (Bug#15166)
7451
7c97d35e
MR
74522013-08-27 Martin Rudalics <rudalics@gmx.at>
7453
7454 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7455 argument in call of get-largest-window (Bug#15185).
7456 Reported by Stephen Leake.
7c97d35e 7457
a0b5606e 74582013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7459
7460 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7461
9e89d835
SM
74622013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7465 from a matcher-function unless there's no more matches (bug#15161).
7466
78fc2530
MA
74672013-08-26 Michael Albinus <michael.albinus@gmx.de>
7468
7469 * minibuffer.el: Revert change from 2013-08-20.
7470
7471 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7472 with text property `tramp-default', if appropriate.
7473 (tramp-check-proper-host): New defun.
7474 (tramp-dissect-file-name): Do not check hostname. Revert change
7475 of 2013-03-18.
7476 (tramp-backtrace): Make VEC-OR-PROC optional.
7477
7478 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7479 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7480 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7481 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7482 Apply `tramp-check-proper-host'.
78fc2530 7483
edca97cd
TH
74842013-08-26 Tassilo Horn <tsdh@gnu.org>
7485
7486 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7487 lambda expression in order to have `describe-variable' display it.
7488
df54bcbd
MA
74892013-08-26 Michael Albinus <michael.albinus@gmx.de>
7490
7491 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7492 BUF can be optional. (Bug#15186)
7493
eed99101
XF
74942013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7495
7496 * progmodes/flymake.el (flymake-get-real-file-name-function):
7497 Fix broken customization. (Bug#15184)
7498
b5eb9035
AM
74992013-08-25 Alan Mackenzie <acm@muc.de>
7500
8a51e842
AM
7501 Improve indentation of bracelists defined by macros (without "=").
7502
7503 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7504 expansion begins with "{", regard it as bracelist when it doesn't
7505 contain a ";".
7506
869455d4
AM
7507 Parse C++ inher-intro when there's a template split over 2 lines.
7508
7509 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7510 rigorously the search for "class" etc. followed by ":".
7511
7512 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7513 random languages a regexp which never matches rather than nil.
7514
b5eb9035
AM
7515 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7516
7517 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7518 (c-awk-regexp-one-line-possibly-open-char-list-re)
7519 (c-awk-one-line-possibly-open-regexp-re)
7520 (c-awk-one-line-non-syn-ws*-re): Remove.
7521 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7522 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7523 (c-awk-space*-unclosed-regexp-/-re): New constants.
7524 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7525 aren't regexp delimiters.
7526
7527 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7528 handling for a rare situation in AWK Mode involving unterminated
7529 strings/regexps.
7530
61611d54
GM
75312013-08-23 Glenn Morris <rgm@gnu.org>
7532
2d85dc34
GM
7533 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7534
cb8d2612
GM
7535 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7536
bb35f42f
GM
7537 * files.el (create-file-buffer): If the result would begin with
7538 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7539
b9808e77
SM
75402013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7541
e3a66363
SM
7542 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7543 text-properties (bug#15155).
7544
b9808e77
SM
7545 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7546 exist any more.
7547 (calc-keypad-redraw): Remove unused var `pad'.
7548 (calc-keypad-press): Remove unused var `menu'.
7549
7fd5f65e
MR
75502013-08-23 Martin Rudalics <rudalics@gmx.at>
7551
b9808e77
SM
7552 * window.el (display-buffer-pop-up-frame):
7553 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7554 use it as the new frame's buffer (Bug#15133).
7555
8352b530
SM
75562013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * calendar/timeclock.el: Minor cleanups.
7559 (timeclock-ask-before-exiting, timeclock-use-display-time):
7560 Use `symbol'.
7561 (timeclock-modeline-display): Define as alias before the
7562 actual definition.
7563 (timeclock-mode-line-display): Use define-minor-mode.
7564 (timeclock-day-list-template): Make it a function, add an argument.
7565 (timeclock-day-list-required, timeclock-day-list-length)
7566 (timeclock-day-list-debt, timeclock-day-list-span)
7567 (timeclock-day-list-break): Adjust calls accordingly.
7568
9f7b1925
SM
75692013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7572 Use read--expression so that completion works again.
7573
6e50e983
SS
75742013-08-21 Sam Steingold <sds@gnu.org>
7575
7576 Add rudimentary inferior shell interaction
7577 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7578 (sh-set-shell): Reset it.
9f7b1925
SM
7579 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7580 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7581
dbb0d350
SM
75822013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * align.el: Use lexical-binding.
7585 (align-region): Simplify accordingly.
7586
c88586a9
MA
75872013-08-20 Michael Albinus <michael.albinus@gmx.de>
7588
7589 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7590
7591 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7592 `non-essential' up.
7593
f95527c8
MA
75942013-08-17 Michael Albinus <michael.albinus@gmx.de>
7595
7596 * net/tramp.el:
7597 * net/tramp-adb.el:
7598 * net/tramp-cmds.el:
7599 * net/tramp-ftp.el:
7600 * net/tramp-gvfs.el:
7601 * net/tramp-gw.el:
7602 * net/tramp-sh.el: Don't wrap external variable declarations by
7603 `eval-when-compile'.
7604
4b5fe4ee
LMI
76052013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7606
7607 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7608 now that Emacs supports ImageMagick animations.
7609
13c366c9
MA
76102013-08-16 Michael Albinus <michael.albinus@gmx.de>
7611
7612 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7613 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7614
3dfc5cd6
MR
76152013-08-16 Martin Rudalics <rudalics@gmx.at>
7616
7617 * window.el (mouse-autoselect-window-select): Do autoselect when
7618 mouse pointer is on margin.
7619
4bbb4381
WP
76202013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7621
7622 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7623
3a2ddc2d
GM
76242013-08-16 Glenn Morris <rgm@gnu.org>
7625
e8bedf5a
GM
7626 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7627 Handle "Remote Directory" response of some clients. (Bug#15058)
7628
58c4682f
GM
7629 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7630 Tweak warning. (Bug#14926)
7631
57953f49
GM
7632 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7633 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7634
3a2ddc2d
GM
7635 * image-mode.el (image-mode-map): Add menu items to reverse,
7636 increase, decrease, reset animation speed.
7637 (image--set-speed, image-increase-speed, image-decrease-speed)
7638 (image-reverse-speed, image-reset-speed): New functions.
7639 (image-mode-map): Add bindings for speed commands.
7640
7641 * image.el (image-animate-get-speed, image-animate-set-speed):
7642 New functions.
7643 (image-animate-timeout): Respect image :speed property.
7644
10fa0ed3
SM
76452013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7648 previous line (bug#15101).
7649 (debugger-eval-expression, debugger-record-expression):
7650 Use read--expression (bug#15102).
7651
5d89d9d2
MA
76522013-08-15 Michael Albinus <michael.albinus@gmx.de>
7653
7654 Remove byte compiler warnings, visible when compiling with
7655 `byte-compile-force-lexical-warnings' set to t.
7656
7657 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7658 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7659 (tramp-handle-unhandled-file-name-directory)
7660 (tramp-handle-file-notify-add-watch, tramp-action-login)
7661 (tramp-action-succeed, tramp-action-permission-denied)
7662 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7663 arguments with "_".
7664
7665 * net/tramp-adb.el (tramp-adb-parse-device-names)
7666 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7667 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7668 (tramp-adb-handle-file-truename): Remove unused arguments.
7669
7670 * net/tramp-cache.el (tramp-flush-directory-property)
7671 (tramp-flush-connection-property, tramp-list-connections)
7672 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7673
10fa0ed3
SM
7674 * net/tramp-compat.el (tramp-compat-make-temp-file):
7675 Rename FILENAME to F.
5d89d9d2
MA
7676
7677 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7678 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7679 (tramp-zeroconf-parse-workstation-device-names)
7680 (tramp-zeroconf-parse-webdav-device-names)
7681 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7682
7683 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7684 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7685
7686 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7687 arguments.
7688 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7689 (tramp-sh-handle-insert-file-contents-literally)
7690 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7691 with "_".
7692 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7693 Remove unused variables.
7694
7695 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7696 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7697 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7698
7699 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7700 Make them a defconst.
7701 (tramp-uuencode-region): Remove unused variable.
7702
62f33bae
JB
77032013-08-14 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * frameset.el (frameset--prop-setter): New function.
7706 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7707 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7708 parameter was already set in FILTERED. Doc fix.
7709 (frameset--record-minibuffer-relationships): Allow saving a
7710 minibufferless frame without its corresponding minibuffer frame.
7711 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7712 frame, if the frame id matches.
7713 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7714 frames before orphaned ones.
7715 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7716
c660a885
MR
77172013-08-14 Martin Rudalics <rudalics@gmx.at>
7718
7719 * window.el (window-make-atom): Don't overwrite parameter
7720 already present.
7721 (display-buffer-in-atom-window): Handle special case where we
7722 split an already atomic window.
7723 (window--major-non-side-window, display-buffer-in-side-window)
7724 (window--side-check): Ignore minibuffer window when walking
7725 window tree.
7726 (window-deletable-p): Return 'frame only if no other frame uses
7727 our minibuffer window.
7728 (record-window-buffer): Run buffer-list-update-hook.
7729 (split-window): Make sure window--check-frame won't destroy an
7730 existing atomic window in case the new window gets nested
7731 inside.
7732 (display-buffer-at-bottom): Ignore minibuffer window when
7733 walking window tree. Don't split a side window.
7734 (pop-to-buffer): Don't set-buffer here, the select-window call
7735 should do that.
7736 (mouse-autoselect-window-select): Autoselect only if we are in the
7737 text portion of the window.
7738
8259030d
LMI
77392013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7740
21c58ae2
LMI
7741 * net/shr.el (shr-parse-image-data): New function to grab both the
7742 data itself and the Content-Type.
7743 (shr-put-image): Use it.
7744
7745 * net/eww.el (eww-display-image): Ditto.
7746
8259030d
LMI
7747 * image.el (image-content-type-suffixes): New variable.
7748
ad756449
FEG
77492013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7750
7751 * progmodes/python.el (python-imenu--build-tree)
7752 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7753
f73f4ce6
XF
77542013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7755
7756 * simple.el (backward-word): Mention the optional argument.
7757
1f585e65
SM
77582013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * frameset.el (frameset--make): Rename constructor from make-frameset.
7761 (frameset-p, frameset-valid-p): Don't autoload.
7762 (frameset-valid-p): Use normal accessors.
7763
af1c6c84
GM
77642013-08-13 Glenn Morris <rgm@gnu.org>
7765
55e47f95
GM
7766 * progmodes/compile.el (compile-command): Tweak example in doc.
7767 * obsolete/scribe.el (scribe-mode):
7768 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7769
f0024d8c
GM
7770 * mail/feedmail.el (feedmail-confirm-outgoing)
7771 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7772
7773 * cus-start.el (truncate-partial-width-windows): Fix type.
7774
7775 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7776
af1c6c84
GM
7777 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7778
5514cc4c
SM
77792013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * emacs-lisp/timer.el (timer--time-setter): New function.
7782 (timer--time): Use it as gv-setter.
7783
7784 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7785 setter is not a symbol.
7786
7997a2f1
GJ
77872013-08-12 Grégoire Jadi <daimrod@gmail.com>
7788
7789 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7790 if sending fails. This makes debugging easier.
7791
01f1a9ab
JB
77922013-08-12 Juanma Barranquero <lekktu@gmail.com>
7793
7794 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7795 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7796 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7797
594a4307
EZ
77982013-08-12 Eli Zaretskii <eliz@gnu.org>
7799
7800 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7801
7a22490f 78022013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7803
7804 * format.el (format-annotate-function):
7805 Handle read-only text properties in the source. (Bug#14887)
7806
3e41a054
LMI
78072013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7808
5514cc4c
SM
7809 * net/eww.el (eww-display-html): Ignore coding system errors.
7810 One web site uses "utf-8lias" as the coding system.
3e41a054 7811
7ec326db
JB
78122013-08-11 Juanma Barranquero <lekktu@gmail.com>
7813
7814 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7815
5660113b
JB
78162013-08-10 Juanma Barranquero <lekktu@gmail.com>
7817
9a4ebc74
JB
7818 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7819 (tutorial--detailed-help): Remove unused local variables.
7820 (tutorial--save-tutorial-to): Use ignore-errors.
7821 (help-with-tutorial): Use looking-at-p.
7822
7823 * view.el (view-buffer-other-window, view-buffer-other-frame):
7824 Mark unused arguments.
7825
7826 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7827 (woman-select-symbol-fonts, woman, woman-find-file)
7828 (woman-insert-file-contents, woman-non-underline-faces):
7829 Use string-match-p.
7830 (woman1-unquote): Move declaration.
7831
7832 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7833 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7834 argument. Remove unused local variable.
7835 (xml-parse-elem-type): Use string-match-p.
7836 (xml-substitute-numeric-entities): Use ignore-errors.
7837
45fdb482
JB
7838 * calculator.el (calculator): Mark unused argument.
7839 (calculator-paste, calculator-quit, calculator-integer-p):
7840 Use ignore-errors.
7841 (calculator-string-to-number, calculator-decimal, calculator-exp)
7842 (calculator-op-or-exp): Use string-match-p.
7843
7844 * dired.el (dired-buffer-more-recently-used-p): Declare.
7845 (dired-insert-set-properties, dired-insert-old-subdirs):
7846 Use ignore-errors.
7847
7848 * dired-aux.el (dired-compress): Use ignore-errors.
7849 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7850 (dired-do-async-shell-command, dired-do-shell-command)
7851 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7852 (dired-insert-subdir-validate): Use string-match-p.
7853 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7854 (dired-add-entry): Use string-match-p, looking-at-p.
7855 (dired-insert-subdir-newpos): Remove unused local variable.
7856
7857 * filenotify.el (file-notify-callback): Remove unused local variable.
7858
7859 * filesets.el (filesets-error): Mark unused argument.
7860 (filesets-which-command-p, filesets-filter-dir-names)
7861 (filesets-directory-files, filesets-get-external-viewer)
7862 (filesets-ingroup-get-data): Use string-match-p.
7863
7864 * find-file.el (ff-other-file-name, ff-other-file-name)
7865 (ff-find-the-other-file, ff-cc-hh-converter):
7866 Remove unused local variables.
7867 (ff-get-file-name): Use string-match-p.
7868 (ff-all-dirs-under): Use ignore-errors.
7869
7870 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7871 (follow-select-if-visible): Remove unused local variable.
7872
7873 * forms.el (read-file-filter): Move declaration.
7874 (forms--make-format, forms--make-parser, forms-insert-record):
7875 Quote function with #'.
7876 (forms--update): Use string-match-p. Quote function with #'.
7877
7878 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7879 (help-make-xrefs): Use looking-at-p.
7880 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7881
7882 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7883 (ibuffer-confirm-operation-on): Use string-match-p.
7884
7885 * msb.el (msb-item-handler, msb-dired-item-handler):
7886 Mark unused arguments.
7887
7888 * ses.el (ses-decode-cell-symbol)
7889 (ses-kill-override): Remove unused local variable.
7890 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7891 (ses-load): Use ignore-errors, looking-at-p.
7892 (ses-jump-safe): Use ignore-errors.
7893 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7894
7895 * tabify.el (untabify, tabify): Mark unused arguments.
7896
7897 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7898 Mark unused argument.
7899 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7900 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7901
c880af52
JB
7902 * emacs-lisp/timer.el (timer--time): Define setter with
7903 gv-define-setter to avoid deprecation warning.
7904
5660113b 7905 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7906 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7907 (cmpl-statistics-block): Remove (body was commented out).
7908 All callers changed.
7909 (add-completions-from-buffer, load-completions-from-file):
7910 Remove unused variables.
7911
156aab80
JB
79122013-08-09 Juanma Barranquero <lekktu@gmail.com>
7913
5c5dee78
JB
7914 * filecache.el (file-cache-delete-file-list):
7915 Print message only when told so.
7916 (file-cache-files-matching): Use #' in mapconcat argument.
7917
156aab80
JB
7918 * ffap.el (ffap-url-at-point): Fix reference to variable
7919 thing-at-point-default-mail-uri-scheme.
7920
ad9dcd70
SM
79212013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7922
54bd972f
SM
7923 * subr.el (define-error): New function.
7924 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7925 error-file-not-found and define with define-error.
7926 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7927 and define with define-error.
7928 * userlock.el (file-locked, file-supersession):
7929 * simple.el (mark-inactive):
7930 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7931 * progmodes/ada-mode.el (ada-mode-errors):
7932 * play/life.el (life-extinct):
7933 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7934 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7935 * nxml/rng-util.el (rng-error):
7936 * nxml/rng-uri.el (rng-uri-error):
7937 * nxml/rng-match.el (rng-compile-error):
7938 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7939 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7940 * nxml/nxml-rap.el (nxml-scan-error):
7941 * nxml/nxml-outln.el (nxml-outline-error):
7942 * net/soap-client.el (soap-error):
7943 * net/gnutls.el (gnutls-error):
7944 * net/ange-ftp.el (ftp-error):
7945 * mpc.el (mpc-proc-error):
7946 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7947 (json-number-format, json-string-escape, json-string-format)
7948 (json-key-format, json-object-format):
7949 * jka-compr.el (compression-error):
7950 * international/quail.el (quail-error):
7951 * international/kkc.el (kkc-error):
7952 * emacs-lisp/ert.el (ert-test-failed):
7953 * calc/calc.el (calc-error, inexact-result, math-overflow)
7954 (math-underflow):
7955 * bookmark.el (bookmark-error-no-filename):
7956 * epg.el (epg-error): Define with define-error.
7957
0ea9e53a
SM
7958 * time.el (display-time-event-handler)
7959 (display-time-next-load-average): Don't call sit-for since it seems
7960 unnecessary (bug#15045).
7961
b0429158
SM
7962 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7963 Use #' instead of ' to quote functions.
7964 (checkdoc-output-mode): Use setq-local.
7965 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7966 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7967 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7968 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7969 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7970 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7971 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7972 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7973
ad9dcd70
SM
7974 * ido.el (ido-completion-help): Fix up compiler warning.
7975
77187e6f
JB
79762013-08-09 Juanma Barranquero <lekktu@gmail.com>
7977
7978 * frameset.el (frameset-p): Add autoload cookie.
7979 (frameset--jump-to-register): New function, based on code moved from
7980 register.el.
7981 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7982
7983 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7984 (frameset-restore, frameset-save, frameset-session-filter-alist):
7985 Remove declarations.
7986 (register-alist): Doc fix.
7987 (frameset-to-register): Move to frameset.el.
7988 (jump-to-register, describe-register-1): Remove frameset-specific code.
7989
9d3aa82c
JB
79902013-08-08 Juanma Barranquero <lekktu@gmail.com>
7991
7992 * allout-widgets.el (allout-widgets-pre-command-business)
7993 (allout-widgets-post-command-business)
7994 (allout-widgets-after-change-handler)
7995 (allout-decorate-item-and-context, allout-set-boundary-marker)
7996 (allout-body-modification-handler)
7997 (allout-graphics-modification-handler): Mark ignored arguments.
7998 (allout-widgets-post-command-business)
7999 (allout-widgets-exposure-change-processor)
8000 (allout-widgets-exposure-undo-processor)
8001 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8002 (allout-parse-item-at-point, allout-decorate-item-guides)
8003 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8004 * allout.el (epa-passphrase-callback-function): Declare.
8005 (allout-overlay-insert-in-front-handler)
8006 (allout-overlay-interior-modification-handler)
8007 (allout-isearch-end-handler, allout-chart-siblings)
8008 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8009 (allout-yank-processing, allout-process-exposed)
8010 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8011 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8012 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8013 (lisp-indent-defform): Mark ignored arguments.
8014 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8015 (calculate-lisp-indent): Remove unused variables.
8016 * international/characters.el (indian-2-column, arabic-2-column)
8017 (tibetan): Mark ignored arguments.
8018 (use-cjk-char-width-table): Mark ignored arguments.
8019 Remove unused variables.
8020 * international/fontset.el (build-default-fontset-data)
8021 (x-compose-font-name, create-fontset-from-fontset-spec):
8022 Mark ignored arguments.
8023 (fontset-plain-name): Remove unused variables.
8024 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8025 (keyboard-coding-system): Mark ignored arguments.
8026 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8027 * help.el (resize-temp-buffer-window):
8028 * window.el (display-buffer-in-major-side-window)
8029 (display-buffer-in-side-window, display-buffer-in-previous-window):
8030 Remove unused variables.
8031 * isearch.el (isearch-forward-symbol):
8032 * version.el (emacs-bzr-version-bzr):
8033 * international/mule-cmds.el (current-language-environment):
8034 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8035 (x-handle-display):
8036 * term/pc-win.el (x-list-fonts, x-display-planes)
8037 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8038 (x-server-version, x-display-screens, x-display-mm-height)
8039 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8040 (x-selection-owner-p, x-own-selection-internal)
8041 (x-disown-selection-internal, x-get-selection-internal)
8042 (msdos-initialize-window-system):
8043 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8044 * term/x-win.el (x-handle-no-bitmap-icon):
8045 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8046 (vc-default-find-file-hook, vc-default-extra-menu):
8047 Mark ignored arguments.
8048
0ca3f70e
SM
80492013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8050
8051 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8052 break-condition in the context of the debugged code (bug#12685).
8053
74c5d24c
CS
80542013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8055
8056 * comint.el:
8057 Do not use an overlay to highlight the last prompt. (Bug#14744)
8058 (comint-mode): Make comint-last-prompt buffer local.
8059 (comint-last-prompt): New variable.
8060 (comint-last-prompt-overlay): Remove. Superseded by
8061 comint-last-prompt.
0ca3f70e
SM
8062 (comint-snapshot-last-prompt, comint-output-filter):
8063 Use comint-last-prompt.
74c5d24c 8064
c03c02ee
JB
80652013-08-08 Juanma Barranquero <lekktu@gmail.com>
8066
a3738d20 8067 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8068 (frameset-save): Check validity of the resulting frameset.
8069
04263d23
XF
80702013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8071
8072 * ido.el (ido-record-command): Add doc string.
8073
76c5e5ab
JB
80742013-08-08 Juanma Barranquero <lekktu@gmail.com>
8075
8076 * frameset.el (frameset): Do not disable creation of the default
8077 frameset-p predicate. Doc fix.
8078 (frameset-valid-p): New function, copied from the old predicate-p.
8079 Add additional checks.
8080 (frameset-restore): Check with frameset-valid-p.
8081 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8082 (frameset-name, frameset-description, frameset-properties)
8083 (frameset-states): Add docstring.
f9dbf1cb
JB
8084 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8085 (frameset-filter-alist): Doc fixes.
76c5e5ab 8086
bd0c3c0b
JB
80872013-08-08 Juanma Barranquero <lekktu@gmail.com>
8088
8089 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8090
c735544c
SM
80912013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8092
8093 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8094 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8095 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8096 (byte-compile-normal-call): Remove obsolescence check.
8097
2805a651
JB
80982013-08-08 Juanma Barranquero <lekktu@gmail.com>
8099
3677ffeb
JB
8100 * frameset.el (frameset-restore): Doc fix.
8101
2805a651
JB
8102 * register.el (frameset-frame-id, frameset-frame-with-id)
8103 (frameset-p, frameset-restore, frameset-save): Declare.
8104 (register-alist): Document framesets.
8105 (frameset-session-filter-alist): Declare.
8106 (frameset-to-register): New function.
8107 (jump-to-register): Implement jumping to framesets. Doc fix.
8108 (describe-register-1): Describe framesets.
8109
8110 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8111
a912c016
JB
81122013-08-07 Juanma Barranquero <lekktu@gmail.com>
8113
8114 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8115 Use lexical-binding.
8116
8117 * frameset.el (frameset): Use type vector, not list (incompatible
8118 change). Do not declare a new constructor, use the default one.
8119 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8120 `name' and `description', respectively, and add read-only slot
8121 `timestamp'. Doc fixes.
8122 (frameset-copy, frameset-persistent-filter-alist)
8123 (frameset-filter-alist, frameset-switch-to-gui-p)
8124 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8125 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8126 (frameset-filter-iconified, frameset-keep-original-display-p):
8127 Doc fixes.
8128 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8129 Rename from frameset-filter-(save|restore)-param. All callers changed.
8130 Doc fix.
8131 (frameset-p): Adapt to change to vector and be more thorough.
8132 Change arg name to OBJECT. Doc fix.
8133 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8134 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8135 All callers changed.
8136 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8137 All callers changed.
8138 (frameset--record-minibuffer-relationships): Rename from
8139 frameset--process-minibuffer-frames. All callers changed.
8140 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8141 Use new default constructor (again). Doc fix.
c295fc18 8142 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8143 All callers changed.
8144 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8145 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8146 Doc fix.
8147 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8148 PARAMETERS and WINDOW-STATE, respectively.
8149 (frameset-restore): Add new keyword argument PREDICATE.
8150 Reset frameset--target-display to nil. Doc fix.
8151
bb41480a
SM
81522013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8153
f001e98e
SM
8154 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8155 (bat-mode): Use it.
8156 (bat-mode-syntax-table): Mark \n as end-of-comment.
8157 (bat-font-lock-keywords): Remove comment rule.
8158
7679edb1
SM
8159 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8160 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8161
bb41480a
SM
8162 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8163 (byte-compile-callargs-warn): Use `push'.
8164 (byte-compile-arglist-warn): Ignore higher-order "calls".
8165 (byte-compile-file-form-autoload): Use `pcase'.
8166 (byte-compile-function-form): If quoting a symbol, check that it exists.
8167
cdc1ebb9
EZ
81682013-08-07 Eli Zaretskii <eliz@gnu.org>
8169
8170 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8171 and add a few popular commands found in batch files.
8172 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8173 (dos-mode): Doc fixes.
8174
312b1740
SM
81752013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8178 (dos-mode): Use setq-local. Add space after "rem".
8179 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8180 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8181
400a3178
AM
81822013-08-07 Arni Magnusson <arnima@hafro.is>
8183
8184 * progmodes/dos.el: New file.
8185 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8186 dos-mode.
8187
3b5c03d3
GM
81882013-08-06 Glenn Morris <rgm@gnu.org>
8189
8190 * calendar/calendar.el: Add new faces, and day-header-array.
8191 (calendar-weekday-header, calendar-weekend-header)
8192 (calendar-month-header): New faces.
8193 (calendar-day-header-construct): New function.
8194 (calendar-day-header-width): Also :set calendar-day-header-array.
8195 (calendar-american-month-header, calendar-european-month-header)
8196 (calendar-iso-month-header): Use calendar- faces.
8197 (calendar-generate-month):
8198 Use calendar-day-header-array for day headers; apply faces to them.
8199 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8200 (calendar-abbrev-construct): Add optional maxlen argument.
8201 (calendar-day-name-array): Doc fix.
8202 (calendar-day-name-array, calendar-abbrev-length)
8203 (calendar-day-abbrev-array):
8204 Also :set calendar-day-header-array, and maybe redraw.
8205 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8206 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8207 (calendar-day-name): Add option to use header array.
8208
ec6a2d7a
LMI
82092013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8210
8211 * net/shr.el (shr-render-td): Remove debugging.
8212 (shr-render-td): Make width computation consistent by defaulting
8213 all zero-width columns to 10 characters. This may not be optimal,
8214 but it's at least consistent.
2122cb6d
LMI
8215 (shr-make-table-1): Redo last change to fix the real problem in
8216 colspan handling.
ec6a2d7a 8217
ed4fd9c5
DA
82182013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8219
0ca3f70e
SM
8220 * files.el (cache-long-line-scans):
8221 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8222
64e22afe
JB
82232013-08-06 Juanma Barranquero <lekktu@gmail.com>
8224
024b38fc
JB
8225 * frameset.el (frameset, frameset-filter-alist)
8226 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8227 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8228 (frameset-compute-pos): Rename from frameset--compute-pos,
8229 and add docstring.
8230 (frameset-move-onscreen): Use frameset-compute-pos.
8231 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8232
64e22afe
JB
8233 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8234 Fix typos in docstrings.
8235
c8c2aca8
DA
82362013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8237
8238 * frame.el (get-other-frame): Tiny cleanup.
8239
1d237bba
JB
82402013-08-06 Juanma Barranquero <lekktu@gmail.com>
8241
8951efef
JB
8242 * vc/vc.el (vc-default-ignore-completion-table):
8243 Silence byte-compiler warning.
8244
307764cc 8245 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8246 slot, which can indeed be nil.
307764cc
JB
8247 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8248 Move entry for `left' from persistent to live filter alist.
8249 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8250 Doc fixes.
8251 (frameset-filter-params): When restoring a frame, copy items added to
8252 `filtered', to avoid unwittingly modifying the original parameters.
8253 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8254 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8255
1d237bba
JB
8256 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8257 to use looking-at-p instead of looking-at. (Bug#15028)
8258
dc6c0eda
SM
82592013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8260
8261 Revert introduction of isearch-filter-predicates (bug#14714).
8262 Rely on add-function instead.
8263 * isearch.el (isearch-filter-predicates): Rename it back to
8264 isearch-filter-predicate.
8265 (isearch-message-prefix): Use advice-function-mapc and advice
8266 properties to get the isearch-message-prefix.
8267 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8268 instead of run-hook-with-args-until-failure.
8269 (isearch-filter-visible): Not obsolete any more.
8270 * loadup.el: Preload nadvice.
8271 * replace.el (perform-replace): Revert to funcall
8272 instead of run-hook-with-args-until-failure.
8273 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8274 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8275 dired-isearch-filenames-toggle; make it into a proper minor mode.
8276 Use add/remove-function.
8277 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8278 Call the minor-mode rather than add/remove-hook.
8279 (dired-isearch-filter-filenames):
8280 Remove isearch-message-prefix property.
8281 * info.el (Info--search-loop): New function, extracted from Info-search.
8282 Funcall isearch-filter-predicate instead of
8283 run-hook-with-args-until-failure isearch-filter-predicates.
8284 (Info-search): Use it.
8285 (Info-mode): Use isearch-filter-predicate instead of
8286 isearch-filter-predicates.
8287
290d5b58
DA
82882013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8289
8290 Do not call to `selected-window' where it is assumed by default.
8291 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8292 `window-hscroll', `window-width', `window-height', `window-buffer',
8293 `window-frame', `window-start', `window-point', `next-window'
8294 and `window-display-table'.
8295 * abbrev.el (abbrev--default-expand):
8296 * bs.el (bs--show-with-configuration):
8297 * buff-menu.el (Buffer-menu-mouse-select):
8298 * calc/calc.el (calc):
8299 * calendar/calendar.el (calendar-generate-window):
8300 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8301 (diary-make-entry):
8302 * comint.el (send-invisible, comint-dynamic-complete-filename)
8303 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8304 * completion.el (complete):
8305 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8306 * disp-table.el (describe-current-display-table):
8307 * doc-view.el (doc-view-insert-image):
8308 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8309 * ehelp.el (with-electric-help):
8310 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8311 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8312 * emacs-lisp/helper.el (Helper-help-scroller):
8313 * emulation/cua-base.el (cua--post-command-handler-1):
8314 * eshell/esh-mode.el (eshell-output-filter):
8315 * ffap.el (ffap-gnus-wrapper):
8316 * help-macro.el (make-help-screen):
8317 * hilit-chg.el (highlight-compare-buffers):
8318 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8319 * hl-line.el (global-hl-line-highlight):
8320 * icomplete.el (icomplete-simple-completing-p):
8321 * isearch.el (isearch-done):
8322 * jit-lock.el (jit-lock-stealth-fontify):
8323 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8324 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8325 * mpc.el (mpc-tagbrowser, mpc):
8326 * net/rcirc.el (rcirc-any-buffer):
8327 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8328 * play/landmark.el (landmark-max-width, landmark-max-height):
8329 * play/zone.el (zone):
8330 * progmodes/compile.el (compilation-goto-locus):
8331 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8332 * progmodes/etags.el (find-tag-other-window):
8333 * progmodes/fortran.el (fortran-column-ruler):
8334 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8335 * progmodes/verilog-mode.el (verilog-point-text):
8336 * reposition.el (reposition-window):
8337 * rot13.el (toggle-rot13-mode):
8338 * server.el (server-switch-buffer):
8339 * shell.el (shell-dynamic-complete-command)
8340 (shell-dynamic-complete-environment-variable):
8341 * simple.el (insert-buffer, set-selective-display)
8342 (delete-completion-window):
8343 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8344 (speedbar-recenter):
8345 * startup.el (fancy-splash-head):
8346 * textmodes/ispell.el (ispell-command-loop):
8347 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8348 * tutorial.el (help-with-tutorial):
8349 * vc/add-log.el (add-change-log-entry):
8350 * vc/compare-w.el (compare-windows):
8351 * vc/ediff-help.el (ediff-indent-help-message):
8352 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8353 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8354 (ediff-setup-control-frame):
8355 * vc/emerge.el (emerge-position-region):
8356 * vc/pcvs-util.el (cvs-bury-buffer):
8357 * window.el (walk-windows, mouse-autoselect-window-select):
8358 * winner.el (winner-set-conf, winner-undo): Related users changed.
8359
38276e01
JB
83602013-08-05 Juanma Barranquero <lekktu@gmail.com>
8361
8362 * frameset.el (frameset--set-id): Doc fix.
8363 (frameset-frame-id, frameset-frame-id-equal-p)
8364 (frameset-locate-frame-id): New functions.
8365 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8366 (frameset-restore): Use them.
8367
12b4c0ea
DA
83682013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8369
8370 Do not call to `selected-frame' where it is assumed by default.
8371 Affected functions are `raise-frame', `redraw-frame',
8372 `frame-first-window', `frame-terminal' and `delete-frame'.
8373 * calendar/appt.el (appt-disp-window):
8374 * epg.el (epg-wait-for-completion):
8375 * follow.el (follow-delete-other-windows-and-split)
8376 (follow-avoid-tail-recenter):
8377 * international/mule.el (set-terminal-coding-system):
8378 * mail/rmail.el (rmail-mail-return):
8379 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8380 * progmodes/f90.el (f90-add-imenu-menu):
8381 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8382 * server.el (server-switch-buffer):
8383 * simple.el (delete-completion-window):
8384 * talk.el (talk):
8385 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8386 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8387 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8388 * vc/ediff.el (ediff-documentation): Related users changed.
8389 * frame.el (selected-terminal): Remove the leftover.
8390
17f25e76
GM
83912013-08-05 Glenn Morris <rgm@gnu.org>
8392
8393 * calendar/calendar.el (calendar-generate-month):
8394 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8395 (calendar-generate-month, calendar-font-lock-keywords):
8396 Fix for calendar-day-header-width > length of any day name.
17f25e76 8397
063233c3
JB
83982013-08-05 Juanma Barranquero <lekktu@gmail.com>
8399
8400 * desktop.el (desktop-clear): Use new name of sort predicate.
8401
8402 * frameset.el (frameset): Add docstring. Move :version property to its
8403 own `version' slot.
8404 (frameset-copy): Rename from copy-frameset.
8405 (frameset-p): Check more thoroughly.
8406 (frameset-prop): Do not check for :version, which is no longer a prop.
8407 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8408 Use new :never value instead of t.
8409 (frameset-filter-alist): Expand and clarify docstring.
8410 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8411 (frameset-filter-minibuffer, frameset-filter-save-param)
8412 (frameset-filter-restore-param, frameset-filter-iconified):
8413 Add pointer to docstring of frameset-filter-alist.
8414 (frameset-filter-params): Rename filter values to be more meaningful:
8415 :never instead of t, and reverse the meanings of :save and :restore.
8416 (frameset--process-minibuffer-frames): Clarify error message.
8417 (frameset-save): Avoid unnecessary and confusing call to framep.
8418 Use new BOA constructor for framesets.
8419 (frameset--reuse-list): Doc fix.
8420 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8421 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8422 (frameset-minibufferless-first-p): Doc fix.
8423 Rename from frameset-sort-frames-for-deletion.
8424 (frameset-restore): Doc fixes. Use new function names.
8425 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8426
d5671a82
JB
84272013-08-04 Juanma Barranquero <lekktu@gmail.com>
8428
8429 * desktop.el (desktop-restore-forces-onscreen)
8430 (desktop-restore-reuses-frames): Document :keyword constant values.
8431 (desktop-filter-parameters-alist): Remove, now identical to
8432 frameset-filter-alist.
8433 (desktop--filter-tty*): Remove, moved to frameset.el.
8434 (desktop-save-frameset, desktop-restore-frameset):
8435 Do not pass :filters argument.
8436
8437 * frameset.el (frameset-live-filter-alist)
8438 (frameset-persistent-filter-alist): New variables.
8439 (frameset-filter-alist): Use them. Add autoload cookie.
8440 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8441 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8442 `frameset--id' (it's supposed to be internal to frameset.el).
8443 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8444 (frameset--initial-params): New function.
8445 (frameset--get-frame): Use it. Doc fix.
8446 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8447 Accept :all, not 'all.
8448 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8449 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8450 with fbound symbols. Fix frame id matching, and remove matching ids if
8451 the frame being restored is deleted. Obey :delete.
8452
671d5c16
SM
84532013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * subr.el (macrop): New function.
8456 (text-clone--maintaining): New var.
8457 (text-clone--maintain): Rename from text-clone-maintain. Use it
8458 instead of inhibit-modification-hooks.
8459
8460 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8461 a proxy, so as handle autoloads and redefinitions of the target.
8462 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8463
8464 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8465 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8466 (pcase--mutually-exclusive-p): New function.
8467 (pcase--split-consp): Use it.
8468 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8469 mutually exclusive with the current predicate.
8470
8471 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8472 (edebug-macrop): Remove. Use `macrop' instead.
8473 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8474 (ad-macro-p):
8475 * eshell/esh-cmd.el (eshell-macrop):
8476 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8477
1d44e9dc
SM
84782013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8479
8480 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8481 (advice-mapc): New function, using it.
8482 (advice-function-member-p): New function.
8483 (advice--normalize): Store the cdr in advice--saved-rewrite since
8484 that's the part that will be changed.
8485 (advice--symbol-function): New function.
8486 (advice-remove): Handle removal before the function is defined.
8487 Adjust to new advice--saved-rewrite.
8488 (advice-member-p): Use advice-function-member-p and
8489 advice--symbol-function.
8490
5414a283
JB
84912013-08-04 Juanma Barranquero <lekktu@gmail.com>
8492
51d30f2c
JB
8493 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8494 (frameset-filter-minibuffer): Doc fix.
8495 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8496 (frameset--set-id, frameset--process-minibuffer-frames)
8497 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8498 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8499
5414a283
JB
8500 * desktop.el (desktop-clear): Only delete frames when called
8501 interactively and desktop-restore-frames is non-nil. Doc fix.
8502 (desktop-read): Set desktop-saved-frameset to nil.
8503
ab419665
XF
85042013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8505
8506 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8507 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8508 (vc--add-line, vc--remove-regexp): New functions.
8509
8510 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8511 (vc-svn-ignore-completion-table): New function.
8512
8513 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8514 (vc-hg-ignore-completion-table)
ab419665
XF
8515 (vc-hg-find-ignore-file): New functions.
8516
8517 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8518 (vc-git-ignore-completion-table)
ab419665
XF
8519 (vc-git-find-ignore-file): New functions.
8520
8521 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8522
8523 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8524 (vc-bzr-ignore-completion-table)
ab419665
XF
8525 (vc-bzr-find-ignore-file): New functions.
8526
2613dea2
JB
85272013-08-03 Juanma Barranquero <lekktu@gmail.com>
8528
8529 * frameset.el (frameset-prop): New function and setter.
8530 (frameset-save): Do not modify frame list passed by the caller.
8531
9c959872
SM
85322013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8535
a104f656
SM
85362013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8537
70122acf
SM
8538 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8539 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8540
a104f656
SM
8541 * custom.el (custom-initialize-default, custom-initialize-set)
8542 (custom-initialize-reset, custom-initialize-changed): Affect the
8543 toplevel-default-value (bug#6275, bug#14586).
8544 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8545 for bug#6275.
8546
f078d570
JB
85472013-08-02 Juanma Barranquero <lekktu@gmail.com>
8548
185e3b5a
JB
8549 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8550 Add cl-def* expressions.
8551
f078d570
JB
8552 * frameset.el (frameset-filter-params): Fix order of arguments.
8553
9421876d
JB
85542013-08-02 Juanma Barranquero <lekktu@gmail.com>
8555
8556 Move code related to saving frames to frameset.el.
8557 * desktop.el: Require frameset.
8558 (desktop-restore-frames): Doc fix.
8559 (desktop-restore-reuses-frames): Rename from
8560 desktop-restoring-reuses-frames.
8561 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8562 (desktop-clear): Clear frames too.
8563 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8564 (desktop--filter-tty*, desktop-save, desktop-read):
8565 Use frameset functions.
8566 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8567 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8568 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8569 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8570 (desktop--process-minibuffer-frames, desktop-save-frames)
8571 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8572 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8573 (desktop--sort-states, desktop-restoring-frames-p)
8574 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8575 (desktop-restoring-frameset-p, desktop-restore-frameset)
8576 (desktop--check-dont-save, desktop-save-frameset): New functions.
8577 (desktop--app-id): New constant.
8578 (desktop-first-buffer, desktop-buffer-ok-count)
8579 (desktop-buffer-fail-count): Move before first use.
8580 * frameset.el: New file.
8581
76dc5996
SM
85822013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8583
8584 * files.el: Use lexical-binding.
8585 (dir-locals-read-from-file): Remove unused `err' variable.
8586 (hack-dir-local-variables--warned-coding): New var.
8587 (hack-dir-local-variables): Use it to avoid repeated warnings.
8588 (make-backup-file-name--default-function): New function.
8589 (make-backup-file-name-function): Use it as default.
8590 (buffer-stale--default-function): New function.
8591 (buffer-stale-function): Use it as default.
8592 (revert-buffer-insert-file-contents--default-function): New function.
8593 (revert-buffer-insert-file-contents-function): Use it as default.
8594 (insert-directory): Avoid add-to-list.
8595
8596 * autorevert.el (auto-revert-handler): Simplify.
8597 Use buffer-stale--default-function.
8598
06d36e2b
TH
85992013-08-01 Tassilo Horn <tsdh@gnu.org>
8600
5f648ab4
TH
8601 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8602
06d36e2b
TH
8603 * whitespace.el (whitespace-ensure-local-variables): New function.
8604 (whitespace-cleanup-region): Call it.
8605 (whitespace-turn-on): Call it.
8606
a43dc424
MA
86072013-08-01 Michael Albinus <michael.albinus@gmx.de>
8608
8609 Complete file name handlers.
8610
8611 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8612 (tramp-handle-verify-visited-file-modtime)
8613 (tramp-handle-file-notify-rm-watch): New functions.
8614 (tramp-call-process): Do not bind `default-directory'.
8615
44e18199
JB
8616 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8617 Order alphabetically.
afe1e4c8
GM
8618 <access-file, add-name-to-file, dired-call-process>:
8619 <dired-compress-file, file-acl, file-notify-rm-watch>:
8620 <file-ownership-preserved-p, file-selinux-context>:
8621 <make-directory-internal, make-symbolic-link, set-file-acl>:
8622 <set-file-selinux-context, set-visited-file-modtime>:
8623 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8624 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8625
8626 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8627 <file-notify-add-watch, file-notify-rm-watch>:
8628 <set-file-times, set-visited-file-modtime>:
8629 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8630 (with-tramp-gvfs-error-message)
8631 (tramp-gvfs-handle-set-visited-file-modtime)
8632 (tramp-gvfs-fuse-file-name): Remove.
8633 (tramp-gvfs-handle-file-notify-add-watch)
8634 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8635 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8636
44e18199
JB
8637 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8638 Order alphabetically.
afe1e4c8
GM
8639 <file-notify-rm-watch>: Use default Tramp handler.
8640 <executable-find>: Remove private handler.
a43dc424
MA
8641 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8642 `default-directory'.
8643 (tramp-sh-handle-executable-find)
8644 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8645 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8646 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8647 Do not use `format' in `tramp-message'.
8648
8649 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8650 <file-notify-rm-watch, set-visited-file-modtime>:
8651 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8652 (tramp-smb-call-winexe): Do not bind `default-directory'.
8653
7188b515
XF
86542013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8655
8656 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8657
2412ee1a
DG
86582013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8659
8660 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8661 use it.
8662 (log-view-diff-changeset): Same.
8663 (log-view-diff-common): Call backend command `previous-revision'
8664 to find out the previous revision, in both cases. Swap the
8665 variables `to' and `fr', so that `fr' usually refers to the
8666 earlier revision (Bug#14989).
8667
5002a754
KRC
86682013-07-31 Kan-Ru Chen <kanru@kanru.info>
8669
8670 * ibuf-ext.el (ibuffer-filter-by-filename):
8671 Make it work with dired buffers too.
8672
44e18199 86732013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8674
8675 * emacs-lisp/re-builder.el (reb-color-display-p):
8676 * files.el (save-buffers-kill-terminal):
8677 * net/browse-url.el (browse-url):
8678 * server.el (server-save-buffers-kill-terminal):
8679 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8680 Prefer nil to selected-frame for the first arg of frame-parameter.
8681
aeca3fbb
XF
86822013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8683
8684 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8685
158bc55c
SB
86862013-07-30 Stephen Berman <stephen.berman@gmx.net>
8687
8688 * minibuffer.el (completion--twq-all): Try and preserve each
8689 completion's case choice (bug#14907).
8690
d50fceab
LMI
86912013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692
ac38e731
LMI
8693 * net/network-stream.el (open-network-stream): Mention the new
8694 :nogreeting parameter.
8695 (network-stream-open-starttls): Use the :nogreeting parameter
8696 (bug#14938).
8697
1211de50
LMI
8698 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8699
997798bf
LMI
8700 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8701 more natural than popping.
8702
d50fceab 8703 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8704 (shr-urlify): Highlight under mouse.
d50fceab 8705
5c09de04
XF
87062013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8707
207d1d04
XF
8708 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8709
8710 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8711
5c09de04
XF
8712 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8713 buffer for output.
8714
3cd51eaa
XF
8715 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8716 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8717
44e18199 8718 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8719 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8720
8721 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8722
8723 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8724 buffer for output.
8725
35a89bdd
EZ
87262013-07-29 Eli Zaretskii <eliz@gnu.org>
8727
8728 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8729 initial frame is minibuffer-less. (Bug#14841)
8730
78822e94
MA
87312013-07-29 Michael Albinus <michael.albinus@gmx.de>
8732
8733 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8734 option.
8735
8736 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8737 (tramp-maybe-open-connection): Use it.
8738
9503c190
JB
87392013-07-28 Juanma Barranquero <lekktu@gmail.com>
8740
8741 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8742 minimal set of parameters passed when creating a frame, because
8743 the minibuffer status of a frame cannot be changed later.
8744
d5a845b4
SB
87452013-07-28 Stephen Berman <stephen.berman@gmx.net>
8746
8747 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8748 replace-regexp-in-string and inadvertent omissions in previous change.
8749 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8750 name of filtered items buffer.
d5a845b4 8751
ddeffb17
JB
87522013-07-28 Juanma Barranquero <lekktu@gmail.com>
8753
8754 * desktop.el: Optionally force offscreen frames back onscreen.
8755 (desktop-restoring-reuses-frames): New option.
8756 (desktop--compute-pos, desktop--move-onscreen): New functions.
8757 (desktop--make-frame): Use desktop--move-onscreen.
8758
f5950f7a
AM
87592013-07-27 Alan Mackenzie <acm@muc.de>
8760
8761 Fontify a Java generic method as a function.
8762 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8763 value to t.
8764
ae43b66a
SB
87652013-07-27 Stephen Berman <stephen.berman@gmx.net>
8766
8767 * calendar/todo-mode.el: Add command to rename todo files.
8768 (todo-rename-file): New command.
8769 (todo-key-bindings-t): Add key binding for it. Change the
8770 bindings of todo-filter-regexp-items(-multifile) to use `x'
8771 instead of `r', since the latter is better suited to the new
8772 renaming command.
8773
5ab78d3d
AM
87742013-07-27 Alan Mackenzie <acm@muc.de>
8775
8776 Make Java try-with-resources statement parse properly.
8777 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8778 (c-block-stmt-1-2-key): New language constants/variables.
8779 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8780 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8781 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8782 with c-block-stmt-1-2-key.
5ab78d3d 8783
d85c4d50
JB
87842013-07-27 Juanma Barranquero <lekktu@gmail.com>
8785
8786 * desktop.el (desktop--make-frame): Apply most frame parameters after
8787 creating the frame to force (partially or totally) offscreen frames to
8788 be restored as such.
8789
e4c467f9
XF
87902013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8791
8792 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8793 (Bug#14948)
e4c467f9 8794
7ced0d04
SM
87952013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8798 `base' arg of backtrace-frame.
8799
fec92060
EZ
88002013-07-26 Eli Zaretskii <eliz@gnu.org>
8801
8802 * simple.el (list-processes): Doc fix.
8803
d58d31fb
JB
88042013-07-26 Juanma Barranquero <lekktu@gmail.com>
8805
8806 * desktop.el (desktop--select-frame):
d85c4d50 8807 Try harder to reuse existing frames.
d58d31fb 8808
53ff3e77
SM
88092013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8812 (edebug-eval): Use backtrace-eval.
8813 (edebug--display, edebug--recursive-edit): Don't let-bind the
8814 edebug-outer-* vars that keep track of variables we locally let-bind.
8815 (edebug-outside-excursion): Don't restore outside values of locally
8816 let-bound vars.
8817 (edebug--display): Use user-error.
8818 (cl-lexical-debug, cl-debug-env): Remove.
8819
045f7a53
JB
88202013-07-26 Juanma Barranquero <lekktu@gmail.com>
8821
8822 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8823 are restored to be sure that they are visible before deleting any
8824 remaining ones.
8825
59070b32
MM
88262013-07-26 Matthias Meulien <orontee@gmail.com>
8827
742a3501
XF
8828 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8829 vc-print-root-log. (Bug#14948)
59070b32 8830
b1fb3596
RS
88312013-07-26 Richard Stallman <rms@gnu.org>
8832
8833 Add aliases for encrypting mail.
8834 * epa.el (epa-mail-aliases): New option.
8835 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8836 Bind inhibit-read-only so read-only text doesn't ruin everything.
8837 (epa-mail-default-recipients): New subroutine broken out.
8838 Handle epa-mail-aliases.
8839
56ea7291
SM
88402013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 Add support for lexical variables to the debugger's `e' command.
8843 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8844 vars, except for debugger-outer-match-data.
8845 (debugger-frame-number): Move check for "on a function call" from
8846 callers into it. Add `skip-base' argument.
8847 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8848 (debugger-env-macro): Only reset the state stored in non-variables,
8849 i.e. current-buffer and match-data.
8850 (debugger-eval-expression): Rewrite using backtrace-eval.
8851 * subr.el (internal--called-interactively-p--get-frame): Remove.
8852 (called-interactively-p):
8853 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8854 `base' arg of backtrace-frame instead.
8855
15ac32d5
GM
88562013-07-26 Glenn Morris <rgm@gnu.org>
8857
8358a09d
GM
8858 * align.el (align-regexp): Doc fix. (Bug#14857)
8859 (align-region): Explicit error if subexpression missing/does not match.
8860
15ac32d5
GM
8861 * simple.el (global-visual-line-mode):
8862 Do not duplicate the mode lighter. (Bug#14858)
8863
f47ad11b
MR
88642013-07-25 Martin Rudalics <rudalics@gmx.at>
8865
8866 * window.el (display-buffer): In display-buffer bind
8867 split-window-keep-point to t, bug#14829.
8868
02530987
JB
88692013-07-25 Juanma Barranquero <lekktu@gmail.com>
8870
8871 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8872 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8873 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8874 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8875 Change accordingly.
f63ebeb5
JB
8876 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8877 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8878
6ccb9cab 88792013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8880
6ccb9cab 8881 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8882
cb3a56d2
JB
88832013-07-25 Juanma Barranquero <lekktu@gmail.com>
8884
8885 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8886 parameter to modify-frame-parameters if the value has not changed;
8887 this is a workaround for bug#14949.
8888 (desktop--make-frame): On cl-delete-if call, check parameter name,
8889 not full parameter.
8890
7aa7fff0
XF
88912013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8892
8893 * vc/vc.el (vc-ignore): New function.
8894
8895 * vc/vc-svn.el (vc-svn-ignore): New function.
8896
8897 * vc/vc-hg.el (vc-hg-ignore): New function.
8898
8899 * vc/vc-git.el (vc-git-ignore): New function.
8900
8901 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8902 (vc-dir-ignore): New function.
8903
8904 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8905 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8906
8907 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8908
8909 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8910
889acc5c
JB
89112013-07-24 Juanma Barranquero <lekktu@gmail.com>
8912
8913 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8914 (desktop-restore-frames): Warn when deleting an existing frame failed.
8915
86c40970
GM
89162013-07-24 Glenn Morris <rgm@gnu.org>
8917
8918 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8919
d5d3c58a
MA
89202013-07-24 Michael Albinus <michael.albinus@gmx.de>
8921
8922 * filenotify.el (file-notify-supported-p):
8923 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8924 Remove functions.
8925
35e951cd 8926 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8927 (auto-revert-notify-add-watch):
8928 * net/tramp.el (tramp-file-name-for-operation):
8929 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8930 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8931 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8932 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8933 Remove `file-notify-supported-p' entry.
8934
d100084b
GM
89352013-07-24 Glenn Morris <rgm@gnu.org>
8936
8937 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8938 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8939
ac93e56b
SM
89402013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8941
249eea30
SM
8942 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8943 checked with memq (bug#14935).
8944
ac93e56b
SM
8945 * files.el (revert-buffer-function): Use a non-nil default.
8946 (revert-buffer-preserve-modes): Declare var to
8947 provide access to the `preserve-modes' argument.
8948 (revert-buffer): Let-bind it.
8949 (revert-buffer--default): New function, extracted from revert-buffer.
8950
2cdeb903
SM
89512013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * lpr.el: Signal print errors more prominently.
8954 (print-region-function): Don't default to nil.
8955 (lpr-print-region): New function, extracted from print-region-1.
8956 Check lpr's return value and signal an error in case of problem.
8957 (print-region-1): Use it.
8958 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8959 versions instead.
8960 (ps-printer-name): Default to nil.
8961 (ps-printer-name-option): Default to lpr-printer-switch.
8962 (ps-print-region-function): Don't default to nil.
8963 (ps-postscript-code-directory): Simplify default.
8964 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8965 (ps-string-list, ps-eval-switch, ps-flatten-list)
8966 (ps-flatten-list-1): Remove.
8967 (ps-multibyte-buffer): Avoid setq.
8968 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8969 (print-region-function, ps-print-region-function): Don't set them here.
8970
73600831
XF
89712013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8972
35e951cd
JB
8973 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8974 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8975 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8976 (ido-decorations): Doc fix.
8977
73600831
XF
8978 * ansi-color.el: Fix old URL.
8979
3d012865
MM
89802013-07-23 Michael R. Mauger <michael@mauger.com>
8981
e903c210 8982 * progmodes/sql.el: Version 3.3
3d012865
MM
8983 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8984 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8985 (sql-interactive-remove-continuation-prompt): Rewrite, use
8986 functions above. Fix continuation prompt and complete output line
8987 handling.
8988 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8989 redirected output buffer.
8990 (sql-mode): Restore deleted code (Bug#13591).
8991
da77a2e2
JB
89922013-07-23 Juanma Barranquero <lekktu@gmail.com>
8993
8994 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8995
80ff0c71
MA
89962013-07-23 Michael Albinus <michael.albinus@gmx.de>
8997
8998 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8999
9000 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9001 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9002 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9003
b61d71e4
JB
90042013-07-23 Juanma Barranquero <lekktu@gmail.com>
9005
9006 * desktop.el (desktop-clear): Simplify; remove useless checks
9007 against invalid buffer names.
9008 (desktop-list*): Use cl-list*.
9009 (desktop-buffer-info, desktop-create-buffer): Simplify.
9010
c3512092
LL
90112013-07-23 Leo Liu <sdl.web@gmail.com>
9012
9013 * bookmark.el (bookmark-make-record): Restore NAME as a default
9014 value. (Bug#14933)
9015
0ac26976
SM
90162013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9017
7d22ce18
SM
9018 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9019 extracted from autoload--insert-text.
9020 (autoload--insert-text): Remove.
9021 (autoload--print-cookie-text): New function, extracted from
9022 autoload--insert-cookie-text.
9023 (autoload--insert-cookie-text): Remove.
9024 (autoload-generate-file-autoloads): Adjust calls accordingly.
9025
9b2607e8
SM
9026 * winner.el (winner-hook-installed-p): Remove.
9027 (winner-mode): Simplify accordingly.
9028
c43a8618
SM
9029 * subr.el (add-to-list): Fix compiler-macro when `append' is
9030 not constant. Don't use `cl-member' for the base case.
9031
0ac26976
SM
9032 * progmodes/subword.el: Fix boundary case (bug#13758).
9033 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9034 own group.
9035 (subword-backward-regexp): Make it a constant.
9036 (subword-forward-internal): Don't treat a trailing capital as the
9037 beginning of a word.
9038
6874724a
AR
90392013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9040
9041 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9042 global value of tabulated-list-revert-hook (bug#14930).
9043
70f1b5e8
JB
90442013-07-22 Juanma Barranquero <lekktu@gmail.com>
9045
a1c80d9d
JB
9046 * desktop.el: Require 'cl-lib.
9047 (desktop-before-saving-frames-functions): New hook.
9048 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9049 for frames being saved. Rename from desktop--save-minibuffer-frames.
9050 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9051 Do not save frames with non-nil `desktop-dont-save' parameter.
9052 Filter out deleted frames.
a1c80d9d
JB
9053 (desktop--find-frame): Use cl-find-if.
9054 (desktop--select-frame): Use cl-(first|second|third) to access values
9055 of desktop-mini.
9056 (desktop--make-frame): Use cl-delete-if.
9057 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9058 (desktop-restore-frames): Use cl-(first|second|third) to access values
9059 of desktop-mini. Look for visible frame at the end, not while
9060 restoring frames.
9061
70f1b5e8
JB
9062 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9063 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9064 Use string-match-p, looking-at-p (bug#14927).
9065
728dc3cc
JB
90662013-07-21 Juanma Barranquero <lekktu@gmail.com>
9067
56bc453c
JB
9068 * desktop.el (desktop-saved-frame-states):
9069 Rename from desktop--saved-states; all users changed.
9070 (desktop-save-frames): Rename from desktop--save-frames.
9071 Do not save state to desktop file.
9072 (desktop-save): Save desktop-saved-frame-states to desktop file
9073 and reset to nil.
9074 (desktop-restoring-frames-p): New function.
9075 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9076 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9077 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9078
728dc3cc
JB
9079 * desktop.el: Correctly restore iconified frames.
9080 (desktop--filter-iconified-position): New function.
9081 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9082
862f1c9c
GM
90832013-07-20 Glenn Morris <rgm@gnu.org>
9084
c4074c9f
GM
9085 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9086 Let `message' do the formatting.
9087 (def-gdb-preempt-display-buffer): Add explicit format.
9088
d828e5f9
GM
9089 * image-dired.el (image-dired-track-original-file):
9090 Use with-current-buffer.
9091 (image-dired-track-thumbnail): Use with-current-buffer.
9092 Avoid changing point of wrong window.
9093
862f1c9c
GM
9094 * image-dired.el (image-dired-track-original-file):
9095 Avoid changing point of wrong window. (Bug#14909)
9096
f0398ec1 90972013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9098
9099 * progmodes/gdb-mi.el (gdb-done-or-error):
9100 Guard against "%" in gdb output. (Bug#14127)
9101
1451928f
AS
91022013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9103
763a086d
JB
9104 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9105 (Bug#14826)
f7a03897 9106
1451928f
AS
9107 * international/mule.el (coding-system-iso-2022-flags): Fix last
9108 change.
9109
99107004
KH
91102013-07-20 Kenichi Handa <handa@gnu.org>
9111
763a086d
JB
9112 * international/mule.el (coding-system-iso-2022-flags):
9113 Add `8-bit-level-4'. (Bug#8522)
99107004 9114
48494e06
LMI
91152013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9116
8ba8eec5
LMI
9117 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9118 (bug#14815).
9119
dfbc66e3
LMI
9120 * net/eww.el (eww-process-text-input): Allow inputting when the
9121 point is at the start of the line, as the properties aren't
9122 front-sticky.
9123
48494e06
LMI
9124 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9125 degenerate widths.
9126
77c92cb9
RS
91272013-07-19 Richard Stallman <rms@gnu.org>
9128
aec7da77
RS
9129 * epa.el (epa-popup-info-window): Doc fix.
9130
77c92cb9
RS
9131 * subr.el (split-string): New arg TRIM.
9132
945c5bb1
JB
91332013-07-18 Juanma Barranquero <lekktu@gmail.com>
9134
9135 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9136 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9137
e06ec67f
MA
91382013-07-18 Michael Albinus <michael.albinus@gmx.de>
9139
c7064f05 9140 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9141 `file-notify-support'. Do not autoload. Adapt all uses.
9142 (file-notify-supported-p): New defun.
9143
c7064f05
JB
9144 * autorevert.el (auto-revert-use-notify):
9145 Use `file-notify-supported-p' instead of `file-notify-support'.
9146 Adapt docstring.
e06ec67f
MA
9147 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9148
9149 * net/tramp.el (tramp-file-name-for-operation):
9150 Add `file-notify-supported-p'.
9151
9152 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9153 New defun.
9154 (tramp-sh-file-name-handler-alist): Add it as handler for
9155 `file-notify-supported-p '.
9156
9157 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9159 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9160 Add `ignore' as handler for `file-notify-*' functions.
9161
5dc8a629
EZ
91622013-07-17 Eli Zaretskii <eliz@gnu.org>
9163
9164 * simple.el (line-move-partial, line-move): Don't start vscroll or
9165 scroll-up if the current line is not taller than the window.
9166 (Bug#14881)
9167
77aea2fb
DG
91682013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9169
9170 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9171 highlight question marks in the method names as strings.
ac72c08d
DG
9172 (ruby-block-beg-keywords): Inline.
9173 (ruby-font-lock-keyword-beg-re): Extract from
9174 `ruby-font-lock-keywords'.
77aea2fb 9175
18c26d81
JD
91762013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9177
9178 * frame.el (blink-cursor-blinks): New defcustom.
9179 (blink-cursor-blinks-done): New defvar.
9180 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9181 (blink-cursor-timer-function): Check if number of blinks has been
9182 done on X and NS.
9183 (blink-cursor-suspend, blink-cursor-check): New defuns.
9184
da48522e
GM
91852013-07-15 Glenn Morris <rgm@gnu.org>
9186
9187 * edmacro.el (edmacro-format-keys): Fix previous change.
9188
0463c1ef
PE
91892013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9190
9191 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9192 The hack didn't work outside English locales anyway.
9193
b43f6451
JB
91942013-07-15 Juanma Barranquero <lekktu@gmail.com>
9195
9196 * simple.el (define-alternatives): Rename from alternatives-define,
9197 per RMS' suggestion.
9198
b958c0ad
JB
91992013-07-14 Juanma Barranquero <lekktu@gmail.com>
9200
9201 * desktop.el (desktop-restore-frames): Change default to t.
9202 (desktop-restore-in-current-display): Now offer more options.
9203 (desktop-restoring-reuses-frames): New customization option.
9204 (desktop--saved-states): Doc fix.
9205 (desktop-filter-parameters-alist): New variable, renamed and expanded
9206 from desktop--excluded-frame-parameters.
9207 (desktop--target-display): New variable.
9208 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9209 (desktop--filter-tty*, desktop--filter-*-color)
9210 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9211 (desktop--filter-save-desktop-parm)
9212 (desktop-restore-in-original-display-p): New functions.
9213 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9214 (desktop--save-minibuffer-frames): New function, inspired by a similar
9215 function from Martin Rudalics.
9216 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9217 (desktop--restore-in-this-display-p): Remove.
9218 (desktop--find-frame): Rename from desktop--find-frame-in-display
9219 and add predicate argument.
9220 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9221 (desktop--reuse-list): New variable.
9222 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9223 New functions.
9224 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9225
f6dd8b36
MA
92262013-07-14 Michael Albinus <michael.albinus@gmx.de>
9227
9228 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9229
2ce3c565
DG
92302013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9231
763a086d
JB
9232 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9233 Highlight conversion methods on Kernel.
2ce3c565 9234
2cdb7698
AM
92352013-07-13 Alan Mackenzie <acm@muc.de>
9236
9237 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9238 and comment it out. This out-commenting enables certain C++
9239 declarations to be parsed correctly.
9240
1a67b811
EZ
92412013-07-13 Eli Zaretskii <eliz@gnu.org>
9242
1b796d6b
EZ
9243 * international/mule.el (define-coding-system): Doc fix.
9244
1a67b811
EZ
9245 * simple.el (default-font-height): Don't call font-info if the
9246 frame's default font didn't change since the frame was created.
9247 (Bug#14838)
9248
58fbe886
LL
92492013-07-13 Leo Liu <sdl.web@gmail.com>
9250
9251 * ido.el (ido-read-file-name): Guard against non-symbol value.
9252
1f0480d4
FEG
92532013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9254
9255 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9256 in nested defuns.
9257
97ead0e5
LL
92582013-07-13 Leo Liu <sdl.web@gmail.com>
9259
9260 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9261 ido-set-matches call. (Bug#6852)
9262
0880a952
DG
92632013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9264
35e951cd 9265 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9266 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9267 Ruby 2.0.
9268 (ruby-font-lock-keywords): Distinguish calls to functions with
9269 module-like names from module references. Highlight character
9270 literals.
9271
a7d8babb
SDJ
92722013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9273
9274 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9275 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9276
acfcc8c5
JB
92772013-07-12 Juanma Barranquero <lekktu@gmail.com>
9278
9279 * desktop.el (desktop--v2s): Remove unused local variable.
9280 (desktop-save-buffer): Make defvar-local; adjust docstring.
9281 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9282 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9283
051f2775
AS
92842013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9285
9286 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9287
f24e7572
GM
92882013-07-12 Eli Zaretskii <eliz@gnu.org>
9289
9290 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9291 (Bug#14842)
9292
539a920c
GM
92932013-07-12 Glenn Morris <rgm@gnu.org>
9294
9295 * doc-view.el: Require cl-lib at runtime too.
9296 (doc-view-remove-if): Remove.
9297 (doc-view-search-next-match, doc-view-search-previous-match):
9298 Use cl-remove-if.
9299
9300 * edmacro.el: Require cl-lib at runtime too.
9301 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9302 (edmacro-mismatch, edmacro-subseq): Remove.
9303
9304 * shadowfile.el: Require cl-lib.
9305 (shadow-remove-if): Remove.
9306 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9307 Use cl-remove-if.
9308
9309 * wid-edit.el: Require cl-lib.
9310 (widget-choose): Use cl-remove-if.
9311 (widget-remove-if): Remove.
9312
9313 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9314 (ebrowse-delete-if-not): Remove.
9315 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9316 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9317 Use cl-delete-if-not.
9318
1048af7c
JB
93192013-07-12 Juanma Barranquero <lekktu@gmail.com>
9320
9321 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9322 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9323
6c0674ee
LL
93242013-07-12 Leo Liu <sdl.web@gmail.com>
9325
9326 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9327
a19b3c2d
GM
93282013-07-11 Glenn Morris <rgm@gnu.org>
9329
4582a01c
GM
9330 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9331 (edebug-gensym-index, edebug-gensym):
9332 Remove reimplementation of cl-gensym.
9333 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9334
9335 * thumbs.el: Require cl-lib at run-time too.
9336 (thumbs-gensym-counter, thumbs-gensym):
9337 Remove reimplementation of cl-gensym.
9338 (thumbs-temp-file): Use cl-gensym.
9339
a19b3c2d
GM
9340 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9341 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9342 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9343 (ert--union, ert--gensym-counter, ert--gensym-counter)
9344 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9345 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9346 (ert-make-test-unbound, ert--expand-should-1)
9347 (ert--expand-should, ert--should-error-handle-error)
9348 (should-error, ert--explain-equal-rec)
9349 (ert--plist-difference-explanation, ert-select-tests)
9350 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9351 Use cl-lib functions rather than reimplementations.
9352
88f6a933
MA
93532013-07-11 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * net/tramp.el (tramp-methods): Extend docstring.
9356 (tramp-connection-timeout): New defcustom.
9357 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9358 (with-tramp-progress-reporter): Simplify.
9359 (tramp-process-actions): Improve messages.
9360
9361 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9362 * net/tramp-sh.el (tramp-maybe-open-connection):
9363 Use `tramp-connection-timeout'.
afe1e4c8 9364 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9365 (Bug#14808)
9366
a43d577e
LL
93672013-07-11 Leo Liu <sdl.web@gmail.com>
9368
9369 * ido.el (ido-read-file-name): Conform to the requirements of
9370 read-file-name. (Bug#11861)
9371 (ido-read-directory-name): Conform to the requirements of
9372 read-directory-name.
9373
d77974bf
JB
93742013-07-11 Juanma Barranquero <lekktu@gmail.com>
9375
9376 * subr.el (delay-warning): New function.
9377
35cb8a3e
EZ
93782013-07-10 Eli Zaretskii <eliz@gnu.org>
9379
9380 * simple.el (default-line-height): New function.
9381 (line-move-partial, line-move): Use it instead of computing the
9382 line height inline.
9383 (line-move-partial): Always compute ROWH. If the last line is
9384 partially-visible, but its text is completely visible, allow
9385 cursor to enter such a partially-visible line.
9386
525c5c77
MA
93872013-07-10 Michael Albinus <michael.albinus@gmx.de>
9388
9389 Improve error messages. (Bug#14808)
9390
9391 * net/tramp.el (tramp-current-connection): New defvar, moved from
9392 tramp-sh.el.
0ac26976 9393 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9394 needed anymore.
0ac26976
SM
9395 (tramp-error-with-buffer): Show message in minibuffer.
9396 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9397 (with-tramp-progress-reporter): Improve messages.
9398 (tramp-process-actions): Use progress reporter. Delete process in
9399 case of error. Improve messages.
9400
763a086d
JB
9401 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9402 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9403 (tramp-current-connection): Remove.
525c5c77
MA
9404 (tramp-maybe-open-connection): The car of
9405 `tramp-current-connection' are the first 3 slots of the vector.
9406
c7a4d368
TZ
94072013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9408
9409 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9410 inside continued strings.
9411
954b166e
PE
94122013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9413
9414 Timestamp fixes for undo (Bug#14824).
9415 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9416
56973319
LL
94172013-07-10 Leo Liu <sdl.web@gmail.com>
9418
9419 * files.el (require-final-newline): Allow safe local value.
9420 (Bug#14834)
9421
5550a72c
LL
94222013-07-09 Leo Liu <sdl.web@gmail.com>
9423
9424 * ido.el (ido-read-directory-name): Handle fallback.
9425 (ido-read-file-name): Update DIR to ido-current-directory.
9426 (Bug#1516)
c28b9050 9427 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9428
70c46b28
DG
94292013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9430
9431 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9432 "autoload". Remove "warn lower camel case" section, previously
9433 commented out. Highlight negation char. Do not highlight the
9434 target in singleton method definitions.
9435
0b64b838
SM
94362013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9437
7fd72e2c
SM
9438 * faces.el (tty-setup-hook): Declare the hook.
9439
0b64b838
SM
9440 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9441 and detect when a guard/pred depends on local vars (bug#14773).
9442 (pcase--u1): Adjust caller.
9443
ab49d60b
EZ
94442013-07-08 Eli Zaretskii <eliz@gnu.org>
9445
9446 * simple.el (line-move-partial, line-move): Account for
9447 line-spacing.
701d79aa
EZ
9448 (line-move-partial): Avoid setting vscroll when the last
9449 partially-visible line in window is of default height.
ab49d60b 9450
2d756ae0
LMI
94512013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9452
9453 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9454 been used a while.
9455
ed095bd7
JB
94562013-07-07 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * subr.el (read-quoted-char): Remove unused local variable `char'.
9459
f1e6674b
MK
94602013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9461
584ee3fc
GM
9462 * ediff.el (ediff-version): Version update.
9463 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9464 (ediff-merge-with-ancestor-command, ediff-directories-command)
9465 (ediff-directories3-command, ediff-merge-directories-command)
9466 (ediff-merge-directories-with-ancestor-command): New functions.
9467 All are command-line interfaces to ediff: to facilitate calling
9468 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9469
9470 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9471 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9472
584ee3fc
GM
9473 * viper.el (viper-version): Version update.
9474 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9475
584ee3fc
GM
94762013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9479 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9480 (viper-intercept-ESC-key): Simplify.
9481 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9482 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9483 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9484 (viper-setup-ESC-to-escape): New functions.
9485 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9486 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9487
9aff9b38
EZ
94882013-07-07 Eli Zaretskii <eliz@gnu.org>
9489
5165d44a
JB
9490 * simple.el (default-font-height, window-screen-lines):
9491 New functions.
9aff9b38
EZ
9492 (line-move, line-move-partial): Use them instead of
9493 frame-char-height and window-text-height. This makes scrolling
9494 text smoother when the buffer's default face uses a font that is
9495 different from the frame's default font.
9496
1afb1d07
JD
94972013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9498
9499 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9500 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9501
23de972a
EZ
95022013-07-06 Eli Zaretskii <eliz@gnu.org>
9503
9504 * simple.el (line-move-partial): Adjust the row returned by
9505 posn-at-point for the current window-vscroll. (Bug#14567)
9506
54a42486
MA
95072013-07-06 Michael Albinus <michael.albinus@gmx.de>
9508
35e951cd 9509 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9510 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9511 spaces.
9512
34ada5f4
MR
95132013-07-06 Martin Rudalics <rudalics@gmx.at>
9514
9515 * window.el (window-state-put-stale-windows): New variable.
9516 (window--state-put-2): Save list of windows without matching buffer.
9517 (window-state-put): Remove "bufferless" windows if possible.
9518
11e03d89
JB
95192013-07-06 Juanma Barranquero <lekktu@gmail.com>
9520
9521 * simple.el (alternatives-define): Remove leftover :group keyword.
9522 Tweak docstring.
9523
3504a4be
LL
95242013-07-06 Leo Liu <sdl.web@gmail.com>
9525
9526 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9527 (ido-enable-virtual-buffers): New variable.
9528 (ido-buffer-internal, ido-toggle-virtual-buffers)
9529 (ido-make-buffer-list): Use it.
9530 (ido-exhibit): Support turning on and off virtual buffers
9531 automatically.
9532
61e56e2c
JB
95332013-07-06 Juanma Barranquero <lekktu@gmail.com>
9534
9535 * simple.el (alternatives-define): New macro.
9536
321e1a9c
SM
95372013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 * subr.el (read-quoted-char): Use read-key.
9540 (sit-for): Let read-event decode tty input (bug#14782).
9541
d610f6dd
SB
95422013-07-05 Stephen Berman <stephen.berman@gmx.net>
9543
9544 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9545 mode command and externally. Fix various related bugs.
9546 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9547 (todo-delete-file): New command.
9548 (todo-check-file): New function.
9549 (todo-show): Handle external deletion of the file we're trying to
9550 show (bug#14688). Replace called-interactively-p by an optional
9551 prefix argument to avoid problematic interaction with catch form
9552 when byte compiled (bug#14702).
9553 (todo-quit): Handle external deletion of the archive's todo file.
9554 Make sure the buffer that was visiting the archive file is still
9555 live before trying to bury it.
9556 (todo-category-completions): Handle external deletion of any
9557 category completion files.
9558 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9559 of todo files, in case of external deletion.
9560 (todo-add-file): Replace unnecessary setq by let-binding.
9561 (todo-find-archive): Check whether there are any archives.
9562 Replace unnecessary setq by let-binding.
9563 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9564 archive buffer whether or not the archive already exists.
9565 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9566 check if the archive is new; if it is, update list of archives.
9567 (todo-default-todo-file): Allow nil to be a valid value for when
9568 there are no todo files.
9569 (todo-reevaluate-default-file-defcustom): Use corrected definition
9570 of todo-default-todo-file.
9571 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9572 (todo-delete-category, todo-show-categories-table)
9573 (todo-category-number): Clarify comment.
9574 (todo-filter-items): Clarify documentation string.
9575 (todo-show-current-file, todo-display-as-todo-file)
9576 (todo-reset-and-enable-done-separator): Tweak documentation string.
9577 (todo-done-separator): Make separator length window-width, since
9578 bug#2749 is now fixed.
9579
ddbdfd6f
MA
95802013-07-05 Michael Albinus <michael.albinus@gmx.de>
9581
321e1a9c
SM
9582 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9583 Support both "gvfs-monitor-dir" and "inotifywait".
9584 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9585 `tramp-sh-file-notify-process-filter'.
9586 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9587 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9588
96eb829a
LL
95892013-07-05 Leo Liu <sdl.web@gmail.com>
9590
9591 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9592
cf13177e
YM
95932013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9594
9595 * frame.el (display-pixel-height, display-pixel-width)
9596 (display-mm-height, display-mm-width): Mention behavior on
9597 multi-monitor setups in docstrings.
9598 (w32-display-monitor-attributes-list): Declare function.
9599 (display-monitor-attributes-list): Use it.
9600
864c58ca
MA
96012013-07-04 Michael Albinus <michael.albinus@gmx.de>
9602
9603 * filenotify.el: New package.
9604
9605 * autorevert.el (top): Require filenotify.el.
9606 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9607 instead.
9608 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9609 (auto-revert-notify-handler): Use `file-notify-*' functions.
9610
9611 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9612
321e1a9c
SM
9613 * net/tramp.el (tramp-file-name-for-operation):
9614 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9615
9616 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9617 for `file-notify-add-watch' and `file-notify-rm-watch'.
9618 (tramp-process-sentinel): Improve trace.
9619 (tramp-sh-handle-file-notify-add-watch)
9620 (tramp-sh-file-notify-process-filter)
9621 (tramp-sh-handle-file-notify-rm-watch)
9622 (tramp-get-remote-inotifywait): New defuns.
9623
96673afe
JL
96242013-07-03 Juri Linkov <juri@jurta.org>
9625
9626 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9627 call of `occur-read-primary-args' to interactive spec.
9628
9629 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9630 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9631
924494f4
MM
96322013-07-03 Matthias Meulien <orontee@gmail.com>
9633
9634 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9635 `Buffer-menu-multi-occur'. Add it to the menu.
9636 (Buffer-menu-mode): Document it in docstring.
9637 (Buffer-menu-multi-occur): New command. (Bug#14673)
9638
56f75efc
DG
96392013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9640
9641 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9642 keywords and built-ins.
9643
9b057d61
GM
96442013-07-03 Glenn Morris <rgm@gnu.org>
9645
208dee4d
GM
9646 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9647
9b057d61
GM
9648 Make info-xref checks case-sensitive by default
9649 * info.el (Info-find-node, Info-find-in-tag-table)
9650 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9651 Add option for exact case matching of nodes.
9652 * info-xref.el (info-xref): New custom group.
9653 (info-xref-case-fold): New option.
9654 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9655
e01aa29c
LL
96562013-07-03 Leo Liu <sdl.web@gmail.com>
9657
9658 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9659
3086ca2e
DG
96602013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9661
9662 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9663 middle of block statement initially, lower the depth. Remove
9664 FIXME comment, not longer valid. Remove middle of block statement
9665 detection, no need to do that anymore since we've been using
9666 `ruby-parse-region' here.
9667
a3b49114
JD
96682013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9669
9670 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9671
08e5c823 96722013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9673
9674 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9675
2addf922
JB
96762013-07-01 Juanma Barranquero <lekktu@gmail.com>
9677
9678 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9679 (desktop-restore-in-current-display): New customization option.
9680 (desktop--excluded-frame-parameters): Add `font'.
9681 (desktop--save-frames): Rename from desktop--save-windows.
9682 (desktop--restore-in-this-display-p): New function.
9683 (desktop--make-full-frame): Remove unwanted width/height from
9684 full(width|height) frames.
9685 (desktop--restore-frames): Rename from desktop--restore-windows.
9686 Obey desktop-restore-current-display. Do not delete old frames or
9687 select a new frame unless we were able to restore at least one frame.
9688
ef099a94
MN
96892013-06-30 Michal Nazarewicz <mina86@mina86.com>
9690
9691 * files.el (find-file-noselect): Simplify conditional expression.
9692
a12bf61e 9693 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9694 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9695
9696 Add `remember-notes' function to store random notes across Emacs
9697 restarts.
3fcfc4ee
JB
9698 * textmodes/remember.el (remember-data-file): Add :set callback to
9699 affect notes buffer (if any).
ef099a94
MN
9700 (remember-notes): New command.
9701 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9702 New defcustoms for the `remember-notes' function.
9703 (remember-notes-save-and-bury-buffer): New command.
9704 (remember-notes-mode-map): New variable.
9705 (remember-mode): New minor mode.
9706 (remember-notes--kill-buffer-query): New function.
9707 * startup.el (initial-buffer-choice): Add notes to custom type.
9708
0865d506
EZ
97092013-06-30 Eli Zaretskii <eliz@gnu.org>
9710
0ba54312
EZ
9711 * bindings.el (right-char, left-char): Don't call sit-for, this is
9712 no longer needed. Use arithmetic comparison only for numerical
9713 arguments.
9714
ef099a94
MN
9715 * international/mule-cmds.el (select-safe-coding-system):
9716 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9717
2fae38e5
LMI
97182013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9719
9720 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9721 progression on degenerate tables.
ef099a94 9722 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9723
a47cbd64
JB
97242013-06-30 Juanma Barranquero <lekktu@gmail.com>
9725
9726 Some fixes and improvements for desktop frame restoration.
9727 It is still experimental and disabled by default.
9728 * desktop.el (desktop--save-windows): Put the selected frame at
9729 the head of the list.
9730 (desktop--make-full-frame): New function.
9731 (desktop--restore-windows): Try to re-select the frame that was
9732 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9733 just show an error message and continue. Set up maximized frames
9734 so they have default non-maximized dimensions.
a47cbd64 9735
6dbafa30
DG
97362013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9737
ef099a94
MN
9738 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9739 Don't start heredoc inside a string or comment.
6dbafa30 9740
4c672a0f
EZ
97412013-06-29 Eli Zaretskii <eliz@gnu.org>
9742
9743 * bindings.el (visual-order-cursor-movement): New defcustom.
9744 (right-char, left-char): Provide visual-order cursor motion by
9745 calling move-point-visually. Update the doc strings.
9746
50960f36
KH
97472013-06-28 Kenichi Handa <handa@gnu.org>
9748
9749 * international/mule.el (define-coding-system): New coding system
9750 properties :inhibit-null-byte-detection,
9751 :inhibit-iso-escape-detection, and :prefer-utf-8.
9752 (set-buffer-file-coding-system): If :charset-list property of
9753 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9754 appropriate for setting.
9755
c1ea3abf
JB
9756 * international/mule-cmds.el (select-safe-coding-system):
9757 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9758 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9759
9760 * international/mule-conf.el (prefer-utf-8): New coding system.
9761 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9762 files.
9763
75dbaf9d
IK
97642013-06-28 Ivan Kanis <ivan@kanis.fr>
9765
eadb6068
IK
9766 * net/shr.el (shr-render-region): New function.
9767
75dbaf9d
IK
9768 * net/eww.el: Autoload `eww-browse-url'.
9769
9ea5cf9f
DG
97702013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9771
c1ea3abf
JB
9772 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9773 Adapt to `package-desc-version' being a list.
9774 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9775 archive element.
9776
39c0e36f
JB
97772013-06-27 Juanma Barranquero <lekktu@gmail.com>
9778
9779 New experimental feature to save&restore window and frame setup.
9780 * desktop.el (desktop-save-windows): New defcustom.
9781 (desktop--saved-states): New var.
9782 (desktop--excluded-frame-parameters): New defconst.
9783 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9784 (desktop--restore-windows, desktop--save-windows): New functions.
9785 (desktop-save): Call `desktop--save-windows'.
9786 (desktop-read): Call `desktop--restore-windows'.
9787
7f13406b
LMI
97882013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9789
ef099a94 9790 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9791
1e072639
SB
97922013-06-27 Stephen Berman <stephen.berman@gmx.net>
9793
9794 * info.el (Info-try-follow-nearest-node): Move search for footnote
9795 above search for node name to prevent missing a footnote (bug#14717).
9796
f3e2cbde
SB
97972013-06-27 Stephen Berman <stephen.berman@gmx.net>
9798
9799 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9800
99906aa0
LL
98012013-06-27 Leo Liu <sdl.web@gmail.com>
9802
9803 * net/eww.el (eww-read-bookmarks): Check file size.
9804
539f75f4
SM
98052013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9808 advice--pending if newdef is nil or an autoload (bug#13820).
9809 (advice-mapc): New function.
9810
843571cb
LMI
98112013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9812
9813 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9814 probably.
23a75d7f 9815 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9816 (eww-add-bookmark): New command.
9817 (eww-bookmark-mode): New mode and commands.
a285ce99 9818 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9819 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9820
f2136e1e
GM
98212013-06-26 Glenn Morris <rgm@gnu.org>
9822
eab35f39
GM
9823 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9824 (hfy-size): Handle ttys. (Bug#14668)
9825
f2136e1e
GM
9826 * info-xref.el: Update for Texinfo 5 change in *note format.
9827 (info-xref-node-re, info-xref-note-re): New constants.
9828 (info-xref-check-buffer): Use info-xref-note-re.
9829
a49ff80c
SM
98302013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9831
a343d218
SM
9832 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9833
a49ff80c
SM
9834 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9835 nil terminate the loop (bug#14718).
9836
8308f184
LMI
98372013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9838
9839 * net/eww.el: Rework history traversal. When going forward/back,
9840 put these actions into the history, too, so that they can be
9841 replayed.
26bf2b82 9842 (eww-render): Move the history reset to the correct buffer.
8308f184 9843
ec64c273
JL
98442013-06-25 Juri Linkov <juri@jurta.org>
9845
9846 * files-x.el (modify-dir-local-variable): Change the header comment
9847 in the file with directory local variables. (Bug#14692)
9848
e080a9d7
JL
9849 * files-x.el (read-file-local-variable-value): Add `default'.
9850 (Bug#14710)
9851
bfbc93a1
IK
98522013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9853
9854 * net/eww.el (eww-make-unique-file-name): Create a unique file
9855 name before saving to entering `y' accidentally asynchronously.
9856
98572013-06-25 Ivan Kanis <ivan@kanis.fr>
9858
9859 * net/eww.el (eww-download): New command and keystroke.
9860
16f74f10
LMI
98612013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9862
a49ff80c 9863 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9864
9865 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9866 be more consistent with Info and dired.
9867
9868 * net/eww.el (eww-mode-map): Ditto.
9869
12059709
SM
98702013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9873 packages from archives.
9874 (package-archive-contents): Change format; include obsolete packages.
9875 (package-desc): Use `dir' to mark builtin packages.
9876 (package--from-builtin): Set the `dir' field to `builtin'.
9877 (generated-autoload-file, version-control): Declare.
9878 (package-compute-transaction): Change first arg and return value to be
9879 lists of package-descs. Adjust to new package-archive-contents format.
9880 (package--add-to-archive-contents): Adjust to new
9881 package-archive-contents format.
9882 (package-download-transaction): Arg is now a list of package-descs.
9883 (package-install): If `pkg' is a package name, pass it as
9884 a requirement, so it is subject to the usual (e.g. disabled) checks.
9885 (describe-package): Accept package-desc as well.
9886 (describe-package-1): Describe a specific package-desc. Add links to
9887 other package-descs for the same package name.
9888 (package-menu-describe-package): Pass the actual package-desc.
9889 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9890 works correctly.
9891 (package-desc-status): New function.
9892 (package-menu--refresh): New function, extracted
9893 from package-menu--generate.
9894 (package-menu--generate): Use it.
9895 (package-delete): Update package-alist.
9896 (package-menu-execute): Don't call package-initialize.
9897
9898 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9899 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9900 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9901 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9902 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9903 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9904
8bbdea0f
MR
99052013-06-25 Martin Rudalics <rudalics@gmx.at>
9906
9907 * window.el (window--state-get-1): Workaround for bug#14527.
9908 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9909
e82b0991
LMI
99102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9911
9912 * net/eww.el (eww-back-url): Implement the history by stashing all
9913 the data into a list.
d3f0f918 9914 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9915
c763842b
SM
99162013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9917
9918 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9919 for values and use read--expression for expressions (bug#14710).
9920 (read-file-local-variable): Avoid setq.
9921 (read-file-local-variable-mode): Use minor-mode-list.
9922
bceff189
RW
99232013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9924
864c58ca 9925 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9926 for DOI URLs.
9927
45f431c6
RW
99282013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9929
864c58ca 9930 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9931 Update imenu-support when dialect changes.
9932
f42d8237
LL
99332013-06-25 Leo Liu <sdl.web@gmail.com>
9934
9935 * ido.el (ido-read-internal): Allow forward slash on windows.
9936
be549ce6
LMI
99372013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9938
9939 * net/eww.el (eww): Start of strings is \\`, not ^.
9940
71d4c19d
IK
99412013-06-24 Ivan Kanis <ivan@kanis.fr>
9942
5196f88a
IK
9943 * net/shr.el (shr-browse-url): Fix interactive spec.
9944
71d4c19d
IK
9945 * net/eww.el (eww): Add a trailing slash to domain names.
9946
ae36ca55
JB
99472013-06-24 Juanma Barranquero <lekktu@gmail.com>
9948
9949 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9950
0ebd92a3
LMI
99512013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9952
bdaa086b
LMI
9953 * net/shr.el (shr-browse-url): Use an external browser if given a
9954 prefix.
9955
c763842b 9956 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9957
b89fc156
IK
99582013-06-24 Ivan Kanis <ivan@kanis.fr>
9959
9960 * net/eww.el (eww): Work more correctly for file: URLs.
9961 (eww-detect-charset): Allow quoted charsets.
9962 (eww-yank-page-url): New command and keystroke.
9963
18eb4bca
DU
99642013-06-24 Daiki Ueno <ueno@gnu.org>
9965
9966 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9967 file name of gpg executable.
9968 (epg-context-program): New function.
9969 (epg-context-home-directory): New function.
9970 (epg-context-set-program): New function.
9971 (epg-context-set-home-directory): New function.
9972 (epg--start): Use `epg-context-program' instead of
9973 'epg-gpg-program'.
9974 (epg--list-keys-1): Likewise.
9975
6c6268c8
LL
99762013-06-24 Leo Liu <sdl.web@gmail.com>
9977
9978 * ido.el (ido-read-internal): Fix bug#14620.
9979
5e400cb3
JB
99802013-06-23 Juanma Barranquero <lekktu@gmail.com>
9981
9982 * faces.el (face-documentation): Simplify.
9983 (read-face-attribute, tty-find-type, x-resolve-font-name):
9984 Use `string-match-p'.
9985 (list-faces-display): Use `string-match-p'. Simplify.
9986 (face-spec-recalc): Check face to avoid face alias loops.
9987 (read-color): Use `string-match-p' and non-capturing parenthesis.
9988
f3f9606c
LMI
99892013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9990
9991 * net/shr.el (shr-rescale-image): Use the new
9992 :max-width/:max-height functionality.
9993
a3ca09b9
IK
99942013-06-23 Ivan Kanis <ivan@kanis.fr>
9995
9996 * net/eww.el (eww-search-prefix): New variable.
9997 (eww): Use it.
f865b474
IK
9998 (eww-external-browser): New variable.
9999 (eww-mode-map): New keystroke.
10000 (eww-browse-with-external-browser): New command.
a3ca09b9 10001
e854cfc7
IK
10002 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10003
18bb9e21
JB
100042013-06-23 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10007 Don't skip aligning the next header field when padding is 0;
10008 otherwise, field width is not respected unless the title is as
10009 wide as the field.
10010
5b165ade
SM
100112013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * emacs-lisp/package.el (package-el-version): Remove.
10014 (package-process-define-package): Fix inf-loop.
10015 (package-install): Allow symbols as arguments again.
10016
12adebe9
DG
100172013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10018
10019 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10020 add some more keyword-like methods.
10021 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10022
388573ee
JB
100232013-06-22 Juanma Barranquero <lekktu@gmail.com>
10024
10025 * bs.el (bs-buffer-show-mark): Make defvar-local.
10026 (bs-mode): Use setq-local.
10027
10028 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10029 (emacs-lock--try-unlocking): Make defvar-local.
10030
4582a01c 100312013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10032
2663dd23
GM
10033 * play/cookie1.el (cookie-apropos): Minor simplification.
10034
3d94f3ad
GM
10035 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10036
f72e2fdb
DG
100372013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10038
10039 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10040 `regexp-opt', it breaks the build during dumping.
10041
73eab938
DG
100422013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10043
c763842b
SM
10044 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10045 Highlight keyword-like methods on Kernel and Module with
73eab938 10046 font-lock-builtin-face.
5cf8176d
DG
10047 (auto-mode-alist): Consolidate different entries into one regexp
10048 and add more *file-s.
73eab938 10049
d26255f6
SB
100502013-06-21 Stephen Berman <stephen.berman@gmx.net>
10051
10052 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10053
10054 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10055 (diary-entry): Use it in the action of this button type instead of
10056 diary-goto-entry.
10057
10058 * calendar/todo-mode.el: New version.
10059 (todo-add-category): Append new category to end of file and give
10060 it the highest number, instead of putting it at the beginning and
10061 giving it 0. Incorporate noninteractive functionality.
10062 (todo-forward-category): Adapt to 1-based category numbering.
10063 Allow skipping over archived categories.
10064 (todo-backward-category): Derive from todo-forward-category.
10065 (todo-backward-item, todo-forward-item): Make noninteractive and
10066 delegate interactive part to new commands. Make sensitive to done items.
10067 (todo-categories): Make value an alist of category names and
10068 vectors of item counts.
10069 (todo-category-beg): Make a defconst.
10070 (todo-category-number): Use 1 instead of 0 as initial value.
10071 (todo-category-select): Make sensitive to overlays, optional item
10072 highlighting and done items.
10073 (todo-delete-item): Make sensitive to overlays and marked and done items.
10074 (todo-edit-item): Make sensitive to overlays and editing of
10075 date/time header optional. Add format checks.
10076 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10077 no-op if point is not on an item. Advertise using todo-edit-quit.
10078 (todo-edit-mode): Make sensitive to new format, font-locking, and
10079 multiple todo files.
10080 (todo-insert-item, todo-insert-item-here): Derive from
10081 todo-basic-insert-item and extend functionality.
10082 (todo-item-end, todo-item-start): Make sensitive to done items.
10083 (todo-item-string): Don't return text properties. Restore point.
10084 (todo-jump-to-category): Make sensitive to multiple todo files and
10085 todo archives. Use extended category completion.
10086 (todo-lower-item, todo-raise-item): Rename to *-priority and
10087 derive from todo-set-item-priority.
10088 (todo-mode): Derive from special-mode. Make sensitive to new
10089 format, font-locking and multiple todo files. Make read-only.
10090 (todo-mode-map): Don't suppress digit keys, so they can supply
10091 prefix arguments. Add many new key bindings.
10092 (todo-prefix): Insert as an overlay instead of file text.
10093 Change semantics from diary date expression to purely visual mark.
10094 (todo-print): Rename to todo-print-buffer. Make buffer display
10095 features printable. Remove option to restrict number of items
10096 printed. Add option to print to file.
10097 (todo-print-function): Rename to todo-print-buffer-function.
10098 (todo-quit): Extend to handle exiting new todo modes.
10099 (todo-remove-item): Make sensitive to overlays.
10100 (todo-save): Extend to buffers of filtered items.
10101 (todo-show): Make sensitive to done items, multiple todo files and
10102 new todo modes. Offer to convert legacy todo file before creating
10103 first new todo file.
10104 (todo-show-priorities): Rename to todo-top-priorities.
10105 Change semantics of value 0.
10106 (todo-top-priorities): Rename to todo-filter-top-priorities,
10107 derive from todo-filter-items and extend functionality.
10108 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10109 and extend functionality to other types of filtered items.
10110 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10111 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10112 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10113 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10114 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10115 (todo-edit-mode-hook, todo-entry-prefix-function)
10116 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10117 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10118 (todo-initials, todo-insert-threshold, todo-item-string-start)
10119 (todo-line-string, todo-menu, todo-mode-hook)
10120 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10121 (todo-print-priorities, todo-remove-separator)
10122 (todo-save-top-priorities-too, todo-string-count-lines)
10123 (todo-string-multiline-p, todo-time-string-format)
10124 (todo-tmp-buffer-name): Remove.
10125 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10126 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10127 (todo-edit-category-diary-inclusion)
10128 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10129 (todo-edit-file, todo-edit-item-date-day)
10130 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10131 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10132 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10133 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10134 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10135 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10136 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10137 (todo-filter-top-priorities-multifile, todo-find-archive)
10138 (todo-find-filtered-items-file, todo-go-to-source-item)
10139 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10140 (todo-jump-to-archive-category, todo-lower-category)
10141 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10142 (todo-move-category, todo-move-item, todo-next-button)
10143 (todo-next-item, todo-padded-string, todo-powerset)
10144 (todo-previous-button, todo-previous-item)
10145 (todo-print-buffer-to-file, todo-raise-category)
10146 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10147 (todo-set-category-number, todo-set-item-priority)
10148 (todo-set-top-priorities-in-category)
10149 (todo-set-top-priorities-in-file, todo-show-categories-table)
10150 (todo-sort-categories-alphabetically-or-numerically)
10151 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10152 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10153 (todo-toggle-item-header, todo-toggle-item-highlighting)
10154 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10155 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10156 (todo-unarchive-items, todo-unmark-category): New commands.
10157 (todo-absolute-file-name, todo-add-to-buffer-list)
10158 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10159 (todo-basic-insert-item, todo-category-completions)
10160 (todo-category-number, todo-category-string-matcher-1)
10161 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10162 (todo-check-format, todo-clear-matches)
10163 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10164 (todo-current-category, todo-date-string-matcher)
10165 (todo-define-insertion-command, todo-diary-expired-matcher)
10166 (todo-diary-goto-entry, todo-diary-item-p)
10167 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10168 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10169 (todo-done-item-section-p, todo-done-separator)
10170 (todo-done-string-matcher, todo-files, todo-filter-items)
10171 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10172 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10173 (todo-insert-category-line, todo-insert-item-from-calendar)
10174 (todo-insert-sort-button, todo-insert-with-overlays)
10175 (todo-insertion-command-name, todo-insertion-key-bindings)
10176 (todo-label-to-key, todo-longest-category-name-length)
10177 (todo-make-categories-list, todo-mode-external-set)
10178 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10179 (todo-modes-set-3, todo-multiple-filter-files)
10180 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10181 (todo-read-category, todo-read-date, todo-read-dayname)
10182 (todo-read-file-name, todo-read-time)
10183 (todo-reevaluate-category-completions-files-defcustom)
10184 (todo-reevaluate-default-file-defcustom)
10185 (todo-reevaluate-filelist-defcustoms)
10186 (todo-reevaluate-filter-files-defcustom)
10187 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10188 (todo-reset-done-separator, todo-reset-done-separator-string)
10189 (todo-reset-done-string, todo-reset-global-current-todo-file)
10190 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10191 (todo-reset-prefix, todo-set-categories)
10192 (todo-set-date-from-calendar, todo-set-show-current-file)
10193 (todo-set-top-priorities, todo-short-file-name)
10194 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10195 (todo-total-item-counts, todo-update-buffer-list)
10196 (todo-update-categories-display, todo-update-categories-sexp)
10197 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10198 New functions.
10199 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10200 New major modes.
10201 (todo-categories, todo-display, todo-edit, todo-faces)
10202 (todo-filtered): New defgroups.
10203 (todo-archived-only, todo-button, todo-category-string, todo-date)
10204 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10205 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10206 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10207 (todo-add-item-if-new-category, todo-always-add-time-string)
10208 (todo-categories-align, todo-categories-archived-label)
10209 (todo-categories-category-label, todo-categories-diary-label)
10210 (todo-categories-done-label, todo-categories-number-separator)
10211 (todo-categories-todo-label, todo-categories-totals-label)
10212 (todo-category-completions-files, todo-completion-ignore-case)
10213 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10214 (todo-done-separator-string, todo-done-string)
10215 (todo-files-function, todo-filter-done-items, todo-filter-files)
10216 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10217 (todo-initial-category, todo-initial-file, todo-item-mark)
10218 (todo-legacy-date-time-regexp, todo-mode-line-function)
10219 (todo-nondiary-marker, todo-number-prefix)
10220 (todo-print-buffer-function, todo-show-current-file)
10221 (todo-show-done-only, todo-show-first, todo-show-with-done)
10222 (todo-skip-archived-categories, todo-top-priorities-overrides)
10223 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10224 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10225 New defcustoms.
10226 (todo-category-done, todo-date-pattern, todo-date-string-start)
10227 (todo-diary-items-buffer, todo-done-string-start)
10228 (todo-filtered-items-buffer, todo-item-start)
10229 (todo-month-abbrev-array, todo-month-name-array)
10230 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10231 (todo-top-priorities-buffer): New defconsts.
10232 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10233 (todo-categories-with-marks, todo-category-string-face)
10234 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10235 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10236 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10237 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10238 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10239 (todo-font-lock-keywords, todo-global-current-todo-file)
10240 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10241 (todo-insertion-commands-args)
10242 (todo-insertion-commands-args-genlist)
10243 (todo-insertion-commands-names, todo-insertion-map)
10244 (todo-key-bindings-t, todo-key-bindings-t+a)
10245 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10246 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10247 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10248 (todo-visited): New variables.
10249
cad5d1cb
GM
102502013-06-21 Glenn Morris <rgm@gnu.org>
10251
10252 * play/cookie1.el (cookie-apropos): Add optional display argument.
10253 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10254 (psychoanalyze-pinhead): Use cookie-doctor.
10255
9e277302
JB
102562013-06-21 Juanma Barranquero <lekktu@gmail.com>
10257
10258 * emacs-lisp/package.el (tar-get-file-descriptor)
10259 (tar--extract): Declare.
10260
c5b0993e
EW
102612013-06-21 Eduard Wiebe <usenet@pusto.de>
10262
10263 Extend flymake's warning predicate to be a function (bug#14217).
10264 * progmodes/flymake.el (flymake-warning-predicate): New.
10265 (flymake-parse-line): Use it.
10266 (flymake-warning-re): Make obsolete alias to
10267 `flymake-warning-predicate'.
10268
a7d2d465
SM
102692013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10272 (package-obsolete-list): Remove.
10273 (package-activate): Remove min-version argument. Add `force' argument.
10274 Adjust to new package-alist format.
10275 (package-mark-obsolete): Remove.
10276 (package-unpack): Force reload of the package's autoloads.
10277 (package-installed-p): Check builtins if the installed package is not
10278 recent enough.
10279 (package-initialize): Don't reset package-obsolete-list.
10280 Don't specify which package version to activate.
10281 (package-process-define-package, describe-package-1)
10282 (package-menu--generate): Adjust to new package-alist format.
10283
cedf5c9d
JB
102842013-06-21 Juanma Barranquero <lekktu@gmail.com>
10285
10286 * allout-widgets.el (allout-widgets-mode-off)
10287 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10288 (allout-widgets-post-command-business)
10289 (allout-widgets-after-copy-or-kill-function)
10290 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10291 (allout-decorate-item-and-context)
10292 (allout-graphics-modification-handler): Fix typos in docstrings.
10293 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10294
10295 * cmuscheme.el (scheme-start-file): Doc fix.
10296 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10297 (scheme-input-filter): Use `string-match-p'.
10298
10299 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10300
10301 * dired-x.el: Use Dired consistently in docstrings.
10302
10303 * dired.el: Use Dired consistently in docstrings.
10304 (dired-readin, dired-mode): Use `setq-local'.
10305 (dired-switches-alist): Make defvar-local.
10306 (dired-buffers-for-dir): Use `zerop'.
10307 (dired-safe-switches-p, dired-switches-escape-p)
10308 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10309 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10310 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10311 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10312 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10313 (dired-toggle-marks, dired-mark-files-containing-regexp)
10314 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10315 (dired-flag-auto-save-files, dired-flag-backup-files):
10316 Use `looking-at-p'.
10317 (dired-mark-files-regexp, dired-build-subdir-alist):
10318 Use `string-match-p', `looking-at-p'.
10319
10320 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10321 (direct-print-region-helper): Use `string-match-p'.
10322
aed838b5
LL
103232013-06-21 Leo Liu <sdl.web@gmail.com>
10324
cedf5c9d
JB
10325 * comint.el (comint-redirect-results-list-from-process):
10326 Fix infinite loop.
aed838b5 10327
d80a808f
LMI
103282013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10329
10330 * net/eww.el (eww-update-header-line-format): Quote % characters.
10331
e7a526e3
GM
103322013-06-21 Glenn Morris <rgm@gnu.org>
10333
10334 * play/cookie1.el (cookie): New custom group.
10335 (cookie-file): New option.
10336 (cookie-check-file): New function.
10337 (cookie): Make it interactive. Make start and end messages optional.
10338 Interactively, display the result. Default to cookie-file.
10339 (cookie-insert): Default to cookie-file.
10340 (cookie-snarf): Make start and end messages optional.
10341 Default to cookie-file. Use with-temp-buffer.
10342 (cookie-read): Rename from read-cookie.
10343 Make start and end messages optional. Default to cookie-file.
10344 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10345 Do not autoload it.
e7a526e3
GM
10346 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10347 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10348
62efb35e
LL
103492013-06-21 Leo Liu <sdl.web@gmail.com>
10350
10351 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10352
21e3f963
GM
103532013-06-21 Glenn Morris <rgm@gnu.org>
10354
10355 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10356
fd846ab4
SM
103572013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10358 Daniel Hackney <dan@haxney.org>
10359
10360 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10361 Consolidate the single-file vs tarball code.
10362 (package-desc-suffix): New function.
10363 (package-desc-full-name): Don't bother inlining it.
10364 (package-load-descriptor): Return the new package-desc.
10365 (package-mark-obsolete): Remove unused arg `package'.
10366 (package-unpack): Make it work for single files as well.
10367 Make it update package-alist.
10368 (package--make-autoloads-and-stuff): Rename from
10369 package--make-autoloads-and-compile. Don't compile any more.
10370 (package--compile): New function.
10371 (package-generate-description-file): New function, extracted from
10372 package-unpack-single.
10373 (package-unpack-single): Remove.
10374 (package--with-work-buffer): Add indentation and debugging info.
10375 (package-download-single): Remove.
10376 (package-install-from-archive): Rename from package-download-tar, make
10377 it take a pkg-desc, and make it work for single files as well.
10378 (package-download-transaction): Simplify.
10379 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10380 external tar program.
10381 (package-install-from-buffer): Remove `pkg-desc' argument.
10382 Use package-tar-file-info for tar-mode buffers.
10383 (package-install-file): Simplify accordingly.
10384 (package-archive-base): Change to take a pkg-desc.
10385 * tar-mode.el (tar--check-descriptor): New function, extracted from
10386 tar-get-descriptor.
10387 (tar-get-descriptor): Use it.
10388 (tar-get-file-descriptor): New function.
10389 (tar--extract): New function, extracted from tar-extract.
10390 (tar--extract): Use it.
10391 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10392 case the summary uses non-ascii. Adjust to new calling convention of
10393 package-tar-file-info.
10394
b7deae5e
LL
103952013-06-21 Leo Liu <sdl.web@gmail.com>
10396
fd846ab4
SM
10397 * comint.el (comint-redirect-results-list-from-process):
10398 Fix random delay. (Bug#14681)
b7deae5e 10399
7a65a0b2
JB
104002013-06-21 Juanma Barranquero <lekktu@gmail.com>
10401
10402 * profiler.el (profiler-format-number): Use log, not log10.
10403
1493c2af
JB
104042013-06-20 Juanma Barranquero <lekktu@gmail.com>
10405
10406 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10407
aff6371e
SM
104082013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10409
10410 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10411 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10412 yet available.
10413 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10414 (AUTOGENEL): ... here.
10415 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10416 (cl--defsubst-expand): Use it.
10417
89561f72
PE
104182013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10419
10420 * subr.el (log10): Move here from C code, and declare as obsolete.
10421 All uses of (log10 X) replaced with (log X 10).
10422
47199123
JB
104232013-06-20 Juanma Barranquero <lekktu@gmail.com>
10424
10425 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10426 Declare with `defvar-local'.
10427 (tabulated-list-use-header-line, tabulated-list-entries)
10428 (tabulated-list-padding, tabulated-list-printer)
10429 (tabulated-list-sort-key): Declare with `defvar-local'.
10430 (tabulated-list-init-header, tabulated-list-print-fake-header):
10431 Use `setq-local'.
10432
4a172eab
MA
104332013-06-20 Michael Albinus <michael.albinus@gmx.de>
10434
47199123
JB
10435 * arc-mode.el (archive-mode): Add `archive-write-file' to
10436 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10437
5fc0acc0
JB
104382013-06-20 Juanma Barranquero <lekktu@gmail.com>
10439
d5b27848
JB
10440 * cus-edit.el (custom-commands): Fix typos.
10441 (custom-display): Fix tooltip text.
10442 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10443 Fix typos in docstrings.
10444 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10445 (custom-unlispify-menu-entry, custom-magic-value-create)
10446 (custom-add-see-also, custom-group-value-create): Use ?\s.
10447 (custom-guess-type, customize-apropos, editable-field)
10448 (custom-face-value-create): Use `string-match-p'.
10449 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10450
10451 * custom.el (custom-load-symbol): Use `string-match-p'.
10452
a5c581d8
JB
10453 * ansi-color.el: Convert to lexical binding.
10454 (ansi-colors): Fix URL.
10455 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10456 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10457 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10458
970ad972
G
104592013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10460
10461 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10462
10463 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10464
104652013-06-19 Tom Tromey <tromey@redhat.com>
10466
10467 * net/eww.el (eww-top-url): Remove.
10468 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10469 (eww-render): Set new variables. Don't set eww-top-url.
10470 (eww-handle-link): Handle "prev", "home", and "contents".
10471 Downcase the rel text.
10472 (eww-top-url): Choose best top URL.
10473
104742013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10475
10476 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10477 relying in widget.el. Using widget.el leads to too many
10478 user interface inconsistencies.
10479 (eww-self-insert): Implement entering commands in text fields.
10480 (eww-process-text-input): New function to make text input field editing
10481 work.
10482 (eww-submit): Rewrite to use the new-style form methods.
10483 (eww-select-display): Display the correct selected item.
10484 (eww-change-select): Implement changing the select value.
10485 (eww-toggle-checkbox): Implement radio/checkboxes.
10486 (eww-update-field): Fix compilation error.
10487 (eww-tag-textarea): Implement <textarea>.
10488
10489 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10490 we don't shadow mode-specific bindings.
10491
10492 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10493 nothing to push.
10494
10495 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10496
4582a01c 104972013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10498
10499 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10500
15b263dc
MA
105012013-06-19 Michael Albinus <michael.albinus@gmx.de>
10502
10503 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10504 not needed.
10505
10506 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10507
8f5297f7
LMI
105082013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509
10510 * net/browse-url.el (browse-url-browser-function):
10511 `eww-browse-url' has the right calling signature, `eww' does not.
10512
011c4552
GM
105132013-06-19 Glenn Morris <rgm@gnu.org>
10514
2285bd27
GM
10515 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10516 Only eval autoloaded macros.
10517 (byte-compile-autoload): Only give the macro warning for macros.
10518
1d653303
GM
10519 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10520 (ps-underlined-faces): Declare.
10521
bdd779ec
GM
10522 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10523 (speedbar-add-supported-extension): Declare.
10524
011c4552
GM
10525 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10526 Don't include a date stamp in the header of the generated file;
10527 it leads to needless differences between output files.
10528
e59dfb0e
MA
105292013-06-19 Michael Albinus <michael.albinus@gmx.de>
10530
c763842b
SM
10531 * net/secrets.el (secrets-struct-secret-content-type):
10532 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10533 Some servers do not offer introspection.
e59dfb0e 10534
102626e2
SM
105352013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * electric.el (electric-pair-mode): Improve interaction with
10538 electric-layout-mode.
10539 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10540 (electric-pair-syntax): Use text-mode-syntax-table in comments
10541 and strings.
10542 (electric-pair--insert): New function.
10543 (electric-pair-post-self-insert-function): Use it and
10544 electric--after-char-pos.
10545
ad528125
LL
105462013-06-19 Leo Liu <sdl.web@gmail.com>
10547
10548 * progmodes/octave.el (octave-help): Fix regexp.
10549
924d6997
G
105502013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10551
10552 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10553 (shr-table-horizontal-line): Allow nil as a value, and change the
10554 default.
10555 (shr-insert-table-ruler): Respect the nil value.
10556
105572013-06-18 Tom Tromey <tromey@barimba>
10558
10559 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10560 New defvars.
10561 (eww-open-file): New defun.
10562 (eww-render): Initialize new variables.
10563 (eww-display-html): Handle "link" and "a".
10564 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10565 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10566 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10567 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10568 New defuns.
924d6997 10569
d1bbba4f
DG
105702013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10571
10572 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10573 Distinguish ternary operator tokens from slash symbol and slash
10574 char literal.
10575
14dd22d2
JB
105762013-06-18 Juanma Barranquero <lekktu@gmail.com>
10577
10578 Convert symbol prettification into minor mode and global minor mode.
10579
10580 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10581 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10582 (prettify-symbols--keywords): Rename from
10583 `prog-prettify-symbols-alist' and make a local defvar.
10584 (prettify-symbols--compose-symbol): Rename from
10585 `prog--prettify-font-lock-compose-symbol'.
10586 (prettify-symbols--make-keywords): Rename from
10587 `prog-prettify-font-lock-symbols-keywords' and simplify.
10588 (prog-prettify-install): Remove.
10589 (prettify-symbols-mode): New minor mode, based on
10590 `prog-prettify-install'.
10591 (turn-on-prettify-symbols-mode): New function.
10592 (global-prettify-symbols-mode): New globalized minor mode.
10593
10594 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10595 * progmodes/cfengine.el (cfengine3-mode):
10596 * progmodes/perl-mode.el (perl-mode): Don't call
10597 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10598
292c880c
JL
105992013-06-18 Juri Linkov <juri@jurta.org>
10600
10601 * files-x.el (modify-file-local-variable-message): New function.
10602 (modify-file-local-variable)
10603 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10604 and call `modify-file-local-variable-message' when it's non-nil.
10605 (add-file-local-variable, delete-file-local-variable)
10606 (add-file-local-variable-prop-line)
10607 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10608 and use it. (Bug#9820)
10609
0950aa27
JL
106102013-06-18 Juri Linkov <juri@jurta.org>
10611
10612 * emulation/vi.el (vi-shell-op):
10613 * emulation/vip.el (vip-execute-com, ex-command):
10614 * emulation/viper-cmd.el (viper-exec-bang):
10615 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10616 the call of `shell-command-on-region'. (Bug#14637)
10617
10618 * simple.el (shell-command-on-region): Doc fix.
10619
8fbcca16
SM
106202013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10623 (bug#14633).
10624
dd7426ea
GM
106252013-06-18 Glenn Morris <rgm@gnu.org>
10626
4ba54f7d
GM
10627 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10628
dd7426ea
GM
10629 * newcomment.el (comment-search-forward, comment-search-backward):
10630 Doc fix. (Bug#14376)
10631
58aa805b
JB
106322013-06-18 Juanma Barranquero <lekktu@gmail.com>
10633
10634 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10635 (buffer-face-mode-invoke): Doc fix.
10636
9a08a617
MM
106372013-06-18 Matthias Meulien <orontee@gmail.com>
10638
10639 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10640 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10641
f2f426ca
GM
106422013-06-18 Glenn Morris <rgm@gnu.org>
10643
9445f99b
GM
10644 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10645 Replace obsolete function generic-make-keywords with its expansion.
10646
e0df2d14
GM
10647 * progmodes/python.el (ffap-alist): Declare.
10648
f2f426ca
GM
10649 * textmodes/reftex.el (bibtex-mode-map): Declare.
10650
f7f9a720
SM
106512013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10652
10653 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10654 (package-unpack, package-unpack-single): Return the pkg-dir.
10655 (package-download-transaction): Use it to update package-alist.
10656
57ff04e0
LMI
106572013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10658
10659 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10660 possible choice.
10661
c048c022
JL
106622013-06-17 Juri Linkov <juri@jurta.org>
10663
10664 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10665
b5bcaee5
DG
106662013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10667
a020afb9
JB
10668 * emacs-lisp/package.el (package-load-descriptor):
10669 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10670 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10671
551e07e5
JB
106722013-06-17 Juanma Barranquero <lekktu@gmail.com>
10673
10674 * startup.el (command-line): Expand package name returned by
10675 `package--description-file' (bug#14639).
10676
d363bffb
DG
106772013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10678
10679 * emacs-lisp/package.el (package-load-descriptor): Do not call
10680 `emacs-lisp-mode', just use its syntax table.
10681
f612933b
JB
106822013-06-17 Juanma Barranquero <lekktu@gmail.com>
10683
10684 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10685 `font-lock-extra-managed-props' if any prettifying keyword is added.
10686 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10687 (prog-mode): Use `setq-local'.
10688
db3b7db5
SM
106892013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * international/characters.el (standard-case-table): Set syntax of ?»
10692 and ?« to punctuation.
10693
f3d674df
JB
106942013-06-16 Juanma Barranquero <lekktu@gmail.com>
10695
10696 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10697 Save relevant match data before calling `syntax-ppss' (bug#14595).
10698
31489a32
JL
106992013-06-15 Juri Linkov <juri@jurta.org>
10700
10701 * files-x.el (modify-file-local-variable-prop-line): Add local
10702 variables to the end of the existing comment on the first line.
10703 Use `file-auto-mode-skip' to skip interpreter magic line,
10704 and also skip XML declaration.
10705
66bd25ab
SM
107062013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10707
10708 * startup.el (package--builtin-versions): New var.
10709 (package-subdirectory-regexp): Remove.
10710 (package--description-file): Hard code its value instead.
10711
10712 * emacs-lisp/package.el: Don't activate packages older than builtin.
10713 (package-obsolete-list): Rename from package-obsolete-alist, and make
10714 it into a simple list of package-desc.
10715 (package-strip-version): Remove.
10716 (package-built-in-p): Use package--builtin-versions.
10717 (package-mark-obsolete): Simplify.
10718 (package-process-define-package): Mark it obsolete if older than the
10719 builtin version.
10720 (package-handle-response): Use line-end-position.
10721 (package-read-archive-contents, package--download-one-archive):
10722 Simplify.
10723 (package--add-to-archive-contents): Skip if older than the builtin or
10724 installed version.
10725 (package-menu-describe-package): Fix last change.
10726 (package-list-unversioned): New var.
10727 (package-menu--generate): Use it.
10728
10729 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10730 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10731 (autoload-builtin-package-versions): New variable.
10732 (autoload-generate-file-autoloads): Use them.
10733 Remove the list of autoloaded functions/macros from the
10734 (autoload...) comments.
10735
10736 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10737
9583ec36
EZ
107382013-06-15 Eli Zaretskii <eliz@gnu.org>
10739
10740 * simple.el (line-move-partial): Don't jump to the next screen
10741 line as soon as it becomes visible. Instead, continue enlarging
10742 the vscroll until the portion of a tall screen line that's left on
10743 display is about the height of the frame's default font.
10744 (Bug#14567)
10745
f0100d8a
GM
107462013-06-15 Glenn Morris <rgm@gnu.org>
10747
b86a85ca
GM
10748 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10749 compilation-error-regexp-alist void, or local while let-bound.
10750
f0100d8a
GM
10751 * progmodes/make-mode.el (makefile-mode-syntax-table):
10752 Treat "=" as punctuation. (Bug#14614)
10753
05e7ce90
JB
107542013-06-15 Juanma Barranquero <lekktu@gmail.com>
10755
10756 * help-fns.el (describe-variable):
10757 Add extra line for permanent-local variables.
10758
12e5e86e
SH
107592013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10760
10761 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10762 Add export, import, library. (Bug#9164)
10763 (library): Set indent function.
10764
230dcbaf
GM
107652013-06-14 Glenn Morris <rgm@gnu.org>
10766
10767 * term/xterm.el (xterm--query):
10768 Stop after first matching handler. (Bug#14615)
10769
e36b2d20 107702013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10771
10772 Add support for dired in saveplace.
10773 * dired.el (dired-initial-position-hook): New variable.
10774 (dired-initial-position): Call hook to place cursor position.
10775 * saveplace.el (save-place-to-alist): Add dired position.
10776 (save-place-dired-hook): New function.
10777
0b31660d
SM
107782013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10779
bf1e6ae8
SM
10780 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10781 through a symbol rather than letrec.
10782
1b8dff23
SM
10783 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10784 (package-desc): Add `dir' field.
10785 (package-desc-full-name): New function.
10786 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10787 (package-maybe-load-descriptor): Remove.
10788 (package-load-all-descriptors): Just call package-load-descriptor.
10789 (package--disabled-p): New function.
10790 (package-desc-vers, package-desc-doc): Remove aliases.
10791 (package--dir): Remove function.
10792 (package-activate): Check if a package is disabled.
10793 (package-process-define-package): New function, extracted from
10794 define-package.
10795 (define-package): Turn into a place holder.
10796 (package-unpack-single, package-tar-file-info):
10797 Use package--description-file.
10798 (package-compute-transaction): Use package--disabled-p.
10799 (package-download-transaction): Don't call
10800 package-maybe-load-descriptor since they're all loaded anyway.
10801 (package-install): Change argument to be a pkg-desc.
10802 (package-delete): Use a single pkg-desc argument.
10803 (describe-package-1): Use package-desc-dir instead of package--dir.
10804 Use package-desc property instead of package-symbol.
10805 (package-install-button-action): Adjust accordingly.
10806 (package--push): Rewrite.
10807 (package-menu--print-info): Adjust accordingly. Change the ID format
10808 to be a pkg-desc.
10809 (package-menu-describe-package, package-menu-get-status)
10810 (package-menu--find-upgrades, package-menu-mark-upgrades)
10811 (package-menu-execute, package-menu--name-predicate):
10812 Adjust accordingly.
10813 * startup.el (package--description-file): New function.
10814 (command-line): Use it.
10815 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10816 Use package-desc-version.
10817
0b31660d
SM
10818 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10819 (byte-compile-preprocess): Use it.
10820 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10821 can't quite recognize.
10822 (byte-compile-add-to-list): Remove.
10823 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10824 (cconv-closure-convert): Add assertion.
10825
10826 * emacs-lisp/map-ynp.el: Use lexical-binding.
10827 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10828 Factor out some repeated code.
10829
de0503df
SM
108302013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * subr.el (with-eval-after-load): New macro.
10833 (eval-after-load): Allow form to be a function.
10834 take advantage of lexical-binding.
10835 (do-after-load-evaluation): Use dolist and adjust to new format.
10836 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10837
bc5c8c5a
JL
108382013-06-13 Juri Linkov <juri@jurta.org>
10839
10840 * replace.el (perform-replace): Display "symbol " and other search
10841 modes from `isearch-message-prefix' in the *Help* buffer.
10842
10843 * isearch.el (isearch-query-replace): Add " symbol" and other
10844 possible search modes from `isearch-message-prefix' to the prompt.
10845 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10846 when reading a regexp to collect.
10847
a22289f7
JL
108482013-06-13 Juri Linkov <juri@jurta.org>
10849
10850 * isearch.el (word-search-regexp): Match whitespace if the search
10851 string begins or ends in whitespace. The LAX arg is applied to
10852 both ends of the search string. Use `regexp-quote' and explicit
10853 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10854 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10855 boundaries are replaced with symbol boundaries, and characters
10856 between symbols match non-word non-symbol syntax. (Bug#14602)
10857
cb89acab
JL
108582013-06-13 Juri Linkov <juri@jurta.org>
10859
10860 * isearch.el (isearch-del-char): Don't exceed the length of
10861 `isearch-string' by the prefix arg. (Bug#14563)
10862
6e8cfc81
JL
108632013-06-13 Juri Linkov <juri@jurta.org>
10864
10865 * isearch.el (isearch-yank-word, isearch-yank-line)
10866 (isearch-char-by-name, isearch-quote-char)
10867 (isearch-printing-char, isearch-process-search-char):
10868 Add optional count prefix arg. (Bug#14563)
10869
10870 * international/isearch-x.el
10871 (isearch-process-search-multibyte-characters):
10872 Add optional count prefix arg.
10873
c23d55f4
VS
108742013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10877 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10878 lexical-binding.
10879
108802013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10881
10882 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10883
ba947bc4
GM
108842013-06-13 Glenn Morris <rgm@gnu.org>
10885
8baeb37a
GM
10886 * startup.el (tty-handle-args):
10887 Don't just discard "--" and anything after. (Bug#14608)
10888
ba947bc4
GM
10889 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10890
9abefce4
MA
108912013-06-13 Michael Albinus <michael.albinus@gmx.de>
10892
10893 Implement changes in Secret Service API. Make it backward compatible.
10894 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10895 (secrets-create-item): Use it. Prefix properties with interface.
10896
5755011f
MH
108972013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10898
10899 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10900 (term-emulate-terminal): Respect term-suppress-hard-newline.
10901
1261d2da
S
109022013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10903
10904 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10905 Only remove a `thumb-file' overlay. (Bug#14548)
10906
868490bb
GJ
109072013-06-12 Grégoire Jadi <daimrod@gmail.com>
10908
10909 * mail/reporter.el (reporter-submit-bug-report):
10910 Handle missing package-name. (Bug#14600)
10911
79d7167f
TH
109122013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10913
10914 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10915 (reftex-citation-prompt, reftex-default-bibliography)
10916 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10917 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10918 (reftex-bib-sort-author, reftex-bib-sort-year)
10919 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10920 (reftex-extract-bib-entries-from-thebibliography)
10921 (reftex-get-bibkey-default, reftex-get-bib-names)
10922 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10923 (reftex-format-bib-entry, reftex-parse-bibitem)
10924 (reftex-format-bibitem, reftex-do-citation)
10925 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10926 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10927 (reftex-insert-bib-matches, reftex-format-citation)
10928 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10929 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10930 existing comments into docstrings.
10931
5f9dbd7a
XF
109322013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10933
10934 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10935
94df41ab
AS
109362013-06-12 Andreas Schwab <schwab@suse.de>
10937
10938 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10939 for auto-save files.
10940
a7f3fecc
GM
109412013-06-12 Glenn Morris <rgm@gnu.org>
10942
001809f6
GM
10943 * ido.el (ido-delete-ignored-files): Remove.
10944 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10945 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10946
834b5ded
EL
109472013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10948
08c73ed2
EL
10949 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10950
834b5ded
EL
10951 * ido.el (ido-delete-ignored-files): New function,
10952 split from ido-make-file-list-1.
10953 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10954 (ido-make-file-list-1): Use ido-delete-ignored-files.
10955
daabf15a
LL
109562013-06-12 Leo Liu <sdl.web@gmail.com>
10957
10958 * progmodes/octave.el (inferior-octave-startup)
10959 (inferior-octave-completion-table)
10960 (inferior-octave-track-window-width-change)
10961 (octave-eldoc-function-signatures, octave-help)
10962 (octave-find-definition): Use single quoted strings.
10963 (inferior-octave-startup-args): Change default value.
10964 (inferior-octave-startup): Do not hard code "-i" and
10965 "--no-line-editing".
10966 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10967 (inferior-octave-directory-tracker): Use it.
10968 (octave-goto-function-definition): Robustify.
10969 (octave-help): Support highlighting operators in 'See also'.
10970 (octave-find-definition): Find subfunctions only in Octave mode.
10971
cf4e5178
SM
109722013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10973
10974 * help-fns.el (help-fns--compiler-macro): If the handler function is
10975 named, then put a link to it.
10976 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10977 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10978 (cl-typep): Use it.
10979 (cl-eval-when): Simplify debug spec.
10980 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10981 compiler-macro function instead of setting `compiler-macro-file'.
10982
99c81280 109832013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10984
10985 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10986 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10987
f56be016
SM
109882013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10989 Daniel Hackney <dan@haxney.org>
10990
10991 First part of Daniel Hackney's patch to package.el.
10992 * emacs-lisp/package.el: Use defstruct.
10993 (package-desc): New, main struct.
10994 (package--bi-desc, package--ac-desc): New structs, used to describe the
10995 format in external files.
10996 (package-desc-vers): Replace with package-desc-version accessor.
10997 (package-desc-doc): Replace with package-desc-summary accessor.
10998 (package-activate-1): Remove `package' arg since the pkg-vec now
10999 includes the name.
11000 (define-package): Use package-desc-from-define.
11001 (package-unpack-single): Change file-name arg to be a symbol.
11002 (package--add-to-archive-contents): Use package-desc-create and new
11003 accessor functions to package--ac-desc.
11004 (package-buffer-info, package-tar-file-info): Return a package-desc.
11005 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11006 arg to be a package-desc.
11007 (package-install-file): Adjust accordingly. Use \' to match EOS.
11008 (package--from-builtin): New function.
11009 (describe-package-1, package-menu--generate): Use it.
11010 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11011 (package-generate-autoloads): Idem and return the name of the file.
11012 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11013 Change pkg-info arg to be a package-desc.
11014 Use package-make-ac-desc.
11015 (package-upload-file): Use \' to match EOS.
11016 * finder.el (finder-compile-keywords): Use package-make-builtin.
11017
31119d63
SM
110182013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11019
931a2762
SM
11020 * vc/vc.el (vc-deduce-fileset): Change error message.
11021 (vc-read-backend): New function.
11022 (vc-next-action): Use it.
11023
5a3eb0c6
SM
11024 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11025
e3eb1bb7
SM
11026 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11027 (prolog-font-lock-keywords): Use regexp-opt instead.
11028 Don't manually highlight strings.
11029 (prolog-mode-variables): Simplify comment-start-skip.
11030 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11031
31119d63
SM
11032 * emacs-lisp/generic.el (generic--normalise-comments)
11033 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11034 (generic-mode-set-comments): Use them.
11035 (generic-bracket-support): Use setq-local.
11036 (generic-make-keywords-list): Declare obsolete.
11037
7de135d0
GM
110382013-06-11 Glenn Morris <rgm@gnu.org>
11039
11040 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11041 Prettify after setting font-lock-defaults. (Bug#14574)
11042
fa6bc6fd
JB
110432013-06-11 Juanma Barranquero <lekktu@gmail.com>
11044
11045 * replace.el (query-replace, occur-read-regexp-defaults-function)
11046 (replace-search):
11047 * subr.el (declare-function, number-sequence, local-set-key)
11048 (substitute-key-definition, locate-user-emacs-file)
11049 (with-silent-modifications, split-string, eval-after-load):
11050 Fix typos, remove unneeded backslashes and reflow some docstrings.
11051
cf1f9b9a
SM
110522013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11055 default for Elisp files.
11056
56602a4b
GM
110572013-06-11 Glenn Morris <rgm@gnu.org>
11058
11059 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11060 although define-derived-mode was doing this anyway. (Bug#14583)
11061
30ae0b2c
JB
110622013-06-10 Juanma Barranquero <lekktu@gmail.com>
11063
11064 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11065 Fix make-variable-buffer-local call to refer to the correct variable.
11066
fa472906
AG
110672013-06-10 Aidan Gauland <aidalgol@amuri.net>
11068
11069 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11070 (eshell-visual-subcommands, eshell-visual-options):
11071 Add summary line to docstrings. Add cross-references.
fa472906 11072
ff4871b9
GM
110732013-06-10 Glenn Morris <rgm@gnu.org>
11074
11075 * epa.el (epa-read-file-name): New function. (Bug#14510)
11076 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11077
04fcf1b0
AG
110782013-06-09 Aidan Gauland <aidalgol@amuri.net>
11079
11080 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11081 output redirection to be ignored with visual commands.
11082
88b00caa
AG
110832013-06-09 Aidan Gauland <aidalgol@amuri.net>
11084
11085 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11086 (eshell-term-initialize): Move long lambda to separate function
11087 eshell-visual-command-p.
27821a89 11088 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11089 * eshell/em-script.el (eshell-script-initialize):
11090 Add missing #' to lambda.
88b00caa 11091
fda74125
LL
110922013-06-08 Leo Liu <sdl.web@gmail.com>
11093
11094 * progmodes/octave.el (octave-add-log-current-defun): New function.
11095 (octave-mode): Set add-log-current-defun-function.
11096 (octave-goto-function-definition): Do not move point if not found.
11097 (octave-find-definition): Enhance to try subfunctions first.
11098
467f3b33
GM
110992013-06-08 Glenn Morris <rgm@gnu.org>
11100
11101 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11102 (byte-compile-backward-char, byte-compile-backward-word):
11103 Improve previous change, to handle non-explicit nil.
11104
544badc3
SM
111052013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11106
11107 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11108 (smie--opener/closer-at-point): New function.
11109 (smie--matching-block-data): Use it. Don't match from right after an
11110 opener or right before a closer. Obey smie-blink-matching-inners.
11111 Don't signal a mismatch for repeated inners like "switch..case..case".
11112
a175bf33
LL
111132013-06-07 Leo Liu <sdl.web@gmail.com>
11114
11115 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11116 to t. (Bug#14303)
ce8209d4
LL
11117 (octave-function-header-regexp): Fix. (Bug#14570)
11118 (octave-help-mode-finish-hook, octave-help-mode-finish):
11119 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11120
11121 * newcomment.el (comment-search-backward): Revert last change.
11122 (Bug#14434)
11123
11124 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11125
a822acff
EZ
111262013-06-07 Eli Zaretskii <eliz@gnu.org>
11127
11128 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11129 through xargs, to avoid failure due to MS-Windows limitations on
11130 command-line length.
11131
961166f5
GM
111322013-06-06 Glenn Morris <rgm@gnu.org>
11133
d0341459
GM
11134 * font-lock.el (lisp-font-lock-keywords-2):
11135 Treat user-error like error.
11136
961166f5
GM
11137 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11138 (byte-compile-backward-char, byte-compile-backward-word):
11139 Handle explicit nil arguments. (Bug#14565)
11140
80fa505f
AM
111412013-06-05 Alan Mackenzie <acm@muc.de>
11142
11143 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11144 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11145 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11146 (Bug#9706)
80fa505f 11147
fccdc796
SM
111482013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11149
11150 * autorevert.el (auto-revert-notify-handler): Use memq.
11151 Hide assertion failure.
11152
11153 * skeleton.el: Use cl-lib.
11154 (skeleton-further-elements): Use defvar-local.
11155 (skeleton-insert): Use cl-progv.
11156
9bfff84b
TZ
111572013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11158
11159 * progmodes/prog-mode.el (prog-prettify-symbols)
11160 (prog-prettify-install): Update docstrings.
11161
55577e7c
SM
111622013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * simple.el: Move all the prog-mode code to prog-mode.el.
11165 * progmodes/prog-mode.el: New file.
11166 * loadup.el: Add prog-mode.el.
11167
8fc57765
TZ
111682013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11169
11170 * simple.el (prog-prettify-symbols): Add version.
11171 (prog-prettify-install): Add convenience function to prettify symbols.
11172
11173 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11174 (perl--augmented-font-lock-keywords-1)
11175 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11176 variables and use it.
11177
11178 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11179 (cfengine3-mode): Remove unneeded variable and use it.
11180
11181 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11182 (lisp--augmented-font-lock-keywords-1)
11183 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11184 Remove unneeded variables and use it.
11185
650645d5 111862013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11187
11188 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11189 to point when opening the connection. (Bug#14380)
28f5da6d 11190
781b4af6
SM
111912013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * subr.el (load-history-regexp, load-history-filename-element)
11194 (eval-after-load, after-load-functions, do-after-load-evaluation)
11195 (eval-next-after-load, display-delayed-warnings)
11196 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11197 definition of save-match-data.
11198 (overriding-local-map): Remove accidental obsolescence declaration.
11199
11200 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11201
3ca0d0b4
TZ
112022013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11203
11204 Generalize symbol prettify support to prog-mode and implement it
11205 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11206 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11207 (prog--prettify-font-lock-compose-symbol)
11208 (prog-prettify-font-lock-symbols-keywords): New variables and
11209 functions to support symbol prettification.
11210 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11211 (lisp--augmented-font-lock-keywords-1)
11212 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11213 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11214 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11215 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11216 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11217 * progmodes/perl-mode.el (perl-prettify-symbols)
11218 (perl--font-lock-compose-symbol)
11219 (perl--font-lock-symbols-keywords): Move to prog-mode.
11220 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11221 (perl-font-lock-keywords-1)
11222 (perl-font-lock-keywords-2): Remove explicit prettify support.
11223 (perl--augmented-font-lock-keywords)
11224 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11225 (perl--augmented-font-lock-keywords-2, perl-mode):
11226 Implement prettify support.
3ca0d0b4 11227
976cb066
LL
112282013-06-05 Leo Liu <sdl.web@gmail.com>
11229
27821a89 11230 Re-implement SMIE matching block highlight using
976cb066
LL
11231 show-paren-data-function. (Bug#14395)
11232 * emacs-lisp/smie.el (smie-matching-block-highlight)
11233 (smie--highlight-matching-block-overlay)
11234 (smie--highlight-matching-block-lastpos)
11235 (smie-highlight-matching-block)
11236 (smie-highlight-matching-block-mode): Remove.
11237 (smie--matching-block-data-cache): New variable.
11238 (smie--matching-block-data): New function.
11239 (smie-setup): Use smie--matching-block-data for
11240 show-paren-data-function.
11241
11242 * progmodes/octave.el (octave-mode-menu): Fix.
11243 (octave-find-definition): Skip garbage lines.
11244
208d0342
SM
112452013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 Fix compilation error with simultaneous dynamic+lexical scoping.
11248 Add warning when a defvar appears after the first let-binding.
11249 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11250 (byte-compile-close-variables): Initialize it.
11251 (byte-compile--declare-var): New function.
11252 (byte-compile-file-form-defvar)
11253 (byte-compile-file-form-define-abbrev-table)
11254 (byte-compile-file-form-custom-declare-variable): Use it.
11255 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11256 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11257 (byte-compile-bind): Handle dynamic bindings that shadow
11258 lexical bindings.
11259 (byte-compile-unbind): Make arg non-optional.
11260 (byte-compile-let): Simplify.
11261 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11262 (cconv--analyse-function, cconv-analyse-form): Populate it.
11263 Protect byte-compile-bound-variables to limit the scope of defvars.
11264 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11265 Remove unneeded rule for `declare'.
11266
11267 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11268 so as to avoid depending on cl-adjoin at run-time.
11269 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11270
11271 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11272 (macroexp--warn-and-return): Use it.
11273
1ac2891e
GM
112742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11275
a12bf61e 11276 * subr.el: Convert to lexical binding.
1ac2891e
GM
11277 (overriding-local-map): Make obsolete.
11278 (add-to-list): Doc fix. Add compiler macro.
11279 (read-key): Swap values of local maps.
11280
2587b005
LL
112812013-06-05 Leo Liu <sdl.web@gmail.com>
11282
11283 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11284
f1da3c88
LL
112852013-06-04 Leo Liu <sdl.web@gmail.com>
11286
11287 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11288 (compilation-auto-jump): Suppress the "Mark set" message to give
11289 way to exit message.
11290
3caa391f
AM
112912013-06-04 Alan Mackenzie <acm@muc.de>
11292
11293 Remove faulty optimisation from indentation calculation.
11294 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11295 search limit based on 2000 characters back from indent-point.
11296
068922a2
TH
112972013-06-03 Tassilo Horn <tsdh@gnu.org>
11298
11299 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11300
1f8fdd53
SM
113012013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11302
bbcc4d97
SM
11303 * emacs-lisp/lisp.el: Use lexical-binding.
11304 (lisp--local-variables-1, lisp--local-variables): New functions.
11305 (lisp--local-variables-completion-table): New var.
208d0342 11306 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11307
1f8fdd53
SM
11308 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11309 eagerly (bug#14422).
11310
c9628c79
MA
113112013-06-03 Michael Albinus <michael.albinus@gmx.de>
11312
11313 * autorevert.el (auto-revert-notify-enabled)
11314 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11315 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11316 (auto-revert-notify-handler): Handle also gfilenotify.
11317
e7b41c4c 11318 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11319 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11320 Remove.
c9628c79 11321
e5e4a942
JL
113222013-06-03 Juri Linkov <juri@jurta.org>
11323
11324 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11325 `M-s h .'. (Bug#14427)
11326
11327 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11328 command `hi-lock-face-symbol-at-point'.
11329 (hi-lock-face-symbol-at-point): New command.
11330 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11331 (hi-lock-menu): Add `highlight-symbol-at-point'.
11332 (hi-lock-mode): Doc fix.
11333
11334 * isearch.el (isearch-forward-symbol-at-point): New command.
11335 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11336 (isearch-highlight-regexp): Add a regexp which matches
11337 words/symbols for word/symbol mode.
11338
11339 * subr.el (find-tag-default-bounds): New function with the body
11340 mostly moved from `find-tag-default'.
11341 (find-tag-default): Move most code to `find-tag-default-bounds',
11342 call it and apply `buffer-substring-no-properties' afterwards.
11343
26b3353a
TH
113442013-06-03 Tassilo Horn <tsdh@gnu.org>
11345
781b4af6
SM
11346 * eshell/em-term.el (eshell-term-initialize):
11347 Use `cl-intersection' rather than `intersection'.
26b3353a 11348
51b60f53
XF
113492013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11350
fe054b63 11351 * vc/log-view.el: Doc fix.
d3ffe17c 11352 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11353
a0eb10b3 113542013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11355
11356 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11357 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11358 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11359 (eieio-unbound, eieio-default-superclass)
11360 (eieio--define-field-accessors, method-static, method-before)
11361 (method-primary, method-after, method-num-lists)
11362 (method-generic-before, method-generic-primary)
11363 (method-generic-after, method-num-slots)
11364 (eieio-specialized-key-to-generic-key)
11365 (eieio--check-type, class-v, class-p)
11366 (eieio-class-name, define-obsolete-function-alias)
11367 (eieio-class-parents-fast, eieio-class-children-fast)
11368 (same-class-fast-p, class-constructor, generic-p)
11369 (generic-primary-only-p, generic-primary-only-one-p)
11370 (class-option-assoc, class-option, eieio-object-p)
11371 (class-abstract-p, class-method-invocation-order)
11372 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11373 (eieio-class-un-autoload, eieio-defclass)
11374 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11375 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11376 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11377 (eieio-defgeneric-reset-generic-form)
11378 (eieio-defgeneric-form-primary-only)
11379 (eieio-defgeneric-reset-generic-form-primary-only)
11380 (eieio-defgeneric-form-primary-only-one)
11381 (eieio-defgeneric-reset-generic-form-primary-only-one)
11382 (eieio-unbind-method-implementations)
11383 (eieio--defmethod, eieio--typep)
11384 (eieio-perform-slot-validation, eieio-validate-slot-value)
11385 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11386 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11387 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11388 (eieio-slot-name-index, eieio-class-slot-name-index)
11389 (eieio-set-defaults, eieio-initarg-to-attribute)
11390 (eieio-attribute-to-initarg, eieio-c3-candidate)
11391 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11392 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11393 (eieio-class-precedence-list, eieio-generic-call-methodname)
11394 (eieio-generic-call-arglst, eieio-generic-call-key)
11395 (eieio-generic-call-next-method-list)
11396 (eieio-pre-method-execution-functions, eieio-generic-call)
11397 (eieio-generic-call-primary-only, eieiomt-method-list)
11398 (eieiomt-optimizing-obarray, eieiomt-install)
11399 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11400 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11401 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11402 (defclass): Remove `eval-and-compile' from macro.
11403 (call-next-method, shared-initialize): Instead of using
11404 `scoped-class' variable, use new eieio--scoped-class, and
11405 eieio--with-scoped-class.
11406 (initialize-instance): Rename local variable 'scoped-class' to
11407 'this-class' to remove ambiguitity from old global.
11408
11409 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11410 eieio.el.
4f405069
JB
11411 (eieio--scoped-class-stack): New variable.
11412 (eieio--scoped-class): New fcn.
890f7890
DE
11413 (eieio--with-scoped-class): New scoping macro.
11414 (eieio-defclass): Use pushnew instead of add-to-list.
11415 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11416 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11417 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11418 `scoped-class' variable, use new eieio--scoped-class, and
11419 eieio--with-scoped-class.
11420
11421 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11422
d105b0e2
TH
114232013-06-02 Tassilo Horn <tsdh@gnu.org>
11424
11425 * eshell/esh-ext.el (eshell-external-command): Pass args to
11426 `eshell-find-interpreter'.
11427 (eshell-find-interpreter): Add new second parameter ARGS.
11428
11429 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11430 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11431
11432 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11433 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11434
11435 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11436 (eshell-visual-options): New defcustom.
11437 (eshell-escape-control-x): Adapt docstring.
11438 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11439 `eshell-visual-options' in addition to `eshell-visual-commands'.
11440 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11441
f46305c8 114422013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11443
11444 * progmodes/python.el (python-indent-block-enders): Add break,
11445 continue and raise keywords.
11446
d870df21
GM
114472013-06-01 Glenn Morris <rgm@gnu.org>
11448
9133b82e
GM
11449 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11450
02c992ec 11451 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11452 * progmodes/cc-cmds.el (delete-forward-p):
11453 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11454 * progmodes/cc-engine.el (buffer-syntactic-context):
11455 * progmodes/cc-fonts.el (face-property-instance):
11456 * progmodes/cc-mode.el (set-keymap-parents):
11457 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11458 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11459 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11460 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11461 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11462
31e7b090
GM
11463 * progmodes/cc-vars.el (other): Emacs has this widget since
11464 at least 21.1, so don't (re)define it.
11465
d870df21
GM
11466 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11467 Replace the obsolete alias pcomplete-arg-quote-list.
11468
c75c93c7
LL
114692013-06-01 Leo Liu <sdl.web@gmail.com>
11470
11471 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11472 punctuation syntax.
11473 (inferior-octave-minimal-columns)
11474 (inferior-octave-last-column-width): New variables.
11475 (inferior-octave-track-window-width-change): New function.
11476 (inferior-octave-mode): Adjust column width so that Octave output,
11477 for example from 'ls', can fit into the window nicely.
11478
973d1e12
DG
114792013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11480
11481 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11482 Highlight expansions inside regexp literals.
11483
0888c286
GM
114842013-05-31 Glenn Morris <rgm@gnu.org>
11485
e26aac1f
GM
11486 * obsolete/sym-comp.el (symbol-complete):
11487 Replace obsolete completion-annotate-function.
11488
0888c286
GM
11489 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11490
19bb8e62
DG
114912013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11492
781b4af6
SM
11493 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11494 New function, checks if point is inside a literal that allows
19bb8e62
DG
11495 expression expansion.
11496 (ruby-syntax-propertize-expansion): Use it.
11497 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11498 around the body.
11499
01dea85f
JL
115002013-05-30 Juri Linkov <juri@jurta.org>
11501
11502 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11503 to "\M-si".
11504 (isearch-invisible): New variable.
11505 (isearch-forward): Doc fix.
11506 (isearch-mode): Set `isearch-invisible'
11507 to the value of `search-invisible'.
11508 (isearch-toggle-case-fold): Doc fix.
11509 (isearch-toggle-invisible): New command.
11510 (isearch-query-replace): Let-bind `search-invisible'
11511 to the value of `isearch-invisible'.
11512 (isearch-search): Use `isearch-invisible' instead of
11513 `search-invisible'. Let-bind `search-invisible'
11514 to the value of `isearch-invisible'. (Bug#11378)
11515
ab1bdce5
JL
115162013-05-30 Juri Linkov <juri@jurta.org>
11517
11518 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11519 call when `query-flag' is nil and `search-invisible' is non-nil.
11520 (Bug#11746)
11521
d6d236e2
GM
115222013-05-30 Glenn Morris <rgm@gnu.org>
11523
8accd027
GM
11524 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11525
2a8bed1c
GM
11526 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11527 (cc-require): Suppress spurious "noruntime" warnings.
11528 (cc-require-when-compile): Use fboundp, for sake of compiler.
11529
d6d236e2
GM
11530 * progmodes/cc-mode.el: Move load of cc-vars before that of
11531 cc-langs (which in turn loads cc-vars), to quieten compiler.
11532
9190b35b
SM
115332013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11534
11535 * paren.el: Simplify the code.
11536 (show-paren-mode): Always start the timer.
11537 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11538 (show-paren--overlay, show-paren--overlay-1): Rename from
11539 show-paren-overlay and show-paren-overlay-1, and initialize to an
11540 overlay rather than to nil.
11541 (show-paren-function): Misc cleanup and simplifications.
11542
4f8d1cf6
SM
115432013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * paren.el (show-paren-data-function): New hook.
11546 (show-paren--default): New function, extracted from show-paren-function.
11547 (show-paren-function): Use show-paren-data-function.
11548
02d844b5
GM
115492013-05-30 Glenn Morris <rgm@gnu.org>
11550
d209d4a9
GM
11551 * ielm.el (ielm-map, ielm-complete-symbol):
11552 Use completion-at-point rather than obsolete functions.
11553 (inferior-emacs-lisp-mode): Doc fix.
11554 Set completion-at-point-functions, rather than
11555 comint-dynamic-complete-functions.
11556
2082faa6
GM
11557 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11558 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11559 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11560
dd8620de
GM
11561 * image.el (image-animated-p): Tweak definition.
11562
ceca95b1
GM
11563 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11564 (rlogin-process-connection-type): Tweak default. Add set-after.
11565 (rlogin-host): Doc fix.
11566 (rlogin): Tweak prompt.
11567 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11568
ee9f1acc
GM
11569 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11570 * progmodes/tcl.el (inferior-tcl-mode-map):
11571 Use completion-at-point rather than obsolete alias.
11572
45ce222e
GM
11573 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11574
02d844b5
GM
11575 * minibuffer.el (read-file-name-completion-ignore-case):
11576 Move before completion--in-region, for eager macro expansion.
11577
ac44d6c1
JL
115782013-05-29 Juri Linkov <juri@jurta.org>
11579
11580 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11581 for total count of matching lines. Add `global-matches' for total
11582 count of matches. Rename `matches' to `lines' for count of
11583 matching lines. Add `matches' for count of matches.
11584 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11585 to `prev-line' for line number of prev match endpt.
11586 Increment `matches' for every match. Print the number of
11587 matching lines in the header.
11588 (occur-context-lines): Rename `lines' to `curr-line'.
11589 Rename `prev-lines' to `prev-line'. (Bug#14017)
11590
3c9c9d38
JL
115912013-05-29 Juri Linkov <juri@jurta.org>
11592
11593 * replace.el (perform-replace): Add `skip-read-only-count',
11594 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11595 Increment them for corresponding conditions and report the number
11596 of skipped occurrences in the final message. (Bug#11746)
11597 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11598 (replace-string, replace-regexp): Doc fix.
11599
33e249a2
SM
116002013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11601
8e399682
SM
11602 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11603
33e249a2 11604 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11605 prog-mode-map (bug#14504).
33e249a2 11606
f236dd84
LL
116072013-05-29 Leo Liu <sdl.web@gmail.com>
11608
11609 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11610 (octave-help): Small simplification.
11611
11612 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11613 off the highlight first.
11614
3694d13f
GM
116152013-05-29 Glenn Morris <rgm@gnu.org>
11616
03983bdc
GM
11617 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11618 Handle idlwave-last-system-routine-info-cons-cell being nil.
11619
bc74a74a
GM
11620 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11621 (idlwave-write-paths): Simplify via with-temp-buffer.
11622
8b394200
GM
11623 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11624 * emulation/cua-rect.el: Also load cua-base at run time.
11625
3694d13f
GM
11626 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11627 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11628 (cperl-imenu-on-info): Require imenu.
11629
336d7284
AM
116302013-05-28 Alan Mackenzie <acm@muc.de>
11631
11632 Handle "capitalised keywords" correctly.
33e249a2 11633 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11634
cb29c582
AG
116352013-05-28 Aidan Gauland <aidalgol@amuri.net>
11636
781b4af6 11637 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11638
690e44b2
GM
116392013-05-28 Glenn Morris <rgm@gnu.org>
11640
e658d75c
GM
11641 * vc/vc-arch.el (vc-exec-after): Declare.
11642 (vc-switches): Autoload.
11643 * vc/vc-bzr.el: No need to require vc when compiling.
11644 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11645 (vc-resynch-buffer, vc-dir-refresh): Declare.
11646 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11647 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11648 (vc-resynch-buffer): Declare.
11649 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11650 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11651 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11652 (grep-read-regexp, grep-read-files, grep-expand-template)
11653 (vc-dir-refresh): Declare.
11654 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11655 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11656 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11657 * vc/vc-mtn.el (vc-exec-after): Declare.
11658 (vc-switches): Autoload.
11659 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11660 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11661 (vc-file-tree-walk): Declare.
712b9732
GM
11662 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11663 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11664 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11665 * vc/vc-svn.el (vc-exec-after): Declare.
11666 (vc-switches, vc-setup-buffer): Autoload.
11667 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11668 Autoload.
11669 (vc-resynch-buffer): Declare.
11670
98e87fb3
GM
11671 * obsolete/fast-lock.el (byte-compile-warnings):
11672 Don't warn about obsolete features in this obsolete file.
11673
f5379553
GM
11674 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11675 Move definition before use.
11676
7a20ef83
GM
11677 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11678 (dun-unix-verbs): Remove dun-zippy.
11679 (dun-zippy): Remove function.
11680
690e44b2
GM
11681 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11682
3a52ccf7
JL
116832013-05-27 Juri Linkov <juri@jurta.org>
11684
11685 * replace.el (replace-search): New function with code moved out
11686 from `perform-replace'.
11687 (replace-highlight, replace-dehighlight): Move function definitions
11688 up closer to `replace-search'. (Bug#11746)
11689
d289938a
JL
116902013-05-27 Juri Linkov <juri@jurta.org>
11691
11692 * replace.el (perform-replace): Ignore invisible matches.
11693 In addition to checking `query-replace-skip-read-only', also
11694 filter out matches by calling `run-hook-with-args-until-failure'
11695 on `isearch-filter-predicates', and also check `search-invisible'
11696 for t or call `isearch-range-invisible'.
11697 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11698
66fc57e3
JL
116992013-05-27 Juri Linkov <juri@jurta.org>
11700
11701 * isearch.el (isearch-filter-predicates): Rename from
11702 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11703 (isearch-message-prefix): Display text from the property
11704 `isearch-message-prefix' of the currently active filters.
11705 (isearch-search): Don't compare `isearch-filter-predicate' with
11706 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11707 on `isearch-filter-predicates'. Also check `search-invisible' for t
11708 or call `isearch-range-invisible'.
11709 (isearch-filter-visible): Make obsolete.
11710 (isearch-lazy-highlight-search):
11711 Call `run-hook-with-args-until-failure' on
11712 `isearch-filter-predicates' and use `isearch-range-invisible'.
11713
11714 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11715 `isearch-filter-predicates' instead of `funcall'ing
11716 `isearch-filter-predicate'.
11717 (Info-mode): Set `Info-isearch-filter' to
11718 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11719
11720 * dired-aux.el (dired-isearch-filter-predicate-orig):
11721 Remove variable.
11722 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11723 (dired-isearch-filenames-end): Add and remove
11724 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11725 instead of changing the value of `isearch-filter-predicate'.
11726 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11727 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11728 Put property `isearch-message-prefix' to "filename " on
11729 `dired-isearch-filter-filenames'.
11730
11731 * wdired.el (wdired-change-to-wdired-mode):
11732 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11733 locally instead of changing `isearch-filter-predicate'.
11734 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11735
f1a60a0f
DG
117362013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11737
11738 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11739 return the commit hash (Bug#14459). Also set the
11740 `vc-git-detached' property.
11741 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11742 (vc-git-mode-line-string): Use the same help-echo format whether
11743 in detached mode or not, because we know the actual revision now.
11744 When in detached mode, shorten the revision to 7 chars.
11745
7f17cc40
SM
117462013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * emacs-lisp/easy-mmode.el (define-minor-mode):
11749 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11750 mode hook and provide a docstring.
11751
25c8401c
AM
117522013-05-27 Alan Mackenzie <acm@muc.de>
11753
11754 Remove spurious syntax-table text properties inserted by C-y.
11755 * progmodes/cc-mode.el (c-after-change): Also clear hard
11756 syntax-table property with value nil.
11757
dde84790
MA
117582013-05-27 Michael Albinus <michael.albinus@gmx.de>
11759
11760 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11761 when reading the events; the buffer layout shall not be changed.
11762
837fd9af
LL
117632013-05-27 Leo Liu <sdl.web@gmail.com>
11764
11765 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11766 New variable.
11767 (inferior-octave-directory-tracker): Automatically re-sync
11768 default-directory.
11769 (octave-help): Improve handling of 'See also'.
11770
4fd996b3
SM
117712013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11772
416f1802
SM
11773 * doc-view.el: Minor naming convention tweaks.
11774 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11775
4fd996b3
SM
11776 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11777 even if there's no `display' property yet (bug#14435).
11778
a052ef3b
EZ
117792013-05-25 Eli Zaretskii <eliz@gnu.org>
11780
4fd996b3 11781 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11782
11783 * Makefile.in (custom-deps, finder-data, autoloads)
11784 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11785 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11786 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11787
c9023370
SM
117882013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11791 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11792 Don't burp at EOB.
c9023370 11793
24d699fa
LL
117942013-05-25 Leo Liu <sdl.web@gmail.com>
11795
11796 * comint.el (comint-previous-matching-input): Do not flood the
11797 *Messages* buffer with trivial messages.
11798
17e5c0cc
SM
117992013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * progmodes/flymake.el (flymake-nop): Don't return a string.
11802 (flymake-set-at): Fix typo.
11803
11804 * simple.el (read--expression): New function, extracted from
11805 eval-expression. Set completion-at-point-functions (bug#14465).
11806 (eval-expression, eval-minibuffer): Use it.
11807
5d028165
XF
118082013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11809
11810 * progmodes/flymake.el (flymake-save-buffer-in-file)
11811 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11812 (flymake-selected-frame, flymake-log, flymake-ins-after)
11813 (flymake-set-at, flymake-get-buildfile-from-cache)
11814 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11815 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11816 Refine the doc string.
11817 (flymake-get-file-name-mode-and-masks): Reformat.
11818 (flymake-get-real-file-name-function): Fix a minor bug.
11819
7a1d7ba7
JL
118202013-05-24 Juri Linkov <juri@jurta.org>
11821
11822 * progmodes/grep.el (grep-mode-font-lock-keywords):
11823 Support =linenumber= format used by git-grep for lines with
11824 function names. (Bug#13549)
11825
650cff3d
SM
118262013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11829 0 after a semi-colon; it works better for smie-auto-fill.
11830 (octave--indent-new-comment-line): New function.
11831 (octave-indent-new-comment-line): Use it (indirectly).
11832 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11833 modify comment-line-break-function.
11834
11835 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11836 (smie-setup): Use add-function to set it.
11837
9631677d
SS
118382013-05-24 Sam Steingold <sds@gnu.org>
11839
11840 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11841 argument (before the `interactive' argument).
11842
50105835
SM
118432013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * image-mode.el (image-mode-winprops): Add winprops to
11846 image-mode-winprops-alist before running
11847 image-mode-new-window-functions.
11848 * doc-view.el (doc-view-new-window-function): Don't delay
11849 doc-view-goto-page via timers (bug#14435).
11850
57b9823e
TH
118512013-05-24 Tassilo Horn <tsdh@gnu.org>
11852
11853 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11854 (doc-view-desktop-save-buffer): New function.
11855 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11856 (desktop-buffer-mode-handlers):
11857 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11858 handler.
11859 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11860 `desktop-save-buffer' function.
11861
91aafa16
MA
118622013-05-24 Michael Albinus <michael.albinus@gmx.de>
11863
11864 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11865 (tramp-gvfs-file-name-handler): Raise a user error when
11866 `tramp-gvfs-enabled' is nil.
11867 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11868 Do not raise a user error when loading package. (Bug#14447)
11869
ec076379
MA
11870 * net/xesam.el: Move to obsolete/.
11871
db785726
GM
118722013-05-24 Glenn Morris <rgm@gnu.org>
11873
af5c7606
GM
11874 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11875
e5d1916a
GM
11876 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11877
ded62b08
GM
11878 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11879 (Info-find-node, Man-getpage-in-background): Declare.
11880
9e614a3f
GM
11881 * mail/unrmail.el (unrmail):
11882 Replace obsolete detect-coding-with-priority.
11883
892f8ca3
GM
11884 * net/socks.el (socks-split-string): Use this rather than split-string.
11885 (socks-nslookup-host): Update for above change.
11886 (dynamic-choice, s5-dynamic-choice-match)
11887 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11888 Comment out unused code.
11889
3c291973
GM
11890 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11891 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11892 (gud-tooltip-echo-area): Make obsolete.
11893 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11894
43cc956b
GM
11895 * progmodes/js.el (js--optimize-arglist): Declare.
11896
dab49a3b
GM
11897 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11898
36b9d085
GM
11899 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11900 (ediff-window-C): Declare.
11901
e354ae76
GM
11902 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11903 Tweak requires to silence compiler.
11904
b8e57bf4
GM
11905 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11906 (he-search-string, he-tried-table, he-expand-list)
11907 (he-init-string, he-string-member, he-substitute-string)
11908 (he-reset-string): Declare.
11909
db785726
GM
11910 * obsolete/options.el (list-options): Use custom-variable-p,
11911 rather than obsolete alias.
11912
b3531901
SS
119132013-05-23 Sam Steingold <sds@gnu.org>
11914
11915 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11916 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11917 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11918
bdda4c66
SM
119192013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * emacs-lisp/smie.el (smie-indent-forward-token)
11922 (smie-indent-backward-token): Handle string tokens (bug#14381).
11923
c43d45f9
TH
119242013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11925
fe1eb856
RS
11926 * ielm.el (ielm-menu): New menu.
11927 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11928
fe1eb856
RS
119292013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11930
a12bf61e 11931 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11932 Fix deactivate action.
11933
a12bf61e 11934 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11935 Add cleveref macros.
074dd971 11936
a12bf61e 11937 * textmodes/reftex-parse.el
c43d45f9
TH
11938 (reftex-locate-bibliography-files): Accept options for
11939 bibliography commands.
a12bf61e 11940 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11941 Add addbibresource. Basic Biblatex support.
11942
7764286e
MA
119432013-05-23 Michael Albinus <michael.albinus@gmx.de>
11944
11945 * net/tramp-gvfs.el (top):
11946 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11947 when loading package. (Bug#14447)
11948
d361bc10
GM
119492013-05-23 Glenn Morris <rgm@gnu.org>
11950
8fa23984
GM
11951 * progmodes/js.el: No need to load comint when compiling.
11952 (ring-insert, comint-send-string, comint-send-input)
11953 (comint-last-input-end, ido-chop): Declare.
11954
a5c7df1a
GM
11955 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11956 * vc/ediff-mult.el: Adjust requires.
11957 (ediff-directories-internal, ediff-directory-revisions-internal)
11958 (ediff-patch-file-internal): Declare.
11959 * vc/ediff-ptch.el: Adjust requires.
11960 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11961 (ediff-find-file): Autoload.
11962 * vc/ediff-util.el: No need to load ediff when compiling.
11963 (ediff-regions-internal): Declare.
11964 * vc/ediff-wind.el: Adjust requires.
11965 (ediff-compute-toolbar-width): Define when compiling.
11966 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11967 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11968 (dired-get-filename, dired-get-marked-files)
11969 (ediff-last-dir-patch, ediff-patch-default-directory)
11970 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11971 (ediff-patch-buffer-internal): Declare.
11972
e2aec513
GM
11973 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11974 (ispell-process, ispell-buffer-local-words, lm-summary)
11975 (lm-section-start, lm-section-end): Declare.
11976 (checkdoc-ispell-init): Simplify.
11977
e68bbd7c
GM
11978 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11979 (he-string-member, he-reset-string, he-substitute-string): Declare.
11980
7efe0991
GM
11981 * eshell/em-ls.el: Adjust requires.
11982 (eshell-glob-regexp): Declare.
f87b1284
GM
11983 * eshell/em-tramp.el: Adjust requires.
11984 (eshell-parse-command): Autoload.
11985 * eshell/em-xtra.el: Adjust requires.
11986 (eshell-parse-command): Autoload.
11987 * eshell/esh-ext.el: Adjust requires.
11988 (eshell-parse-command, eshell-close-handles): Autoload.
11989 * eshell/esh-io.el: Adjust requires.
11990 (eshell-output-filter): Autoload.
11991 * eshell/esh-util.el: No need to load tramp when compiling.
11992 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11993 Declare.
11994 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11995 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11996 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11997 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11998 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11999 * eshell/esh-opt.el, eshell/esh-proc.el:
12000 * eshell/esh-var.el: Adjust requires.
12001 * eshell/eshell.el: Do not require esh-util twice.
12002 (eshell-add-input-to-history): Declare.
12003 (eshell-command): Check history module is active before using it.
12004
d361bc10
GM
12005 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12006
85d090a9
LL
120072013-05-22 Leo Liu <sdl.web@gmail.com>
12008
12009 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12010
5d0acd9d
MA
120112013-05-22 Michael Albinus <michael.albinus@gmx.de>
12012
12013 * autorevert.el (auto-revert-notify-add-watch)
12014 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12015 it indicates changes in file modification time.
12016
0cdffd7d
GM
120172013-05-22 Glenn Morris <rgm@gnu.org>
12018
ca5995ec
GM
12019 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12020 Always delete the autoloaded function from the noruntime and
12021 unresolved functions lists.
12022
6450907e
GM
12023 * allout.el: No need to load epa, epg, overlay when compiling.
12024 (epg-context-set-passphrase-callback, epg-list-keys)
12025 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12026 (epg-key-user-id-list): Declare.
12027
9c6906f6
GM
12028 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12029 (viper-set-parsing-style-toggling-macro)
12030 (viper-set-emacs-state-searchstyle-macros):
12031 Use called-interactively-p on Emacs.
12032 (viper-looking-back): Make it an obsolete alias. Update callers.
12033 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12034 Use looking-back rather than viper-looking-back.
12035 (viper-tmp-insert-at-eob, viper-enlarge-region)
12036 (viper-read-string-with-history, viper-register-to-point)
12037 (viper-append-to-register, viper-change-state-to-vi)
12038 (viper-backward-char-carefully, viper-forward-char-carefully)
12039 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12040 (viper-change-state-to-emacs): Declare.
12041 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12042 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12043 * emulation/viper-mous.el: Do not load viper-cmd.
12044 (viper-backward-char-carefully, viper-forward-char-carefully)
12045 (viper-forward-word, viper-adjust-window): Declare.
12046
5f70c169
GM
12047 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12048
b1b7f300
GM
12049 * progmodes/idlw-help.el (idlwave-help-fontify):
12050 Use called-interactively-p.
12051
f6ebbb46
GM
12052 * term/w32console.el (w32-get-console-codepage)
12053 (w32-get-console-output-codepage): Declare.
12054
0cdffd7d
GM
12055 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12056 Remove unnecessary declarations.
12057 (dframe-message): Doc fix.
12058
12059 * info.el (dframe-select-attached-frame, dframe-current-frame):
12060 Declare.
12061
12062 * speedbar.el (speedbar-message): Make it an obsolete alias.
12063 Update all callers.
12064 (speedbar-with-attached-buffer)
12065 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12066 (speedbar-with-writable): Use backquote.
12067 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12068 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12069 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12070 rather than speedbar- aliases.
12071 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12072 (speedbar-make-specialized-keymap, speedbar-insert-button)
12073 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12074 (speedbar-do-function-pointer): Declare.
12075 (rmail-speedbar-button, rmail-speedbar-find-file)
12076 (rmail-speedbar-move-message):
12077 Use dframe-with-attached-buffer rather than speedbar- alias.
12078 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12079 (dframe-message, speedbar-make-specialized-keymap)
12080 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12081 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12082 (speedbar-insert-button, dframe-select-attached-frame)
12083 (dframe-maybee-jump-to-attached-frame)
12084 (speedbar-change-initial-expansion-list)
12085 (speedbar-previously-used-expansion-list-name): Declare.
12086 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12087 Use dframe-message, dframe-with-attached-buffer rather than
12088 speedbar- aliases.
12089 (gud-sentinel): Silence compiler.
12090 * progmodes/vhdl-mode.el (speedbar-refresh)
12091 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12092 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12093 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12094 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12095 (speedbar-file-lists, speedbar-make-tag-line)
12096 (speedbar-line-directory, speedbar-goto-this-file)
12097 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12098 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12099 (speedbar-make-button, speedbar-reset-scanners)
12100 (speedbar-files-item-info, speedbar-line-text)
12101 (speedbar-find-file-in-frame, speedbar-set-timer)
12102 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12103 (speedbar-with-writable): Do not (re)define it.
12104 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12105 rather than speedbar- alias.
12106
ee44b62a
LL
121072013-05-21 Leo Liu <sdl.web@gmail.com>
12108
12109 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12110 menu items.
12111 (octave-mode): Tweak fill-nobreak-predicate.
12112 (inferior-octave-startup): Check process to avoid infinite loop.
12113 (inferior-octave): Pop to buffer first to show abornmal process
12114 exit information.
12115
640f050f
GM
121162013-05-21 Glenn Morris <rgm@gnu.org>
12117
79458038
GM
12118 * printing.el (pr-menu-bar): Define when compiling.
12119
9cc3e83f
LL
121202013-05-21 Leo Liu <sdl.web@gmail.com>
12121
12122 * progmodes/octave.el (octave-auto-fill): Remove.
12123 (octave-indent-new-comment-line): Improve.
12124 (octave-mode): Use auto fill mode through
4f405069 12125 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12126 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12127 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12128 (octave-help): Show parent directory.
12129
f440830d
GM
121302013-05-21 Glenn Morris <rgm@gnu.org>
12131
12132 * files.el (dired-unmark):
12133 * progmodes/gud.el (gdb-input): Update declarations.
12134
12135 * calculator.el (electric, ehelp): No need to load when compiling.
12136 (Electric-command-loop, electric-describe-mode): Declare.
12137
12138 * doc-view.el (doc-view-current-converter-processes): Move before use.
12139
12140 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12141 Move MODE-set-explicitly definition before use.
12142
12143 * international/mule-diag.el (mule-diag):
12144 Don't use obsolete window-system-version.
12145
12146 * mail/feedmail.el (smtpmail): No need to load when compiling.
12147 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12148
12149 * mail/mail-utils.el (rfc822): No need to load when compiling.
12150 (rfc822-addresses): Autoload it.
12151 (mail-strip-quoted-names): Trivial simplification.
12152
12153 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12154 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12155
12156 * net/snmp-mode.el (tempo): Don't duplicate requires.
12157
12158 * progmodes/prolog.el (info): No need to load when compiling.
12159 (comint): Require before shell requires it.
12160 (Info-goto-node): Autoload it.
12161 (Info-follow-nearest-node): Declare.
12162 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12163
12164 * textmodes/artist.el (picture-mode-exit): Declare.
12165
12166 * textmodes/reftex-parse.el (reftex-parse-from-file):
12167 Trivial rewrite so the compiler can parse it better.
12168
b4da2cbb
LL
121692013-05-20 Leo Liu <sdl.web@gmail.com>
12170
12171 * progmodes/octave.el (octave-help-mode-map)
12172 (octave-help-mode-finish-hook): New variables.
12173 (octave-help-mode, octave-help-mode-finish): New functions.
12174 (octave-help): Use octave-help-mode.
12175
33c0f65b
GM
121762013-05-20 Glenn Morris <rgm@gnu.org>
12177
12178 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12179
1a0a0a8a
DG
121802013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12181
12182 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12183 start at point, so that expansion starting right after opening
12184 slash in a regexp is recognized.
12185 (ruby-syntax-before-regexp-re): New defvar, extracted from
12186 ruby-syntax-propertize-function. Since the value of this regexp
12187 is looked up at runtime now, we should be able to turn
12188 `ruby-syntax-methods-before-regexp' into a defcustom later.
12189 (ruby-syntax-propertize-function): Split regexp matching into two
12190 parts, for opening and closing slashes. That allows us to skip
12191 over string interpolations and support multiline regexps.
12192 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12193 for them, which calls `ruby-syntax-propertize-expansion'.
12194 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12195 call to `ruby-syntax-propertize-function'.
12196 (ruby-syntax-propertize-expansion): Extracted from
12197 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12198 (ruby-syntax-propertize-percent-literal): Leave point right after
12199 the percent symbol, so that the expression expansion rule can
12200 propertize the contents.
462388b6
DG
12201 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12202 heredoc openers.
12203 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12204
c1a6c0a4
JL
122052013-05-18 Juri Linkov <juri@jurta.org>
12206
12207 * man.el (Man-default-man-entry): Remove `-' from the end
12208 of the default value. (Bug#14400)
12209
8051fccd
GM
122102013-05-18 Glenn Morris <rgm@gnu.org>
12211
12212 * comint.el (comint-password-prompt-regexp):
12213 Allow "password for XXX" where XXX contains colons (eg https://...).
12214
5e80b74f
LL
122152013-05-18 Leo Liu <sdl.web@gmail.com>
12216
12217 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12218 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12219 (octave-source-directories): Don't check process.
12220 (octave-source-directories, octave-find-definition): Doc fix.
12221
521a54c5
GM
122222013-05-18 Glenn Morris <rgm@gnu.org>
12223
86a94b05
GM
12224 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12225 Remove backspace/delete bindings. (Bug#14392)
12226
521a54c5
GM
12227 * cus-dep.el (custom-make-dependencies): Sort the output.
12228 (custom-versions-load-alist): Convert comment to doc.
12229
42caeb89
LL
122302013-05-17 Leo Liu <sdl.web@gmail.com>
12231
12232 * newcomment.el (comment-search-backward): Stricter in finding
12233 comment start. (Bug#14303)
12234
12235 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12236 (octave-comment-start-skip): Properly anchored.
12237
e219dd97
LL
122382013-05-17 Leo Liu <sdl.web@gmail.com>
12239
fe1eb856
RS
12240 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12241 Clean up when turned off. (Bug#14395)
e219dd97
LL
12242 (smie--highlight-matching-block-overlay): No longer buffer-local.
12243 (smie-highlight-matching-block): Adjust.
12244
dc5dcb4b
PE
122452013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12246
12247 Doc string fix for "nanoseconds" (Bug#14406).
12248 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12249 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12250
1db165f0
JB
122512013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12252
12253 * calc/calc-units.el (math-extract-units): Preserve powers
12254 of units.
12255
c7a8fcac
LL
122562013-05-17 Leo Liu <sdl.web@gmail.com>
12257
12258 * subr.el (delete-consecutive-dups): New function.
12259 * ido.el (ido-set-matches-1): Use it.
12260 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12261 * ido.el (ido-remove-consecutive-dups): Remove.
12262
f678b18a
SM
122632013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12264
12265 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12266 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12267 regexp-opt's `words'.
12268
ebfe68e8
LL
122692013-05-16 Leo Liu <sdl.web@gmail.com>
12270
12271 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12272 (smie--highlight-matching-block-overlay)
12273 (smie--highlight-matching-block-lastpos)
12274 (smie--highlight-matching-block-timer): New variables.
12275 (smie-highlight-matching-block): New function.
12276 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12277 (smie-setup): Conditionally enable smie-blink-matching-open.
12278
bc8bc17d
WS
122792013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12280
12281 Sync with upstream verilog-mode r840.
12282 * progmodes/verilog-mode.el (verilog-mode-version)
12283 (verilog-mode-release-date): Update.
12284 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12285 (verilog-sig-tieoff): Fix string error on
12286 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12287 (verilog-read-decls): Fix parameters confusing
12288 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12289
df065a0b
EZ
122902013-05-16 Eli Zaretskii <eliz@gnu.org>
12291
12292 * subr.el (reveal-filename): New function.
12293
12294 * loadup.el: Compute Emacs executable versions on MS-Windows,
12295 where executables have the .exe extension. Add a hard link
12296 emacs-XX.YY.ZZ.exe on MS-Windows.
12297
12298 * Makefile.in (XARGS_LIMIT): New variable.
12299 (custom-deps, finder-data, autoloads)
12300 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12301 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12302 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12303 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12304
2d4bf34b
LL
123052013-05-16 Leo Liu <sdl.web@gmail.com>
12306
12307 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12308 (octave-mode-menu, octave-mode-map): Remove its uses.
12309
6b9c2d85
RZ
123102013-05-16 Reto Zimmermann <reto@gnu.org>
12311
12312 Sync with upstream vhdl mode v3.34.2.
12313 * progmodes/vhdl-mode.el: Use `push' throughout.
12314 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12315 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12316 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12317 (vhdl-actual-generic-name): New option to derive actual generic name.
12318 (vhdl-port-paste-signals): Replace formal by actual generics.
12319 (vhdl-beautify): New name for old group vhdl-align. Update users.
12320 (vhdl-beautify-options): New option.
12321 (vhdl-last-input-event): New compat alias. Use throughout.
12322 (vhdl-goto-line): Replace user level function `goto-line'.
12323 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12324 vhdl-fix-statement-buffer.
12325 (vhdl-create-mode-menu): Add some entries.
12326 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12327 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12328 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12329 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12330 to force statements on one line.
12331 (vhdl-remove-trailing-spaces-region):
12332 New, split from vhdl-remove-trailing-spaces.
12333 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12334 Respect vhdl-beautify-options.
12335 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12336 (vhdl-update-sensitivity-list): Not add with index if exists without.
12337 Not include array index with signal. Ignore keywords in comments.
12338 (vhdl-get-visible-signals): Regexp tweaks.
12339 (vhdl-template-component-inst): Handle empty library.
12340 (vhdl-template-type): Add template for 'enum' type.
12341 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12342 Use vhdl-replace-string.
12343 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12344 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12345 (vhdl-speedbar-initialize): Update for above name change.
12346 (vhdl-compose-wire-components): Fix in handling of constants.
12347 (vhdl-error-regexp-emacs-alist): New variable.
12348 (vhdl-error-regexp-add-emacs): New function;
12349 adds support for new compile.el (Emacs 22+)
12350 (vhdl-generate-makefile-1): Change target order for single lib. units.
12351 Allow use of absolute file names.
12352
9df4ec5e
LL
123532013-05-16 Leo Liu <sdl.web@gmail.com>
12354
12355 * simple.el (prog-indent-sexp): Indent enclosing defun.
12356
f5ba00a6
GM
123572013-05-15 Glenn Morris <rgm@gnu.org>
12358
ed8be7ff
GM
12359 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12360 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12361 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12362 (whitespace-highlight): Move to whitespace group.
12363
12364 * comint.el (comint-source):
12365 * pcmpl-linux.el (pcmpl-linux):
12366 * shell.el (shell-faces):
12367 * eshell/esh-opt.el (eshell-opt):
12368 * international/ccl.el (ccl): Remove empty custom groups.
12369
12370 * completion.el (dynamic-completion-mode):
12371 * jit-lock.el (jit-lock-debug-mode):
12372 * minibuffer.el (completion-in-region-mode):
12373 * type-break.el (type-break-mode-line-message-mode)
12374 (type-break-query-mode):
12375 * emulation/tpu-edt.el (tpu-edt-mode):
12376 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12377 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12378 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12379
12380 * term/xterm.el (xterm): Change parent group to terminals.
12381
12382 * master.el (master): Remove empty custom group.
12383 (master-mode): Remove unused :group argument.
12384 * textmodes/refill.el (refill): Remove empty custom group.
12385 (refill-mode): Remove unused :group argument.
12386
12387 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12388
82a7c41b
GM
12389 * cus-dep.el: Provide a feature.
12390 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12391 Don't mistakenly ignore files whose basenames match a basename
12392 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12393 Add a fallback method for getting :group.
f5ba00a6 12394
6d65486d
JL
123952013-05-15 Juri Linkov <juri@jurta.org>
12396
da547b32
JL
12397 * isearch.el (isearch-char-by-name): Rename from
12398 `isearch-insert-char-by-name'. Doc fix.
12399 (isearch-forward): Mention `isearch-char-by-name' in
12400 the docstring. (Bug#13348)
12401
6d65486d
JL
12402 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12403 `exit-minibuffer' instead of
12404 `isearch-nonincremental-exit-minibuffer'.
12405 (isearch-edit-string): Remove mention of
12406 `isearch-nonincremental-exit-minibuffer' from docstring.
12407 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12408 (isearch-forward-exit-minibuffer)
12409 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12410
c9990474
SM
124112013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12412
6e911150
SM
12413 * loadup.el: Just use unversioned DOC.
12414
c9990474
SM
12415 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12416 literals as extending to EOB.
12417 (nxml-last-fontify-end): Remove unused variable.
12418 (nxml-after-change1): Use with-silent-modifications.
12419 (nxml-extend-after-change-region): Simplify.
12420 (nxml-extend-after-change-region1): Remove function.
12421 (nxml-after-change1): Don't adjust for dependent regions.
12422 (nxml-fontify-matcher): Simplify.
12423 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12424 (xmltok-add-dependent): Remove function.
12425 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12426 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12427 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12428 unclosed <[[, <?, comment, and other literals as extending to EOB.
12429 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12430 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12431 Remove functions.
12432 (rng-do-some-validation-1): Don't mark dependent regions.
12433 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12434 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12435 (nxml-clear-dependent-regions): Remove functions.
12436 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12437 (nxml-ensure-scan-up-to-date):
12438 Don't clear&mark dependent regions.
12439
e3772e98
LL
124402013-05-15 Leo Liu <sdl.web@gmail.com>
12441
c9990474
SM
12442 * progmodes/octave.el (octave-goto-function-definition):
12443 Improve and fix callers.
e3772e98 12444
5ac2eb34
SM
124452013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12446
c46c57b0
SM
12447 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12448 the setter (bug#14387).
12449
5ac2eb34
SM
12450 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12451 surrounding group (bug#14402).
12452
180ed218
JL
124532013-05-14 Juri Linkov <juri@jurta.org>
12454
12455 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12456 (Bug#14390)
12457
0ac0fecb
GM
124582013-05-14 Glenn Morris <rgm@gnu.org>
12459
12460 * progmodes/f90.el (f90-imenu-generic-expression):
12461 Fix typo in 2013-05-08 change. (Bug#14402)
12462
2e78e6a7
JPG
124632013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12464
5ac2eb34
SM
12465 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12466 Remove signals for which replies are never received.
2e78e6a7 12467
53267cca
JPG
124682013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12469
12470 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12471 (gdb-handler-alist, gdb-handler-number): Remove variables.
12472 (gdb-handler-list): New variable.
12473 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12474 (gdb-pending-handler-p, gdb-handle-reply)
12475 (gdb-remove-all-pending-triggers): New functions.
12476 (gdb-discard-unordered-replies): New defcustom.
12477 (gdb-handler): New defstruct.
12478 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12479 instead of gdb-pending-triggers. Update docstring.
12480 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12481 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12482 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12483 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12484 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12485 (gdb-frame-handler): Pending triggers are now automatically managed.
12486 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12487 Remove argument.
12488 (gdb-input): Automatically handles pending triggers. Update docstring.
12489 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12490 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12491 Update comments.
12492 (gdb-done-or-error): Now use gdb-handle-reply.
12493
d04ce803
JPG
124942013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12495
12496 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12497 gdb-debug-log.
12498
0114073a
GM
124992013-05-14 Glenn Morris <rgm@gnu.org>
12500
12501 * subr.el (user-emacs-directory-warning): New option.
12502 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12503
4d25fd7e
LL
125042013-05-14 Leo Liu <sdl.web@gmail.com>
12505
12506 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12507 during redisplay.
12508 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12509 (octave-font-lock-texinfo-comment): Fix invalid search bound
12510 error: wrong side of point.
4d25fd7e 12511
27c8b6eb
GM
125122013-05-14 Glenn Morris <rgm@gnu.org>
12513
61aaeb01
GM
12514 * progmodes/flymake.el (flymake-xml-program): New option.
12515 (flymake-xml-init): Use it.
12516
5bf90bc5
GM
12517 * term/xterm.el: Provide a feature.
12518
12519 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12520
f4c7dfd2
GM
125212013-05-13 Glenn Morris <rgm@gnu.org>
12522
12523 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12524 Add compat aliases as a hack workaround. (Bug#14384)
12525
2aeb3a1d
LL
125262013-05-13 Leo Liu <sdl.web@gmail.com>
12527
b0e069c2
LL
12528 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12529 ###, and %!.
f5a9432f
LL
12530 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12531 C-M-q.
b0e069c2
LL
12532 (octave-comment-start-skip): Include %!.
12533 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12534
30ea8374
LL
125352013-05-12 Leo Liu <sdl.web@gmail.com>
12536
12537 * progmodes/octave.el (inferior-octave-startup): Store the value
12538 of __octave_srcdir__ for octave-source-directories.
12539 (inferior-octave-check-process): New function refactored out of
12540 inferior-octave-send-list-and-digest.
12541 (octave-source-directories)
12542 (octave-find-definition-filename-function): New variables.
12543 (octave-source-directories)
12544 (octave-find-definition-default-filename): New functions.
12545 (octave-find-definition): Improve to find functions implemented in C++.
12546
472a3834
GM
125472013-05-12 Glenn Morris <rgm@gnu.org>
12548
12549 * calendar/diary-lib.el (diary-outlook-format-1):
12550 Don't include dayname in the output. (Bug#14349)
12551
3191b52f
GM
125522013-05-11 Glenn Morris <rgm@gnu.org>
12553
0060ac73
GM
12554 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12555
3191b52f
GM
12556 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12557 Treat cc-provide like provide.
12558
e065ba74
KR
125592013-05-11 Kevin Ryde <user42@zip.com.au>
12560
12561 * cus-dep.el (custom-make-dependencies):
12562 Use generated-autoload-load-name for the sake of files such
12563 such cedet/semantic/bovine/c.el, where the base file name
12564 is not in load-path. (Bug#5277)
12565
36f84c37
GM
125662013-05-11 Glenn Morris <rgm@gnu.org>
12567
12568 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12569 Provide features.
12570
c8730c3a
LL
125712013-05-11 Leo Liu <sdl.web@gmail.com>
12572
12573 * progmodes/octave.el (octave-indent-comment): Improve.
12574 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12575 (octave-eldoc-function-signatures, octave-eldoc-function):
12576 New functions.
c8730c3a
LL
12577 (octave-mode, inferior-octave-mode): Add eldoc support.
12578
212e29f2
RS
125792013-05-11 Richard Stallman <rms@gnu.org>
12580
12581 * epa.el (epa-decrypt-file): Take output file name as argument
12582 and read it using `interactive'.
12583
083fe0d7
LL
125842013-05-11 Leo Liu <sdl.web@gmail.com>
12585
12586 * progmodes/octave.el (octave-beginning-of-line)
12587 (octave-end-of-line): Check before using up-list because it jumps
12588 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12589 (octave-indent-comment): New function.
12590 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12591 (octave-begin-keywords, octave-end-keywords)
12592 (octave-reserved-words, octave-smie-bnf-table)
12593 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12594
8582e4c4
GM
125952013-05-11 Glenn Morris <rgm@gnu.org>
12596
f20def1f
GM
12597 * faces.el (internal-face-x-get-resource):
12598 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12599 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12600 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12601 Fix declarations.
f20def1f 12602
445f95e2
GM
12603 * calc/calc-menu.el: Make it loadable in isolation.
12604
12605 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12606 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12607 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12608 (eudc-bbdb-query-internal): Require 'bbdb.
12609
99fb2756
GM
12610 * lpr.el (lpr-headers-switches):
12611 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12612
12613 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12614
0da7ad96
GM
12615 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12616
8582e4c4
GM
12617 * term.el (term-set-escape-char): Make it idempotent.
12618
f71c50d0
LL
126192013-05-10 Leo Liu <sdl.web@gmail.com>
12620
5ac2eb34
SM
12621 * progmodes/octave.el (inferior-octave-completion-table):
12622 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12623 completion due to bug#11906.
12624 (octave-beginning-of-defun): Re-write to be more general.
12625
d5837773
GM
126262013-05-10 Glenn Morris <rgm@gnu.org>
12627
12628 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12629
027c0f75
SM
126302013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12631
12632 * comint.el (comint-redirect-send-command-to-process): Use :around
12633 rather than :override for comint-redirect-filter.
12634 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12635 Call it instead of comint-redirect-original-filter-function (which
12636 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12637
4465bfb4
JD
126382013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12639
12640 * frame.el (display-monitor-attributes-list): Add NS case.
12641 (ns-display-monitor-attributes-list): Declare.
12642
2d809ffa 126432013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12644
12645 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12646
e54eeb9b
GM
126472013-05-09 Glenn Morris <rgm@gnu.org>
12648
56cd351d
GM
12649 * international/fontset.el (vertical-centering-font-regexp):
12650 Set standard-value.
12651
d84b6108
GM
12652 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12653
a931698a
GM
12654 * bookmark.el (bookmark-search-delay):
12655 * cus-start.el (vertical-centering-font-regexp):
12656 * ps-mule.el (ps-mule-font-info-database-default):
12657 * ps-print.el (ps-default-fg, ps-default-bg):
12658 * type-break.el (type-break-good-break-interval):
12659 * whitespace.el (whitespace-indentation-regexp)
12660 (whitespace-space-after-tab-regexp):
12661 * emacs-lisp/testcover.el (testcover-1value-functions)
12662 (testcover-noreturn-functions, testcover-progn-functions)
12663 (testcover-prog1-functions):
12664 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12665 * eshell/em-glob.el (eshell-glob-translate-alist):
12666 * play/tetris.el (tetris-tty-colors):
12667 * progmodes/cpp.el (cpp-face-default-list):
12668 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12669 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12670 (idlwave-help-browser-generic-args):
12671 * progmodes/make-mode.el (makefile-special-targets-list):
12672 * progmodes/python.el (python-shell-virtualenv-path):
12673 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12674 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12675 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12676 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12677 * textmodes/reftex-vars.el (reftex-format-label-function):
12678 * textmodes/remember.el (remember-diary-file): Fix custom types.
12679
e54eeb9b
GM
12680 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12681 Add :version.
12682
455851dd
LL
126832013-05-09 Leo Liu <sdl.web@gmail.com>
12684
12685 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12686 Restore file completion. (Bug#14300)
455851dd
LL
12687 (inferior-octave-startup): Fix incorrect highlighting for the
12688 first prompt.
12689
a9e4425b
SM
126902013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * progmodes/ruby-mode.el: First cut at SMIE support.
12693 (ruby-use-smie): New var.
12694 (ruby-smie-grammar): New constant.
12695 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12696 (ruby-smie--forward-token, ruby-smie--backward-token)
12697 (ruby-smie-rules): New functions.
12698 (ruby-mode-variables): Setup SMIE if applicable.
12699
060ca408
EZ
127002013-05-08 Eli Zaretskii <eliz@gnu.org>
12701
12702 * simple.el (line-move-visual): Signal beginning/end of buffer
12703 only if vertical-motion moved less than it was requested. Avoids
12704 silly incorrect error messages when there are display strings with
12705 multiple newlines at EOL.
12706
1d5963cc
SM
127072013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12708
12709 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12710 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12711 (prolog-char-quote-workaround):
12712 * progmodes/cperl-mode.el (cperl-under-as-char):
12713 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12714 Mark as obsolete.
12715 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12716 their declaration.
12717 (vhdl-mode-syntax-table-init): Remove.
12718
c9990474
SM
12719 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12720 last change.
1d5963cc
SM
12721
12722 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12723 syntax for "_".
12724 (ld-script-font-lock-keywords):
12725 Change regexps to use things like \_< and \_>.
12726
12727 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12728 Change all regexps to use things like \_< and \_>.
12729
12730 * progmodes/autoconf.el (autoconf-definition-regexp)
12731 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12732 Handle a _ with symbol syntax.
12733 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12734
c9990474
SM
12735 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12736 Consolidate declaration.
1d5963cc
SM
12737 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12738 the declaration.
12739 (ada-create-syntax-table): Remove.
12740 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12741 already has the right syntax nowadays.
12742 (ada-goto-next-word): Don't change the syntax of "_".
12743
12744 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12745 with-wrapper-hook.
12746
72d3cfca
SS
127472013-05-08 Sam Steingold <sds@gnu.org>
12748
12749 * thingatpt.el (thing-at-point): Accept optional second argument
12750 NO-PROPERTIES to strip the text properties from the return value.
12751 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12752 to `thing-at-point' instead of stripping the properties ourselves.
12753 Also, when `thing-at-point' fails to find a url, prepend "http://"
12754 to the filename at point on the assumption that the user is
12755 pointing at something like gnu.org/gnu.
12756
5cb15713
JB
127572013-05-08 Juanma Barranquero <lekktu@gmail.com>
12758
12759 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12760 * faces.el (crm-separator):
12761 Silence byte-compiler.
12762
12763 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12764 (tool-bar-map): Remove unneeded defvars.
12765
ea78b95b
LL
127662013-05-08 Leo Liu <sdl.web@gmail.com>
12767
12768 Re-work a fix for bug#10994 based on Le Wang's patch.
12769 * ido.el (ido-remove-consecutive-dups): New helper.
12770 (ido-completing-read): Use it.
12771 (ido-chop): Revert fix for bug#10994.
12772
dc7466df
AS
127732013-05-08 Adam Spiers <emacs@adamspiers.org>
12774
12775 * cus-edit.el (custom-save-variables):
12776 Pretty-print long values. (Bug#14187)
12777
9ecf672a
GM
127782013-05-08 Glenn Morris <rgm@gnu.org>
12779
12780 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12781 (m4-mode-syntax-table): Init in the defvar.
12782 (m4-mode-abbrev-table): Let define-derived-mode define it.
12783
3f555be8
TT
127842013-05-08 Tom Tromey <tromey@redhat.com>
12785
12786 * progmodes/m4-mode.el (m4-mode-syntax-table):
12787 Do not treat "_" as word constituent. (Bug#14167)
12788
7cc8ae06
GM
127892013-05-07 Glenn Morris <rgm@gnu.org>
12790
4f58bc06
GM
12791 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12792 Remove explicit eshell-isearch-cancel-map.
12793
7cc8ae06
GM
12794 * progmodes/f90.el (f90-smart-end-names): New option.
12795 (f90-smart-end): Doc fix.
12796 (f90-end-block-optional-name): New constant.
12797 (f90-block-match): Respect f90-smart-end-names.
12798
ceb57e59
SM
127992013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12802 about implicit semi-colons (bug#14218).
12803
4e3f9230
YM
128042013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12805
12806 * frame.el (display-monitor-attributes-list)
12807 (frame-monitor-attributes): New functions.
12808
203a5572
LL
128092013-05-06 Leo Liu <sdl.web@gmail.com>
12810
12811 * progmodes/octave.el (octave-syntax-propertize-function): Change
12812 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12813 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12814 (octave-completion-at-point): Rename from
203a5572
LL
12815 octave-completion-at-point-function.
12816 (inferior-octave-directory-tracker): Robustify.
12817 (octave-text-functions): Remove and fix its uses. No such things
12818 any more.
12819
ee6cff99
SM
128202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * emacs-lisp/trace.el (trace--display-buffer): New function.
12823 (trace-make-advice): Use it.
12824
32985194
JL
128252013-05-06 Juri Linkov <juri@jurta.org>
12826
12827 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12828 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12829 Doc fix.
12830 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12831 in the help string. (Bug#12985)
12832
a1c700de
KD
128332013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12834
12835 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12836
c67c0839
SM
128372013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12838
323885fd
SM
12839 * progmodes/perl-mode.el: Add support for here documents.
12840 (perl-syntax-propertize-function): Match here-doc markers.
12841 (perl-syntax-propertize-special-constructs): Find their end.
12842 (perl-imenu-generic-expression): Use [:alnum:].
12843
c67c0839
SM
12844 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12845 (advice--add-function): Refresh the advice if already present
12846 (bug#14317).
12847
d491e7a8
IA
128482013-05-06 Ivan Andrus <darthandrus@gmail.com>
12849
12850 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12851
ddf9925e
GM
128522013-05-06 Glenn Morris <rgm@gnu.org>
12853
7cc3af27
GM
12854 * w32-fns.el (w32-charset-info-alist): Declare.
12855
16e343d6
GM
12856 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12857 of its defcustom properties.
12858 (eshell-cmpl-initialize): No need to load pcomplete.
12859
7d889a47
GM
12860 * generic-x.el: No need to require comint when compiling.
12861
ddf9925e
GM
12862 * net/eudc-export.el: Make it loadable without bbdb.
12863 (top-level): Use require rather than load-library.
12864 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12865 (eudc-batch-export-records-to-bbdb)
12866 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12867 Require bbdb.
12868
1e2c18df
SM
128692013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12872 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12873 some tweaks, instead.
12874
02502a5f
LL
128752013-05-05 Leo Liu <sdl.web@gmail.com>
12876
12877 * progmodes/octave.el (octave-font-lock-keywords)
12878 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12879 (inferior-octave-send-list-and-digest): Improve error message.
12880 (octave-mode, inferior-octave-mode): Use setq-local.
12881 (octave-help): Set info-lookup-mode.
12882
0dc04f42
RS
128832013-05-05 Richard Stallman <rms@gnu.org>
12884
6c54491c
RS
12885 * vc/compare-w.el (compare-windows-whitespace):
12886 Treat no-break space as whitespace.
12887
0dc04f42
RS
12888 * mail/rmailsum.el (rmail-summary-rmail-update):
12889 Detect empty summary and don't change selected message.
12890 (rmail-summary-goto-msg): Likewise.
12891
df8f35df
RS
12892 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12893 Doc fixes, rename args.
12894
5356e1a3
AM
128952013-05-05 Alan Mackenzie <acm@muc.de>
12896
12897 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12898
d44014cb
JL
128992013-05-05 Juri Linkov <juri@jurta.org>
12900
12901 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12902 to not add the length of the summary segment to the return value.
12903 (Bug#14125)
12904
c129b51f
LL
129052013-05-05 Leo Liu <sdl.web@gmail.com>
12906
12907 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12908 (inferior-octave-output-filter): Remove.
12909 (octave-send-region, inferior-octave-startup): Fix callers.
12910 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12911 (octave-binary-file-extensions): New user variable.
12912 (octave-find-definition): Confirm if opening binary files.
12913 (octave-help-file): Use octave-find-definition to get the binary
12914 confirmation.
12915 (octave-help): Adjust for octave-help-file change.
12916
aa7dab97
SM
129172013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12920 Merge the two entries that handle function definitions.
12921 (pascal--syntax-propertize): New const.
12922 (pascal-mode): Use it. Use setq-local.
12923
fd3a9a6b
GM
129242013-05-04 Glenn Morris <rgm@gnu.org>
12925
12926 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12927 (diary-from-outlook): Respect diary-from-outlook-function.
12928
30c7e542
SM
129292013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12932 Move the declaration from C.
12933 (read-minibuffer, eval-minibuffer): Move from C.
12934 (completion-setup-function): Avoid minibuffer-completion-contents.
12935
b54f978b
LL
129362013-05-03 Leo Liu <sdl.web@gmail.com>
12937
12938 * progmodes/octave.el (octave-font-lock-keywords): Do not
12939 dehighlight 'end' in comments or strings.
30c7e542
SM
12940 (octave-completing-read, octave-goto-function-definition):
12941 New helpers.
d4d0f9b3
LL
12942 (octave-help-buffer): New user variable.
12943 (octave-help-file, octave-help-function): New button types.
12944 (octave-help): New command and bind it to C-h ;.
12945 (octave-find-definition): New command and bind it to M-.
d74a1581 12946 (user-error): Alias to error if not defined.
b54f978b 12947
27135018
LL
129482013-05-02 Leo Liu <sdl.web@gmail.com>
12949
12950 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12951 for \. (bug#14332)
12952 (octave-font-lock-keywords): Include [ and {.
12953
0d634d3a
LL
129542013-05-02 Leo Liu <sdl.web@gmail.com>
12955
12956 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12957 (inferior-octave): Remove calling comint-mode and return the buffer.
12958 (inferior-octave-startup): Cosmetic changes.
12959
b4c8295e
LL
129602013-05-02 Leo Liu <sdl.web@gmail.com>
12961
30c7e542
SM
12962 * progmodes/octave.el (octave-syntax-propertize-function):
12963 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12964
f12ad6ec
GM
129652013-05-02 Glenn Morris <rgm@gnu.org>
12966
12967 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12968 * desktop.el (vc-dir-mode): Just autoload it here.
12969
30cac1e0
AM
129702013-05-02 Alan Mackenzie <acm@muc.de>
12971
12972 Eliminate variable c-standard-font-lock-fontify-region-function.
12973 * progmodes/cc-mode.el
12974 (c-standard-font-lock-fontify-region-function): Remove.
12975 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12976
d8ef28b1
LL
129772013-05-01 Leo Liu <sdl.web@gmail.com>
12978
2640d52e 12979 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12980 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12981 variables were removed from Octave in 2007.
d8ef28b1
LL
12982 (inferior-octave-startup): Fix uses.
12983 (comint-line-beginning-position): Remove compatibility code for
12984 emacs 21.
12985
ac63ec89
JL
129862013-05-01 Juri Linkov <juri@jurta.org>
12987
12988 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12989
9e9be37c
JL
129902013-05-01 Juri Linkov <juri@jurta.org>
12991
12992 * comint.el (comint-previous-matching-input): Don't print message
12993 "History item: %d" when `isearch-mode' is active.
12994 (comint-history-isearch-message): Print message "History item: %d"
12995 when `comint-input-ring-index' is not empty and this function is
12996 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12997
9b92c13b
LL
129982013-05-01 Leo Liu <sdl.web@gmail.com>
12999
13000 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13001 definitions. Use completion-at-point to insert keywords.
13002 (octave-abbrev-start): Remove.
13003 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13004
b12d33d7
LL
130052013-04-30 Leo Liu <sdl.web@gmail.com>
13006
13007 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13008 change.
13009
3d1c39fa
AM
130102013-04-30 Alan Mackenzie <acm@muc.de>
13011
13012 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13013 * progmodes/cc-engine.el (c-back-over-member-initializers):
13014 new function.
3d1c39fa
AM
13015 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13016 (most) member init lists.
13017
5147fc17
RS
130182013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13019
13020 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13021 variable.
13022
5b78d7fc
LL
130232013-04-30 Leo Liu <sdl.web@gmail.com>
13024
13025 * progmodes/octave.el (octave-variables): Remove. No builtin
13026 variables any more. All converted to functions.
13027 (octave-font-lock-keywords, octave-completion-at-point-function):
13028 Fix uses.
13029 (octave-font-lock-texinfo-comment): New user variable.
13030 (octave-texinfo-font-lock-keywords): New variable for texinfo
13031 comment block.
13032 (octave-function-comment-block): New face.
13033 (octave-font-lock-texinfo-comment): New function.
13034 (octave-mode): Font lock texinfo comment block.
13035
38d8527b
LL
130362013-04-29 Leo Liu <sdl.web@gmail.com>
13037
13038 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13039 indexing expression.
13040 (octave-continuation-string): Do not use \.
13041 (inferior-octave-complete-impossible): Remove.
13042 (inferior-octave-completion-table)
13043 (inferior-octave-completion-at-point): Remove its uses.
13044 (inferior-octave-startup): completion_matches was introduced to
13045 Octave in 1996 so safe to assume it.
13046 (octave-function-file-comment): Improve to follow how Octave does it.
13047 (octave-update-function-file-comment): Tweak.
13048
2ec12cb0
LL
130492013-04-29 Leo Liu <sdl.web@gmail.com>
13050
13051 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13052 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13053 (octave-function-file-comment): Fix typo.
13054 (octave-sync-function-file-names): Use read-char-choice.
13055
6eaed048
JB
130562013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13057
13058 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13059 to t for the less important warnings.
13060
3ffa2d4f
DH
130612013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13062
13063 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13064
685c9501
GM
130652013-04-27 Glenn Morris <rgm@gnu.org>
13066
13067 * vc/log-view.el (log-view-current-entry):
13068 Treat "---" separator lines as part of the following rev. (Bug#14169)
13069
0208ede7
JL
130702013-04-27 Juri Linkov <juri@jurta.org>
13071
13072 * subr.el (read-number): Doc fix about using it by interactive
13073 code letter `n'. (Bug#14254)
13074
5db9dace
JL
130752013-04-27 Juri Linkov <juri@jurta.org>
13076
13077 * desktop.el (desktop-auto-save-timeout): New option.
13078 (desktop-file-checksum): New variable.
13079 (desktop-save): Add optional arg `auto-save' and don't auto-save
13080 if nothing changed.
13081 (desktop-auto-save-timer): New variable.
13082 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13083 (after-init-hook): Call `desktop-auto-save-set-timer'.
13084 Suggested by Reuben Thomas <rrt@sc3d.org> in
13085 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13086
b7260dd4
LL
130872013-04-27 Leo Liu <sdl.web@gmail.com>
13088
13089 * progmodes/octave.el (octave-function-file-p)
13090 (octave-skip-comment-forward, octave-function-file-comment)
13091 (octave-update-function-file-comment): New functions.
13092 (octave-mode-map): Bind C-c ; to
13093 octave-update-function-file-comment.
13094 (octave-mode-menu): Add octave-update-function-file-comment.
13095 (octave-mode, inferior-octave-mode): Fix doc-string.
13096 (octave-insert-defun): Conform to Octave's coding convention.
13097 (Bug#14285)
13098
13099 * files.el (basic-save-buffer): Don't let errors in
13100 before-save-hook prevent saving buffer.
13101
c46da669
RW
131022013-04-20 Roland Winkler <winkler@gnu.org>
13103
13104 * faces.el (read-face-name): Use completing-read if arg multiple
13105 is nil.
13106
a81ee1eb
IL
131072013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13108
13109 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13110 displayed, move point to after the totals line.
13111 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13112 for the details.
13113
4fac34ce
SM
131142013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13115
13116 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13117 Add current dir to the load-path.
13118 (package-generate-autoloads): Don't rely on
13119 autoload-ensure-default-file.
13120
f6bfc063
RT
131212013-04-26 Reuben Thomas <rrt@sc3d.org>
13122
d40ab5cf
BG
13123 * textmodes/remember.el (remember-store-in-files): Document that
13124 the file name format is passed to `format-time-string'.
f6bfc063 13125
e55d3b04
LL
131262013-04-26 Leo Liu <sdl.web@gmail.com>
13127
13128 * progmodes/octave.el (octave-sync-function-file-names): New function.
13129 (octave-mode): Use it in before-save-hook.
13130
e53052d3
SM
131312013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13132
140ef50c
SM
13133 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13134 (bug#14274).
13135
e53052d3
SM
13136 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13137 \n and comment, even if it's not an implicit ; (bug#14218).
13138
af80458d 131392013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13140
13141 * subr.el (read-number): Once more use `read' rather than
13142 `string-to-number', to trap non-numeric input. (Bug#14254)
13143
af80458d 131442013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13145
13146 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13147 Use `syntax-multiline' text property consistently instead of
8a621d53 13148 `font-lock-multiline'. (Bug#14237)
70203c2e 13149
e6ea1f6c
GM
131502013-04-26 Glenn Morris <rgm@gnu.org>
13151
13152 * emacs-lisp/shadow.el (list-load-path-shadows):
13153 No longer necessary to check for duplicate simple.el, since
13154 2012-07-07 change to init_lread to not include installation lisp
13155 directories in load-path when running uninstalled. (Bug#14270)
13156
070ccca4
LL
131572013-04-26 Leo Liu <sdl.web@gmail.com>
13158
13159 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13160 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13161 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13162 octave-in-string-or-comment-p.
13163 (octave-in-comment-p, octave-in-string-p)
13164 (octave-in-string-or-comment-p): Replace defsubst with defun.
13165
9d1c5fb6
PE
131662013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13167
13168 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13169
c034abda
BG
131702013-04-25 Bastien Guerry <bzg@gnu.org>
13171
13172 * textmodes/remember.el (remember-data-directory)
13173 (remember-directory-file-name-format): Fix custom types.
13174
584ea277
LL
131752013-04-25 Leo Liu <sdl.web@gmail.com>
13176
e53052d3
SM
13177 * progmodes/octave.el (octave-completion-at-point-function):
13178 Make use of inferior octave process.
584ea277
LL
13179 (octave-initialize-completions): Remove.
13180 (inferior-octave-completion-table): New function.
13181 (inferior-octave-completion-at-point): Use it.
13182 (octave-completion-alist): Remove.
13183
1693b06a
SM
131842013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13185
13186 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13187 (opascal-mode-syntax-table): New var.
13188 (opascal-literal-kind, opascal-is-literal-end)
13189 (opascal-literal-token-at): Rewrite.
13190 (opascal--literal-start-re, opascal-font-lock-keywords)
13191 (opascal--syntax-propertize): New constants.
13192 (opascal-font-lock-defaults): Adjust.
13193 (opascal-mode): Use them. Set comment-<foo> variables as well.
13194 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13195 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13196 (delphi-other-face, opascal-other-face): Remove face variables.
13197 (opascal-save-state): Remove macro.
13198 (opascal-fontifying-progress-step): Remove constant.
13199 (opascal--ignore-changes): Remove var.
13200 (opascal-set-token-property, opascal-parse-next-literal)
13201 (opascal-is-stable-literal, opascal-complete-literal)
13202 (opascal-is-literal-start, opascal-face-of)
13203 (opascal-parse-region, opascal-parse-region-until-stable)
13204 (opascal-fontify-region, opascal-after-change)
13205 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13206 (opascal-debug-parse-region, opascal-debug-parse-window)
13207 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13208 (opascal-debug-fontify-buffer): Remove.
13209 (opascal-debug-mode-map): Adjust accordingly.
13210
be64c05d
LL
132112013-04-25 Leo Liu <sdl.web@gmail.com>
13212
13213 Merge octave-mod.el and octave-inf.el into octave.el with some
13214 cleanups.
13215 * progmodes/octave.el: New file renamed from octave-mod.el.
13216 * progmodes/octave-inf.el: Merged into octave.el.
13217 * progmodes/octave-mod.el: Renamed to octave.el.
13218
d79d37bd
TH
132192013-04-25 Tassilo Horn <tsdh@gnu.org>
13220
13221 * textmodes/reftex-vars.el
13222 (reftex-label-ignored-macros-and-environments): New defcustom.
13223
13224 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13225
ced3fc5d
SM
132262013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13227
13228 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13229 (smie-indent-keyword): Improve the check to ensure that the next
13230 comment is really on the same line.
13231 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13232
13233 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13234 semi-colons if the line is not otherwise empty (bug#14218).
13235
1c141dad
GM
132362013-04-25 Glenn Morris <rgm@gnu.org>
13237
13238 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13239
5058062a
SM
132402013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13241
13242 * progmodes/opascal.el (opascal-set-token-property): Rename from
13243 opascal-set-text-properties and only set `token' (bug#14134).
13244 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13245 (opascal-literal-text-properties): Remove.
13246 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13247 Adjust callers.
13248
5db9dace 132492013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13250
13251 * textmodes/remember.el (remember-handler-functions): Add an
13252 option for a new handler `remember-store-in-files'.
13253 (remember-data-directory, remember-directory-file-name-format):
13254 New options.
13255 (remember-store-in-files): New function to store remember notes
13256 as separate files within a directory.
13257
4391916c
MH
132582013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13259
13260 * progmodes/compile.el (compilation-next-error-function):
13261 Pass "formats" to compilation-find-file (bug#11777).
13262
bb7cdf58
GM
132632013-04-24 Glenn Morris <rgm@gnu.org>
13264
3b8fe752 13265 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13266 * vc/vc-hg.el (vc-hg-print-log):
13267 * vc/vc-svn.el (vc-svn-print-log):
13268 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13269
bb7cdf58
GM
13270 * vc/vc-bzr.el (vc-bzr-print-log):
13271 * vc/vc-cvs.el (vc-cvs-print-log):
13272 * vc/vc-git.el (vc-git-print-log):
13273 * vc/vc-hg.el (vc-hg-print-log):
13274 * vc/vc-mtn.el (vc-mtn-print-log):
13275 * vc/vc-rcs.el (vc-rcs-print-log):
13276 * vc/vc-sccs.el (vc-sccs-print-log):
13277 * vc/vc-svn.el (vc-svn-print-log):
13278 * vc/vc.el (vc-print-log-internal): Doc fixes.
13279
b46a056e
GM
132802013-04-23 Glenn Morris <rgm@gnu.org>
13281
13282 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13283 Remove venerable code attempting to avoid substitute-command-keys.
13284
0aecf718
TH
132852013-04-23 Tassilo Horn <tsdh@gnu.org>
13286
4391916c
MH
13287 * textmodes/reftex-vars.el (reftex-label-regexps):
13288 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13289
117f94cf
SM
132902013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13291
4391916c 13292 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13293 Use lexical-binding.
13294 (jit-lock-force-redisplay): Use markers, check buffer's continued
13295 existence and beware narrowed buffers.
13296 (jit-lock-fontify-now): Adjust call accordingly.
13297
1d829c64
SM
132982013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13299
13300 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13301 to avoid misleading the user.
13302
72d548a9
LL
133032013-04-22 Leo Liu <sdl.web@gmail.com>
13304
13305 * info-look.el: Prefer latex2e.info. (Bug#14240)
13306
d0853629
MA
133072013-04-22 Michael Albinus <michael.albinus@gmx.de>
13308
13309 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13310
13311 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13312 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13313 (tramp-set-completion-function, tramp-parse-putty):
13314 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13315 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13316 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13317 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13318 (tramp-call-local-coding-command): Use `tramp-call-process'
13319 instead of `tramp-compat-call-process'.
13320
13321 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13322 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13323 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13324 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13325 (tramp-maybe-send-script): Check for Perl binary.
13326 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13327
38cc0210
DU
133282013-04-22 Daiki Ueno <ueno@gnu.org>
13329
13330 * epg.el (epg-context-pinentry-mode): New function.
13331 (epg-context-set-pinentry-mode): New function.
13332 (epg--start): Pass --pinentry-mode option to gpg command.
13333
cc641ee1
XF
133342013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13335
02d844b5 13336 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13337 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13338 `completion-at-point'. (Bug#13774)
5d4e5c31 13339
cc641ee1
XF
13340 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13341 default key binding for `describe-distribution' has been moved to
13342 `C-h C-o'. (Bug#13970)
13343
1b42ee43
GM
133442013-04-21 Glenn Morris <rgm@gnu.org>
13345
13346 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13347 Add doc strings.
13348 (vc-print-log): Clarify interactive prompt.
13349
a6d63d97
GM
133502013-04-20 Glenn Morris <rgm@gnu.org>
13351
13352 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13353 No longer include timestamp etc information.
13354
d7f5c16f
RW
133552013-04-20 Roland Winkler <winkler@gnu.org>
13356
13357 * faces.el (read-face-name): Bug fix, return just one face if arg
13358 multiple is nil. (Bug#14209)
13359
bcd7a0a4
SM
133602013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13361
13362 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13363 (remove-function): Autoload.
13364
13365 * comint.el (comint-redirect-original-filter-function): Remove.
13366 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13367 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13368 (vc-cvs-annotate-command):
bcd7a0a4
SM
13369 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13370 * progmodes/prolog.el (prolog-consult-compile):
13371 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13372 Use add/remove-function instead.
13373 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13374 (gud-tooltip-process-output, gud-tooltip-tips):
13375 Use add/remove-function instead.
13376 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13377 (scheme-interaction-mode, exit-scheme-interaction-mode):
13378 Use add/remove-function instead.
13379
13380 * vc/vc-dispatcher.el: Use lexical-binding.
13381 (vc--process-sentinel): Rename from vc-process-sentinel.
13382 Change last arg to be the code to run. Don't use vc-previous-sentinel
13383 and vc-sentinel-commands any more.
13384 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13385 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13386
e36b2d20 133872013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13388
bcd7a0a4 13389 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13390 Handle function names with a single character. (Bug#14111)
4d3268ba 13391
27821a89 133922013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13393
13394 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13395 for subroutines defined in an eval (bug#14182).
13396
7d688336
TV
133972013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13398
13399 * bookmark.el (bookmark-completing-read): Improve handling of empty
13400 string (bug#14176).
13401
31dcede0
SM
134022013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13403
13404 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13405
adc31213
FEG
134062013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13407
13408 New faster Imenu implementation (bug#14058).
13409 * progmodes/python.el:
13410 (python-imenu-prev-index-position):
13411 (python-imenu-format-item-label-function)
13412 (python-imenu-format-parent-item-label-function)
13413 (python-imenu-format-parent-item-jump-label-function):
13414 New vars.
13415 (python-imenu-format-item-label)
13416 (python-imenu-format-parent-item-label)
13417 (python-imenu-format-parent-item-jump-label)
13418 (python-imenu--put-parent, python-imenu--build-tree)
13419 (python-imenu-create-index, python-imenu-create-flat-index)
13420 (python-util-popn): New functions.
13421 (python-mode): Set imenu-create-index-function to
13422 python-imenu-create-index.
13423
cdca8255
SM
134242013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13425
13426 * winner.el (winner-active-region): Use region-active-p, activate-mark
13427 and deactivate-mark (bug#14225).
13428
13429 * simple.el (deactivate-mark): Don't inline it.
13430
beb42340
MA
134312013-04-18 Michael Albinus <michael.albinus@gmx.de>
13432
13433 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13434
fc7f4d7e
TH
134352013-04-18 Tassilo Horn <tsdh@gnu.org>
13436
13437 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13438 file extensions from the archive-mode entry in order to prefer
13439 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13440
29f47822
LL
134412013-04-18 Leo Liu <sdl.web@gmail.com>
13442
13443 * bindings.el (help-event-list): Add ?\?.
13444
d36ed1c8
SM
134452013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * subr.el (with-wrapper-hook): Declare obsolete.
13448 * simple.el (filter-buffer-substring-function): New hook.
13449 (filter-buffer-substring): Use it.
13450 (filter-buffer-substring-functions): Mark obsolete.
13451 * minibuffer.el (completion-in-region-function): New hook.
13452 (completion-in-region): Use it.
13453 (completion-in-region-functions): Mark obsolete.
13454 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13455 * abbrev.el (abbrev-expand-function): New hook.
13456 (expand-abbrev): Use it.
13457 (abbrev-expand-functions): Mark obsolete.
13458 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13459 and :filter-return.
13460
04754d36
FEG
134612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13462
13463 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13464 and do not care about match data.
13465
dd8791e9
SM
134662013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13469 completion tables when completing error conditions and
13470 `declare' arguments.
13471 (lisp-complete-symbol, field-complete): Mark as obsolete.
13472 (check-parens): Unmatched parens are user errors.
13473 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13474
ffe54a13
AM
134752013-04-17 Michal Nazarewicz <mina86@mina86.com>
13476
dd8791e9
SM
13477 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13478 command changed buffer (ie. `flyspell-pre-buffer' is not current
13479 buffer), which prevents making decisions based on invalid value of
13480 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13481 cause an error when `flyspell-pre-point' was nil after switching
13482 buffers.
13483 (flyspell-post-command-hook): No longer needs to change buffers when
13484 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13485
ec7e39f2
AM
134862013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13487
13488 * textmodes/ispell.el (ispell-add-per-file-word-list):
13489 Fix `flyspell-correct-word-before-point' error when accepting
13490 words and `coment-padding' is an integer by using
13491 `comment-normalize-vars' (Bug #14214).
13492
083850a6
FEG
134932013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13494
13495 New defun movement commands.
13496 * progmodes/python.el (python-nav--syntactically)
13497 (python-nav--forward-defun, python-nav-backward-defun)
13498 (python-nav-forward-defun): New functions.
13499
619ed6e1
FEG
135002013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13501
13502 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13503 (python-syntax-context): Use named compiler-macro for backwards
13504 compatibility with Emacs 24.x.
13505
7a1beb6c
LL
135062013-04-17 Leo Liu <sdl.web@gmail.com>
13507
13508 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13509 octave-hide-process-buffer.
13510
2d3fa3e5
SM
135112013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13514 (bug#14216).
13515
7ce5be54
JPG
135162013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13517
13518 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13519 Fix adjustment of offset when receiving incomplete responses from GDB
13520 (bug#14129).
13521
351edece
SM
135222013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13523
13524 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13525 python-mode-abbrev-table.
13526 (python-skeleton-define): Adjust accordingly.
13527 (python-mode-abbrev-table): New table that inherits from it so that
13528 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13529
13530 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13531 (abbrev-symbol): Use it.
13532 (abbrev--before-point): Use it since we already handle inheritance.
13533
613f9481
LL
135342013-04-16 Leo Liu <sdl.web@gmail.com>
13535
13536 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13537 binding to info-lookup-symbol.
13538
51646b62
JB
135392013-04-16 Juanma Barranquero <lekktu@gmail.com>
13540
13541 * minibuffer.el (completion--twq-all):
13542 * term/ns-win.el (ns-initialize-window-system):
13543 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13544
efb3f01d
SM
135452013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13546
36c0a301
SM
13547 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13548 global bindings.
13549
efb3f01d
SM
13550 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13551
fb549d64
DG
135522013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13553
13554 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13555 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13556 to nil.
13557 (ruby-end-of-defun): Remove the unused arg, change the docstring
13558 to reflect that this function is only used as the value of
13559 `end-of-defun-function'.
13560 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13561 to reflect an earlier change that beginning/end-of-defun functions
13562 jump between methods in a class definition, as well as top-level
13563 functions.
13564
21e8fe2f
SM
135652013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * minibuffer.el (minibuffer-complete): Don't just scroll
13568 a *Completions* that's been iconified.
13569 (minibuffer-force-complete): Make sure repetitions do cycle when going
13570 through completion-in-region -> minibuffer-complete.
13571
20e527d0
AM
135722013-04-15 Alan Mackenzie <acm@muc.de>
13573
13574 Correct the placement of c-cpp-delimiters when there're #s not at
13575 col 0.
13576
13577 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13578 place a submatch around the #.
21e8fe2f
SM
13579 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13580 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13581 on the #, not BOL.
13582
dabefae5
SM
135832013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13584
13585 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13586 (advice--member-p): New arg `name'.
13587 (advice--add-function, advice-member-p): Use it (bug#14202).
13588
85c9ab64
AM
135892013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13590
13591 Reformulate java imenu-generic-expression.
13592 The old expression contained ill formed regexps.
13593
13594 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13595 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13596 (cc-imenu-java-method-arg-regexp): New defconsts.
13597 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13598 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13599 handling of spaces in the regexp.
13600
0f821d99
AM
136012013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13602
13603 * textmodes/ispell.el (ispell-command-loop): Remove
13604 flyspell highlight of a word when ispell accepts it (bug #14178).
13605
eb922adf
MA
136062013-04-15 Michael Albinus <michael.albinus@gmx.de>
13607
13608 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13609 uses code from the previous `ange-ftp-run-real-handler'.
13610 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13611 only in case that function exist. This is needed for proper
13612 unloading of Tramp.
13613
4d9a0979
TH
136142013-04-15 Tassilo Horn <tsdh@gnu.org>
13615
13616 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13617
13618 * textmodes/reftex.el (reftex-compile-variables): Use it.
13619
a829b0dc
SM
136202013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13621
91e8293c
SM
13622 * files.el (normal-mode): Only use default major-mode if no other mode
13623 was specified.
13624
830aed4d
SM
13625 * emacs-lisp/trace.el (trace-values): New function.
13626
a829b0dc
SM
13627 * files.el: Allow : in local variables (bug#14089).
13628 (hack-local-variable-regexp): New var.
13629 (hack-local-variables-prop-line, hack-local-variables): Use it.
13630
7ae9f0fb
RW
136312013-04-13 Roland Winkler <winkler@gnu.org>
13632
13633 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13634 data before it gets modified by bibtex-beginning-of-entry.
13635
6646e848
RW
136362013-04-13 Roland Winkler <winkler@gnu.org>
13637
13638 * textmodes/bibtex.el (bibtex-url): Doc fix.
13639
136402013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13641
13642 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13643 does not visit a BibTeX file, exclude it from the list of buffers
13644 returned by bibtex-initialize.
13645
0aa3616e
SB
136462013-04-13 Stephen Berman <stephen.berman@gmx.net>
13647
13648 * window.el (split-window): Remove interactive form, since as a
13649 command this function is a special case of split-window-below.
13650 Correct doc string.
13651
011cddd6
RW
136522013-04-12 Roland Winkler <winkler@gnu.org>
13653
13654 * faces.el (read-face-name): Do not override value of arg default.
13655 Allow single faces and strings as default values. Remove those
13656 elements from return value that are not faces.
13657 (describe-face): Simplify.
13658 (face-at-point): New optional args thing and multiple so that this
13659 function can provide the same functionality previously provided by
13660 read-face-name.
13661 (make-face-bold, make-face-unbold, make-face-italic)
13662 (make-face-unitalic, make-face-bold-italic, invert-face)
13663 (modify-face, read-face-and-attribute): Use face-at-point.
13664
13665 * cus-edit.el (customize-face, customize-face-other-window)
13666 * cus-theme.el (custom-theme-add-face)
13667 * face-remap.el (buffer-face-set)
13668 * facemenu.el (facemenu-set-face): Use face-at-point.
13669
f24e0036
MA
136702013-04-12 Michael Albinus <michael.albinus@gmx.de>
13671
13672 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13673
da3cda2d
TH
136742013-04-10 Tassilo Horn <tsdh@gnu.org>
13675
13676 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13677 off leading { and trailing } from field values.
13678
15e54145
SM
136792013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13680
78ce603d
SM
13681 * emacs-lisp/timer.el (timer--check): New function.
13682 (timer--time, timer-set-function, timer-event-handler): Use it.
13683 (timer-set-idle-time): Simplify.
13684 (timer--activate): CSE.
13685 (timer-event-handler): Give more info in error message.
13686 (internal-timer-start-idle): New function, moved from C.
13687
15e54145
SM
13688 * mpc.el (mpc-proc): Add `restart' argument.
13689 (mpc-proc-cmd): Use it.
13690 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13691 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13692 less often.
13693
7144c627
MY
136942013-04-10 Masatake YAMATO <yamato@redhat.com>
13695
13696 * progmodes/sh-script.el: Implement `sh-mode' own
13697 `add-log-current-defun-function' (bug#14112).
13698 (sh-current-defun-name): New function.
13699 (sh-mode): Use the function.
13700
b39792eb
BG
137012013-04-09 Bastien Guerry <bzg@gnu.org>
13702
13703 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13704
8acdeb71
SM
137052013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13706
6fcdab68
SM
13707 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13708
8acdeb71
SM
13709 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13710 timer (bug#14156).
13711
e3e7b504
NF
137122013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13713
13714 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13715 declaration.
13716
201bb296
LL
137172013-04-07 Leo Liu <sdl.web@gmail.com>
13718
13719 * pcmpl-x.el: New file.
13720
ebb19708
DA
137212013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13722
13723 Do not set x-display-name until X connection is established.
13724 This is needed to prevent from weird situation described at
13725 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13726 * frame.el (make-frame): Set x-display-name after call to
13727 window system initialization function, not before.
13728 * term/x-win.el (x-initialize-window-system): Add optional
13729 display argument and use it.
13730 * term/w32-win.el (w32-initialize-window-system):
13731 * term/ns-win.el (ns-initialize-window-system):
13732 * term/pc-win.el (msdos-initialize-window-system):
13733 Add compatible optional display argument.
13734
33bb237a
EZ
137352013-04-06 Eli Zaretskii <eliz@gnu.org>
13736
13737 * files.el (normal-backup-enable-predicate): On MS-Windows and
13738 MS-DOS compare truenames of temporary-file-directory and of the
13739 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13740 don't fail comparison by compare-strings. Also, compare file
13741 names case-insensitively on MS-Windows and MS-DOS.
13742
134abf1f
SM
137432013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13744
13745 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13746 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13747
d695cb94
DG
137482013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13749
e3e7b504
NF
13750 * whitespace.el (whitespace-color-on, whitespace-color-off):
13751 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13752
f4ad7ea1 137532013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13754
13755 * ispell.el (ispell-set-spellchecker-params):
13756 Really set `ispell-args' for all equivs.
13757
632556e4
SM
137582013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * ido.el (ido-completions): Use extra elements of ido-decorations
13761 (bug#14143).
13762 (ido-decorations): Update docstring.
13763
2a417372
MA
137642013-04-05 Michael Albinus <michael.albinus@gmx.de>
13765
13766 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13767 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13768 nil during initialization, in order not to miss changes since the
13769 file was opened. (Bug#14140)
13770
fc164b0c
LL
137712013-04-05 Leo Liu <sdl.web@gmail.com>
13772
13773 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13774
0ccecc08
JB
137752013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13776
13777 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13778
51af1aa2
GM
137792013-04-04 Glenn Morris <rgm@gnu.org>
13780
13781 * electric.el (electric-pair-inhibit-predicate): Add :version.
13782
b208ebc6
SM
137832013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13784
13785 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13786 when a package is required several times (bug#14082).
13787
f3d3eaf0
RW
137882013-04-04 Roland Winkler <winkler@gnu.org>
13789
13790 * faces.el (read-face-name): Behave as promised by the docstring.
13791 Assume that arg default is a list of faces.
13792 (describe-face): Call read-face-name with list of default faces.
13793
2575da50
TV
137942013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13795
13796 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13797 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13798 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13799 the header.
13800 (bookmark-exit-hook-internal): Save even if list is empty.
13801
397703b4
YH
138022013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13803
13804 * emacs-lisp/package.el (package-pinned-packages): New var.
13805 (package--add-to-archive-contents): Obey it (bug#14118).
13806
691e26ae
AM
138072013-04-03 Alan Mackenzie <acm@muc.de>
13808
8a621d53
JB
13809 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13810 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13811
13812 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13813 parameter `not-in-delimiter'. Handle being inside comment opener.
13814 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13815 character in case we're typing a '*' after a '/'.
13816 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13817 instead by passing the parameter to c-state-pp-to-literal.
13818
13819 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13820 for elt. 7 of a parse state.
13821
4b725a70
PE
138222013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13823
13824 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13825 * international/latin1-disp.el, international/mule-util.el:
13826 * language/cyril-util.el, language/european.el, language/ind-util.el:
13827 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13828 * language/tibetan.el, language/viet-util.el:
13829 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13830
15c579f0
SM
138312013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13832
13833 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13834 (electric-pair-post-self-insert-function): Use it.
13835 (electric-pair-default-inhibit): New function, extracted from
13836 electric-pair-post-self-insert-function.
13837
a77e2924
RW
138382013-03-31 Roland Winkler <winkler@gnu.org>
13839
13840 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13841
2bd8a4a8
SM
138422013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13845
8d3655be 138462013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13847
13848 Un-indent after "pass" and "return" statements (Bug#13888)
13849 * progmodes/python.el (python-indent-block-enders): New var.
13850 (python-indent-calculate-indentation): Use it.
13851
8d3655be 138522013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13853
13854 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13855 defun. Defining it as defalias could introduce too eager
13856 byte-compiler optimization. (Bug#14030)
13857
8d3655be 138582013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13859
13860 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13861
0b1619da
LL
138622013-03-30 Leo Liu <sdl.web@gmail.com>
13863
13864 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13865 (kmacro-execute-from-register): Pass the keyboard macro to
13866 kmacro-call-macro or repeating won't work correctly.
13867
0b938190
TZ
138682013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13869
13870 * progmodes/subword.el: Back to using `forward-symbol'.
13871
13872 * subr.el (forward-whitespace, forward-symbol)
13873 (forward-same-syntax): Move from thingatpt.el.
13874
35710234
LL
138752013-03-29 Leo Liu <sdl.web@gmail.com>
13876
13877 * kmacro.el (kmacro-to-register): New command.
13878 (kmacro-execute-from-register): New function.
13879 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13880
efc0bb73
SM
138812013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 * mpc.el: Use defvar-local and setq-local.
13884 (mpc--proc-connect): Connection failures are not bugs.
13885 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13886 (mpc-volume-map): Bind to the up-events.
13887
75a2f981
TZ
138882013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13889
13890 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13891 instead of `forward-symbol'.
13892
17c781d1
SM
138932013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13896 (edebug--recursive-edit): Use it.
13897 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13898 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13899
f67bfbcf
LL
139002013-03-28 Leo Liu <sdl.web@gmail.com>
13901
13902 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13903
b59f639d
EZ
139042013-03-27 Eli Zaretskii <eliz@gnu.org>
13905
13906 * facemenu.el (list-colors-callback): New defvar.
13907 (list-colors-redisplay): New function.
13908 (list-colors-display): Install list-colors-redisplay as the
13909 revert-buffer-function. (Bug#14063)
13910
f557c1b1
SM
139112013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13912
b1da2957
SM
13913 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13914 and suffixes don't overlap (bug#14061).
13915
f557c1b1
SM
13916 * case-table.el: Use lexical-binding.
13917 (case-table-get-table): New function.
13918 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13919
002668e1
TZ
139202013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13921
13922 * progmodes/subword.el: Add `superword-mode' to do word motion
13923 over symbol_words (parallels and leverages `subword-mode' which
13924 does word motion inside MixedCaseWords).
13925
73572c72
AG
139262013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13927
78b8f320 13928 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13929 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13930
69b2c07e
SM
139312013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13932
13933 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13934 Change return value to be a sexp. Delay `get-buffer' to after
13935 restoring the desktop (bug#13951).
13936
08bb5ee2
LL
139372013-03-26 Leo Liu <sdl.web@gmail.com>
13938
13939 * register.el: Move semantic tag handling back to
13940 cedet/semantic/senator.el. (Bug#14052)
13941
8d4c974e
SM
139422013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13945 into the prompt either (bug#13963).
13946
b234d92c
SM
139472013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13948
13949 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13950 part of "(error-foo)".
13951
ddfa3cb4
JL
139522013-03-24 Juri Linkov <juri@jurta.org>
13953
13954 * replace.el (list-matching-lines-prefix-face): New defcustom.
13955 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13956 `occur-engine' if `face-differs-from-default-p' returns t.
13957 (occur-engine): Add `,' inside backquote construct to evaluate
13958 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13959 Pass `prefix-face' to the functions `occur-context-lines' and
13960 `occur-engine-add-prefix'.
13961 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13962 `prefix-face' and propertize the prefix with `prefix-face'.
13963 (Bug#14017)
13964
7b0e2f85
LL
139652013-03-24 Leo Liu <sdl.web@gmail.com>
13966
13967 * nxml/rng-valid.el (rng-validate-while-idle)
13968 (rng-validate-quick-while-idle): Guard against deleted buffer.
13969 (Bug#13999)
13970
13971 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13972 is the last entry in kill-buffer-hook.
13973
13974 * files.el (kill-buffer-hook): Doc fix.
13975
b3082f49
DG
139762013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13977
b234d92c
SM
13978 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13979 Make it safe-local.
bde73d27 13980
b3082f49
DG
13981 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13982
a320a2db
LL
139832013-03-23 Leo Liu <sdl.web@gmail.com>
13984
7e74b0fb
LL
13985 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13986 Remove.
13987
13988 * nxml/rng-valid.el (rng-validate-mode)
13989 (rng-after-change-function, rng-do-some-validation):
13990 * nxml/rng-maint.el (rng-validate-buffer):
13991 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13992 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13993 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13994 (nxml-extend-after-change-region): Use with-silent-modifications.
13995
a320a2db
LL
13996 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13997 timer-idle-list.
13998
13999 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14000 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14001 timer-idle-list. (Bug#13999)
14002
e38e6780
JL
140032013-03-23 Juri Linkov <juri@jurta.org>
14004
14005 * info.el (info-index-match): New face.
14006 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14007 main pattern and add text properties with the new face to matches
14008 in index entries relative to the beginning of the index entry.
14009 (Bug#14015)
14010
e8cc7880
DE
140112013-03-21 Eric Ludlam <zappo@gnu.org>
14012
39c87140 14013 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14014 Inhibit read only while inserting objects.
14015
9bb0d822
TZ
140162013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14017
14018 * progmodes/cfengine.el: Update docs to mention
14019 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14020 symbol motion. Remove "_" from the word syntax.
14021
aa703640
TZ
140222013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14023
14024 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14025 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14026
afff09d0
JL
140272013-03-20 Juri Linkov <juri@jurta.org>
14028
14029 * info.el (Info-next-reference-or-link)
14030 (Info-prev-reference-or-link): New functions.
14031 (Info-next-reference, Info-prev-reference): Use them.
14032 (Info-try-follow-nearest-node): Handle footnote navigation.
14033 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14034
9a1ff164
SM
140352013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14036
14037 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14038 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14039
2667d15d
PE
140402013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14041
14042 Suppress unnecessary non-ASCII chatter during build process.
14043 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14044 (batch-skkdic-convert): Suppress most of the chatter.
14045 It's not needed so much now that machines are faster,
14046 and its non-ASCII component was confusing; see Dmitry Gutov in
14047 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14048
438b0579
LL
140492013-03-20 Leo Liu <sdl.web@gmail.com>
14050
14051 * ido.el (ido-chop): Fix bug#10994.
14052
c128ab07
DG
140532013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14054
14055 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14056 Remove vars.
9a1ff164
SM
14057 (whitespace-color-on, whitespace-color-off):
14058 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14059
0e6008c5
SM
140602013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14061
14062 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14063 remapping in mode-line.
14064 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14065
627b52b0
DG
140662013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14067
14068 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14069 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14070 (whitespace-font-lock-keywords): Change description.
14071 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14072 the constructed keywords instead.
14073 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14074
50c3a20b
LL
140752013-03-19 Leo Liu <sdl.web@gmail.com>
14076
14077 * progmodes/compile.el (compilation-display-error): New command.
14078 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14079 C-o. (Bug#13992)
14080
2aa2157b
PE
140812013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14082
14083 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14084
e477dbfa
JD
140852013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14086
14087 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14088
64ab82d1
MA
140892013-03-18 Michael Albinus <michael.albinus@gmx.de>
14090
14091 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14092
14093 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14094 * net/tramp-gvfs.el (top):
14095 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14096 (tramp-handle-shell-command): Use it.
14097 (tramp-dissect-file-name): Raise an error when hostname is a
14098 method name, and neither method nor user is specified.
14099
14100 * net/trampver.el: Update release number.
14101
33cef733
LL
141022013-03-18 Leo Liu <sdl.web@gmail.com>
14103
14104 Make sure eldoc can be turned off properly.
14105 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14106 eldoc-mode.
14107 (eldoc-display-message-p): Revert last change.
14108 (eldoc-display-message-no-interference-p)
14109 (eldoc-print-current-symbol-info): Tweak.
14110
2167b7b2
TH
141112013-03-18 Tassilo Horn <tsdh@gnu.org>
14112
14113 * doc-view.el (doc-view-new-window-function): Check the new window
14114 overlay's display property instead the char property of the
14115 buffer's first char. Use `with-selected-window' instead of
14116 `save-window-excursion' with `select-window'.
14117 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14118 display property instead the char property of the buffer's first char.
2167b7b2 14119
982efbcd
PE
141202013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14121
14122 Automate the build of ja-dic.el (Bug#13984).
14123 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14124 from the input, rather than assume that it's been done for us by the
14125 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14126 the current date into a ja-dic.el comment, as that complicates
14127 regression testing.
14128
2fcc7665
SM
141292013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14130
14131 * whitespace.el: Fix double evaluation.
14132 (whitespace-space, whitespace-hspace, whitespace-tab)
14133 (whitespace-newline, whitespace-trailing, whitespace-line)
14134 (whitespace-space-before-tab, whitespace-indentation)
14135 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14136 obsolete defvars.
14137 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14138 (whitespace-color-on): Use a single font-lock-add-keywords call.
14139 Fix double-evaluation of face variables.
14140
67c0a6e6
MA
141412013-03-17 Michael Albinus <michael.albinus@gmx.de>
14142
2fcc7665
SM
14143 * net/tramp-adb.el (tramp-adb-parse-device-names):
14144 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14145 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14146
69489f1d
LL
141472013-03-17 Leo Liu <sdl.web@gmail.com>
14148
14149 Extend eldoc to display info in the mode-line. (Bug#13978)
14150 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14151 (eldoc-mode-line-string): New variable.
14152 (eldoc-minibuffer-message): New function.
14153 (eldoc-message-function): New variable.
14154 (eldoc-message): Use it.
14155 (eldoc-display-message-p)
2fcc7665
SM
14156 (eldoc-display-message-no-interference-p):
14157 Support eldoc-post-insert-mode.
69489f1d
LL
14158
14159 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14160 (eval-expression): Run it.
14161
9c44569e
RW
141622013-03-17 Roland Winkler <winkler@gnu.org>
14163
14164 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14165 strings in the list of return values.
14166
327f1f6f
JB
141672013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14168
14169 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14170 radix before checking for HMS forms.
14171
67ed8fcd
LL
141722013-03-16 Leo Liu <sdl.web@gmail.com>
14173
14174 * progmodes/scheme.el: Add indentation and font-locking for λ.
14175 (Bug#13975)
14176
78be8b64 141772013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14178
14179 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14180 token before point (bug#13942).
14181
78be8b64 141822013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14183
95b43468 14184 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14185
98e775e6
EZ
141862013-03-16 Eli Zaretskii <eliz@gnu.org>
14187
14188 * startup.el (command-line-normalize-file-name): Fix handling of
14189 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14190 <xfq.free@gmail.com> in
14191 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14192
2edd6029
MA
141932013-03-15 Michael Albinus <michael.albinus@gmx.de>
14194
14195 Sync with Tramp 2.2.7.
14196
14197 * net/trampver.el: Update release number.
14198
d35f5864
TH
141992013-03-14 Tassilo Horn <tsdh@gnu.org>
14200
e903c210 14201 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14202 (doc-view-insert-image): Don't modify overlay associated to
14203 non-live windows, and implement horizontal centering of image in
14204 case it's smaller than the window.
14205 (doc-view-new-window-function): Force redisplay of new windows on
14206 doc-view buffers.
d35f5864 14207
1c4a85ed
KF
142082013-03-13 Karl Fogel <kfogel@red-bean.com>
14209
14210 * saveplace.el (save-place-alist-to-file): Don't sort
14211 `save-place-alist', just pretty-print it (bug#13882).
14212
85b66a21
MA
142132013-03-13 Michael Albinus <michael.albinus@gmx.de>
14214
a020afb9
JB
14215 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14216 Check whether `default-file-name-coding-system' is bound.
14217 It isn't in XEmacs.
85b66a21 14218
175600da
SM
142192013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14220
e7f7cb1a
SM
14221 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14222 backquotes for `obsolete' (bug#13929).
14223
175600da
SM
14224 * international/mule.el (find-auto-coding): Include file name in
14225 obsolescence warning (bug#13922).
14226
ca68a22e
TZ
142272013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14228
14229 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14230 for CFEngine 3-specific indentation.
14231 (cfengine3-indent-line): Use it. Fix up category regex.
14232 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14233
940e5099
SM
142342013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 * type-break.el (type-break-file-name):
14237 * textmodes/remember.el (remember-data-file):
14238 * strokes.el (strokes-file):
14239 * shadowfile.el (shadow-initialize):
14240 * saveplace.el (save-place-file):
14241 * ps-bdf.el (bdf-cache-file):
14242 * progmodes/idlwave.el (idlwave-config-directory):
14243 * net/quickurl.el (quickurl-url-file):
14244 * international/kkc.el (kkc-init-file-name):
14245 * ido.el (ido-save-directory-list-file):
14246 * emulation/viper.el (viper-custom-file-name):
14247 * emulation/vip.el (vip-startup-file):
14248 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14249 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14250
cc725808
PE
142512013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14252
14253 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14254 * language/thai-word.el: Switch to UTF-8.
14255
a020afb9 14256See ChangeLog.16 for earlier changes.
e3d51b27
MR
14257
14258;; Local Variables:
14259;; coding: utf-8
e3d51b27
MR
14260;; End:
14261
ba318903 14262 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14263
14264 This file is part of GNU Emacs.
14265
14266 GNU Emacs is free software: you can redistribute it and/or modify
14267 it under the terms of the GNU General Public License as published by
14268 the Free Software Foundation, either version 3 of the License, or
14269 (at your option) any later version.
14270
14271 GNU Emacs is distributed in the hope that it will be useful,
14272 but WITHOUT ANY WARRANTY; without even the implied warranty of
14273 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14274 GNU General Public License for more details.
14275
14276 You should have received a copy of the GNU General Public License
14277 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.