lisp/align.el (align-region): Do not fail when end-mark is nil (bug#17088).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
74be1649
NR
12014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2
3 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4
c2d6c639
DG
52014-03-24 Dmitry Gutov <dgutov@yandex.ru>
6
7 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
8 Match special global variables without curlies, too.
9 (ruby-font-lock-keywords): Simplify the matcher for special global
10 variables. Don't require a non-word character after the variable.
11 (Bug#17057)
12
f6614a47
SM
132014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * simple.el (redisplay-highlight-region-function): Increase priority of
16 overlay to make sure boundaries are visible (bug#15899).
17
3ea2c781
JB
182014-03-23 Juanma Barranquero <lekktu@gmail.com>
19
ee79b33f
JB
20 * frameset.el (frameset-restore): Compare display strings with equal.
21
3ea2c781
JB
22 * frame.el (make-frame): Don't quote display name in error message,
23 it is already a string.
24
f1e06f7b
TV
252014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
26
27 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
28 the password.
29
2614c1af
DG
302014-03-23 Dmitry Gutov <dgutov@yandex.ru>
31
32 * emacs-lisp/package.el (package-show-package-list): If the buffer
33 is already displayed in another window, switch to that window.
34
a41475e1
DC
352014-03-21 Daniel Colascione <dancol@dancol.org>
36
37 * mail/emacsbug.el (report-emacs-bug): Include memory usage
38 information in bug reports.
39
7eab98da
DC
402014-03-23 Daniel Colascione <dancol@dancol.org>
41
42 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
43 list to look for keyword arguments instead of `memq', fixing
44 (Bug#3647) --- unfortunately, only for freshly-compiled code.
45 Please make bootstrap.
46
9e37f3b9
RS
472014-03-23 Richard Stallman <rms@gnu.org>
48
49 * battery.el (battery-linux-sysfs): Search for each field
50 from the beginning of the buffer.
51
1197f2e6
DG
522014-03-22 Dmitry Gutov <dgutov@yandex.ru>
53
54 * emacs-lisp/package.el (package-desc): Use the contents of the
55 quoted form, not its cdr. (Bug#16873)
56
aac06179
JB
572014-03-22 Juanma Barranquero <lekktu@gmail.com>
58
59 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
60 benefit of doc.c; change parameter profile to match the X function.
61
1e92a8a3
MA
622014-03-21 Michael Albinus <michael.albinus@gmx.de>
63
64 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
65 and `tramp-copy-env'.
66
67 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
68 (tramp-maybe-open-connection): Handle `tramp-login-env'.
69
78540c42
GM
702014-03-21 Glenn Morris <rgm@gnu.org>
71
72 * electric.el (electric-indent-post-self-insert-function): Add doc.
73
1fc8f655
DG
742014-03-21 Dmitry Gutov <dgutov@yandex.ru>
75
dcf78667
DG
76 * emacs-lisp/package.el (package-compute-transaction):
77 Use `version-list-<=' to compare the requirement version against
78 the version of package already to be installed. Update the error
79 message. (Bug#16826)
80
1fc8f655
DG
81 * progmodes/ruby-mode.el (ruby-smie-rules):
82 Add indentation rule for ` @ '. (Bug#17050)
83
dada060d
JB
842014-03-21 Juanma Barranquero <lekktu@gmail.com>
85
86 * align.el (align-regexp): Remove superfluous backslash.
87
88 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
89 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
90 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
91 Fix docstring typos.
92 (ffap-next): Use C-u in docstring.
93 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
94 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
95 Remove superfluous backslashes.
96 (ffap-string-at-point): Reflow docstring.
97
98 * server.el (server-host): Reflow docstring.
99 (server-unload-function): Fix docstring typo.
100 (server-eval-at): Remove superfluous backslash.
101
102 * skeleton.el (skeleton-insert): Remove superfluous backslash.
103 (skeleton-insert): Doc fix.
104 (skeleton-insert): Reflow docstring.
105
106 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
107 (tty-color-approximate, tty-color-by-index, tty-color-values)
108 (tty-color-desc): Remove superfluous backslashes.
109
049fac7c
SM
1102014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
111
494ec1e7
SM
112 * electric.el (electric-newline-and-maybe-indent): New command.
113 Bind it globally to C-j.
114 (electric-indent-mode): Don't mess with the global map any more.
115 Don't drop the post-self-insert-hook is some buffer is still using it
116 (bug#16770).
117 * bindings.el (global-map): Remove C-j binding.
118
049fac7c
SM
119 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
120 the docstring of functions advised before dumping (bug#16993).
121
f15ec1ba 1222014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
123
124 * ps-print.el (ps-generate-postscript-with-faces):
125 Explicitly deactivate the mark (bug#16866).
126 * simple.el (deactivate-mark): Update region highlight.
127
f88bdc45
JB
1282014-03-19 Juanma Barranquero <lekktu@gmail.com>
129
130 * emacs-lisp/package.el (describe-package-1):
131 Decode commentary (bug#16733).
132
6b88e570
JB
1332014-03-18 Juanma Barranquero <lekktu@gmail.com>
134
135 * custom.el (defcustom): Doc fix: recommend avoiding destructive
136 modification of the value argument of :set (bug#16755).
137
ac9b4703
SM
1382014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
139
140 * simple.el (newline-and-indent): Do autofill (bug#17031).
141
2b7858ec
DG
1422014-03-18 Dmitry Gutov <dgutov@yandex.ru>
143
144 * newcomment.el (comment-normalize-vars): Only add escaping check
145 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
146 (comment-beginning): Use `narrow-to-region' instead of moving back
147 one character.
148 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
149 (comment-start-skip): Update the docstring.
150
11eff3ae
RS
1512014-03-18 Richard Stallman <rms@gnu.org>
152
153 * dired.el (dired-display-file): Force use of other window.
154
07f44fdb
JB
1552014-03-18 Daniel Colascione <dancol@dancol.org>
156
157 * startup.el (tty-handle-args): Remove debug message from 2007.
158
1592014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
160
161 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
162 (advice--make-interactive-form): Use it to avoid (auto)loading function.
163 (advice--make-1, advice-add, advice-remove):
164 Remove braindead :advice-pending hack.
165
61debe4a
GM
1662014-03-17 Glenn Morris <rgm@gnu.org>
167
168 * calendar/calendar.el (calendar-generate-month): Apply weekend
169 face to the right days; fixes 2013-08-06 change. (Bug#17028)
170
8273986b
MA
1712014-03-17 Michael Albinus <michael.albinus@gmx.de>
172
173 * net/tramp.el (tramp-action-out-of-band): Read pending output.
174 (tramp-call-process): Trace also DESTINATION.
175
176 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
177 Quote file names when they are local. Remove superfluous trace.
178
4f8aeb84
DG
1792014-03-17 Dmitry Gutov <dgutov@yandex.ru>
180
218feefc
DG
181 * newcomment.el (comment-beginning): If `comment-start-skip'
182 doesn't match, move back one char and try again. (Bug#16971)
183
6c187ef5
SM
184 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
185 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
186 Set `comment-start-skip' to a simpler value that doesn't try to
187 check if the semicolon is escaped (this is handled by
188 `syntax-ppss' now). (Bug#16971)
189
190 * progmodes/scheme.el (scheme-mode-variables): Same.
191
b92631bf
MR
1922014-03-16 Martin Rudalics <rudalics@gmx.at>
193
194 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
195 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
196 current (Bug#16816, Bug#17007).
197 (with-current-buffer-window): New macro doing the same as
198 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
199 * help.el (help-print-return-message): Warn in doc-string to not
200 use this in `with-help-window'.
201 (describe-bindings-internal): Call `describe-buffer-bindings'
202 from within help buffer. See Juanma's scenario in (Bug#16816).
203 (with-help-window): Update doc-string.
204 * dired.el (dired-mark-pop-up):
205 * files.el (save-buffers-kill-emacs):
206 * register.el (register-preview): Use `with-current-buffer-window'
207 instead of `with-temp-buffer-window'.
208
57348c4d
JB
2092014-03-16 Juanma Barranquero <lekktu@gmail.com>
210
211 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
212 Implement inserting into current buffer, documented in their docstrings.
213 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
214 (rst-section-tree-point, rst-forward-section, rst-indent)
215 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
216 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
217 (rst-font-lock-handle-adornment-pre-match-form)
218 (rst-repeat-last-character): Reflow docstrings.
219 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
220 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
221 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
222 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
223 Fix docstring typos.
224 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
225 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
226 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
227
fd16b061
JB
2282014-03-15 Juanma Barranquero <lekktu@gmail.com>
229
a2403e3d
JB
230 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
231 for compatibility with other ports.
232 (ns-initialize-window-system): Use it. It is set in term/common-win.el
233 from the -xrm command line argument, but in the Nextstep port its value
234 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
235
fd16b061
JB
236 * progmodes/python.el (defconst, python-syntax-count-quotes)
237 (python-indent-region, python-indent-shift-right)
238 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
239 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
240 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
241 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
242 (inferior-python-mode, python-shell-make-comint, run-python-internal)
243 (python-shell-buffer-substring, python-shell-send-buffer)
244 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
245 (python-completion-complete-at-point, python-fill-docstring-style)
246 (python-eldoc-function, python-imenu-format-item-label)
247 (python-imenu-format-parent-item-label)
248 (python-imenu-format-parent-item-jump-label)
249 (python-imenu--build-tree, python-imenu-create-index)
250 (python-imenu-create-flat-index): Fix docstring typos.
251 (python-indent-context, python-shell-prompt-regexp, run-python):
252 Remove superfluous backslashes.
253 (python-indent-line, python-nav-beginning-of-defun)
254 (python-shell-get-buffer, python-shell-get-process)
255 (python-info-current-defun, python-info-current-line-comment-p)
256 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
257 (python-indent-post-self-insert-function, python-shell-send-file)
258 (python-shell-completion-get-completions)
259 (python-shell-completion-complete-or-indent)
260 (python-eldoc--get-doc-at-point): Reflow docstrings.
261
e94807f0
GM
2622014-03-14 Glenn Morris <rgm@gnu.org>
263
88103345
GM
264 * emacs-lisp/package.el (package-menu-mode-map):
265 Replace use of obsolete function alias. Tweak menu item text.
266
f2dd4ba8
GM
267 * info.el (Info-finder-find-node):
268 Ignore the `emacs' metapackage. (Bug#10813)
269
ac0f82ef
GM
270 * finder.el (finder-list-matches): Include unversioned packages
271 in the result of a keyword search.
272
e94807f0
GM
273 * finder.el (finder--builtins-descriptions): New constant.
274 (finder-compile-keywords): Use finder--builtins-descriptions.
275
50d434d1
DG
2762014-03-14 Dmitry Gutov <dgutov@yandex.ru>
277
278 * simple.el (blink-matching-paren): Describe the new value,
279 `jump', enabling the old behavior.
280 (blink-matching-open): Use that value. (Bug#17008)
281
56759cf1
GM
2822014-03-14 Glenn Morris <rgm@gnu.org>
283
459d74ef
GM
284 * finder.el (finder-no-scan-regexp): Add leim-list.
285 (finder-compile-keywords):
286 Don't skip files with same basename. (Bug#14010)
287 * Makefile.in (setwins_finder): New, excluding leim.
288 (finder-data): Use setwins_finder.
289
56759cf1
GM
290 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
291 (help-function-arglist, help-make-usage): Move from here...
292 * help.el (help-split-fundoc, help-add-fundoc-usage)
293 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
294 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
295
7644aa97
JB
2962014-03-14 Juanma Barranquero <lekktu@gmail.com>
297
298 * net/socks.el (socks, socks-override-functions)
fd16b061 299 (socks-find-services-entry):
7644aa97
JB
300 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
301 (hif-find-ifdef-block):
302 * progmodes/modula2.el (m2-indent): Fix docstring typos.
303
304 * net/tls.el (tls-program): Reflow docstring.
305
306 * progmodes/pascal.el (pascal-mode-abbrev-table)
307 (pascal-imenu-generic-expression, pascal-auto-endcomments)
308 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
309 (pascal-outline-mode): Fix docstring typos.
310 (pascal-mode): Let define-derived-mode document mode hook.
311 (pascal-uncomment-area): Reflow.
312 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
313
314 * progmodes/opascal.el (opascal-compound-block-indent)
315 (opascal-case-label-indent): Fix docstring typos.
316 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
317
1f44df94
DG
3182014-03-13 Dmitry Gutov <dgutov@yandex.ru>
319
07f44fdb
JB
320 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
321 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 322
0d71dfb3
TW
3232014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
324
325 * emacs-lisp/package.el (package--prepare-dependencies):
326 Accept requirements without explicit version (bug#14941).
327
d27a1a7b
JB
3282014-03-12 Juanma Barranquero <lekktu@gmail.com>
329
a5765a3d
JB
330 * register.el (register-separator, copy-to-register): Doc fixes.
331 (register-preview-default): Remove unnecessary call to concat.
332
d27a1a7b
JB
333 * frameset.el (frameset-restore): When checking for a visible frame,
334 use the action map instead of calling visible-frame-list.
335
08dfa0b7
JB
3362014-03-12 Jonas Bernoulli <jonas@bernoul.li>
337
338 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
339
8960529e
MR
3402014-03-12 Martin Rudalics <rudalics@gmx.at>
341
342 * window.el (fit-frame-to-buffer): Get maximum width from
343 display's width instead of height.
344
8a51e8e4
GM
3452014-03-12 Glenn Morris <rgm@gnu.org>
346
46456005
GM
347 * desktop.el (desktop-restore-frames)
348 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
349 (desktop-restore-reuses-frames): Doc tweaks.
350
8a51e8e4
GM
351 * electric.el (electric-indent-mode): Doc fix.
352
5983b317
JB
3532014-03-12 Juanma Barranquero <lekktu@gmail.com>
354
355 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
356 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
357 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
358 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
359 (cvs-dired-use-hook): Fix docstring typos.
360 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
361 Doc fixes.
362
363 * vc/pcvs-defs.el (cvs-auto-remove-handled)
364 (cvs-auto-remove-directories, cvs-default-ignore-marks)
365 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
366 (cvs-execute-single-dir): Fix docstring typos.
367
368 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
369 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
370
371 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
372
373 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
374 Fix docstring typos.
375
13c00cf0
JB
3762014-03-12 Juanma Barranquero <lekktu@gmail.com>
377
378 * frameset.el (frameset--jump-to-register): Add autoload; it could be
379 called from jump-to-register after unloading the frameset package.
380
536a17e3
SM
3812014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
384 (bug#16975). Deactivate the mark before setting it to nil.
385 (activate-mark): Do nothing if region is already active.
386
baf8d0ac
JB
3872014-03-11 Juanma Barranquero <lekktu@gmail.com>
388
389 * frameset.el (frameset--target-display): Remove definition; declare.
390 (frameset-save, frameset-restore): Let-bind frameset--target-display.
391
1ea22560
SM
3922014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
395 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
396 when the advice is pending.
397 (advice-remove): Remove this marker when not needed any more.
398
4538c058
JB
3992014-03-11 Juanma Barranquero <lekktu@gmail.com>
400
401 * frameset.el: Separate options for reusing frames and cleaning up.
402 (frameset--reuse-list): Remove definition; declare.
403 (frameset--action-map): Declare.
404 (frameset--find-frame-if): Doc fix.
405 (frameset--restore-frame): Cache frame action.
406 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
407 how to clean up the frame list after restoring. Remove cleaning
408 options from REUSE-FRAMES. Change all keyword values to symbols.
409 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
410
411 * desktop.el (desktop-restore-forces-onscreen)
412 (desktop-restore-reuses-frames): Use non-keyword values.
413 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
414
ba1a5c78
GM
4152014-03-10 Glenn Morris <rgm@gnu.org>
416
776aa432
GM
417 * files.el (find-file): Doc fix: update info node name.
418
ba1a5c78
GM
419 * emacs-lisp/advice.el (ad-add-advice, defadvice):
420 Doc fix: remove references to deleted info nodes.
421
183d706e
MA
4222014-03-10 Michael Albinus <michael.albinus@gmx.de>
423
424 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
425 Do not add `nil' to the environment, when there's no remote `locale'.
426 (tramp-find-inline-encoding): Check, that the remote host has
427 installed perl, before sending scripts.
428
6f0f96e7
LL
4292014-03-10 Leo Liu <sdl.web@gmail.com>
430
536a17e3
SM
431 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
432 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 433
ca70fe78
SM
4342014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
437 (bug#14430).
438
eb67db41
JL
4392014-03-09 Juri Linkov <juri@jurta.org>
440
441 * ansi-color.el (ansi-color-names-vector): Copy default colors
442 from `xterm-standard-colors' that look well on the default white
443 background (and also on the black background) to avoid illegible
8cf07e5a 444 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
445 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
446
e7db5447
JB
4472014-03-08 Juanma Barranquero <lekktu@gmail.com>
448
449 * frameset.el (frameset-restore): When no frame is visible, do not
450 generate a list of frames, just make visible the selected one.
451
f0a4c8d7
DG
4522014-03-08 Dmitry Gutov <dgutov@yandex.ru>
453
454 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
455 it only contains the repository root. (Bug#16897)
456
e50772e3
MA
4572014-03-07 Michael Albinus <michael.albinus@gmx.de>
458
459 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
460 only when `remote-file-name-inhibit-cache' is nil.
461 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
462
cac0a1d6
MR
4632014-03-06 Martin Rudalics <rudalics@gmx.at>
464
465 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
466 Fix doc-strings.
467 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
468 fit-frame-to-buffer variable. Fix doc-string.
469 (fit-window-to-buffer): Set ONLY argument in call of
470 fit-frame-to-buffer. Fix doc-string.
471
fa965cbf
MA
4722014-03-06 Michael Albinus <michael.albinus@gmx.de>
473
474 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
475 (tramp-action-password): Clear password cache if needed.
476 (tramp-read-passwd): Do not clear password cache.
477
478 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
479 cache unless it is the first password request.
480
c94e6ee4
GM
4812014-03-06 Glenn Morris <rgm@gnu.org>
482
03bc753e
GM
483 * simple.el (newline): Doc tweak.
484
c94e6ee4
GM
485 * emacs-lisp/shadow.el (load-path-shadows-find):
486 Ignore dir-locals. (Bug#12357)
487
bd2d43dc
GM
4882014-03-05 Glenn Morris <rgm@gnu.org>
489
490 * files.el (interpreter-mode-alist):
491 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
492
9284000e
JB
4932014-03-05 Juanma Barranquero <lekktu@gmail.com>
494
495 * frameset.el (frameset--initial-params): Filter out null entries.
496
e1a2cb1c
MR
4972014-03-05 Martin Rudalics <rudalics@gmx.at>
498
27821a89
JB
499 * window.el (window-min-height, window-min-width):
500 Rewrite doc-strings.
e1a2cb1c
MR
501 (window-body-size): Add PIXELWISE argument to make it consistent
502 with its callees.
503
6bf67038
JB
5042014-03-05 Juanma Barranquero <lekktu@gmail.com>
505
506 * finder.el (finder-mode-map, finder-mode-syntax-table):
507 Revert part of 2014-02-28 change.
508
90f04e4c
LI
5092014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
510
511 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
512 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
513 (eww-textarea-map): [tab] doesn't work on tty.
514 Reported by Mario Lang.
6952100d
LI
515
516 * net/shr.el (shr-map): Ditto.
90f04e4c 517
3106d59b
GM
5182014-03-04 Glenn Morris <rgm@gnu.org>
519
520 * minibuffer.el (completion-hilit-commonality):
521 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
522
f604dfdc
JB
5232014-03-04 Juanma Barranquero <lekktu@gmail.com>
524
525 * hilit-chg.el (hilit-chg-unload-function): New function.
526 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
527 (hilit-chg-map-changes): Prefer cardinal number to digit.
528 (hilit-chg-display-changes): Reflow docstring.
529 (highlight-changes-rotate-faces): Remove superfluous backslash.
530
5dc65319
MA
5312014-03-04 Michael Albinus <michael.albinus@gmx.de>
532
533 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
534 `tramp-send-command-and-check'.
535
4242d21d
JB
5362014-03-04 Juanma Barranquero <lekktu@gmail.com>
537
b01fa838
JB
538 * hexl.el (hexl-address-region, hexl-ascii-region)
539 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
540 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
541 (hexl-forward-word, hexl-previous-line, hexl-next-line):
542 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
543 (hexl-mode): Doc fix.
544 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
545 (hexl-mode-ruler): Fix typos in docstrings.
546
4242d21d
JB
547 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
548 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
549 Remove superfluous backslashes.
550 (strokes-last-stroke, strokes-global-map, strokes-mode):
551 Reflow docstrings.
552 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
553 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
554 (strokes-distance-squared, strokes-global-set-stroke)
555 (strokes-global-set-stroke-string): Doc fixes.
556 (strokes-help): Fix typos; reflow docstring.
557
87132570
MR
5582014-03-04 Martin Rudalics <rudalics@gmx.at>
559
560 * window.el (window-in-direction): Fix doc-string.
561
d82e752c
GM
5622014-03-04 Glenn Morris <rgm@gnu.org>
563
564 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
565 Explicit error if no grammar.
566 (smie-config-save): Doc fix. Fix quote typo.
567
62528af0
SM
5682014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
569
8d4901dc
SM
570 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
571 electric-indent-mode-hook if we obey electric-indent-mode.
572 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
573 decide whether we obey electric-indent-mode.
574 (c-change-set-fl-decl-start, c-extend-after-change-region):
575 Silence warnings.
576 (c-electric-indent-mode-hook): Assume we do want to obey
577 electric-indent-mode.
578
579 * electric.el (electric-indent-mode-has-been-called): Remove.
580 (electric-indent-mode): Fix accordingly.
581
092c12b2
SM
582 * files.el (hack-local-variables): Mention file name in warning.
583
62528af0
SM
584 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
585
5b87d0d9
MN
5862014-03-04 Michal Nazarewicz <mina86@mina86.com>
587
588 * binding.el: Add comment describing why C-d binds to `delete-char'.
589 * simple.el (delete-forward-char): Mark as interactive-only.
590
542a3840
JB
5912014-03-03 Juanma Barranquero <lekktu@gmail.com>
592
f2d2402e
GM
593 * icomplete.el (icomplete-completions):
594 Follow-up to 2014-03-01 change.
d11320e5
JB
595
596 * icomplete.el: Miscellaneous doc fixes.
597 Use Icomplete everywhere instead of icomplete for consistency.
598 (icomplete-max-delay-chars): Fix typo.
599 (icomplete-mode): Use \[].
600 (icomplete-tidy, icomplete-exhibit): Reflow.
601 (icomplete-minibuffer-setup-hook, icomplete-completions):
602 Remove superfluous backlashes.
603
604 * ido.el: Miscellaneous doc fixes.
605 Use Ido everywhere instead of ido or `ido' for consistency.
606 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
607 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
608 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
609 (ido-separator): Extract obsolescence info from docstring and declare
610 with make-obsolete-variable.
611 (ido-minibuffer-setup-hook): Simplify example.
612 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
613 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
614 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
615 (ido-everywhere): Reflow docstring.
616 (ido-toggle-vc): Doc fix.
617 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
618 of long list of keybindings.
619
7ebd57e9
GM
6202014-03-03 Glenn Morris <rgm@gnu.org>
621
622 * frame.el (display-pixel-height, display-pixel-width)
623 (display-mm-dimensions-alist, display-mm-height)
624 (display-mm-width): Doc tweaks.
625
35e951cd 6262014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
627
628 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
629 case of undo in region.
630
b923819c
MR
6312014-03-02 Martin Rudalics <rudalics@gmx.at>
632
633 * window.el (fit-window-to-buffer): Fix argument in window-size
634 call when window is horizontally combined.
635
b6e443c5
JB
6362014-03-02 Juanma Barranquero <lekktu@gmail.com>
637
638 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 639 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 640
1850913d
DG
6412014-03-01 Dmitry Gutov <dgutov@yandex.ru>
642
35e951cd
JB
643 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
644 Highlight regexp options. (Bug#16914)
1850913d 645
04b577b6
MR
6462014-03-01 Martin Rudalics <rudalics@gmx.at>
647
648 * window.el (window--max-delta-1): Round down when calculating
649 how many lines/columns we can get from a window.
650
b829360f
GM
6512014-03-01 Glenn Morris <rgm@gnu.org>
652
2501c912
GM
653 * isearch.el (search-invisible): Doc fix.
654
b829360f
GM
655 * minibuffer.el (completion-hilit-commonality):
656 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
657 * comint.el (comint-dynamic-list-completions): Doc fix.
658 * comint.el (comint-dynamic-list-completions):
659 * filecache.el (file-cache-minibuffer-complete):
660 * tempo.el (tempo-display-completions):
661 * eshell/em-hist.el (eshell-list-history):
662 Replace use of obsolete argument of display-completion-list.
663
9a155058
JB
6642014-03-01 Juanma Barranquero <lekktu@gmail.com>
665
666 * icomplete.el (icomplete-completions):
667 Revert back to using "..." when ?… cannot be displayed.
668
53f6cda8
JB
6692014-02-28 Juanma Barranquero <lekktu@gmail.com>
670
671 * finder.el (finder-unload-function): New function.
672
43977c23
JB
6732014-02-28 Juanma Barranquero <lekktu@gmail.com>
674
675 * dframe.el (dframe-detach):
676 * find-dired.el (find-dired, find-name-dired):
677 * finder.el (finder-mode-map, finder-mode-syntax-table)
678 (finder-headmark, finder-select, finder-mouse-select):
679 Fix docstring typos.
680
9dda75ad
MR
6812014-02-28 Martin Rudalics <rudalics@gmx.at>
682
683 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
684 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
685 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
686 Fix doc-string based on a suggestion by Nicolas Richard
687 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
688 * help.el (with-help-window): Fix doc-string.
689
8a73034e
IK
6902014-02-28 Ivan Kanis <ivan@kanis.fr>
691
b70257b0
GM
692 * net/shr.el (shr-image-animate): New option.
693 (shr-put-image): Respect shr-image-animate.
8a73034e 694
245aa73e
MA
6952014-02-28 Michael Albinus <michael.albinus@gmx.de>
696
697 * net/tramp-adb.el (tramp-adb-parse-device-names):
698 Use `accept-process-output'.
699 (tramp-adb-handle-file-truename): Cache the localname only.
700 (tramp-adb-handle-make-directory)
701 (tramp-adb-handle-delete-directory): Flush file properties correctly.
702 (tramp-adb-handle-set-file-modes): Do not raise an error when file
703 modes cannot be changed.
704
705 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
706 file properties of symlinks.
707
48e15d64
PS
7082014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
709
710 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
711 required/optional fields to match development biblatex. (Bug#16781)
712
65b77347
AS
7132014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
714
715 * saveplace.el (toggle-save-place):
716 Fix argument handling. (Bug#16673)
717
5e618aba
GM
7182014-02-28 Glenn Morris <rgm@gnu.org>
719
720 * minibuffer.el (completions-first-difference)
721 (completions-common-part, completion-hilit-commonality): Doc fixes.
722
6deb314e
KB
7232014-02-28 Karl Berry <karl@gnu.org>
724
725 * info.el (Info-mode-map): Add H for describe-mode,
726 to synchronize with standalone Info.
727
289996f5
EL
7282014-02-28 Emilio C. Lopes <eclig@gmx.net>
729
730 * progmodes/sql.el (sql-interactive-mode):
731 Avoid setting global comint-input-ring-separator. (Bug#16814)
732
79fc1191
MA
7332014-02-27 Michael Albinus <michael.albinus@gmx.de>
734
735 * net/dbus.el (dbus--init-bus): Declare function.
736 (dbus-path-local, dbus-interface-local): New defconst.
737 (dbus-init-bus): Use them.
738 (dbus-return-values-table): Extend doc.
739 (dbus-handle-bus-disconnect): Extend error message.
740
298520df
JB
7412014-02-27 Juanma Barranquero <lekktu@gmail.com>
742
743 * subr.el (y-or-n-p): Fix double space issue in message.
744
c22c1614
MA
7452014-02-27 Michael Albinus <michael.albinus@gmx.de>
746
747 * net/tramp.el (tramp-call-process): Improve trace message.
748 (tramp-handle-insert-file-contents): Trace error case.
749
750 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
751 <insert-directory>: Use `tramp-handle-insert-directory'.
752 (tramp-adb-handle-insert-directory): Remove function.
753 (tramp-adb-send-command-and-check): New defun, replacing
754 `tramp-adb-command-exit-status'. Change all callees.
755 (tramp-adb-handle-file-attributes)
756 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
757 (tramp-adb-ls-output-name-less-p):
758 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
759 (tramp-adb-handle-delete-directory): Flush also file properties of
760 the truename of directory.
761 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
762 (tramp-adb-handle-file-local-copy): Make the local copy readable.
763 (tramp-adb-handle-write-region): Implement APPEND.
764 (tramp-adb-handle-rename-file): Make it more robust. Flush file
765 properties correctly.
766 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
767 variables. Check for connected devices only when needed.
768
d9263618
GM
7692014-02-27 Glenn Morris <rgm@gnu.org>
770
ea7826ba
GM
771 * minibuffer.el (completion-table-dynamic)
772 (completion-table-with-cache): Doc fixes.
773
d9263618
GM
774 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
775 (completing-read-multiple): Doc fixes.
776
eff3168a
DC
7772014-02-27 Daniel Colascione <dancol@dancol.org>
778
51f213c3
DC
779 * minibuffer.el (completion--nth-completion): Fix indentation.
780
eff3168a
DC
781 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
782 explicit tramp path is empty.
783
b77cfcd7
GM
7842014-02-27 Glenn Morris <rgm@gnu.org>
785
786 * emacs-lisp/crm.el (completing-read-multiple):
787 Empower help-enable-auto-load.
788
9577b569
GM
7892014-02-26 Glenn Morris <rgm@gnu.org>
790
259887e8
GM
791 * startup.el (command-line): Don't init the tty in daemon mode.
792
1d491ef2
GM
793 Avoid calling tty-setup-hook twice, eg if a term file
794 explicitly calls tty-run-terminal-initialization. (Bug#16859)
795 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
796 (tty-create-frame-with-faces): Use it.
797 * startup.el (command-line): Pass run-hook argument
798 to tty-run-terminal-initialization.
799
9577b569
GM
800 * dired.el (dired-restore-desktop-buffer): Demote errors;
801 eg in case a glob match fails. (Bug#16884)
802
40ff7f86
DG
8032014-02-26 Dmitry Gutov <dgutov@yandex.ru>
804
b2388336
DG
805 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
806 error from `read-from-string'. (Bug#16850)
807
40ff7f86
DG
808 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
809 result of `completing-read' in the interactive form. (Bug#16854)
810
98bd6b32
GM
8112014-02-25 Glenn Morris <rgm@gnu.org>
812
f086804c
GM
813 * image.el (image-animate, image-animate-timeout):
814 Stop animating images in dead buffers. (Bug#16878)
815
c107155e
GM
816 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
817
9577b569
GM
818 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
819 Doc fixes.
98bd6b32
GM
820 * startup.el (term-setup-hook): Doc fix. Make obsolete.
821 * term/sun.el (sun-raw-prefix-hooks):
822 Use tty-setup-hook instead of term-setup-hook.
823 (terminal-init-sun): Construct message from bytecomp plist.
824 * term/wyse50.el (enable-arrow-keys): Doc fix.
825
9c9e18e8
JB
8262014-02-24 Juanma Barranquero <lekktu@gmail.com>
827
828 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
829 Fix docstring typos.
830
c848881f
MA
8312014-02-24 Michael Albinus <michael.albinus@gmx.de>
832
833 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
834
0e38ae05
NR
8352014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
836
837 * minibuffer.el (completion--try-word-completion):
838 Fix error when completing M-x commands (bug#16808).
839
8ee4c296
LL
8402014-02-24 Leo Liu <sdl.web@gmail.com>
841
842 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
843
7d4bd627
JB
8442014-02-24 Juanma Barranquero <lekktu@gmail.com>
845
846 * apropos.el (apropos-print): Avoid formatting error when
847 apropos-do-all and apropos-compact-layout are both t.
848
e918e27f
JB
8492014-02-23 Juanma Barranquero <lekktu@gmail.com>
850
851 * apropos.el (apropos-property, apropos-all-words-regexp)
852 (apropos-true-hit, apropos-variable, apropos-print):
853 Fix docstring typos, and remove obsolete comment.
854
85c01f80
MA
8552014-02-23 Michael Albinus <michael.albinus@gmx.de>
856
857 * net/tramp-sh.el (tramp-sh-handle-file-truename):
858 Preserve trailing "/". (Bug#16851)
859
62f95022
DG
8602014-02-23 Dmitry Gutov <dgutov@yandex.ru>
861
862 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
863 after `=>' (bug#16811).
dfdb365c
DG
864 (ruby-smie-rules): Handle the inconsistent second element of the
865 list returned by `smie-indent--parent'.
866 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
867 method call.
62f95022 868
025f2c81
JB
8692014-02-23 Juanma Barranquero <lekktu@gmail.com>
870
871 * elec-pair.el (electric-pair-text-syntax-table)
872 (electric-pair-syntax-info, electric-pair--syntax-ppss)
873 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
874 (electric-pair--looking-at-unterminated-string-p): Doc fix.
875 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
876
123c84f9
GM
8772014-02-22 Glenn Morris <rgm@gnu.org>
878
612c3e46
GM
879 * imenu.el (imenu--generic-function): Doc fix.
880
123c84f9
GM
881 * register.el (frame-configuration-to-register): Make obsolete.
882
e59fa9ad
JB
8832014-02-22 Juanma Barranquero <lekktu@gmail.com>
884
885 * desktop.el (desktop-save-buffer-p): Do not fail when
886 desktop-files-not-to-save is nil. Return t for true result
887 as the doc says.
888
4e652634
DC
8892014-02-22 Daniel Colascione <dancol@dancol.org>
890
27821a89 891 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
892 Check that attribute values are strings, avoiding the construction
893 of invalid dbus messages.
4e652634 894
f35affb6
JB
8952014-02-21 Juanma Barranquero <lekktu@gmail.com>
896
897 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
898 defun-declarations-alist.
899
3d136b1b
SM
9002014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
903 (bug#16829).
904
612ddfc0
JB
9052014-02-21 Juanma Barranquero <lekktu@gmail.com>
906
907 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
908 (whitespace-newline, whitespace-trailing, whitespace-line)
909 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
910 (whitespace-space-after-tab): Fix typo in docstrings.
911
c8481b1b
DG
9122014-02-21 Dmitry Gutov <dgutov@yandex.ru>
913
cb8f50a7
DG
914 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
915
c8481b1b
DG
916 * electric.el (electric-indent-functions-without-reindent):
917 Add `yaml-indent-line'.
918
bed5126f
JB
9192014-02-21 Juanma Barranquero <lekktu@gmail.com>
920
34b71457
JB
921 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
922 It has done nothing for years; should be removed after the release.
923
bed5126f
JB
924 * simple.el (choose-completion): Fix docstring typo.
925 (read-quoted-char-radix): Remove unneeded * in docstring.
926 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
927 Don't escape parentheses unnecessarily in docstrings.
928
8dd3e94f
MR
9292014-02-21 Martin Rudalics <rudalics@gmx.at>
930
931 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
932 * window.el (window--dump-window, window--dump-frame):
933 New functions.
934 (window--min-size-1): Account for window dividers.
935 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
936 sum of the window components has been calculated.
937 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
938 nil make sure at least one text line and two text columns remain
939 fully visible.
940 (window-resize): Signal an error when window-resize-apply fails.
941 (window--resize-child-windows): Fix calculation of by how many
942 pixels a window can still be shrunk via window-new-normal.
943 (adjust-window-trailing-edge): Call window--resizable with
944 correct TRAIL argument.
945
2ed94e04
MR
946 (with-temp-buffer-window): Don't evaluate BODY within
947 with-current-buffer (Bug#16816).
948
0e5324c4
MA
9492014-02-21 Michael Albinus <michael.albinus@gmx.de>
950
951 * net/tramp.el (tramp-check-cached-permissions):
952 Call `file-attributes' with `suffix' being a symbol but a string.
953
48198420
DC
9542014-02-21 Daniel Colascione <dancol@dancol.org>
955
956 * net/dbus.el (dbus-init-bus-1): Declare new subr.
957 (dbus-init-bus): New function: call into dbus-init-bus-1
958 and installs a handler for the disconnect signal.
959 (dbus-call-method): Rewrite to look for result in cons.
960 (dbus-call-method-handler): Store result in cons.
961 (dbus-check-event): Recognize events with nil sender as valid.
962 (dbus-handle-bus-disconnect): New function. React to bus
963 disconnection signal by synthesizing dbus error for each
964 pending synchronous or asynchronous call.
965 (dbus-notice-synchronous-call-errors): New function.
966 (dbus-handle-event): Raise errors directly only when `dbus-debug'
967 is true, not all the time.
968
99e15133
JB
9692014-02-21 Juanma Barranquero <lekktu@gmail.com>
970
e48983a6
JB
971 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
972 Remove obsolescence declarations, these variables do not exist anymore.
973
fdcfd745
JB
974 * savehist.el (savehist-save-minibuffer-history)
975 (savehist-additional-variables, savehist-file, savehist-mode-hook)
976 (savehist-save-hook, savehist-coding-system, savehist-loaded)
977 (savehist-load, savehist-install, savehist-autosave): Fix typos;
978 mostly, refer to "Savehist mode" when talking about the mode,
979 and not the function.
980
99e15133
JB
981 * saveplace.el (save-place): Remove redundant info in docstring.
982 (save-place-forget-unreadable-files, toggle-save-place)
983 (save-place-forget-unreadable-files, save-place-dired-hook):
984 Fix typos and remove unneeded backslashes.
985
f5bee33b
MA
9862014-02-20 Michael Albinus <michael.albinus@gmx.de>
987
988 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
989 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
990
991 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 992 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
993 (tramp-gvfs-handle-insert-directory): Remove function.
994
995 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
996 Call `tramp-handle-insert-directory'.
997
ee0761ca
JB
9982014-02-20 Juanma Barranquero <lekktu@gmail.com>
999
1000 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1001 before the start of buffer/region (bug#16799).
1002
4d49cc65
GM
10032014-02-20 Glenn Morris <rgm@gnu.org>
1004
1005 * isearch.el (search-invisible): Doc fix.
1006
eee0d650
TK
10072014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1008
1009 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1010 (bug#16657).
1011
94e5e202
JB
10122014-02-19 Juanma Barranquero <lekktu@gmail.com>
1013
1014 * frameset.el (frameset-restore): Delay removing an old frame's
1015 duplicate id until the new frame has been correctly created.
1016
50bfdd5d
MA
10172014-02-19 Michael Albinus <michael.albinus@gmx.de>
1018
1019 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1020 (tramp-check-cached-permissions): Call `file-attributes' if the
1021 cache is empty.
1022
1023 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1024 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1025
1026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1027 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1028 (tramp-gvfs-maybe-open-connection): Set always connection
1029 properties, even if target is mounted already.
1030
1031 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1032 Set tramp-autoload cookie.
1033 (tramp-get-remote-touch): New defun.
1034 (tramp-sh-handle-set-file-times): Use it.
1035 (tramp-sh-handle-directory-files-and-attributes):
1036 Use `tramp-handle-directory-files-and-attributes' if neither stat
1037 nor perl are available on the remote host.
1038
1039 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1040 "/". Write long listing only when "l" belongs to the switches.
1041
1042 * net/trampver.el: Update release number.
1043
f097a3d2
JB
10442014-02-19 Juanma Barranquero <lekktu@gmail.com>
1045
1046 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1047
8e009b78
MR
10482014-02-19 Martin Rudalics <rudalics@gmx.at>
1049
1050 * window.el (window-state-put): Allow WINDOW to refer to an
1051 internal window (Bug#16793).
1052
95160c90
GM
10532014-02-19 Glenn Morris <rgm@gnu.org>
1054
1055 * textmodes/remember.el: Move provide statement to end.
1056 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1057 (remember-notes): Doc fixes.
1058
b28df58c
SM
10592014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * delsel.el (delete-char): Restore incorrectly erased property
1062 (bug#16795).
1063
7108e1c0
JB
10642014-02-18 Juanma Barranquero <lekktu@gmail.com>
1065
1066 * frameset.el (frameset--restore-frame): When a frame is being reused
1067 and its root window is not alive, delete all the frame's windows before
1068 restoring the window state. This works around the issue in bug#16793.
1069
c863b6ad
GM
10702014-02-18 Glenn Morris <rgm@gnu.org>
1071
a73fae1f
GM
1072 * textmodes/remember.el (remember-data-directory)
1073 (remember-directory-file-name-format, remember-store-in-files)
1074 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1075 (remember-notes-save-and-bury-buffer)
1076 (remember-notes--kill-buffer-query): Doc fixes.
1077
c863b6ad
GM
1078 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1079
29238d28
AM
10802014-02-17 Alan Mackenzie <acm@muc.de>
1081
1082 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1083 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1084 to electric-indent-{,local-}-mode.
b28df58c
SM
1085 (c-basic-common-init): Set electric-indent-inhibit.
1086 Initialise c-electric-flag from electric-indent-mode.
29238d28 1087 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1088 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1089
1090 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1091 hit, toggle electric-indent-local-mode.
29238d28 1092
b28df58c
SM
1093 * electric.el (electric-indent-mode-has-been-called):
1094 New variable.
29238d28 1095
c6463340
JB
10962014-02-17 Juanma Barranquero <lekktu@gmail.com>
1097
1098 * frameset.el (frameset-cfg-id): New function.
1099 (frameset--reuse-frame, frameset-restore): Use it.
1100 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1101
94912b88
SM
11022014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * ido.el (ido-file-internal): Remove unused var `d'.
1105 Use \` for to match BoS. Fit within 80n columns.
1106
26ea164c
DC
11072014-02-17 Daniel Colascione <dancol@dancol.org>
1108
1109 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1110 dbus-call-method check for completion using a busy-wait loop with
1111 gradual backoff.
1112
dd7691b7
MA
11132013-10-02 Michael Albinus <michael.albinus@gmx.de>
1114
1115 Sync with Tramp 2.2.9.
1116
1117 * net/trampver.el: Update release number.
1118
17d1b51b
DG
11192014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1120
1121 * ido.el (ido-file-internal): Don't add the name of an existing
1122 directory twice. (Bug#16747)
1123
5bcad689
GM
11242014-02-16 Glenn Morris <rgm@gnu.org>
1125
1126 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1127 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1128
11292014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1130
1131 * progmodes/sql.el: Version 3.4
1132 (sql-oracle-options): New default value ("-L").
94912b88 1133 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1134 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1135 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1136 (sql-login-delay): New variable.
1137 (sql-product-interactive): Use it.
1138
285f1858
JB
11392014-02-15 Juanma Barranquero <lekktu@gmail.com>
1140
1141 * frameset.el (frameset--jump-to-register): Check that buffer is live
1142 (bug#16749).
1143
5d645ea4
GM
11442014-02-15 Glenn Morris <rgm@gnu.org>
1145
1146 * info.el (info-initialize): Revert 2014-01-10 change.
1147
48c4f9b1
GM
11482014-02-14 Glenn Morris <rgm@gnu.org>
1149
b8630261
GM
1150 * replace.el (map-query-replace-regexp)
1151 (read-regexp-defaults-function, read-regexp): Doc fixes.
1152
b2bf2a25
GM
1153 * dired.el (dired-read-regexp):
1154 * faces.el (list-faces-display):
1155 * misearch.el (multi-isearch-read-matching-buffers)
1156 (multi-isearch-read-matching-files):
1157 * play/cookie1.el (cookie-apropos):
1158 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1159
48c4f9b1
GM
1160 * textmodes/remember.el (remember): Use frameset-to-register
1161 rather than frame-configuration-to-register.
1162
2804e0bd
JB
11632014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1164
1165 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1166 incorrect keybinding.
1167
0b87142f
DC
11682014-02-13 Daniel Colascione <dancol@dancol.org>
1169
1170 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1171 when adding overlays so that line numbers from compiler match line
1172 numbers we use.
1173
47a73eb0
GM
11742014-02-13 Glenn Morris <rgm@gnu.org>
1175
8abcfd51
GM
1176 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1177
47a73eb0
GM
1178 * jit-lock.el (jit-lock-mode): Doc fix.
1179
c9b6b262
JB
11802014-02-13 Juanma Barranquero <lekktu@gmail.com>
1181
1182 * apropos.el (apropos-read-pattern): When the user passes an empty
1183 string, give a more helpful error message than "Wrong type
1184 argument: stringp, nil".
1185
eb4c6947
SM
11862014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1189
0dab5068
GM
11902014-02-13 Glenn Morris <rgm@gnu.org>
1191
1192 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1193
59075dcf
SM
11942014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1197 shift-select commands.
1198
5af9fbad
DG
11992014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1200
1201 * progmodes/js.el (js-indent-line): Don't widen.
1202 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1203
a215930c
GM
12042014-02-12 Glenn Morris <rgm@gnu.org>
1205
a8cb4247
GM
1206 * icomplete.el (icomplete): Add info-link to defgroup.
1207 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1208 (icomplete-minibuffer-map, icomplete-mode)
1209 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1210
a215930c
GM
1211 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1212 (package-menu-filter): Rename from package-menu-filter-interactive.
1213 Doc fix.
1214
26c5ecd9
JB
12152014-02-11 Juanma Barranquero <lekktu@gmail.com>
1216
1217 * frameset.el (frameset--jump-to-register): Select the required
1218 window and buffer before restoring position (bug#16696).
1219
fcd58a02
LI
12202014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1221
1222 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1223
bacb3380
GM
12242014-02-10 Glenn Morris <rgm@gnu.org>
1225
1226 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1227
881329dc
EZ
12282014-02-10 Eli Zaretskii <eliz@gnu.org>
1229
02328db9
EZ
1230 * w32-common-fns.el (x-get-selection): Doc fix.
1231 * select.el (x-get-selection): Doc fix. (Bug#15109)
1232
881329dc
EZ
1233 * face-remap.el (face-remap-add-relative)
1234 (face-remap-remove-relative, face-remap-reset-base)
1235 (face-remap-set-base): Call force-mode-line-update to redisplay
1236 the current buffer due to potential change in faces. (Bug#16709)
1237
c7db4c06
MA
12382014-02-10 Michael Albinus <michael.albinus@gmx.de>
1239
1240 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1241 script more robustly.
1242
6abe4589
LI
12432014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1244
7602b5c3
LI
1245 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1246
e3692ee0
LI
1247 * simple.el (choose-completion): Doc fix (bug#14160).
1248
41015524
LI
1249 * subr.el (event-start): Say what a nil EVENT value means.
1250
87c79dcb
LI
1251 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1252 (bug#14197).
1253
3ab49e2c
LI
1254 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1255
f3c60241
LI
1256 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1257
3bd1d8a8
LI
1258 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1259
6abe4589
LI
1260 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1261 predicate function (bug#15455).
1262
a11463de
DG
12632014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1264
1265 * ielm.el (inferior-emacs-lisp-mode): Instead of
1266 `comment-use-global-state', set `comment-use-syntax'.
1267
2ab0ad85
GM
12682014-02-10 Glenn Morris <rgm@gnu.org>
1269
1270 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1271
411141fb
AM
12722014-02-09 Alan Mackenzie <acm@muc.de>
1273
1274 Fix c-invalidate-state-cache on narrowed buffers.
1275 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1276 Widen when setting and clearing the CPP delimiter properties.
1277
d6d5fdf8
LI
12782014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1279
92c70367
LI
1280 * help.el (describe-bindings): Doc fix (bug#9888).
1281
468ef484
LI
1282 * files.el (save-buffer): Use ARG as the parameter name for
1283 consistency (bug#10346).
7e34193f 1284 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1285
fc2b1ffa 1286 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1287 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1288 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1289
790aceec
LI
1290 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1291
a54a7552 1292 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1293 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1294
dd163123
LI
1295 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1296 meaning of the parameter (bug#12282).
1297
9e108fe6
LI
1298 * files.el (find-file-noselect): Clarify prompt when changing
1299 readedness (bug#13261).
5a836f58
LI
1300 (locate-file): Suffixes aren't returned, so don't say that they
1301 are (bug#12674).
2356b316 1302 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1303
20dda930
LI
1304 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1305 before we actually start to delete things (bug#16331).
1306
d6d5fdf8
LI
1307 * subr.el (event-start): Doc fix (bug#14228).
1308 (event-end): Ditto.
1309
2abd71e5
GM
13102014-02-09 Glenn Morris <rgm@gnu.org>
1311
1312 * emacs-lisp/warnings.el (lwarn):
1313 Empower help-enable-auto-load. (Bug#15940)
1314
c1b5900b
AS
13152014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1316
1317 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1318 (Bug#16690)
1319
429b93bd
MA
13202014-02-08 Michael Albinus <michael.albinus@gmx.de>
1321
1322 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1323 Insert output at end of buffer. (Bug#16120)
1324
b772a699
LI
13252014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1326
18c6aa8c
LI
1327 * simple.el (choose-completion-string-functions): Document new
1328 calling convention (bug#14153).
54dd147a 1329 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1330
dce8463b
LI
1331 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1332
b772a699 1333 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1334 (find-grep-dired): Doc fix (bug#14288).
b772a699 1335
2423c8d5
JL
13362014-02-08 Juri Linkov <juri@jurta.org>
1337
1338 * isearch.el (isearch-quote-char): Check character validity
1339 like in `quoted-insert' (bug#16677).
1340
518f26c2
LI
13412014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1342
893cc908
LI
1343 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1344
9165ffc0
LI
1345 * isearch.el (isearch-hide-immediately): Doc clarification
1346 (bug#14723).
1347
6ef4f3ce
LI
1348 * simple.el (line-move): Document utility function used many
1349 places in the Emacs sources (bug#14843).
1350
be58a238 1351 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1352 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1353 (dired-up-directory): Doc fix (bug#14848).
be58a238 1354
dd7aafbb
LI
1355 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1356
15cb9968
LI
1357 * files.el (file-relative-name): Doc fix (bug#15159).
1358
9788effd
LI
1359 * fringe.el (fringe-styles): Doc fix (bug#15239).
1360
c96411bd
LI
1361 * isearch.el (isearch-filter-predicate): Documentation typo fix
1362 (bug#15474).
1363
ea838c36
LI
1364 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1365
0d8a4ae7
LI
1366 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1367
f7a17bb3
LI
1368 * replace.el (replace-match-maybe-edit): Doc clarification
1369 (bug#15632).
1370
1bde5c3b
LI
1371 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1372
518f26c2
LI
1373 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1374
dd8e49fd
GM
13752014-02-08 Glenn Morris <rgm@gnu.org>
1376
1377 * help-fns.el (describe-variable):
1378 Check {file,dir}-local-variables-alist, and buffer-file-name,
1379 in the correct buffer.
1380
7e088b29
IL
13812014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1382
1383 * help-fns.el (describe-variable): Fix the case where
1384 a value is directory-local with no dir-locals file. (Bug#16635)
1385
41a4a82f
GM
13862014-02-08 Glenn Morris <rgm@gnu.org>
1387
1388 * abbrev.el (edit-abbrevs-mode):
1389 Derive from fundamental-mode. (Bug#16682)
1390
e255a703
JB
13912014-02-07 Juanma Barranquero <lekktu@gmail.com>
1392
1393 * simple.el (quoted-insert): Check character validity (bug#16677).
1394
c99cf5ee
JL
13952014-02-07 Juri Linkov <juri@jurta.org>
1396
1397 * desktop.el (desktop-read): Claim the lock when the owner is not
1398 the current process. (Bug#16157)
1399
7d7a68d8
JL
14002014-02-07 Juri Linkov <juri@jurta.org>
1401
1402 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1403 to "\\` ". (Bug#16651)
1404
2b777cd9
JL
14052014-02-07 Juri Linkov <juri@jurta.org>
1406
1407 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1408 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1409 (desktop-auto-save-cancel-timer): New function with some code from
1410 `desktop-auto-save-set-timer'.
1411 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1412 Instead of setting `desktop-save-mode' to nil, call
1413 `desktop-save-mode' with arg 0. (Bug#16630)
1414
60eabbb9
GM
14152014-02-07 Glenn Morris <rgm@gnu.org>
1416
99cf3859
GM
1417 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1418 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1419 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1420
2b568bc9
GM
1421 * obsolete/iswitchb.el: Move to obsolete/.
1422 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1423 since obsolete/ is not scanned for autoloads.
1424 * emacs-lisp/authors.el (authors-valid-file-names):
1425 Add iswitchb.el.
1426
60eabbb9
GM
1427 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1428 Disable now non-functional find-file-hook.
1429
629de968
MA
14302014-02-06 Michael Albinus <michael.albinus@gmx.de>
1431
1432 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1433 instead of ";" in order to avoid additional prompts. Let heredoc
1434 scripts read from tty. (Bug#16582)
1435 (tramp-send-command): No special handling of heredocs, it isn't
1436 necessary anymore.
1437
29127376
SM
14382014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1441 with a space (bug#16664). Limit the symbols considered to the ones
1442 that are bound or fbound (bug#16646).
1443
79b6e0a9
GM
14442014-02-06 Glenn Morris <rgm@gnu.org>
1445
1446 * epa.el (epa-mail-aliases): Doc fix.
1447
a333e4d2
DG
14482014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1449
29127376
SM
1450 * emacs-lisp/lisp.el (lisp-completion-at-point):
1451 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1452 (bug#16604).
1453
1454 * minibuffer.el (completion-table-merge): New function.
1455
9a83b32b
MA
14562014-02-05 Michael Albinus <michael.albinus@gmx.de>
1457
1458 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1459 (tramp-sh-handle-set-file-acl)
1460 (tramp-sh-handle-start-file-process)
1461 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1462 (tramp-find-executable, tramp-send-command): Use it.
1463
451ea3e6
GM
14642014-02-05 Glenn Morris <rgm@gnu.org>
1465
9a83b32b 1466 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1467
dd27d13b
FEG
14682014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1469
35e951cd 1470 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1471 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1472
08e41897
AL
14732014-02-04 Anders Lindgren <andlind@gmail.com>
1474
1475 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1476 the names (bug#16620).
1477
764ec9e5
MR
14782014-02-03 Martin Rudalics <rudalics@gmx.at>
1479
08e41897
AL
1480 * faces.el (window-divider): New default value. Rewrite doc-string.
1481 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1482
6da8227c
DG
14832014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1484
1485 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1486 `protected' and `public' can also be called without arguments.
1487
6a6b8e40
GM
14882014-02-03 Glenn Morris <rgm@gnu.org>
1489
7bcbca40
GM
1490 * register.el (window-configuration-to-register)
1491 (frame-configuration-to-register): Unadvertise unused argument.
1492 * frameset.el (frameset-to-register): Remove unused argument.
1493
719d965d 1494 * frameset.el (frameset-to-register):
6a6b8e40
GM
1495 * kmacro.el (kmacro-to-register):
1496 * register.el (increment-register):
1497 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1498 (calc-append-to-register, calc-prepend-to-register):
1499 * play/gametree.el (gametree-layout-to-register)
1500 (gametree-apply-register-layout):
1501 * textmodes/picture.el (picture-clear-rectangle-to-register)
1502 (picture-yank-rectangle-from-register):
1503 * vc/emerge.el (emerge-combine-versions-register):
1504 Use register-read-with-preview to read registers.
1505
5dca7759
JT
15062014-02-03 João Távora <joaotavora@gmail.com>
1507
1508 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1509 when at beginning of (possibly narrowed) buffer.
1510
709085b9
DC
15112014-02-02 Daniel Colascione <dancol@dancol.org>
1512
c295fc18 1513 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1514 Also try to display local help from just before point.
709085b9 1515
99f7b0a6
AM
15162014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1517
1518 c-parse-state. Don't "append-lower-brace-pair" in certain
1519 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1520 recognised as a comment.
1521
1522 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1523 as well as normal comment starter.
1524 (c-parse-state-get-strategy): Extra return possibility
1525 'back-and-forward.
1526 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1527 return value list to indicate replacement of a brace-pair cons
1528 with its car.
1529 (c-parse-state-1): With 'back-and-forward, only call
1530 c-append-lower-brace-pair-to state-cache when cons-separated.
1531
f0a10576
JD
15322014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1533
1534 * term/ns-win.el (ns-suspend-error): New function.
1535 (ns-initialize-window-system): Add ns-suspend-error to
1536 suspend-hook (Bug#16612).
1537
b8d552c2
DC
15382014-02-02 Daniel Colascione <dancol@dancol.org>
1539
35e951cd
JB
1540 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1541 Make loading cc-mode silent.
b8d552c2 1542
f2b7d123
DC
15432014-02-02 Daniel Colascione <dancol@dancol.org>
1544
35e951cd
JB
1545 * comint.el (comint-prompt-read-only): Change doc to suggest
1546 remap keybinding.
f2b7d123 1547
4472a196
GM
15482014-02-02 Glenn Morris <rgm@gnu.org>
1549
1550 * register.el (register-read-with-preview, point-to-register)
1551 (window-configuration-to-register, frame-configuration-to-register)
1552 (jump-to-register, number-to-register, view-register, insert-register)
1553 (copy-to-register, append-to-register, prepend-to-register)
1554 (copy-rectangle-to-register): Doc fixes.
1555
70e5a261
SM
15562014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1559 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1560 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1561 * help-fns.el (describe-function-1): Use it.
1562
7c324762
GM
15632014-02-02 Glenn Morris <rgm@gnu.org>
1564
1565 * register.el (register-preview-default): New function,
1566 split from register-preview.
1567 (register-preview-function): Rename from register-preview-functions,
1568 make it not a hook.
1569 (register-preview): Use register-preview-function.
1570 (register-read-with-preview): Error on non-character event. (Bug#16595)
1571
a09beb3d
DG
15722014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1573
1574 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1575 `:' before binary operators (bug#16609). Don't check for `:'
1576 before `[' and `(', or their syntax status. A percent literal
1577 can't end with either.
68e004e0
DG
1578 (ruby-font-lock-keywords): For built-ins that require arguments,
1579 check that they're followed by something that looks like argument
1580 (bug#16610).
a09beb3d 1581
ed4d2875
LI
15822014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1583
1584 * subr.el (butlast): Document what an omitted N means (bug#13437).
1585 (nbutlast): Ditto.
1586
dba6e3ec
LI
15872014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1588
1589 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1590 depth shallower (bug#16587).
cc477daa
LI
1591 (shr-tag-svg): Respect `shr-inhibit-images'.
1592 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1593
e2a67bd0
DG
15942014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1595
1596 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1597 (ruby-smie-grammar): Make "." right-associative. Make its priority
1598 lower than the ternary and all binary operators.
1599 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1600 parent, or the first "." parent at indentation.
1601 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1602 (Bug#16593)
1603
bd21bf41
JL
16042014-01-31 Juri Linkov <juri@jurta.org>
1605
1606 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1607 from `make-hash-table'.
1608
1609 * textmodes/ispell.el (ispell-init-process): Change message format
1610 to be consistent with other messages.
1611
b7e615b9
GM
16122014-01-31 Glenn Morris <rgm@gnu.org>
1613
a69ecd19
GM
1614 * delsel.el (delete-selection-mode): Doc fix.
1615
9997d7e3
GM
1616 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1617 (trace-function-background): Doc fixes.
1618
fbb764b8
GM
1619 * ido.el (ido-use-virtual-buffers): Doc fix.
1620 Reset :version, since the default value has not changed.
1621
da942af1
GM
1622 * register.el (register-preview-delay, register-read-with-preview):
1623 Doc fixes.
1624
b7e615b9
GM
1625 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1626 do not mess with mail-buffer position (fixes 2009-11-03 change).
1627 * progmodes/cc-mode.el (c-submit-bug-report):
1628 Check auto-fill-mode is bound. (Bug#16592)
1629
0a25002d
DH
16302014-01-31 Darren Hoo <darren.hoo@gmail.com>
1631
1632 * startup.el (fancy-splash-image-file): New function,
1633 split from fancy-splash-head.
1634 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1635 so that we are both using the same image. (Bug#16574)
1636
ad78f432
GM
16372014-01-30 Glenn Morris <rgm@gnu.org>
1638
6bbc0c84
GM
1639 * simple.el (eval-expression): Doc fix.
1640
ad78f432
GM
1641 * hexl.el (hexl-mode-hook):
1642 * ielm.el (ielm-mode-hook):
1643 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1644 (lisp-interaction-mode-hook):
1645 * progmodes/cfengine.e (cfengine3-documentation-function):
1646 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1647
7b2f049c
SM
16482014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1651 is a symbol (bug#16584).
1652
0c633f13
GM
16532014-01-30 Glenn Morris <rgm@gnu.org>
1654
1655 * help.el (help-for-help-internal): Add "P" to text.
1656
5e61c1ef
GM
16572014-01-29 Glenn Morris <rgm@gnu.org>
1658
1659 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1660
1dcb169c
MR
16612014-01-28 Martin Rudalics <rudalics@gmx.at>
1662
1663 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1664 height constraints.
1665
a9128931
LL
16662014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1667
1668 * progmodes/hideif.el: Extend to full CPP expression syntax.
1669 (hif-token-alist): Add missing tokens.
1670 (hif-token-regexp): Add support for float/octal/hex immediates.
1671 (hif-string-literal-regexp): New const.
1672 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1673 (hif-exprlist): New function.
1674 (hif-parse-if-exp): Use it.
1675 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1676 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1677 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1678 (hif-logxor, hif-comma): New functions.
1679
a22359a7
GM
16802014-01-28 Glenn Morris <rgm@gnu.org>
1681
793ffe81
GM
1682 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1683
e3bd7eed
GM
1684 * indent.el (tab-stop-list): Doc fix. Add :version.
1685
a22359a7
GM
1686 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1687 (cvs-append-to-ignore): Add compatibility alias.
1688
52695556 16892014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1690
bac524e0
GM
1691 * dired.el (dired-hide-details-mode): Don't autoload it,
1692 since it cannot be used outside Dired buffers anyway.
1693
52695556 1694 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1695
52695556
GM
1696 * dired.el (dired-hide-details-hide-symlink-targets)
1697 (dired-hide-details-hide-information-lines)
1698 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1699
1700 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1701 * strokes.el (strokes-file): Doc fix. Bump :version.
1702 (strokes-help): Doc fix.
1703 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1704 * emulation/viper.el (viper): Doc fix for custom group.
1705 (top-level): Remove oh-so-no-longer-relevant text about vip.
1706 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1707
1708 * ido.el (ido-save-directory-list-file):
1709 * saveplace.el (save-place-file):
1710 * calendar/timeclock.el (timeclock-file):
1711 * net/quickurl.el (quickurl-url-file):
1712 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1713 * progmodes/idlwave.el (idlwave-config-directory):
1714 * textmodes/remember.el (remember-data-file):
1715 Bump :version.
1716
169d6004
GM
17172014-01-26 Glenn Morris <rgm@gnu.org>
1718
de6a923b
GM
1719 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1720 Doc fix. Make obsolete.
1721 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1722
169d6004
GM
1723 * sort.el (delete-duplicate-lines): Doc fix.
1724
ed85dee6
RS
17252014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1726
1727 * progmodes/ada-mode.el (ada):
1728 * woman.el (woman): Link to info manual and Commentary section.
1729
1730 * progmodes/flymake.el (flymake):
1731 * nxml/nxml-mode.el (nxml):
1732 * net/eww.el (eww):
1733 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1734 * htmlfontify.el (htmlfontify):
1735 * ses.el (ses):
1736 * epa.el (epa):
1737 * ido.el (ido): Link to info manual.
1738
e0c67e1d
LL
17392014-01-25 Leo Liu <sdl.web@gmail.com>
1740
1741 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1742
35408b1a
AS
17432014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1744
1745 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1746 (bug#16537).
1747
11eff3ae 1748>>>>>>> MERGE-SOURCE
76c3fa95
JB
17492014-01-24 Juanma Barranquero <lekktu@gmail.com>
1750
f77c7a99
JB
1751 * net/eww.el (eww-download-callback):
1752 Fix reference to eww-download-directory.
1753
76c3fa95
JB
1754 * emacs-lisp/bytecomp.el (byte-compile-file):
1755 Remove unused local variable `file-name'.
1756
1e548e40
GM
17572014-01-24 Glenn Morris <rgm@gnu.org>
1758
03f3b318
GM
1759 * woman.el (woman-default-faces, woman-monochrome-faces):
1760 Fix obsolescence specification.
1761
1e548e40
GM
1762 * subr.el (with-demoted-errors): Doc fix.
1763
d4f0427b
SM
17642014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1767 (cl--macroexp-fboundp): New function.
1768 (cl--make-type-test): Use it.
1769
1670e27f
GM
17702014-01-23 Glenn Morris <rgm@gnu.org>
1771
1772 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1773 * simple.el (eval-expression): Doc fixes.
1774
80efa207
GM
17752014-01-22 Glenn Morris <rgm@gnu.org>
1776
1777 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1778
29afcbab
SM
17792014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * emacs-lisp/package.el: Write files silently.
1782 (package-autoload-ensure-default-file, package--write-file-no-coding)
1783 (package-generate-description-file, package--download-one-archive)
1784 (package-install-from-archive): Tell `write-region' to stay quiet.
1785 (package-menu-mode, package-menu--print-info): Omit the Archive column
1786 if there's only one archive.
1787 (package-all-keywords, package--has-keyword-p): Remove dead code.
1788
2a5bce4f
GM
17892014-01-22 Glenn Morris <rgm@gnu.org>
1790
edace89f
GM
1791 * version.el (emacs-bzr-version-bzr): Fix typo.
1792
2a5bce4f
GM
1793 * version.el (emacs-repository-get-version):
1794 Check either .bzr or .git, but not both.
1795 Make the git case actually use the DIR argument, and return nil
1796 rather than the empty string.
983664c0 1797 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1798
6cb4da45
MR
17992014-01-22 Martin Rudalics <rudalics@gmx.at>
1800
1801 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1802 * window.el (window-total-size, window-size): New argument ROUND.
1803 (window--min-delta-1, window-min-delta, window--max-delta-1):
1804 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1805 columns a window can shrink (Bug#16430).
1806 (fit-window-to-buffer): Simplify code.
1807 * term.el (term-window-width): Call window-body-width again.
1808
cc0f2ece
GM
18092014-01-22 Glenn Morris <rgm@gnu.org>
1810
7b997b14
GM
1811 * image.el (image-format-suffixes): Doc fix.
1812
44e76f9d
GM
1813 * international/quail.el (quail-define-package): Doc fix.
1814
35e951cd 1815 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1816 (authors-renamed-files-alist): Additions.
7bfc1caa 1817
85a5f61f
GM
1818 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1819 reverts 2014-01-09 change. (Bug#16422)
1820
cc0f2ece
GM
1821 * calc/calc-embed.el (thing-at-point-looking-at):
1822 * emacs-lisp/map-ynp.el (x-popup-dialog):
1823 * obsolete/lmenu.el (x-popup-dialog):
1824 * emacs-lisp/package.el (url-recreate-url):
1825 * mail/mailclient.el (clipboard-kill-ring-save):
1826 * subr.el (x-popup-dialog): Update declaration.
1827 * mail/rmail.el (rmail-mime-message-p):
1828 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1829
00d2a6bb
DC
18302014-01-21 Daniel Colascione <dancol@dancol.org>
1831
1832 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1833 Correctly detect when we're inside an arithmetic expansion form
1834 containing nested parenthesis.
c295fc18 1835 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1836 to detect cases where we shouldn't expand "<<" to a heredoc
1837 skeleton.
1838
dd9d2e9d
SM
18392014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1842 (eldoc--message-command-p): New function.
1843 (eldoc-display-message-p): Use it.
1844 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1845 message is not automatically erased for us.
1846 (eldoc-print-current-symbol-info): Erase previous message, if any.
1847
e7d807ca
TH
18482014-01-21 Tassilo Horn <tsdh@gnu.org>
1849
4ff0a0e5
TH
1850 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1851 specify it's an interactive function.
1852
dd9d2e9d
SM
1853 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1854 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1855 citations with optional arguments.
1856
87503791
LL
18572014-01-21 Leo Liu <sdl.web@gmail.com>
1858
1859 * simple.el (read--expression): Don't enable eldoc-mode.
1860
6cc750ee
SM
18612014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * simple.el (move-beginning-of-line): Make sure we don't move forward
1864 (bug#16497).
1865
71f16bda
JL
18662014-01-20 Juri Linkov <juri@jurta.org>
1867
1868 * saveplace.el (toggle-save-place, save-place-to-alist)
1869 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1870 'dired-mode) before checking for dired-directory. (Bug#16477)
1871
3c5a4839
JL
18722014-01-20 Juri Linkov <juri@jurta.org>
1873
1874 * indent.el (indent-line-to): Use backward-to-indentation
1875 instead of back-to-indentation. (Bug#16461)
1876
f952002e
PE
18772014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1878
1879 Revert some of the CANNOT_DUMP fix (Bug#16494).
1880 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1881 but fixing this can wait until after the next release.
1882 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1883
93675500
MA
18842014-01-19 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1887 Use `password-word-equivalents'.
1888 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1889 to t. (Bug#5664, Bug#13124)
1890
e3af763f
AM
18912014-01-19 Alan Mackenzie <acm@muc.de>
1892
1893 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1894 points.
1895 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1896 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1897 * progmodes/cc-mode.el (c-before-change, c-after-change)
1898 (c-font-lock-fontify-region): Bind it here.
1899
4ff6d92d
MR
19002014-01-19 Martin Rudalics <rudalics@gmx.at>
1901
1902 * term.el (term-window-width): Call window-text-width instead of
1903 window-width (Bug#16470).
1904
9a685cf6
PE
19052014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1906
1907 * simple.el (password-word-equivalents): Remove duplicates.
1908 Sort, to make this easier next time.
1909 Downcase. Omit ": " after "jelszó".
1910
5aa78c2d
JD
19112014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1912
1913 * term/common-win.el (saved-region-selection): Defvar it.
1914 (x-select-text): Set saved-region-selection (Bug#16382).
1915
cabb250c
GM
19162014-01-18 Glenn Morris <rgm@gnu.org>
1917
1918 * emacs-lisp/authors.el (authors-aliases)
1919 (authors-renamed-files-alist): Add some entries.
1920
a1340440
MA
19212014-01-17 Michael Albinus <michael.albinus@gmx.de>
1922
93675500
MA
1923 * net/tramp.el (tramp-password-prompt-regexp):
1924 Use `password-word-equivalents' if available.
a1340440
MA
1925 (tramp-action-password, tramp-process-one-action)
1926 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1927
681ce5d2
CY
19282014-01-17 Chong Yidong <cyd@gnu.org>
1929
1930 * simple.el (password-word-equivalents): New defcustom.
1931 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1932 to 24.4.
1933 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1934 to t. (Bug#13124)
1935
fb3d479c
DG
19362014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1937
1938 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1939 (ruby-align-to-stmt-keywords): Change the default value.
1940 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1941 choices.
1942 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1943 keywords, check against the value of `ruby-alignable-keywords'
1944 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1945
0d613483
GM
19462014-01-17 Glenn Morris <rgm@gnu.org>
1947
fc23fe2d
GM
1948 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1949
0d613483 1950 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1951 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1952 (authors-ignored-files): Add some entries, remove others.
1953 (authors-ambiguous-files, authors-valid-file-names):
1954 Add some entries.
1955 (authors-renamed-files-alist): Add, remove, and adjust entries.
1956 (authors-renamed-files-regexps): Add some entries.
1957 Remove some very broad ones. Make some entries `lax'.
1958 (authors-lax-changelogs): New constant.
1959 (authors-disambiguate-file-name): Treat top-level specially.
1960 (authors-lax-changelog-p): New function.
1961 (authors-canonical-file-name): Check file as written against
1962 authors-valid-file-names. Do not special-case etc/.
1963 Handle `lax' logs and authors-renamed-files-regexps elements.
1964
2dbf4ffd
DG
19652014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1966
1967 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1968 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1969 callers.
2dbf4ffd 1970
87b2a7f2
SM
19712014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1974 Assume we're already in the proper buffer.
1975 Inspired by Anders Lindgren <andlind@gmail.com>.
1976 (follow-post-command-hook): Call it from the right buffer.
1977 (follow-comint-scroll-to-bottom): Adjust call.
1978 (follow-all-followers): Use get-buffer-window-list.
1979
93acfb0e
DC
19802014-01-15 Daniel Colascione <dancol@dancol.org>
1981
1982 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1983 `buffer-file-name' in interactive-form so that we don't leave
1984 pathless file names in `file-name-history'.
1985
ccc6b208
JL
19862014-01-15 Juri Linkov <juri@jurta.org>
1987
1988 * indent.el (indent-rigidly): Set deactivate-mark to nil
1989 in transient indentation mode. (Bug#16438)
1990
5c92e00d
DG
19912014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1992
1993 * emacs-lisp/package.el (package-desc-keywords): New function
1994 (Bug#16222).
1995 (describe-package-1, package-all-keywords)
1996 (package--has-keyword-p): Use it.
1997
dac69660
NR
19982014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1999
2000 * simple.el (define-alternatives): When creating the
2001 COMMAND-alternatives variable, assign COMMAND as its definition
2002 name so that `describe-variable' can relocate it.
2003
8b63edf8
ML
20042014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2005
2006 * font-lock.el (font-lock-keywords): Fix typo in docstring
2007 (bug#16307).
2008
c6a0b8eb
AM
20092014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2010
2011 * ispell.el (ispell-region): Reset `in-comment' for new line
2012 instead of wrongly reset `add-coment' (bug#13577).
2013
02bf443d
DU
20142014-01-14 Daiki Ueno <ueno@gnu.org>
2015
2016 * epa-file.el (epa-file-write-region): Encode the region according
2017 to `buffer-file-format'. Problem reported at:
2018 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2019
fd7fde15
SM
20202014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2023 so it applies in the right buffer (bug#16410).
2024
c176054f
DC
20252014-01-13 Daniel Colascione <dancol@dancol.org>
2026
2027 * textmodes/rst.el (rst-define-key): Provide deprecated
2028 keybindings through named functions instead of anonymous ones so
2029 that "??" doesn't appear in describe-mode output.
2030
e3f33e5d
BG
20312014-01-13 Bastien Guerry <bzg@gnu.org>
2032
2033 * simple.el (define-alternatives): Call the selected command
2034 interactively. When setting `COMMAND--implementation' for the
2035 first time, tell the user how to chose another implementation.
2036 Enhance the docstring.
2037
c055d654
SM
20382014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2041 (log-edit--match-first-line): New function.
2042 (log-edit-font-lock-keywords): Use it.
2043 (log-edit-mode): Make jit-lock-defer-multiline work.
2044
d791cc3b
BG
20452014-01-13 Bastien Guerry <bzg@gnu.org>
2046
2047 * rect.el (rectangle-mark-mode): When the region is not active,
2048 display a message saying that the mark as been set and that
2049 rectangle mode is in use.
2050 (rectangle--highlight-for-redisplay): Only put an overlay with a
2051 visible vertical bar when (display-graphic-p) is non-nil.
2052 This partially fixes Bug#16403.
2053
3c0c4562
JL
20542014-01-13 Juri Linkov <juri@jurta.org>
2055
2056 * info.el (Info-find-file): Go to DIR before displaying the error
2057 about a nonexistent file if no previous Info file is visited.
2058 Use `user-error' instead of `error' for "Info file %s does not exist".
2059 (Info-find-node-2): In case of a nonexistent node in unwind forms
2060 go to the Top node if there is no previous node to revert to.
2061 (Bug#16405)
2062
25a700d0
MR
20632014-01-13 Martin Rudalics <rudalics@gmx.at>
2064
2065 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2066 * window.el (fit-frame-to-buffer): Fix doc-string.
2067 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2068 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2069 when avoiding that frame goes partially off-screen.
2070 (fit-window-to-buffer): Respect window-min-height/-width
2071 (Bug#14096).
2072
6ae948d8
SM
20732014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2076 after an empty line.
2077
6137cb82
SM
20782014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * net/shr.el (shr-render-region): Autoload.
2081
e6344e17
XF
20822014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2083
2084 * net/eww.el (eww-download-directory): Rename from
2085 `eww-download-path' (Bug#16419).
2086
3b922c70
LL
20872014-01-12 Leo Liu <sdl.web@gmail.com>
2088
2089 * dired-x.el (dired-mode-map): Fix last change.
2090
2091 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2092
4fa51741
PE
20932014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2094
2095 Spelling fixes.
2096 * emacs-lisp/generic.el (generic--normalize-comments):
2097 Rename from generic--normalise-comments. All uses changed.
35e951cd 2098 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2099 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2100 (bubbles--neighborhood-available)
2101 (bubbles--update-neighborhood-score):
2102 Rename from names with 'neighbourhood'. All uses changed.
2103
9b335362
LL
21042014-01-12 Leo Liu <sdl.web@gmail.com>
2105
2106 Re-implement the feature of showing eldoc info after editing.
2107 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2108 (eldoc-edit-message-commands): New function.
2109 (eldoc-print-after-edit): New variable.
2110 (eldoc-pre-command-refresh-echo-area): Emit message only by
2111 eldoc-message-commands.
2112 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2113 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2114 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2115 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2116
e2a095b1
GM
21172014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2118 Eric S. Raymond <esr@thyrsus.com>
9685190b 2119
841a6d0c 2120 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2121 function works correctly in either a Bazaar or Git repo.
0abf4134 2122
e2a095b1
GM
21232014-01-11 Eric S. Raymond <esr@thyrsus.com>
2124
6137cb82
SM
2125 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2126 Goes with removal of the joke manpages from /etc.
9685190b 2127
c295fc18 21282014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2129
6137cb82
SM
2130 * mail/rmail.el (rmail-get-coding-system):
2131 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2132
d2f16e93
GM
21332014-01-10 Glenn Morris <rgm@gnu.org>
2134
2135 * emacs-lisp/authors.el (authors-fixed-entries):
2136 Update for files that no longer exist.
2137
7e03bb32
ER
21382014-01-10 Eric S. Raymond <esr@thyrsus.com>
2139
2140 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2141 24.3 (Tested).
7e03bb32 2142
dd806710
BB
21432014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2144
2145 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2146 and Podfile.
2147
ed6ec139
EZ
21482014-01-10 Eli Zaretskii <eliz@gnu.org>
2149
2150 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2151
cc33cac9
CY
21522014-01-10 Chong Yidong <cyd@gnu.org>
2153
6137cb82 2154 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2155
d9d836b5
AL
21562014-01-10 Anders Lindgren <andlind@gmail.com>
2157
2158 * follow.el (follow-cache-command-list): Include right-char and
2159 left-char.
2160
06827ec8
PE
21612014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2162
2163 Spelling fixes.
2164 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2165 * woman.el (woman-mark-horizontal-position):
2166 Rename from woman-mark-horizonal-position. Use changed.
2167
458dbf5e
GM
21682014-01-10 Glenn Morris <rgm@gnu.org>
2169
dad6fae7
GM
2170 * info.el (info-initialize): If running uninstalled, ensure our
2171 own info files are always found first, even if INFOPATH is set.
2172
458dbf5e
GM
2173 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2174
05e0afce
DE
21752014-01-09 David Engster <deng@randomsample.de>
2176
2177 * emacs-lisp/eieio-custom.el:
2178 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2179 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2180 * emacs-lisp/eieio.el: Regenerate autoloads.
2181
f29778b3
ER
21822014-01-09 Eric S. Raymond <esr@thyrsus.com>
2183
2184 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2185 following renames. (Bug#8756)
f29778b3 2186
684d44ef
SM
21872014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2190 (bug#16382).
2191 (activate-mark): Add `no-tmm' argument.
2192 (set-mark, push-mark-command): Use it instead of running
2193 activate-mark-hook by hand.
2194
9475054f
ER
21952014-01-08 Eric S. Raymond <esr@thyrsus.com>
2196
2197 In preparation for the move to git, sanitize out some
2198 Bazaar-specific names.
2199
38942b9c
GM
2200 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2201
9475054f 2202 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2203 emacs-repository-version. Obsolete-variable alias made.
9475054f 2204 * loadup.el: Follow through on this name change.
a12bf61e 2205 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2206 assumption about the version control system in use.
2207
0f918d96 22082014-01-08 David Engster <deng@randomsample.de>
abb82152 2209
684d44ef
SM
2210 * help-fns.el (help-fns-describe-function-functions):
2211 New variable to call functions for augmenting help buffers.
abb82152
DE
2212 (describe-function-1): Remove explicit calls to
2213 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2214 `help-fns--obsolete'. Put them in above new variable instead, and
2215 call them through `run-hook-with-args'.
2216 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2217 `eieio-describe-class'. Not meant for interactive use anymore,
2218 but to augment existing help buffers. Remove optional second
684d44ef
SM
2219 argument. Create proper button for file location.
2220 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2221 possible.
2222 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2223 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2224 (describe-method, describe-generic, eieio-describe-method):
2225 Remove aliases.
0f918d96
DE
2226 (eieio-help-constructor, eieio-help-generic): Rename from
2227 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2228 Rewrite to use `insert' in the current buffer and use proper help
2229 buttons.
2230 (eieio-help-find-method-definition)
2231 (eieio-help-find-class-definition): Also accept symbols as
2232 arguments.
2233 (eieio-help-mode-augmentation-maybee): Remove.
2234 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2235 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2236 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2237
136b74c5
PE
22382014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2239
2240 Spelling fixes.
2241 * language/china-util.el (hz-ascii-designation):
2242 Rename from hz-ascii-designnation.
2243 (hz-ascii-designation): Rename from hz-ascii-designnation.
2244 All uses changed.
2245
ec6c7de2
SM
22462014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2247
2248 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2249 package-alist.
2250
d6262c7c
BG
22512014-01-08 Bastien Guerry <bzg@gnu.org>
2252
4b9e6087
GM
2253 * emacs-lisp/package.el (package-delete):
2254 Correctly delete the package from package-alist.
d6262c7c 2255
0a3eec32
DU
22562014-01-08 Daiki Ueno <ueno@gnu.org>
2257
2258 * emacs-lisp/package.el (url-recreate-url): Declare.
2259 (url-http-target-url): Declare.
4b9e6087 2260 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2261 (package--check-signature): Don't re-signal errors from
2262 package--with-work-buffer. Suggested by Stefan Monnier.
2263
68f0bb97
BG
22642014-01-07 Bastien Guerry <bzg@gnu.org>
2265
2266 * minibuffer.el (completion--try-word-completion): When both a
2267 hyphen and a space are possible candidates for the character
2268 following a word, display both candidates. (Bug#15980)
2269
7e1899d7
MR
22702014-01-07 Martin Rudalics <rudalics@gmx.at>
2271
2272 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2273 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2274
0030ec15
GM
22752014-01-07 Glenn Morris <rgm@gnu.org>
2276
2277 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2278 (menu-bar-help-menu): Use view-external-packages instead.
2279
2b6b4f20
BG
22802014-01-07 Bastien Guerry <bzg@gnu.org>
2281
2282 * emacs-lisp/package.el (package-delete): Also delete the package
2283 name from `package-alist', not its description only.
2284
e9be0a13
GM
22852014-01-07 Glenn Morris <rgm@gnu.org>
2286
2287 * help.el (view-external-packages):
2288 * menu-bar.el (menu-bar-help-extra-packages):
2289 Visit efaq.info rather than etc/MORE.STUFF.
2290
e4f74da9
JL
22912014-01-07 Juri Linkov <juri@jurta.org>
2292
2293 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2294 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2295
2296 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2297 that shadows RET. (Bug#16342)
2298
de7ce2d1
CY
22992014-01-07 Chong Yidong <cyd@gnu.org>
2300
2301 * isearch.el (isearch-yank-char, isearch-yank-word)
2302 (isearch-yank-line): Doc fix.
2303
6bdd9204
SM
23042014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2307 * emacs-lisp/elint.el (elint-find-builtins):
2308 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2309 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2310 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2311 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2312 * apropos.el (apropos-safe-documentation):
2313 * subr.el (symbol-file): Remove redundant fboundp.
2314 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2315
daccca97
BG
23162014-01-06 Bastien Guerry <bzg@gnu.org>
2317
2318 * hl-line.el (global-hl-line-overlay): Make a local variable.
2319 (global-hl-line-overlays): New variable to store all overlays.
2320 (global-hl-line-mode): Don't delete overlays from the current
2321 buffer when `global-hl-line-sticky-flag' is non-nil.
2322 (global-hl-line-highlight): Add new overlays to
2323 `global-hl-line-overlays'.
2324 (global-hl-line-unhighlight-all): New function to delete all
2325 overlays when turning off `global-hl-line-mode'.
2326 This fixes Bug#16183.
2327
ec00f20f
SM
23282014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * subr.el (set-transient-map): Fix nested case and docstring.
2331
a0031f97
TH
23322014-01-06 Tassilo Horn <tsdh@gnu.org>
2333
2334 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2335 `Texinfo' entry.
2336
bf6a77f3
DC
23372014-01-06 Daniel Colascione <dancol@dancol.org>
2338
2339 Fix defun navigation in vc log view.
2340
2341 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2342 like `beginning-of-defun'.
c295fc18 2343 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2344 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2345 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2346 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2347 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2348
d5081c1e
PE
23492014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2350
2351 Spelling fixes.
2352 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2353 * emacs-lisp/debug.el (cancel-debug-on-entry):
2354 * epg.el (epg-error-to-string):
2355 * files.el (recover-file):
2356 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2357 * mail/emacsbug.el (report-emacs-bug-hook):
2358 * mail/sendmail.el (mail-recover):
2359 * ses.el (ses-yank-resize):
2360 * term/ns-win.el (ns-print-buffer):
2361 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2362 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2363 All uses changed.
2364 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2365
53f6b148
LL
23662014-01-06 Leo Liu <sdl.web@gmail.com>
2367
2368 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2369 to avoid shadowing global key. (Bug#16354)
53f6b148 2370
b82ace2f
DC
23712014-01-06 Daniel Colascione <dancol@dancol.org>
2372
2373 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2374 rst-mode.
2375
3669b636
MR
23762014-01-05 Martin Rudalics <rudalics@gmx.at>
2377
2378 * window.el (balance-windows): Add mising t to fix Bug#16351.
2379
1a29adc2
LMI
23802014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2381
2382 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2383 (bug#16285).
3d95a0f4
LMI
2384 (shr-insert): If we have a word that's longer than `shr-width',
2385 break after it anyway. Otherwise we'll do no breaking once we get
2386 such a long word.
1a29adc2 2387
f4018140
KN
23882014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2389
3fcfc4ee 2390 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2391 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2392 (eww-history-quit): Delete and use quit-window.
2393 (eww-history-kill): Delete, because it doesn't work well and
2394 not necessary.
2395 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2396
4e619754
PE
23972014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2398
73dbf960
PE
2399 Fix misspelling of 'chinese' in rx (Bug#16237).
2400 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2401 chinese-two-byte.
2402
4e619754
PE
2403 Change subword regexps back to vars (Bug#16296).
2404 * progmodes/subword.el (subword-forward-regexp)
2405 (subword-backward-regexp): Change these back to variables.
2406
e18b70fc
SM
24072014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2410 syntax-begin-function (bug#16247).
2411
0d53f628
CY
24122014-01-03 Chong Yidong <cyd@gnu.org>
2413
2414 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2415 (advice--docstring): Delete variable.
2416 (advice--make-1): Leave the docstring empty.
2417 (advice-add): Use function-documentation for advised docstring.
2418
2419 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2420 Ignore function-documentation property when getting documentation.
2421 (ad-activate-advised-definition): Use function-documentation
2422 generate the docstring.
2423 (ad-make-advised-definition): Don't call
2424 ad-make-advised-definition-docstring.
2425 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2426 Delete functions.
2427
2428 * progmodes/sql.el (sql-help): Use function-documentation instead
2429 of dynamic-docstring-function property. No need to autoload now.
2430 (sql--help-docstring): New variable.
2431 (sql--make-help-docstring): Use it.
2432
6f547583
SM
24332014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2434
6ef9aed8
SM
2435 * ielm.el (ielm-tab): Retarget.
2436 (ielm-map): Use ielm-tab for tab.
2437 (ielm-complete-filename): Use comint-filename-completion.
2438 (ielm-complete-symbol): Remove.
2439 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2440 remove ielm-tab from completion-at-point-functions (bug#16224).
2441
6f547583
SM
2442 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2443 Beware signals raised by predicates (bug#16201).
2444
a574edbe
RS
24452014-01-02 Richard Stallman <rms@gnu.org>
2446
e831604d
RS
2447 * dired-aux.el (dired-do-print): Handle printer-name.
2448
6f547583
SM
2449 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2450 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2451 (rmail-epa-decrypt): Turn off mime processing.
2452
3fcfc4ee 2453 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2454 Add parens in message-id.
2455
2456 * mail/rmail.el (rmail-get-coding-function): Variable.
2457 (rmail-get-coding-system): Use it.
2458
04311a16
KH
24592013-12-31 Eli Zaretskii <eliz@gnu.org>
2460
2461 * international/mule-conf.el: Unify the charset indian-is13194.
2462 (indian-is13194): Specify unify-map.
2463
c8d89778
LL
24642013-12-31 Leo Liu <sdl.web@gmail.com>
2465
2466 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2467
e63ace37
DC
24682013-12-30 Daniel Colascione <dancol@dancol.org>
2469
9e0bf19a
DC
2470 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2471 of printing a useless when we resume from sleep.
2472
e63ace37 2473 * progmodes/sh-script.el
c295fc18 2474 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2475 in indentation code. (Bug#16233)
2476
e9d6c46a
JT
24772013-12-28 João Távora <joaotavora@gmail.com>
2478
6f547583
SM
2479 * elec-pair.el (electric-pair-post-self-insert-function):
2480 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2481
bf7bea5d
EZ
24822013-12-28 Eli Zaretskii <eliz@gnu.org>
2483
2484 * frame.el (window-system-for-display): Don't allow to create a
2485 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2486
8449dd1f
GM
24872013-12-28 Glenn Morris <rgm@gnu.org>
2488
9c5a5c77
GM
2489 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2490 Update callers.
2491
2492 * apropos.el (apropos-match-face):
2493 * calculator.el (calculator-displayer):
2494 * dabbrev.el (dabbrev-search-these-buffers-only):
2495 * face-remap.el (buffer-face-mode-face):
2496 * simple.el (yank-handled-properties):
2497 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2498 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2499 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2500 (hashcash-double-spend-database):
2501 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2502 (ruby-deep-indent-paren-style):
2503 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2504 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2505 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2506 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2507 Specify custom types.
2508
bb098075
GM
2509 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2510 * bookmark.el (bookmark-bmenu-use-header-line):
2511 * doc-view.el (doc-view-scale-internally):
2512 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2513 * register.el (register-preview-delay):
2514 * net/shr.el (shr-bullet):
2515 * progmodes/cfengine.el (cfengine-cf-promises)
2516 (cfengine-parameters-indent):
2517 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2518 * textmodes/reftex-vars.el (reftex-label-regexps):
2519 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2520
9c61f806
GM
2521 * net/tls.el (tls-certtool-program): Fix default value.
2522
2523 * desktop.el (desktop-restore-in-current-display):
2524 * newcomment.el (comment-empty-lines):
2525 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2526 (idlwave-pad-keyword):
2527 * progmodes/tcl.el (tcl-tab-always-indent):
2528 * textmodes/reftex-vars.el (reftex-index-default-tag):
2529 * elec-pair.el (electric-pair-skip-whitespace):
2530 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2531
8449dd1f
GM
2532 * emacs-lisp/authors.el (authors-ignored-files)
2533 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2534
fdadeb49
JC
25352013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2536
72140a0f
GM
2537 * shell.el (shell-dynamic-complete-command): Doc fix.
2538 (shell--command-completion-data): Shell completion now matches
2539 executable filenames from the current buffer's directory, on
da5ecfa9 2540 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2541
e572a7d8
LI
25422013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2543
2544 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2545
7514d3f8
SM
25462013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2547
a4151f3b
SM
2548 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2549 (bug#16251).
2550
7514d3f8
SM
2551 * electric.el: Move all electric-pair-* to elec-pair.el.
2552 * elec-pair.el: New file, split from electric.el.
2553
ac5758d1
LI
25542013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2555
2556 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2557 indentation level is larger than the width, because that will
2558 infloop.
2559 (shr-insert): Fill repeatedly long texts, so that Japanese is
2560 formatted correctly (bug#16263).
24a6b65e
LI
2561 (shr-find-fill-point): Off by one error in comparison with the
2562 indentation.
ac5758d1 2563
7514d3f8 25642013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2565
2566 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2567 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2568 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2569 if that keeps or improves their balance in buffers.
2570 (electric-pair-delete-adjacent-pairs): Delete the pair when
2571 backspacing over adjacent matched delimiters.
2572 (electric-pair-open-extra-newline): Open extra newline when
2573 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2574 (electric--sort-post-self-insertion-hook):
2575 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2576 minor-modes are activated.
2577 * simple.el (newline-and-indent): Call newline with interactive
2578 set to t.
2579 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2580 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2581 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2582 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2583 electric-pair-open-newline-between-pairs to nil.
2584
fbcc63a3
FEG
25852013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2586
2587 * progmodes/python.el: Use lexical-binding.
2588 (python-nav-beginning-of-defun): Stop searching ASAP.
2589
ed78d16c
XF
25902013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2591
2592 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2593 Fix interactive spec. Doc fix. (Bug#15754)
2594
38b2c142
KY
25952013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2596
2597 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2598 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2599 Fix edebug spec (bug#16184).
2600
3c856c14
LI
26012013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2602
83fa295c 2603 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2604 (shr-insert): Don't infloop if we can't find a good place to break
2605 the line (bug#16256).
3c856c14 2606
01379221
FEG
26072013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2608
35e951cd 2609 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2610 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2611 python-nav-lisp-forward-sexp-safe.
2612 (python-nav--forward-sexp): New argument SAFE allows switching
2613 forward sexp movement behavior for parens.
2614 (python-nav-forward-sexp): Throw errors on unterminated parens
2615 (Bug#16191).
2616 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2617 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2618 (python-shell-buffer-substring):
2619 Use `python-nav-forward-sexp-safe'.
01379221 2620
99e4926f
LI
26212013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2622
2623 * net/shr.el (shr-find-fill-point): Don't break lines before a
2624 quotation mark.
c6c20584
LI
2625 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2626 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2627 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2628
fec0e828
KN
26292013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2630
2631 * net/eww.el (eww-form-textarea): Use a different face for
2632 textareas than text input since they have different keymaps
2633 (bug#16142).
2634
89c868ad
FEG
26352013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2636
7514d3f8
SM
2637 * progmodes/python.el (python-nav-beginning-of-statement):
2638 Speed up (Bug#15295).
89c868ad 2639
eeef121a
LI
26402013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2641
2642 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2643 the window configuration.
2644
121ea65f
EZ
26452013-12-24 Eli Zaretskii <eliz@gnu.org>
2646
2647 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2648 we run on MS-Windows or MS-DOS.
2649
18cee9ec
MR
26502013-12-24 Martin Rudalics <rudalics@gmx.at>
2651
2652 * window.el (balance-windows-area): Call window-size instead of
2653 window-height and window-width. Bug#16241.
2654
58f2b9a5
LI
26552013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2656
2657 * net/eww.el (eww-bookmark-quit): Remove.
2658 (eww-bookmark-browse): Restore the window configuration when you
2659 choose a bookmark (bug#16144).
2660
d64b6308
DC
26612013-12-24 Daniel Colascione <dancol@dancol.org>
2662
2663 * icomplete.el: Remove redundant :group arguments to `defcustom'
2664 throughout.
2665 (icomplete-show-matches-on-no-input): New customizable variable.
2666 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2667 we have something to show.
7514d3f8 2668 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2669
0da54898
DC
26702013-12-23 Daniel Colascione <dancol@dancol.org>
2671
2672 * icomplete.el: Move `provide' to end of file.
2673
b90aa4f4
TZ
26742013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2675
2676 * net/gnutls.el (gnutls-verify-error): Add version tag.
2677
8cd22a08
CY
26782013-12-23 Chong Yidong <cyd@gnu.org>
2679
2680 * subr.el (set-transient-map): Rename from
2681 set-temporary-overlay-map. Doc fix.
2682
2683 * face-remap.el (text-scale-adjust):
2684 * indent.el (indent-rigidly):
2685 * kmacro.el (kmacro-call-macro):
2686 * minibuffer.el (minibuffer-force-complete):
2687 * repeat.el (repeat):
2688 * simple.el (universal-argument--mode):
2689 * calendar/todo-mode.el (todo-insert-item--next-param):
2690 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2691
7510b021
CY
2692 * indent.el (indent-rigidly): Use substitute-command-keys.
2693
72140a0f 26942013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2695
2696 * net/eww.el (eww-tag-select): Add text-property to jump to next
2697 select field.
e9dc713d 2698 (eww): Add non-supported ftp error.
56890ecd 2699
1f87a56c
DG
27002013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2701
2702 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2703 comments. Handle electric indent after typing `?' and `!'.
2704
dca38cf9
CY
27052013-12-22 Chong Yidong <cyd@gnu.org>
2706
2707 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2708 applicable to a frame, fall back on the defface spec.
2709 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2710
f2351498
DG
27112013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2712
2713 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2714 after `{'. We need it after block openers, and it doesn't seem
2715 to hurt after hash openers.
2716
6cddebc1
DG
27172013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2718
2719 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2720 extracted from `ruby-smie-rules'.
2721 (ruby--electric-indent-chars): New variable.
2722 (ruby--electric-indent-p): New function.
2723 (ruby-mode): Use `electric-indent-functions' instead of
2724 `electric-indent-chars'.
2725
65a1da00
DG
27262013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2727
2728 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2729 docstring.
2730 (ruby-smie-rules): Indent plus one level after `=>'.
2731
b51ad4cf
RS
27322013-12-21 Richard Stallman <rms@gnu.org>
2733
2734 * simple.el (newline): Doc fix.
2735
72140a0f 27362013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2737
e9dc713d 2738 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2739 (eww-history-browse, eww-history-quit, eww-history-kill)
2740 (eww-history-mode-map, eww-history-mode): New command and
2741 functions to list browser histories.
e9dc713d
JB
2742 (eww-form-text): Support text form with disabled
2743 and readonly attributes.
2744 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2745
5e1901c1
RS
27462013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2747
2748 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2749 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2750 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2751 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2752 Use `user-error'.
2753 (eww-bookmark-mode-map): Add menu.
2754 (eww-render, eww-mode): Use `setq-local'.
2755 (eww-tool-bar-map): New variable.
2756 (eww-mode): Set `tool-bar-map'.
2757 (eww-view-source): Check for `html-mode' with `fboundp'.
2758
073d5cfd
LMI
27592013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2760
2761 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2762 elements with text inside. Also remove debugging.
2763
41cf3d11
JD
27642013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2765
2766 * cus-start.el (all): Add ns-use-srgb-colorspace.
2767
aac2b673
CY
27682013-12-21 Chong Yidong <cyd@gnu.org>
2769
2770 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2771 undefined. Thus, theme settings for undefined faces do not take
2772 effect until the faces are defined with defface, the same as with
2773 theme variables.
2774
2775 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2776 (face-spec-reset-face): Don't assign extra properties in temacs.
2777 (face-spec-recalc): Apply X resources too.
2778
bacb0e77
CY
27792013-12-21 Chong Yidong <cyd@gnu.org>
2780
2781 * faces.el (face-spec-set):
2782 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2783 * custom.el (defface): Doc fixes (Bug#16203).
2784
77221051
CY
2785 * indent.el (indent-rigidly-map): Add docstring, and move commands
2786 into named functions.
2787 (indent-rigidly-left, indent-rigidly-right)
2788 (indent-rigidly-left-to-tab-stop)
2789 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2790 indentation direction based on bidi direction, and accumulate
2791 sequential commands in a single undo boundary.
2792 (indent-rigidly--pop-undo): New utility function.
2793
e0eb0550
JB
27942013-12-20 Juanma Barranquero <lekktu@gmail.com>
2795
2796 * faces.el (read-face-name): Require crm.el when using crm-separator.
2797
3282bd2e
DC
27982013-12-20 Daniel Colascione <dancol@dancol.org>
2799
2800 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2801 so that we don't reflow comments into the shebang line.
2802
1d42e5b6
JL
28032013-12-20 Juri Linkov <juri@jurta.org>
2804
2805 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2806 a position when `dired-directory' is non-nil. Check integer
2807 positions with `integerp'.
2808 (toggle-save-place, save-places-to-alist): Add check for
2809 `dired-directory'.
2810 (save-place-find-file-hook): Check integer positions with
2811 `integerp'.
2812 (save-place-dired-hook): Use `dired-goto-file' when
2813 `dired-filename' is found in the assoc list. Check integer
2814 positions with `integerp'.
2815 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2816
2817 * dired.el (dired-initial-position-hook): Rename back from
2818 `dired-initial-point-hook'.
2819 (dired-initial-position): Rename `dired-initial-point-hook' to
2820 `dired-initial-position-hook'.
2821 (dired-file-name-at-point): Doc fix. (Bug#15329)
2822
24da7273
JL
28232013-12-20 Juri Linkov <juri@jurta.org>
2824
2825 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2826 (read-regexp-suggestions): New function.
2827 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2828 Use `read-regexp-suggestions'. Add non-empty default to history
2829 for empty input.
2830 (occur-read-regexp-defaults-function): Remove function.
2831 (occur-read-primary-args): Use `regexp-history-last' instead of
2832 `occur-read-regexp-defaults-function'.
2833
2834 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2835 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2836 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2837 `hi-lock-read-regexp-defaults-function'. Doc fix.
2838 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2839 with `find-tag-default-as-symbol-regexp'. Doc fix.
2840 (hi-lock-read-regexp-defaults): Remove function.
2841 (hi-lock-regexp-okay): Add check for null.
2842
2843 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2844 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2845
2846 * subr.el (find-tag-default-as-symbol-regexp): New function.
2847 (find-tag-default-as-regexp): Move symbol regexp formatting to
2848 `find-tag-default-as-symbol-regexp'.
2849
137f57c8
S
28502013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2851
2852 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2853 (Bug#14179)
2854
f3a66082
SB
28552013-12-20 Stephen Berman <stephen.berman@gmx.net>
2856
2857 * calendar/todo-mode.el: New implementation of item insertion
2858 commands and key bindings.
2859 (todo-key-prompt): New face.
2860 (todo-insert-item): New command.
2861 (todo-insert-item--parameters): New defconst, replacing defvar
2862 todo-insertion-commands-args-genlist.
2863 (todo-insert-item--param-key-alist): New defconst, replacing
2864 defvar todo-insertion-commands-arg-key-list.
2865 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2866 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2867 (todo-insert-item--next-param): New functions.
2868 (todo-insert-item--args, todo-insert-item--argleft)
2869 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2870 New variables.
2871 (todo-key-bindings-t): Change binding of "i" from
2872 todo-insertion-map to todo-insert-item.
2873 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2874 (todo-insertion-command-name, todo-insertion-commands-names)
2875 (todo-define-insertion-command, todo-insertion-commands)
2876 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2877
2f99433b
SB
28782013-12-20 Stephen Berman <stephen.berman@gmx.net>
2879
2880 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2881 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2882 eval-when-compile.
2883 (todo-move-category): Allow choosing a non-existing todo file to
2884 move the category to, and create that file.
2885 (todo-default-priority): New user option.
2886 (todo-set-item-priority): Use it.
2887 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2888 (desktop-restore-file-buffer): Declare.
2889 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2890 (todo-modes-set-2): Locally set desktop-save-buffer to
2891 todo-desktop-save-buffer.
2892 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2893 (auto-mode-alist): Add autoload cookie.
2894
131e4695
BB
28952013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2896
2897 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2898 helpers.el was a poor choice of name.
3cbfb935
BB
2899 (string-remove-prefix): New function.
2900 (string-remove-suffix): New function.
131e4695 2901
c44de18d
MR
29022013-12-20 Martin Rudalics <rudalics@gmx.at>
2903
2904 Fix assignment for new window total sizes.
2905 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2906 (window--pixel-to-total-1, window--pixel-to-total):
2907 Fix calculation of new total sizes.
c44de18d 2908
ca65efcc
VS
29092013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2910
2911 * comint.el (comint-output-filter): Fix rear-nonsticky property
2912 placement (Bug#16010).
2913
a9574eb7
CY
29142013-12-20 Chong Yidong <cyd@gnu.org>
2915
2916 * faces.el (read-color): Minor fix for completion function.
2917
b520f210
DG
29182013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2919
e0eb0550
JB
2920 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2921 New option. (Bug#16182)
b520f210
DG
2922 (ruby-smie--indent-to-stmt-p): Use it.
2923 (ruby-smie-rules): Revert the logic in the handling of `when'.
2924 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2925 (ruby-deep-arglist, ruby-deep-indent-paren)
2926 (ruby-deep-indent-paren-style): Update docstrings to note that the
2927 vars don't have any effect with SMIE.
2928
26b75b45
JB
29292013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2930
2931 * calc/calc.el (calc-enter, calc-pop): Use the variable
2932 `calc-context-sensitive-enter'.
2933
cf91cee7
LMI
29342013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2935
2936 * net/shr.el (shr-insert): Protect against infloops in degenerate
2937 tables.
2938
51d971b4
RS
29392013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2940
2941 * progmodes/octave.el (octave): Add link to manual and octave
2942 homepage.
2943 (octave-mode-menu): Link to octave-mode manual.
2944
8c2e462a
LL
29452013-12-20 Leo Liu <sdl.web@gmail.com>
2946
2947 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2948 insertion using skeleton-end-newline. (Bug#16138)
2949
501158bc
JL
29502013-12-20 Juri Linkov <juri@jurta.org>
2951
2952 * replace.el (occur-engine): Use `add-face-text-property'
2953 to add the face property to matches and titles. (Bug#14645)
2954
2955 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2956 the palette of other hi-lock colors.
2957 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2958
50ab1da6
JL
29592013-12-19 Juri Linkov <juri@jurta.org>
2960
2961 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2962 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2963 (minibuffer-history-symbol): Move variable declaration closer to
2964 its usage.
2965
2966 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2967 (Bug#14785)
2968
3d6e95e7
JL
29692013-12-19 Juri Linkov <juri@jurta.org>
2970
2971 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2972 New function.
2973 (log-edit-hook): Add it to :options. (Bug#16170)
2974
b41594fd
JL
29752013-12-19 Juri Linkov <juri@jurta.org>
2976
2977 * simple.el (eval-expression-print-format): Don't check for
2978 command names and the last command. Always display additional
2979 formats of the integer result in the echo area, and insert them
2980 to the current buffer only with a zero prefix arg.
2981 Display character when char-displayable-p is non-nil.
2982 (eval-expression): With a zero prefix arg, set `print-length' and
2983 `print-level' to nil, and insert the integer values from
2984 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2985
2986 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2987 `eval-last-sexp-arg-internal'. Doc fix.
2988 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2989 `eval-last-sexp-print-value'. Doc fix.
2990 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2991 Set `print-length' and `print-level' to nil when arg is zero.
2992 (eval-last-sexp): Doc fix.
2993 (eval-defun-2): Print the integer values from
2994 `eval-expression-print-format' at the end.
2995
2996 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2997 values from `eval-expression-print-format' at the end.
2998
2999 * ielm.el (ielm-eval-input): Print the integer
3000 values from `eval-expression-print-format' at the end.
3001
8f2be364
TZ
30022013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3003
3004 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3005 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3006
2230a6e3
SM
30072013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3010 (hl-line-highlight, global-hl-line-highlight): Use it.
3011 (hl-line-overlay): Use defvar-local.
3012
1269a680
JD
30132013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3014
3015 * term/ns-win.el: Require dnd.
3016 (global-map): Remove drag items.
3017 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3018 (ns-set-background-at-mouse):
3019 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3020 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3021 New functions.
1269a680 3022
049638ad
GM
30232013-12-19 Glenn Morris <rgm@gnu.org>
3024
3025 * emacs-lisp/ert.el (ert-select-tests):
3026 Fix string/symbol mixup. (Bug#16121)
3027
ce41edb4
DG
30282013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3029
3030 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3031 keywords to their parent.
3032
7e1549c9
DG
30332013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3034
3035 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3036 first arg to be a string (fixed dead code), or an operator symbol.
3037 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3038 operator symbols.
3039 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3040 did nothing. Don't respond to `(:after ".")', it will be called
3041 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3042 change anything. Only return indentation for binary operators
3043 when they are hanging. De-dent opening paren when its parent is
3044 `.', otherwise it looks bad when the dot is not at bol or eol
3045 (bug#16182).
3046
3ee4cd64
JL
30472013-12-19 Juri Linkov <juri@jurta.org>
3048
3049 * replace.el (query-replace-read-args): Split a non-negative arg
3050 and a negative arg into separate elements.
3051 (query-replace, query-replace-regexp, replace-string)
3052 (replace-regexp): Add arg `backward'. Doc fix.
3053 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3054 move point to the beginning of the match.
3055 (replace-search, replace-highlight): Use new arg `backward'
3056 to set the value of `isearch-forward'.
3057 (perform-replace): Add arg `backward' and use it to perform
3058 replacement backward. (Bug#14979)
3059
3060 * isearch.el (isearch-query-replace): Use a negative prefix arg
3061 to call `perform-replace' with a non-nil arg `backward'.
3062
0cda6b7b
JL
30632013-12-18 Juri Linkov <juri@jurta.org>
3064
3065 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3066 to the default list. Move `log-edit-show-files' to the end.
3067 Add more available functions to options.
3068 (log-edit): Move default specific settings to
3069 `log-edit-insert-message-template'. Don't move point.
3070 (log-edit-insert-message-template): New function.
3071 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3072 (Bug#16170)
3073
b216f0a6
JL
30742013-12-18 Juri Linkov <juri@jurta.org>
3075
3076 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3077 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3078
1d1c55dc
LL
30792013-12-18 Leo Liu <sdl.web@gmail.com>
3080
e9dc713d
JB
3081 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3082 (Bug#16186)
1d1c55dc 3083
64e4c76e
EZ
30842013-12-18 Eli Zaretskii <eliz@gnu.org>
3085
3086 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3087 formats for displaying file sizes when the -s switch is given.
3088 Instead, compute a separate format for displaying the size in
3089 blocks, which is displayed in addition to the "regular" size.
3090 When -h is given in addition to -s, produce size in blocks in
3091 human-readable form as well. (Bug#16179)
3092
b2984e39
TH
30932013-12-18 Tassilo Horn <tsdh@gnu.org>
3094
2230a6e3
SM
3095 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3096 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3097
50ff2e06
CY
30982013-12-18 Chong Yidong <cyd@gnu.org>
3099
0081bc84
CY
3100 * cus-edit.el (custom-magic-alist): Fix "themed" description
3101 (Bug#14348).
3102
a7ee9424
CY
3103 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3104 is non-nil, do not create a new entry in the symbol's theme-value
3105 or theme-face property; update theme-settings only (Bug#14664).
18874304 3106 (custom-available-themes): Doc fix.
a7ee9424 3107
8f942537
CY
3108 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3109 (Bug#15674).
3110
50ff2e06
CY
3111 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3112
83c60f60
KI
31132013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3114
3115 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3116 (Bug#13914).
3117
e0eb0550 31182013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3119
3120 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3121
1f41ee56
GM
31222013-12-18 Glenn Morris <rgm@gnu.org>
3123
3124 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3125 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3126
e82134b1
LW
31272013-12-18 Le Wang <l26wang@gmail.com>
3128
2230a6e3
SM
3129 * comint.el (comint-previous-matching-input-from-input):
3130 Retain point (Bug#13404).
e82134b1 3131
33f5d4c1
CY
31322013-12-18 Chong Yidong <cyd@gnu.org>
3133
3134 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3135
ccc9f6dc
GM
31362013-12-18 Glenn Morris <rgm@gnu.org>
3137
3138 * mail/emacsbug.el (report-emacs-bug):
3139 Only mention enable-multibyte-characters if non-standard.
3140
33dd8e95
JL
31412013-12-17 Juri Linkov <juri@jurta.org>
3142
3143 * arc-mode.el (archive-extract-by-file): Check if directory exists
3144 before deletion to not show irrelevant errors if it doesn't exist.
3145
7a409b30
JL
31462013-12-17 Juri Linkov <juri@jurta.org>
3147
3148 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3149 (Bug#14751)
3150
3151 * net/eww.el (browse-web): Add alias to `eww'.
3152 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3153 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3154
3155 * net/browse-url.el (browse-url-browser-function): Move `eww'
3156 closer to similar functions.
3157
3158 * startup.el (fancy-startup-screen, fancy-about-screen):
3159 Set browse-url-browser-function to eww-browse-url locally.
3160 (Bug#14751)
3161
2d6b6005
SM
31622013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * window.el (window--pixel-to-total): Remove unused `mini' var.
3165 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3166 (split-window): Remove unused `new' var.
3167 (window--display-buffer): Remove unused `frame' and `delta' vars.
3168 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3169 and display-width'.
3170
cf2b7efc
MR
31712013-12-17 Martin Rudalics <rudalics@gmx.at>
3172
3173 * dired.el (dired-mark-pop-up):
3174 * register.el (register-preview): Don't bind
3175 split-height-threshold here since it's now done in
3176 display-buffer-below-selected.
3177
ed3af8a7 31782013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3179
3180 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3181 xterm-rgb-convert-to-16bit.
3182 (rxvt-register-default-colors): Standardize with
3183 xterm-register-default-colors (Bug#14078).
3184
76da3455
DK
31852013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3186
3187 * simple.el (kill-region): Pass mark first, then point, so that
3188 kill-append works right (Bug#12819).
3189 (copy-region-as-kill, kill-ring-save): Likewise.
3190
2b84d763
LL
31912013-12-17 Leo Liu <sdl.web@gmail.com>
3192
3193 * net/rcirc.el (rcirc-add-face):
3194 * eshell/em-prompt.el (eshell-emit-prompt):
3195 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3196 (Bug#16167)
3197
e2f6a0bc
CY
31982013-12-17 Chong Yidong <cyd@gnu.org>
3199
3200 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3201 Suggested by Xue Fuqiao.
3202
35b249a6
DG
32032013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3204
3205 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3206
e9145444
SM
32072013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * net/shr.el (shr-insert-document): Remove unused var
3210 `shr-preliminary-table-render'.
3211 (shr-rescale-image): Remove unused arg `force'.
3212 (shr-put-image): Update calls accordingly.
3213 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3214
5556c0ce
DG
32152013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3216
3217 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3218 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3219 :close-all, to see which indentation method to use (Bug#16116).
3220 (smie-rules-function): Document the method :close-all.
3221
11bade0a
LMI
32222013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3223
1c4b1e61
LMI
3224 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3225
11bade0a
LMI
3226 * net/eww.el (eww-display-html): If we can't find the anchor we're
3227 looking for, then go to point-min.
3228
8fb8c4f3
PE
32292013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3230
3231 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3232 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3233 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3234 Expand dir too, in case it's relative.
3235
6c8e0ae6
JL
32362013-12-16 Juri Linkov <juri@jurta.org>
3237
3238 * desktop.el (desktop-auto-save-timeout): Change default to
3239 `auto-save-timeout'. Doc fix.
3240 (desktop-save): Skip the timestamp in desktop-saved-frameset
3241 when checking for auto-save changes.
3242 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3243 `desktop-auto-save' is called repeatedly by the idle timer.
3244 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3245 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3246 (Bug#15331)
3247
2178e858
JL
32482013-12-16 Juri Linkov <juri@jurta.org>
3249
3250 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3251 (Bug#16035)
3252 (isearch-pre-command-hook): Check `this-command' for symbolp.
3253
39cb42c6
SM
32542013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3257
5b9b750a
TZ
32582013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3259
3260 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3261 (cfengine3--current-function): Bring in the current-function
3262 functionality from `cfengine3--current-word'.
3263 (cfengine3-completion-function): Bring in the
3264 bounds-of-current-word functionality from
3265 `cfengine3--current-word'.
3266
d144ef06
MR
32672013-12-16 Martin Rudalics <rudalics@gmx.at>
3268
39cb42c6
SM
3269 * window.el (display-buffer-below-selected):
3270 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3271
a8bbe298
LL
32722013-12-16 Leo Liu <sdl.web@gmail.com>
3273
3274 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3275 Remove NOMSG arg and all uses changed.
3276
2013a2f9
SM
32772013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3280 (cua--deactivate-rectangle): Don't deactivate the mark.
3281 (cua-set-rectangle-mark): Don't set mark-active since
3282 cua--activate-rectangle already does it for us.
3283 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3284 non-rectangular region.
3285
3286 * emulation/cua-base.el (cua-repeat-replace-region):
3287 Use with-current-buffer.
3288
3289 * net/gnutls.el: Use cl-lib.
3290 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3291
5ae811dd
TZ
32922013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3293
3294 * emacs-lisp/package.el (package-built-in-p): Support both
3295 built-in and the package.el converted package descriptions.
3296 (package-show-package-list): Allow keywords.
3297 (package-keyword-button-action): Use it instead of
3298 `finder-list-matches'.
3299 (package-menu-filter-interactive): Interactive filtering (by
3300 keyword) function.
3301 (package-menu--generate): Support keywords and change keymappings
3302 and headers when they are given.
3303 (package--has-keyword-p): Helper function.
3304 (package-menu--refresh): Use it.
3305 (package--mapc): Helper function.
3306 (package-all-keywords): Use it.
3307 (package-menu-mode-map): Set up menu items and keybindings to
3308 provide a filtering UI.
3309
31b4827e
TZ
33102013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3311
3312 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3313 the behavior when a certificate fails validation. Defaults to
3314 old behavior: never abort, just warn.
3315 (gnutls-negotiate): Use it.
3316
f93cc74f
MR
33172013-12-14 Martin Rudalics <rudalics@gmx.at>
3318
3319 * window.el (display-buffer-below-selected): Never split window
3320 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3321
f77d7d17
TW
33222013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3323
3324 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3325 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3326
7514d3f8
SM
33272013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3328
aa2bddd7 3329 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3330 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3331
276bc333
DG
33322013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3333
3334 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3335 open-paren tokens when preceded by a open-paren, too.
3336 (ruby-smie-rules): Handle virtual indentation after open-paren
3337 tokens specially. If there is code between it and eol, return the
3338 column where is starts (Bug#16118).
3339
d43957f3
TZ
33402013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3341
a5c1ac0c 3342 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3343 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3344 (cfengine3--current-word): Fix parameters.
3345 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3346 (cfengine3-completion-function, cfengine3--current-function):
3347 Use `assq' for symbols.
d43957f3
TZ
3348 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3349
06a4f110
GM
33502013-12-13 Glenn Morris <rgm@gnu.org>
3351
3352 * loadup.el (load-path): Warn if site-load or site-init changes it.
3353 No more need to reset it when bootstrapping.
3354
978a5fda
TZ
33552013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3356
3357 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3358 locations for cf-promises.
3359 (cfengine-mode-syntax-functions-regex): New caching variable.
3360 (cfengine3-fallback-syntax): Fallback syntax for cases where
3361 cf-promises doesn't run.
3362 (cfengine3--current-word): Reimplement using
3363 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3364 (cfengine3-completion-function, cfengine3--current-function):
3365 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3366 (cfengine3-clear-syntax-cache): New function.
3367 (cfengine3-make-syntax-cache): Simplify and create
3368 `cfengine-mode-syntax-functions-regex' on demand.
3369 (cfengine3-format-function-docstring): Don't call
3370 `cfengine3-make-syntax-cache' explicitly.
3371
71e6691e
MR
33722013-12-13 Martin Rudalics <rudalics@gmx.at>
3373
3374 Fix windmove-find-other-window broken after pixelwise resizing
3375 (Bug#16017).
3376 * windmove.el (windmove-other-window-loc): Revert change from
3377 2013-12-04.
3378 (windmove-find-other-window): Call window-in-direction.
3379 * window.el (window-in-direction): New arguments SIGN, WRAP and
3380 MINI to emulate original windmove-find-other-window behavior.
3381
84c73ba0
DG
33822013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3383
3384 * simple.el (blink-matching--overlay): New variable.
3385 (blink-matching-open): Instead of moving point, highlight the
3386 matching paren with an overlay
3387 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3388
3389 * faces.el (paren-showing-faces, show-paren-match)
3390 (show-paren-mismatch): Move from paren.el.
3391
b9e20952
LL
33922013-12-13 Leo Liu <sdl.web@gmail.com>
3393
3394 * indent.el (indent-region): Disable progress reporter in
3395 minibuffer. (Bug#16108)
3396
3397 * bindings.el (visual-order-cursor-movement): Fix version.
3398
ce030451
FEG
33992013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3400
3401 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3402 Also match after beginning of line.
3403 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3404 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3405
4a9c6865
JL
34062013-12-13 Juri Linkov <juri@jurta.org>
3407
3408 * simple.el <Keypad support>: Remove key bindings duplicated
3409 with bindings.el. (Bug#14397)
3410
2bc170c3
JL
34112013-12-13 Juri Linkov <juri@jurta.org>
3412
3413 * comint.el (comint-mode-map): Replace `delete-char' with
3414 `delete-forward-char'. (Bug#16109)
3415
bc9222c9
FEG
34162013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3417
aa2bddd7 3418 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3419 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3420
cb3a1380
SM
34212013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3424 (advice--make): Pay attention to `depth'.
3425 (advice--make-1): Don't autoload commands eagerly.
3426 * emacs-lisp/elp.el (elp-instrument-function):
3427 * emacs-lisp/trace.el (trace-function-internal):
3428 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3429
3430 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3431
01633a17
EZ
34322013-12-12 Eli Zaretskii <eliz@gnu.org>
3433
3434 * term/w32-win.el (w32-handle-dropped-file):
3435 * startup.el (normal-top-level):
3436 * net/browse-url.el (browse-url-file-url):
3437 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3438 decode file names using 'utf-8' rather than
3439 file-name-coding-system.
3440
09faee72
FEG
34412013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3442
3443 * progmodes/python.el (python-indent-context)
3444 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3445 behavior for comment blocks. (Bug#15916)
09faee72 3446
f4f84024 34472013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3448
cb3a1380
SM
3449 * progmodes/python.el (python-indent-calculate-indentation):
3450 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3451 operators when they are just string constituents. (Bug#15812)
3452
d5ccb7be
JL
34532013-12-12 Juri Linkov <juri@jurta.org>
3454
3455 * uniquify.el (uniquify-buffer-name-style): Change default to
3456 `post-forward-angle-brackets'.
3457
3458 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3459 `uniquify'. Change default to `post-forward-angle-brackets'.
3460
7b3f5679
GM
34612013-12-11 Glenn Morris <rgm@gnu.org>
3462
3463 * emacs-lisp/package.el (finder-list-matches):
3464 Autoload rather than falsely declaring.
3465
f4fe8fdd
TZ
34662013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3467
3468 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3469 (eww-mode-map): Use them.
3470
3c29190f
MR
34712013-12-11 Martin Rudalics <rudalics@gmx.at>
3472
3473 * window.el (display-buffer-in-side-window): Fix doc-string
3474 (Bug#16115).
3475
0cd616a2
JB
34762013-12-11 Juanma Barranquero <lekktu@gmail.com>
3477
3478 * vc/vc-git.el: Silence byte-compiler warnings.
3479 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3480 (log-edit-set-header): Declare.
3481
3ef8e0d1
EZ
34822013-12-11 Eli Zaretskii <eliz@gnu.org>
3483
3484 * Makefile.in (custom-deps, finder-data): Run output file names
3485 through unmsys--file-name. (Bug#16099)
3486
afdadaf7
SM
34872013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3488
7ae3ae39 3489 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3490 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3491
5b4f37ab
SM
3492 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3493 instead of deleting the selection "by hand" (bug#16098).
3494 Rely on insert-for-yank to yank rectangles.
3495 (cua-highlight-region-shift-only): Mark obsolete.
3496 (cua-mode): Don't enable/disable transient-mark-mode,
3497 shift-select-mode (cua-mode works both with and without them), and
3498 pc-selection-mode (obsolete).
3499 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3500 (cua--deactivate-rectangle): Deactivate it.
3501
4b72c12b
SM
3502 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3503 (delete-selection-helper): Make sure yank starts at the top of the
3504 deleted region.
3505 (minibuffer-keyboard-quit): Use region-active-p.
3506
e82af72d
SM
3507 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3508
afdadaf7
SM
3509 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3510 to `delete' (bug#16109).
3511
ed4bc201
RS
35122013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3513
3514 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3515 info manual and show keybindings and set `:group' keyword.
3516
bb8097b9
JL
35172013-12-11 Juri Linkov <juri@jurta.org>
3518
3519 * delsel.el (delete-active-region): Let-bind `this-command'
3520 to prevent `kill-region' from changing its original value.
3521 (delete-selection-helper): Handle `overwrite-mode' for the type
3522 `kill' exactly the same way as for the type `t'.
3523 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3524 Support more commands. (Bug#13312)
3525
c1916ff5
JL
35262013-12-11 Juri Linkov <juri@jurta.org>
3527
3528 * bindings.el: Map kp keys to non-kp keys systematically
3529 with basic modifiers control, meta and shift. (Bug#14397)
3530
7514d3f8 35312013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3532
3533 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3534 "Close browser" menu items. Fix wrong function of "List
3535 bookmarks".
3536
4cc51eaf
JL
35372013-12-11 Juri Linkov <juri@jurta.org>
3538
3539 * misearch.el (multi-isearch-buffers): Set the value of
3540 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3541 arg of isearch-forward to t.
3542 (multi-isearch-buffers-regexp): Set the value of
3543 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3544 arg of isearch-forward-regexp to t.
3545 (multi-isearch-files): Set the value of
3546 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3547 arg of isearch-forward to t.
3548 (multi-isearch-files-regexp): Set the value of
c295fc18 3549 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3550 arg of isearch-forward-regexp to t. (Bug#16035)
3551
3552 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3553 arg of isearch-forward to t.
3554 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3555 arg of isearch-forward-regexp to t.
3556 (dired-isearch-filter-filenames): Remove unnecessary check for
3557 `dired-isearch-filenames'.
3558
3559 * comint.el (comint-history-isearch-backward):
3560 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3561 (comint-history-isearch-backward-regexp):
3562 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3563
ceac12b7
EZ
35642013-12-10 Eli Zaretskii <eliz@gnu.org>
3565
3566 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3567 unmsys--file-name. (Bug#16099)
3568
5a565782
TZ
35692013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3570
cb3a1380
SM
3571 * emacs-lisp/package.el (package-keyword-button-action):
3572 Remove finder.el require dependency.
5a565782 3573
a81fc7ba
TZ
35742013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3575
3576 * emacs-lisp/package.el: Require finder.el.
3577 (describe-package-1): Add keyword buttons.
3578 (package-make-button): New convenience function.
3579 (package-keyword-button-action): Keyword button action using
e0eb0550 3580 `finder-list-matches'.
a81fc7ba 3581
6aaca951
EZ
35822013-12-09 Eli Zaretskii <eliz@gnu.org>
3583
3584 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3585 last commit.
3586
a1099a91
MA
35872013-12-09 Michael Albinus <michael.albinus@gmx.de>
3588
3589 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3590 symlinked files.
3591
8212d9c0
DG
35922013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3593
3594 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3595 after the end of a percent literal.
3596
8f48d131
CD
35972013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3598
cb3a1380
SM
3599 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3600 Handle caret-delimited strings (Bug#16079).
8f48d131 3601
ff8c9764
DG
36022013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3603
cb3a1380
SM
3604 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3605 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3606 `ruby-parse-partial' (Bug#16078).
3607
d64643b4
LL
36082013-12-09 Leo Liu <sdl.web@gmail.com>
3609
3610 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3611
47e59c66
DG
36122013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3613
3614 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3615 (js-switch-indent-offset): New option.
3616 (js--proper-indentation): Use it. And handle the case when
3617 "default" is actually a key in an object literal.
3618 (js--same-line): New function.
3619 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3620 (js--indent-in-array-comp, js--array-comp-indentation):
3621 New functions.
47e59c66
DG
3622 (js--proper-indentation): Use them, to handle array comprehension
3623 continuations.
3624
974ebc9c
LL
36252013-12-08 Leo Liu <sdl.web@gmail.com>
3626
3627 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3628 (flymake-make-overlay): Remove arg MOUSE-FACE.
3629 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3630
27262e39
SM
36312013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3634 New function.
3635 (redisplay-highlight-region-function): Use it.
3636
3637 * emulation/cua-base.el (cua--explicit-region-start)
3638 (cua--last-region-shifted): Remove.
3639 (cua--deactivate): Use deactivate-mark.
3640 (cua--pre-command-handler-1): Don't handle shift-selection.
3641 (cua--post-command-handler-1): Don't change transient-mark-mode.
3642 (cua--select-keymaps): Use region-active-p rather than
3643 cua--explicit-region-start or cua--last-region-shifted.
3644 (cua-mode): Enable shift-select-mode.
3645
6407822c
LL
36462013-12-08 Leo Liu <sdl.web@gmail.com>
3647
27262e39
SM
3648 * progmodes/flymake.el (flymake-popup-current-error-menu):
3649 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3650 (flymake-posn-at-point-as-event, flymake-popup-menu)
3651 (flymake-make-emacs-menu): Remove. (Bug#16077)
3652
00a2b823
SM
36532013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3654
02033d49
SM
3655 * rect.el (rectangle-mark-mode): Activate mark even if
3656 transient-mark-mode is off (bug#16066).
3657 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3658 is > mark and at bolp.
3659
6f8dfccf
SM
3660 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3661 (region-extract-function): Use it.
3662 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3663 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3664 Delete functions.
3665 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3666 kill-ring-save, kill-region, delete-char, delete-forward-char.
3667 Ignore self-insert-iso.
3668
3669 * emulation/cua-gmrk.el (cua--init-global-mark):
3670 Ignore `self-insert-iso'.
3671
3672 * emulation/cua-base.el (cua--prefix-copy-handler)
3673 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3674 checking cua--rectangle.
3675 (cua-delete-region): Use region-extract-function.
3676 (cua-replace-region): Delete function.
3677 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3678 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3679 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3680 (cua--init-keymaps): Don't remap delete-selection commands.
3681 (cua-mode): Use delete-selection-mode instead of rolling our own
3682 (bug#16085).
3683
3684 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3685 Obey region-extract-function.
3686
00a2b823
SM
3687 Make registers and delete-selection-mode work on rectangles.
3688 * register.el (describe-register-1): Don't modify the register's value.
3689 (copy-to-register): Obey region-extract-function.
3690 * delsel.el (delete-active-region): Obey region-extract-function.
3691
a92fa5f1
LL
36922013-12-08 Leo Liu <sdl.web@gmail.com>
3693
3694 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3695 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3696 (flymake-compilation-prevents-syntax-check)
3697 (flymake-start-syntax-check-on-newline)
3698 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3699 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3700 (flymake-xml-program, flymake-master-file-dirs)
3701 (flymake-master-file-count-limit)
3702 (flymake-allowed-file-name-masks): Relocate.
3703 (flymake-makehash, flymake-float-time)
3704 (flymake-replace-regexp-in-string, flymake-split-string)
3705 (flymake-get-temp-dir): Remove.
3706 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3707 (flymake-current-row, flymake-selected-frame)
3708 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3709 related functions. (Bug#16077)
3710
73c8ceea
BB
37112013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3712
3713 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3714
faec28d9
TH
37152013-12-07 Tassilo Horn <tsdh@gnu.org>
3716
3717 * help-fns.el (describe-function-1): Use new advice-* functions
3718 rather than old ad-* functions. Fix function type description and
3719 source links for advised functions and subrs.
3720
e330b646
LMI
37212013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3722
00a2b823 3723 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3724
4803595d
MA
37252013-12-06 Michael Albinus <michael.albinus@gmx.de>
3726
3727 * progmodes/compile.el (compilation-start):
3728 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3729
3730 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3731 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3732
fa834a93
DG
37332013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3734
00a2b823
SM
3735 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3736 Touch up the last change.
fa834a93 3737
b2856a6f
LL
37382013-12-06 Leo Liu <sdl.web@gmail.com>
3739
3740 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3741 (inferior-octave-startup): Always use "octave> " for prompt.
3742 (octave-goto-function-definition)
3743 (octave-sync-function-file-names)
3744 (octave-find-definition-default-filename): Remove redundant backquotes.
3745
af67e79a
DG
37462013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3747
3748 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3749 syntax for `?'.
3750 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3751 where appropriate already.
3752 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3753 end of method names (Bug#15874).
3754
bf093209
JL
37552013-12-06 Juri Linkov <juri@jurta.org>
3756
3757 * isearch.el (isearch--saved-overriding-local-map):
3758 New internal variable.
3759 (isearch-mode): Set it to the initial value of
3760 `overriding-terminal-local-map'.
3761 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3762 with `isearch--saved-overriding-local-map'. (Bug#16035)
3763
16588fad
DG
37642013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3765
00a2b823
SM
3766 * progmodes/octave.el (inferior-octave-completion-table):
3767 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3768 (Bug#11906). Update all references.
3769
3770 * minibuffer.el (completion-table-with-cache): New function.
3771
bf4906d7
CD
37722013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3773
3774 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3775
ff69c18f
TZ
37762013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3777
3778 * net/eww.el (eww-current-source): New variable to store page
3779 source.
3780 (eww-display-html, eww-mode, eww-save-history)
3781 (eww-restore-history): Use it.
3782 (eww-view-source): New command to view page source.
3783 Opportunistically uses `html-mode' to highlight the buffer.
3784 (eww-mode-map): Install it.
3785
b85eff45
MA
37862013-12-05 Michael Albinus <michael.albinus@gmx.de>
3787
3788 * net/dbus.el (dbus-unregister-service)
3789 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3790 Fix docstring.
3791 (dbus-unregister-service): Skip :serial entries in
3792 `dbus-registered-objects-table'.
3793 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3794
39eb0899
TZ
37952013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3796
3797 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3798 around keywords with extra `split-string' argument.
3799
456760a5
MR
38002013-12-04 Martin Rudalics <rudalics@gmx.at>
3801
3802 * windmove.el (windmove-other-window-loc): Handle navigation
3803 between windows (excluding the minibuffer window - Bug#16017).
3804
81961e4c
MA
38052013-12-04 Michael Albinus <michael.albinus@gmx.de>
3806
3807 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3808 in D-Bus type syntax.
3809 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3810 preserve unibyte strings. (Bug#16048)
3811
8497f938
SM
38122013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3815 Call force-mode-line-update is the proper buffer (bug#16042).
3816
dda61916
DG
38172013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3818
3819 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3820 `log-edit-remember-comment', make argument optional. Adjust all
3821 callers.
3822 (log-edit-mode): Add `log-edit-remember-comment' to
3823 `kill-buffer-hook' locally.
3824 (log-edit-kill-buffer): Don't remember comment explicitly since
3825 the buffer is killed anyway.
3826
c085e5b9
JL
38272013-12-04 Juri Linkov <juri@jurta.org>
3828
3829 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3830 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3831
e0eb0550 38322013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3833
3834 * notifications.el (notifications-close-notification): Call the
81961e4c 3835 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3836
39fa32d6
KY
38372013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3838
3839 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3840
9139632a
JL
38412013-12-03 Juri Linkov <juri@jurta.org>
3842
3843 * progmodes/compile.el (compilation-start): Rename window alist
3844 entry `no-display-ok' to `allow-no-window'.
3845
3846 * simple.el (shell-command): Add window alist entry
3847 `allow-no-window' to `display-buffer'.
3848 (async-shell-command): Doc fix.
3849
3850 * window.el (display-buffer-no-window): New action function.
3851 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3852
0f457a37
DG
38532013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3854
3855 * vc/log-edit.el (log-edit-set-header): Extract from
3856 `log-edit-toggle-header'.
3857 (log-edit-extract-headers): Separate the summary, when extracted
3858 from header, from the rest of the message with an empty line.
3859
3860 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3861 line, if present, to the Summary header.
3862
0962f376
SM
38632013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3866 in current-buffer (bug#16029).
3867
f345395c
HE
38682013-12-02 Helmut Eller <eller.helmut@gmail.com>
3869
3870 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3871 (debugger-mode-map): Bind it.
3872 (debugger--backtrace-base): New function.
3873 (debugger-eval-expression): Use it.
3874 (debugger-frame-number): Skip local vars when present.
3875 (debugger--locals-visible-p, debugger--insert-locals)
3876 (debugger--show-locals, debugger--hide-locals): New functions.
3877
a8a15d9d
MA
38782013-12-02 Michael Albinus <michael.albinus@gmx.de>
3879
3880 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3881 "LC_ALL".
3882 (tramp-get-remote-locale): New defun.
3883 (tramp-open-connection-setup-interactive-shell): Use it.
3884
0518b057
LL
38852013-12-02 Leo Liu <sdl.web@gmail.com>
3886
3887 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3888
3889 * progmodes/sh-script.el (sh-shell-process):
3890 * progmodes/octave.el (inferior-octave-process-live-p):
3891 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3892 (gdb-inferior-io-sentinel):
3893 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3894
3adc9c6d
DG
38952013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3896
3897 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3898 `save-selected-window' to `log-edit-hide-buf'. This makes
3899 `log-edit-show-files' idempotent.
3900 (log-edit-show-files): Mark the new window as dedicated.
3901
47e8b74e
DG
39022013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3903
3904 * vc/log-edit.el (log-edit-mode-map): Add binding for
3905 `log-edit-kill-biffer'.
3906 (log-edit-hide-buf): Add a FIXME comment.
3907 (log-edit-add-new-comment): New function, extracted from
3908 `log-edit-done'.
3909 (log-edit-done, log-edit-add-to-changelog): Use it.
3910 (log-edit-kill-buffer): New command.
3911
1f6e1bb0
LMI
39122013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3913
3914 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3915 instead of killing the buffer.
3916
fb651d15
SM
39172013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3920
8feacce0
RS
39212013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3922
fb651d15 3923 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3924 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3925 (eww-form-checkbox, eww-toggle-checkbox):
3926 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3927
e0eb0550 3928 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3929 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3930 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3931 no :src tag was specified.
3932
fb651d15 3933 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3934 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3935 Use \\` to match beginning of string instead of ^.
3936 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3937 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3938
177948a5
RS
3939 * net/shr.el (shr-tag-video): Display content for video if no
3940 poster is available.
eb2dd24d 3941 (shr-tag-audio): Add support for <audio> tag.
177948a5 3942
e0eb0550 3943 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3944 (eww-process-text-input): Treat input types in
3945 `eww-text-input-types' as text.
3946
8feacce0
RS
3947 * net/shr.el (shr-tag-table): Fix comment typo.
3948
513562a1
LMI
39492013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3950
3951 * net/eww.el (eww-follow-link): New command to avoid reloading
3952 pages when we follow #target links (bug#15243).
de8a5633 3953 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3954
9dd99753
KN
39552013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3956
3957 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3958 forms.
3959
3e9876de
LMI
39602013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3961
3962 * net/eww.el (eww-restore-history): Update the window title after
3963 moving in the history.
ab6dea82 3964 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3965
52789f7f
DG
39662013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3967
3968 * vc/log-edit.el (log-edit-mode-map): Add binding for
3969 `log-edit-beginning-of-line'.
3970 (log-edit-setup-add-author): New user option.
3971 (log-edit-beginning-of-line): New command.
3972 (log-edit): Move major mode call above the contents setup so that
3973 the local variable values are already applied.
3974 (log-edit): Only insert "Author: " when
3975 `log-edit-setup-add-author' is non-nil.
3976 (log-edit): When SETUP is non-nil, position point after ": "
3977 instead of point-min.
3978
2e6710c3
GM
39792013-12-01 Glenn Morris <rgm@gnu.org>
3980
3981 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3982
fadec31f
EZ
39832013-11-30 Eli Zaretskii <eliz@gnu.org>
3984
3985 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3986 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3987 visible. (Bug#16014)
3988
10634b40 39892013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3990
3991 Support resizing frames and windows pixelwise.
3992 * cus-start.el (frame-resize-pixelwise)
3993 (window-resize-pixelwise): New entries.
3994 * emacs-lisp/debug.el (debug): Use window-total-height instead
3995 of window-total-size.
3996 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3997 * help.el (describe-bindings-internal): Use help-buffer as
3998 argument for with-help-window.
880e6158
MR
3999 (temp-buffer-max-width): New option.
4000 (resize-temp-buffer-window, help-window-setup)
4001 (with-help-window): Rewrite.
4002 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4003 dragging dividers.
4004 * window.el (frame-char-size, window-min-pixel-height)
4005 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4006 (window-min-pixel-width, window-safe-min-pixel-size)
4007 (window-combination-p, window-safe-min-size)
4008 (window-resizable-p, window--size-to-pixel)
4009 (window--pixel-to-size, window--resize-apply-p): New functions.
4010 (window-safe-min-height): Fix doc-string.
4011 (window-size, window-min-size, window--min-size-1)
4012 (window-sizable, window-sizable-p, window--min-delta-1)
4013 (window-min-delta, window--max-delta-1, window-max-delta)
4014 (window--resizable, window--resizable-p, window-resizable)
4015 (window-full-height-p, window-full-width-p, window-at-side-p)
4016 (window--in-direction-2, window-in-direction)
4017 (window--resize-reset-1, window--resize-mini-window)
4018 (window-resize, window-resize-no-error)
4019 (window--resize-child-windows-normal)
4020 (window--resize-child-windows, window--resize-siblings)
4021 (window--resize-this-window, window--resize-root-window)
4022 (window--resize-root-window-vertically)
4023 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4024 (maximize-window, minimize-window, delete-window)
4025 (quit-restore-window, window-split-min-size, split-window)
4026 (balance-windows-2, balance-windows)
4027 (balance-windows-area-adjust, balance-windows-area)
4028 (window--state-get-1, window-state-get, window--state-put-1)
4029 (window--state-put-2, window-state-put)
fb651d15
SM
4030 (display-buffer-record-window, window--display-buffer):
4031 Make functions handle pixelwise sizing of windows.
880e6158 4032 (display-buffer--action-function-custom-type)
fb651d15
SM
4033 (display-buffer-fallback-action):
4034 Add display-buffer-in-previous-window.
880e6158
MR
4035 (display-buffer-use-some-window): Resize window to height it had
4036 before.
4037 (fit-window-to-buffer-horizontally): New option.
4038 (fit-frame-to-buffer): Describe new values.
4039 (fit-frame-to-buffer-bottom-margin): Replace with
4040 fit-frame-to-buffer-margins.
4041 (window--sanitize-margin): New function.
4042 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4043 using window-text-pixel-size.
4044
f9b697dd
GM
40452013-11-30 Glenn Morris <rgm@gnu.org>
4046
3e2fb4db
GM
4047 * emacs-lisp/bytecomp.el (byte-compile-form):
4048 Make the `interactive-only' warning like the `obsolete' one.
4049 * comint.el (comint-run):
4050 * files.el (insert-file-literally, insert-file):
4051 * replace.el (replace-string, replace-regexp):
4052 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4053 (goto-line, insert-buffer, next-line, previous-line):
4054 Tweak `interactive-only' spec.
4055
f9b697dd
GM
4056 Stop keeping (most) generated cedet grammar files in the repository.
4057 * Makefile.in (semantic): New.
4058 (compile-main): Depend on semantic.
4059
da048127
SM
40602013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4061
7784b779
SM
4062 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4063 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4064
4e36a6a6
SM
4065 * uniquify.el (uniquify-buffer-name-style): Change default.
4066
4067 * loadup.el: Preload "uniquify".
4068
e0ba1308
SM
4069 * time.el (display-time-update): Update all mode lines (bug#15999).
4070
da048127
SM
4071 * electric.el (electric-indent-mode): Enable by default.
4072 * loadup.el: Preload "electric".
4073
015b3b3e
BB
40742013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4075
4076 * emacs-lisp/helpers.el (string-empty-p): New function.
4077 (string-blank-p): New function.
4078
7efb806d
AP
40792013-11-29 Andreas Politz <politza@hochschule-trier.de>
4080
4081 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4082 (Bug#14029).
4083
c8f0efc2
AP
40842013-11-29 Andreas Politz <politza@fh-trier.de>
4085 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4086 allow non-lambda lists as functions.
4087 (imenu--in-alist): Don't recurse into non-subalists.
4088 (imenu): Don't pass function itself as an argument (Bug#14029).
4089
bd15d9d1
SM
40902013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4091
4092 * progmodes/python.el (python-mode-map): Remove binding for ":".
4093 (python-indent-electric-colon): Remove command.
4094 (python-indent-post-self-insert-function): Integrate the previous code
4095 of python-indent-electric-colon. Make it conditional on
4096 electric-indent-mode.
4097 (python-mode): Add ?: to electric-indent-chars.
4098 Move python-indent-post-self-insert-function to the end of
4099 post-self-insert-hook.
4100
1b10adb6
SM
41012013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4102
655ab9a3
SM
4103 * doc-view.el (doc-view-goto-page): Update mode-line.
4104
1b10adb6
SM
4105 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4106
7e3bf78c
GM
41072013-11-27 Glenn Morris <rgm@gnu.org>
4108
4109 * international/charprop.el, international/uni-bidi.el:
4110 * international/uni-category.el, international/uni-combining.el:
4111 * international/uni-comment.el, international/uni-decimal.el:
4112 * international/uni-decomposition.el, international/uni-digit.el:
4113 * international/uni-lowercase.el, international/uni-mirrored.el:
4114 * international/uni-name.el, international/uni-numeric.el:
4115 * international/uni-old-name.el, international/uni-titlecase.el:
4116 * international/uni-uppercase.el:
4117 Remove generated files from VCS repository.
4118
fb6a5d68
EZ
41192013-11-27 Eli Zaretskii <eliz@gnu.org>
4120
4121 * filenotify.el (file-notify-add-watch): Don't special-case
4122 w32notify when computing the directory to watch.
4123
cb6c95a3
GM
41242013-11-27 Glenn Morris <rgm@gnu.org>
4125
20372d0c
GM
4126 Make bootstrap without generated uni-*.el files possible again.
4127 * loadup.el: Update command-line-args checking for unidata-gen.
4128 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4129 * composite.el, international/characters.el:
4130 Handle unicode tables being undefined.
4131
52d6635f 4132 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4133 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4134 (compile-main): Depend on leim rule.
4135 (leim): New rule.
4136 * loadup.el: Move leim-list.el to leim/ subdirectory.
4137 * startup.el (normal-top-level): No more leim directory.
4138 * international/ja-dic-cnv.el (skkdic-convert):
4139 Disable version-control and autoloads in output files.
4140 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4141 Disable version-control and autoloads in output files.
4142 * leim/quail: Move here from ../leim.
4143 * leim/quail/hangul.el (hangul-input-method-activate):
4144 Add autoload cookie.
4145 (generated-autoload-load-name): Set file-local value.
4146 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4147 (generated-autoload-load-name): Set file-local value.
4148
7514d3f8 41492013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4150
e0eb0550 4151 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4152 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4153 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4154
0e2c793f
EZ
41552013-11-26 Eli Zaretskii <eliz@gnu.org>
4156
4157 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4158 reading output from Diff on MS-Windows and MS-DOS.
4159
447bdcb8
BB
41602013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4161
4162 * emacs-lisp/helpers.el (string-reverse): New function.
4163
5fbf6856
MA
41642013-11-26 Michael Albinus <michael.albinus@gmx.de>
4165
4166 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4167 names on MS Windows, like "/[::1]:".
4168
4169 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4170 SWITCHES.
4171
624780f0
GM
41722013-11-26 Glenn Morris <rgm@gnu.org>
4173
0bf3f0fa
GM
4174 * progmodes/python.el (python-indent-guess-indent-offset):
4175 Avoid corner-case error. (Bug#15975)
4176
624780f0
GM
4177 Preload leim-list.el. (Bug#4789)
4178 * loadup.el: Load leim-list.el when found.
4179 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4180
4301875e 41812013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4182
4183 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4184
4301875e
BB
4185 * emacs-lisp/helpers.el (string-join): New function.
4186
1633a815 41872013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4188
4189 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4190 Mark as obsolete and replace it with a symbol property.
4191 (byte-compile-form): Use new 'interactive-only property.
4192 * comint.el, files.el, replace.el, simple.el:
4193 Apply new 'interactive-only properly.
4194
00139435
MR
41952013-11-25 Martin Rudalics <rudalics@gmx.at>
4196
4197 * window.el (display-buffer-at-bottom): Make sure that
4198 split-window-sensibly creates the new window on bottom
4199 (Bug#15961).
4200
5f5b128d
DK
42012013-11-23 David Kastrup <dak@gnu.org>
4202
4203 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4204 on the conflict markers when available.
4205 (smerge--get-marker): New function.
4206 (smerge-end-re, smerge-base-re): Add subgroup.
4207
623891e5
SM
42082013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * frame.el (handle-focus-in, handle-focus-out): Add missing
4211 interactive spec.
4212
05ca27d8
MA
42132013-11-25 Michael Albinus <michael.albinus@gmx.de>
4214
4215 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4216 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4217
511fa0d3
SM
42182013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4219
e82ad66c
SM
4220 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4221 (gomoku--last-pos): New var.
4222 (gomoku--intangible-chars): New const.
4223 (gomoku--intangible): New function.
4224 (gomoku-mode): Use it. Derive from special-mode.
4225 (gomoku-move-up): Adjust line count.
4226 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4227 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4228 Simplify accordingly.
4229
511fa0d3
SM
4230 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4231 Remove blink-cursor code.
4232 (blink-cursor-timer-function, blink-cursor-suspend):
4233 Don't special-case GUIs.
4234 (blink-cursor-mode): Use focus-in/out-hook.
4235
6f20dd03
DG
42362013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4237
4238 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4239 work when annotation is invisible (Bug#13886).
4240
431dec31 42412013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4242
4243 * json.el (json-alist-p): Only return non-nil if the alist has
4244 simple keys (Bug#13518).
4245
431dec31 42462013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4247
4248 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4249 when control-statement is the first statement in a buffer (Bug#15956).
4250
ee4f0261
DG
42512013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4252
4253 * imenu.el (imenu-generic-skip-comments-and-strings):
4254 New option (Bug#15560).
4255 (imenu--generic-function): Use it.
4256
c484f866
JS
42572013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4258
e9dc713d
JB
4259 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4260 (Bug#13898)
c484f866 4261
41ce6f70
BB
42622013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4263
b55aea38
BB
4264 * emacs-lisp/helpers.el: Add some string helpers.
4265 (string-trim-left): Removes leading whitespace.
4266 (string-trim-right): Removes trailing whitespace.
4267 (string-trim): Removes leading and trailing whitespace.
4268
41ce6f70
BB
4269 * subr.el (string-suffix-p): New function.
4270
3cfb6af3
GM
42712013-11-23 Glenn Morris <rgm@gnu.org>
4272
4273 * progmodes/python.el (python-shell-send-file):
4274 Add option to delete file when done. (Bug#15647)
4275 (python-shell-send-string, python-shell-send-region): Use it.
4276
c27924b7
IS
42772013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4278
e1b01c7f
IS
4279 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4280 to set buffer-read-only to t, never to nil. (Bug#15938)
4281
c27924b7
IS
4282 * textmodes/tex-mode.el (latex-noindent-environments):
4283 Add safe-local-variable property. (Bug#15936)
4284
17e0445b
GM
42852013-11-23 Glenn Morris <rgm@gnu.org>
4286
92f78ea3
GM
4287 * textmodes/enriched.el (enriched-mode): Doc fix.
4288 * emacs-lisp/authors.el (authors-renamed-files-alist):
4289 Add enriched.doc -> enriched.txt.
4290
17e0445b
GM
4291 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4292
965bb23a
LL
42932013-11-22 Leo Liu <sdl.web@gmail.com>
4294
4295 * progmodes/octave.el (inferior-octave-startup): Spit out error
4296 message.
4297
d19ffd64
BB
42982013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4299
4300 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4301 Improve docstring.
15ba2182
BB
4302 Add :version.
4303 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4304
7a7567d2
LL
43052013-11-22 Leo Liu <sdl.web@gmail.com>
4306
4307 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4308 (Bug#15076)
8c09f64b
LL
4309 (octave-help-mode): Adapt to change to help-mode-finish to use
4310 derived-mode-p on 2013-09-17.
4311 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4312 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4313
724bc265
LL
43142013-11-22 Leo Liu <sdl.web@gmail.com>
4315
4316 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4317 (inferior-octave-startup, inferior-octave-check-process)
4318 (inferior-octave-track-window-width-change)
4319 (octave-completion-at-point, octave-eldoc-function): Use it.
4320 (octave-kill-process): Provide confirmation. (Bug#10564)
4321
38637cca
LL
43222013-11-21 Leo Liu <sdl.web@gmail.com>
4323
511fa0d3
SM
4324 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4325 Fix obsolete variable comment-use-global-state.
38637cca 4326
06e752b4
RS
43272013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4328
511fa0d3
SM
4329 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4330 Add `octave-source-file'.
06e752b4
RS
4331 (octave-source-file): New function. (Bug#15935)
4332
7514d3f8 43332013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4334
4335 * net/eww.el (eww-local-regex): New variable.
4336 (eww): Use it to detect localhost and similar.
4337
b6ffa04a
LL
43382013-11-21 Leo Liu <sdl.web@gmail.com>
4339
4340 Add completion for command `ag'.
2021a200
LL
4341 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4342 (pcomplete/ag): New function.
e9dc713d 4343 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4344
d1a6bccc
SM
43452013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4348 (bug#14646).
4349 (make-obsolete): Remove interactive spec.
4350
2df10228
GM
43512013-11-21 Glenn Morris <rgm@gnu.org>
4352
4353 * startup.el (command-line-1): Use path-separator with -L.
4354
86fd16b6
TZ
43552013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4356
4357 * emacs-lisp/package.el (describe-package-1): Add package archive
4358 to shown fields.
4359
0449d6cd 43602013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4361
4362 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4363 Change default to "# encoding: %s" to differentiate it from the
4364 default Ruby encoding comment template.
4365
dc7e8c17 43662013-11-20 era eriksson <era+emacsbugs@iki.fi>
4367
4368 * ses.el (ses-mode): Doc fix. (Bug#14748)
4369
f0cfa5fe
LL
43702013-11-20 Leo Liu <sdl.web@gmail.com>
4371
4372 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4373
826dc7b6
DN
43742013-11-19 Dan Nicolaescu <dann@gnu.org>
4375
4376 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4377 when rebase or bisect are in progress.
4378
a6e3a5d5
XF
43792013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4380
4381 * filenotify.el (file-notify-add-watch): Doc fix.
4382
f130cb76
LL
43832013-11-19 Leo Liu <sdl.web@gmail.com>
4384
e0855d7d
LL
4385 * obsolete/rcompile.el: Mark obsolete.
4386
f130cb76 4387 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4388 (compilation-goto-locus, compilation-find-file):
4389 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4390 (Bug#13594)
4391
4392 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4393 new parameter no-display-ok. Return either a window or nil
4394 but never a non-window value.
f130cb76 4395
1f35d401
SM
43962013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4397
25158c76
SM
4398 * electric.el (electric-indent-mode-map): Remove.
4399 (electric-indent-mode): Change the global-map instead (bug#15915).
4400
4401 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4402 Use add-function.
1f35d401 4403
9bc67baa
SM
44042013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4405
986545b5
SM
4406 * emacs-lisp/nadvice.el (remove-function): Align with
4407 add-function's behavior.
4408
9bc67baa
SM
4409 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4410 (gdb--string-regexp): New constant.
4411 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4412 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4413 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4414 submatch 1.
4415 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4416 Adjust use accordingly.
4417 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4418
56cd894e
AS
44192013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4420
4421 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4422 interpolation curlies (Bug#15914).
4423
014690de
JB
44242013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4425
4426 * calc/calc.el (calc-context-sensitive-enter): New variable.
4427 (calc-enter): Use `calc-context-sensitive-enter'.
4428
7e26a6c3
TZ
44292013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4430
4431 * progmodes/cfengine.el: Version bump.
4432 (cfengine-cf-promises): New defcustom to locate cf-promises.
4433 (cfengine3-vartypes): Add new "data" type.
4434 (cfengine3--current-word): New function to get current name-like
4435 word or its bounds.
4436 (cfengine3--current-function): New function to look up a CFEngine
4437 function's definition.
4438 (cfengine3-format-function-docstring): New function.
4439 (cfengine3-make-syntax-cache): New function.
4440 (cfengine3-documentation-function): New function: ElDoc glue.
4441 (cfengine3-completion-function): New function: completion glue.
4442 (cfengine3-mode): Set `compile-command',
4443 `eldoc-documentation-function', and add to
4444 `completion-at-point-functions'.
4445
355204dd
MA
44462013-11-16 Michael Albinus <michael.albinus@gmx.de>
4447
4448 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4449 `tramp-current-connection'.
4450
43cebc23
DG
44512013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4452
4453 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4454 nil/self/true/false with "end of symbol".
4455
a3fed6ff
BB
44562013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4457
4458 * subr.el (version-regexp-alist): Fix a typo.
4459
e675b3e4
MA
44602013-11-15 Michael Albinus <michael.albinus@gmx.de>
4461
4462 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4463 "en_US.utf8" and "LC_CTYPE" to "".
4464 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4465 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4466
a1f03e89
LL
44672013-11-15 Leo Liu <sdl.web@gmail.com>
4468
4469 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4470
5d9d9451
SM
44712013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4472
58362662
CS
4473 * progmodes/gud.el (ctl-x-map):
4474 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4475 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4476
6c1bf086
BB
44772013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4478
0d5363c4
BB
4479 * subr.el (version-regexp-alist):
4480 Recognize hg, svn and darcs versions as snapshot versions.
4481
4e9fc48c
BB
4482 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4483 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4484 (ruby--encoding-comment-required-p): Extract from
4485 `ruby-mode-set-encoding'.
4486 (ruby-mode-set-encoding): Add the ability to always insert an
4487 utf-8 encoding comment. Fix and simplify coding comment update
4488 logic.
6c1bf086 4489
2f7e72f8
MA
44902013-11-14 Michael Albinus <michael.albinus@gmx.de>
4491
4492 * net/tramp-gvfs.el (top): Run init code only when
4493 `tramp-gvfs-enabled' is not nil.
4494 (tramp-gvfs-enabled): Check also :system bus.
4495
0f137a73
SM
44962013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 Sync with upstream verilog-mode revision 78e66ba.
4499 * progmodes/verilog-mode.el (verilog-end-of-defun)
4500 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4501 (verilog-get-end-of-defun): Remove unused argument.
4502 (verilog-comment-depth): Remove unused local `e'.
4503 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4504 Don't pass arg to verilog-get-end-of-defun.
4505
1c276bdd
GM
45062013-11-14 Glenn Morris <rgm@gnu.org>
4507
4508 * obsolete/assoc.el (aget): Prefix dynamic variable.
4509
4510 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4511
ff6ec81d
SM
45122013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * widget.el, hfy-cmap.el: Remove bogus package version number.
4515
75f777b6
GM
45162013-11-13 Glenn Morris <rgm@gnu.org>
4517
1d43dba1
GM
4518 * replace.el (replace-eval-replacement):
4519 Try to give more helpful error message. (Bug#15836)
4520
ff4b7bd5
GM
4521 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4522 (archive-7z-update): Avoid custom type mismatches.
4523
75f777b6
GM
4524 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4525
11151a06
MA
45262013-11-13 Michael Albinus <michael.albinus@gmx.de>
4527
e675b3e4 4528 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4529 address can be empty.
4530
4531 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4532 Accept nil SWITCHES.
4533 (tramp-gvfs-handle-write-region): Implement APPEND.
4534
7b08f97e
DG
45352013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4536
4537 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4538 binary "|" operator and closing block args delimiter.
4539 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4540 (ruby-smie--implicit-semi-p): Not after "|" operator.
4541 (ruby-smie--closing-pipe-p): New function.
4542 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4543 (ruby-smie-rules): Indent after "|".
4544
f201cf3a
GM
45452013-11-12 Glenn Morris <rgm@gnu.org>
4546
4547 * ps-print.el (ps-face-attribute-list):
4548 Handle anonymous faces. (Bug#15827)
4549
e6f759f9
MR
45502013-11-12 Martin Rudalics <rudalics@gmx.at>
4551
4552 * window.el (display-buffer-other-frame): Fix doc-string.
4553 (Bug#15868)
4554
ecda65d4
SM
45552013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4558
7ce8fcc3
MA
45592013-11-11 Michael Albinus <michael.albinus@gmx.de>
4560
4561 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4562 (tramp-sh-handle-file-local-copy): Don't write a message when
4563 saving temporary files.
4564
4565 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4566 both directories are remote.
4567 (tramp-smb-handle-directory-files): Do not return double entries.
4568 Do not expand full file names.
4569 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4570 (tramp-smb-handle-write-region): Implement APPEND.
4571 (tramp-smb-get-stat-capability): Fix a stupid bug.
4572
7818df11
SM
45732013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4576
608c2085
NT
45772013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4578
4579 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4580 throwing error over malformed let/let* (bug#15814).
4581
122a7e46
SM
45822013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * iswitchb.el (iswitchb-mode): Mark obsolete.
4585
766284d9
GM
45862013-11-11 Glenn Morris <rgm@gnu.org>
4587
4588 * international/uni-bidi.el, international/uni-category.el:
4589 * international/uni-name.el, international/uni-numeric.el:
4590 Regenerate for Unicode 6.3.0.
4591
7072a4e9
MA
45922013-11-10 Michael Albinus <michael.albinus@gmx.de>
4593
4594 * net/tramp.el (tramp-methods):
4595 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4596 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4597
c9df215b
AS
45982013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4599
608c2085
NT
4600 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4601 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4602
fa47d796
DG
46032013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4604
4605 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4606 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4607 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4608 (ispell-complete-word): Call `ispell-lookup-words' with the value
4609 independent of `ispell-look-p'.
4610
1629a329
DG
46112013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4612
4613 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4614 Not after "||".
4615 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4616 their parent.
4617
ad16897c
SM
46182013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4621 (ruby-font-lock-keywords): Use backquote.
4622
ffa2df72
DG
46232013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4624
4625 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4626 (ruby-smie--backward-token): Only consider full-string matches.
4627
5b97b4c0
JD
46282013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4629
4630 * faces.el (describe-face): Add distant-foreground.
4631
71731c03
BB
46322013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4633
4e9fc48c
BB
4634 * progmodes/ruby-mode.el: Improve encoding comment handling.
4635 (ruby-encoding-magic-comment-style): New option.
4636 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4637 (ruby--insert-coding-comment, ruby--detect-encoding):
4638 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4639 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4640 to control the style of the auto-inserted encoding comment.
71731c03 4641
da3b328d
DG
46422013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4643
ad16897c
SM
4644 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4645 Use `smie-backward-sexp' with token argument.
da3b328d 4646
1606c2d3
MA
46472013-11-08 Michael Albinus <michael.albinus@gmx.de>
4648
4649 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4650 Remove instrumentation code.
4651
b0f4c320
GM
46522013-11-08 Glenn Morris <rgm@gnu.org>
4653
4654 * progmodes/autoconf.el (autoconf-mode):
4655 Tweak comment-start-skip. (Bug#15822)
4656
43668fb1
SM
46572013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4660 at bobp (bug#15826).
4661 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4662
daddb3fd
DH
46632013-11-08 Darren Hoo <darren.hoo@gmail.com>
4664
4665 * man.el (Man-start-calling): New macro, extracted from
4666 Man-getpage-in-background.
4667 (Man-getpage-in-background): Use it.
4668 (Man-update-manpage): New command.
4669 (Man-mode-map): Bind it.
4670
1f923923
DG
46712013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4672
4673 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4674 of "and", "or", "&&" and "||".
4675 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4676 argument. Prohibit opening curly brace because it could only be a
4677 block opener in that position.
daddb3fd
DH
4678 (ruby-smie--forward-token, ruby-smie--backward-token):
4679 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4680 arguments.
4681 (ruby-smie--indent-to-stmt): New function, seeks the end of
4682 previous statement or beginning of buffer.
4683 (ruby-smie-rules): Use it.
4684 (ruby-smie-rules): Check if there's a ":" before a curly block
4685 opener candidate; if there is, it's a hash.
4686
3220d527
SM
46872013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4690 (cl--block-wrapper): Fix last accidental change.
4691
1eb1f9e0
MA
46922013-11-07 Michael Albinus <michael.albinus@gmx.de>
4693
4694 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4695 Instrument, in order to hunt failure on hydra.
4696
e6e4db3c
NT
46972013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4698
4699 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4700 malformed bindings form (bug#15814).
4701
b420ccfc
DG
47022013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4703
4704 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4705 "." compared to " @ ". This incidentally fixes some indentation
4706 examples with "do".
e6e4db3c 4707 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4708 (ruby-smie-grammar): New tokens: "and" and "or".
4709 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4710 Exclude "and" and "or". Remove "do" in order to work around token
4711 priorities.
4712 (ruby-smie-rules): Add all infix tokens. Handle the case of
4713 beginning-of-buffer.
b420ccfc 4714
6b4ac03e
GM
47152013-11-06 Glenn Morris <rgm@gnu.org>
4716
4717 * Makefile.in (setwins_almost, setwins_for_subdirs):
4718 Avoid accidental matches.
4719
5ca114d1
SM
47202013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * menu-bar.el (popup-menu): Use key-binding.
4723
f72552bd
EZ
47242013-11-06 Eli Zaretskii <eliz@gnu.org>
4725
4726 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4727 menus, support also the menus produced by minor modes.
4728 (Bug#15817)
4729
5d5c701e
LL
47302013-11-06 Leo Liu <sdl.web@gmail.com>
4731
4732 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4733 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4734
0a8b75e2
GM
47352013-11-06 Glenn Morris <rgm@gnu.org>
4736
4737 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4738 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4739 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4740
a35287ea
SM
47412013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4742
feca4e2d
SM
4743 * electric.el (electric-indent-just-newline): New command.
4744 (electric-indent-mode-map): New keymap.
4745 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4746 Re-add :group which weren't redundant.
4747
a35287ea
SM
4748 * electric.el (electric-indent-local-mode): New minor mode.
4749 (electric-indent-functions-without-reindent): New var.
4750 (electric-indent-post-self-insert-function): Use it.
4751 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4752
375761b2
EZ
47532013-11-05 Eli Zaretskii <eliz@gnu.org>
4754
9a6ad735
EZ
4755 * international/quail.el (quail-help): Be more explicit about the
4756 meaning of the labels shown on the keys. (Bug#15800)
4757
375761b2
EZ
4758 * startup.el (normal-top-level): Load the subdirs.el files before
4759 setting the locale environment. (Bug#15805)
4760
520a6e4a
SM
47612013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4762
0acfafef
SM
4763 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4764 via arguments so as to get the right ones (bug#15418).
4765
520a6e4a
SM
4766 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4767
15826261
MA
47682013-11-05 Michael Albinus <michael.albinus@gmx.de>
4769
4770 Fix problems found while writing a test suite.
4771
4772 * net/tramp-compat.el (tramp-compat-load): New defun.
4773 * net/tramp.el (tramp-handle-load): Use it.
4774
4775 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4776 "(numberp ok-if-already-exists)" correctly.
4777
d35f31a4
XF
47782013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4779
4780 * international/characters.el (glyphless-char-display-control):
4781 Add usage note.
4782
ae93bc74
BB
47832013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4784
520a6e4a
SM
4785 * progmodes/python.el (python-mode):
4786 * progmodes/scheme.el (scheme-mode):
4787 * progmodes/prolog.el (prolog-mode):
4788 * progmodes/ruby-mode.el (ruby-mode):
4789 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4790 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4791
0ade65b5
SM
47922013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4793
a0d5f7a4
SM
4794 * rect.el (rectangle--highlight-for-redisplay):
4795 * emacs-lisp/smie.el (smie--next-indent-change):
4796 Use buffer-chars-modified-tick.
4797
c93f3f5c
SM
4798 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4799
0ade65b5
SM
4800 * electric.el (electric-indent-post-self-insert-function):
4801 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4802
ef9dd188
HE
48032013-11-04 Helmut Eller <eller.helmut@gmail.com>
4804
4805 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4806
306e7308
NT
48072013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4808
4809 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4810 (bug#15786).
4811
e5afbcac
SM
48122013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4813
1d01ad41
SM
4814 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4815
e5afbcac
SM
4816 * progmodes/python.el: Fix up last change.
4817 (python-shell--save-temp-file): New function.
4818 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4819 `string' comes from the current buffer.
4820 (python-shell-send-string-no-output): Remove `msg' arg.
4821 (python--use-fake-loc): New var.
4822 (python-shell-buffer-substring): Obey it. Try to compensate for the
4823 extra coding line added by python-shell--save-temp-file.
4824 (python-shell-send-region): Use python-shell--save-temp-file and
4825 python-shell-send-file directly. Add `nomain' argument.
4826 (python-shell-send-buffer): Use python-shell-send-region.
4827 (python-electric-pair-string-delimiter): New function.
4828 (python-mode): Use it.
4829
d0065ff1
EZ
48302013-11-04 Eli Zaretskii <eliz@gnu.org>
4831
4832 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4833 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4834 environment and decoding all of the default-directory's to here
4835 from command-line.
4836 (command-line): Decode also argv[0].
4837
4838 * loadup.el: Error out if default-directory is a multibyte string
4839 when we are dumping.
4840
4841 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4842
7397c587
TZ
48432013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4844
4845 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4846 (package-menu--print-info, package-menu--archive-predicate):
4847 Add Archive column to package list.
7397c587 4848
b27cc9fc
MA
48492013-11-04 Michael Albinus <michael.albinus@gmx.de>
4850
4851 Fix problems found while writing a test suite.
4852
4853 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4854 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4855 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4856 to nil when running original file name handler. Otherwise,
4857 there are problems with constructs like "$$FOO".
4858
4859 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4860 for `localname'.
4861
d8c4f18a
BB
48622013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4863
7b530552
BB
4864 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4865
4866 * subr.el (version<, version<=, version=):
4867 Update docstrings with information for snapshot versions.
4868
d8c4f18a
BB
4869 * helpers.el: New library for misc helper functions.
4870 (hash-table-keys): New function returning a list of hash keys.
4871 (hash-table-values): New function returning a list of hash values.
4872
dca01b09
DG
48732013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4874
4875 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4876 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4877
0a749fa0
MN
48782013-11-04 Michal Nazarewicz <mina86@mina86.com>
4879
4880 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4881 checking whether point is after a 1-letter word.
4882
48832013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4884
4885 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4886 Don't infloop when expanding region over `multiline' syntax-type that
4887 begins a line (bug#15778).
4888
4aca7145
SM
48892013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4892 Make it into a proper minor mode.
4893 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4894 (rectangle-mark-mode-map): New keymap.
4895 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4896
a0833f62
GM
48972013-11-04 Glenn Morris <rgm@gnu.org>
4898
4899 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4900
e61845c1
SM
49012013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4904 (ruby-smie-rules): Use smie-rule-parent instead.
4905
4906 * emacs-lisp/smie.el (smie-rule-parent): Always call
4907 smie-indent-virtual rather than only for hanging tokens.
4908 (smie--next-indent-change): New helper command.
4909
62942f89
GM
49102013-11-03 Glenn Morris <rgm@gnu.org>
4911
4912 * Makefile.in (abs_srcdir): Remove.
4913 (emacs): Unset EMACSLOADPATH.
4914
b0b9e592
GM
49152013-11-02 Glenn Morris <rgm@gnu.org>
4916
18ba6a33 4917 * Makefile.in (EMACS): Use a relative filename.
8061810d 4918 (abs_top_builddir): Remove.
18ba6a33
GM
4919 (custom-deps, finder-data, autoloads): Use --chdir.
4920
6a8b929e
GM
4921 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4922
c617f3d0
GM
4923 Use relative filenames in TAGS files.
4924 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4925 (lisptagsfiles4, TAGS): Use relative file names.
4926 (TAGS-LISP): Remove.
4927 (maintainer-clean): No more TAGS-LISP file.
4928
b0b9e592
GM
4929 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4930 (lisptagsfiles4): Use absolute filenames again.
4931 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4932 Remove all *loaddefs files, not just the first. Remove esh-groups.
4933 (maintainer-clean): Delete TAGS, TAGS-LISP.
4934
d1c0ea6a
BB
49352013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4936
e61845c1
SM
4937 * emacs-lisp/package.el (package-version-join):
4938 Recognize snapshot versions.
d1c0ea6a 4939
684d71c6
BB
49402013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4941
4942 * subr.el (version-regexp-alist): Add support for snapshot versions.
4943
3d42b968
DG
49442013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4945
e61845c1
SM
4946 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4947 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4948 skip over our direct parent if it's an assignment token..
4949 (ruby-smie-rules): Use it.
4950
7ffd3721
DG
49512013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4952
8449dd1f 4953 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4954 unconditionally. Remove now unnecessary forward declarations.
4955 Remove XEmacs-specific setup.
4956 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4957 (ruby-font-lock-syntactic-keywords)
4958 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4959 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4960 (ruby-here-doc-end-syntax): Remove.
4961 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4962 defined as function.
4963
a3996a2e
BB
49642013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4965
4966 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4967
6f9260e8
BB
49682013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4969
4970 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4971 table and abbrev table, `define-derived-mode' does that for us
4972 anyway.
4973
6014de84
GM
49742013-11-01 Glenn Morris <rgm@gnu.org>
4975
4976 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4977 files is atomic for some time, so no parallel compilation issues).
4978
3c334c14
JD
49792013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4980
4981 * faces.el (face-x-resources): Add :distant-foreground.
4982 (region): Use :distant-foreground for gtk and ns.
4983
9bc236c8
TH
49842013-11-01 Tassilo Horn <tsdh@gnu.org>
4985
5246583b 4986 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4987 BibTeX.
4988 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4989 (reftex-locate-bibliography-files): Us it.
4990
d14c81ee
CB
49912013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4992
0e7690de
CB
4993 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4994 allow comments in pbm files.
4995
d14c81ee
CB
4996 * term/w32-win.el (dynamic-library-alist): Support newer versions
4997 of libjpeg starting with v7: look only for the DLL from the
4998 version against which Emacs was built.
ac1bf374 4999 Support versions of libpng beyond 1.4.x.
019c8218 5000 Support libtiff v4.x.
d14c81ee 5001
983d0df5
BB
50022013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5003
5004 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5005 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5006 Add property :safe.
5007 (ruby-deep-arglist): Add property :type.
5008
47f58d85
GM
50092013-10-31 Glenn Morris <rgm@gnu.org>
5010
5011 * Makefile.in (custom-deps, finder-data): No need to setq the target
5012 variables, we are in the right directory and the defaults work fine.
5013
4f85b479
GM
50142013-10-30 Glenn Morris <rgm@gnu.org>
5015
ca7dd4cd
GM
5016 * Makefile.in (autoloads): Do not use abs_lisp.
5017
4f85b479
GM
5018 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5019 `newline' does not respect `standard-output', so use `princ'.
5020
cf59e41c
AA
50212013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5022
5023 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5024 * buff-menu.el (Buffer-menu--unmark): New function.
5025 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5026
74cf04fb
GM
50272013-10-30 Glenn Morris <rgm@gnu.org>
5028
b040b60e
GM
5029 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5030
f53d3815
GM
5031 * emacs-lisp/package.el (lm-homepage): Declare.
5032
5413d873
GM
5033 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5034 Fix doc typos.
5035
cecedb36
GM
5036 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5037
74cf04fb
GM
5038 * Makefile.in (finder-data, autoloads, update-subdirs)
5039 (compile-main, compile-clean, compile-always, bootstrap-clean):
5040 Check return value of cd.
5041 (compile-calc): Remove.
5042
195ee2f0
SM
50432013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5044
ae4002ce
SM
5045 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5046
5047 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5048 (byte-compile-and-folded): New function.
5049 (=, <, >, <=, >=): Use it.
5050
5051 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5052 (path-separator, null-device, buffer-file-coding-system)
5053 (lpr-headers-switches): Check system-type before modifying them.
5054 (find-buffer-file-type-coding-system): Mark obsolete.
5055 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5056 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5057 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5058 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5059 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5060 (w32-direct-print-region-helper, w32-direct-print-region-function)
5061 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5062 * startup.el (normal-top-level-add-subdirs-to-load-path):
5063 * ps-print.el (ps-print-region-function):
5064 * lpr.el (print-region-function): Use new name.
5065
53b39e89
SM
5066 * subr.el (custom-declare-variable-early): Remove function.
5067 (custom-declare-variable-list): Remove var.
5068 (error, user-error): Remove `while' loop.
5069 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5070 (user-emacs-directory-warning, locate-user-emacs-file):
5071 Move to files.el.
5072 * simple.el (read-quoted-char-radix, read-quoted-char):
5073 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5074 Move from subr.el.
5075 * custom.el (custom-declare-variable-list): Don't process
5076 custom-declare-variable-list.
5077
195ee2f0
SM
5078 * progmodes/python.el (python-shell-get-buffer): New function.
5079 (python-shell-get-process): Use it.
5080 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5081 Python which encoding was used. Don't split-string since we only care
5082 about the first line. Return the temp-file, if applicable.
5083 (python-shell-send-region): Tell compile.el how to turn locations in
5084 the temp-file into locations in the source buffer.
5085
7e3561ee
SM
50862013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5087
4c9797cb
SM
5088 * subr.el (undefined): Add missing behavior from the C code for
5089 unbound keys.
5090
3472b6c6
SM
5091 * rect.el: Use lexical-binding. Add new rectangular region support.
5092 (rectangle-mark): New command.
5093 (rectangle--region): New var.
5094 (deactivate-mark-hook): Reset rectangle--region.
5095 (rectangle--extract-region, rectangle--insert-for-yank)
5096 (rectangle--highlight-for-redisplay)
5097 (rectangle--unhighlight-for-redisplay): New functions.
5098 (region-extract-function, redisplay-unhighlight-region-function)
5099 (redisplay-highlight-region-function): Use them to handle
5100 rectangular region.
5101 * simple.el (region-extract-function): New var.
5102 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5103 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5104 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5105 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5106 (redisplay-unhighlight-region-function)
5107 (redisplay-highlight-region-function): New vars.
5108 (redisplay--update-region-highlight): New function.
5109 (pre-redisplay-function): Use it.
5110 (exchange-point-and-mark): Don't deactivate the mark before
5111 reactivate-it anyway.
5112 * comint.el (comint-kill-region): Remove yank-handler argument.
5113 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5114 (delete-char): Remove property, since it's now part of their
5115 default behavior.
5116 (self-insert-iso): Remove property since this command doesn't exist.
5117
7e3561ee
SM
5118 * emacs-lisp/package.el (package--download-one-archive)
5119 (describe-package-1): Don't query the user about final newline.
5120
b9bef71f
DC
51212013-10-29 Daniel Colascione <dancol@dancol.org>
5122
5123 * net/tramp.el (tramp-methods): Document new functionality.
5124 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5125 tramp-hostname-checker if method provides one instead of scanning
5126 argument list for "%h" to decide hostname acceptability.
5127
4efc33f0
MA
51282013-10-28 Michael Albinus <michael.albinus@gmx.de>
5129
5130 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5131 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5132 Handle COPY-CONTENTS. (Bug#15737)
5133
ed42a877
DU
51342013-10-28 Daiki Ueno <ueno@gnu.org>
5135
5136 * epa-file.el
7e3561ee
SM
5137 (epa-file-cache-passphrase-for-symmetric-encryption):
5138 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5139
18c9f8a2
XF
51402013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5141
35e951cd 5142 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5143
b1e8e010
AM
51442013-10-27 Alan Mackenzie <acm@muc.de>
5145
5146 Indent statements in macros following "##" correctly.
7e3561ee
SM
5147 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5148 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5149
73d40d1e 51502013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5151
5152 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5153
c8c605ac
DG
51542013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5155
5156 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5157 after `=' is probably a new expression.
5158
ca7e59d4
RS
51592013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5160
5161 * man.el (man-imenu-title): New option.
5162 (Man-mode-map): Add menu. (Bug#15722)
5163 (Man-mode): Add imenu to menu.
5164
bae91342
DG
51652013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5166
5167 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5168 specific in what the first arg can be: a non-keyword word,
5169 string/regexp/percent literal opener, opening paren, or unary
5170 operator followed directly by word.
5171
eb89dc14
SM
51722013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5175 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5176 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5177 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5178 Remove vars, they do not apply any more.
5179 (prolog-mode-abbrev-table): Remove redundant declaration.
5180 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5181 (prolog-use-smie): Remove.
5182 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5183 supported by prolog-electric-if-then-else-flag.
5184 (prolog-mode-variables, prolog-menu): Use setq-local.
5185 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5186 Remove binding to `Backspace' since this key doesn't exist anyway.
5187 Remove bindings for electric self-inserting keys.
5188 (prog-mode): Assume it's defined.
5189 (prolog-post-self-insert): New function.
5190 (prolog-mode): Use it.
5191 (prolog-indent-line, prolog-indent-level)
5192 (prolog-find-indent-of-matching-paren)
5193 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5194 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5195 (prolog-goto-next-paren, prolog-in-string-or-comment)
5196 (prolog-tokenize, prolog-inside-mline-comment)
5197 (prolog-find-start-of-mline-comment): Remove functions.
5198 (prolog-find-unmatched-paren, prolog-clause-end)
5199 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5200 (prolog-electric--if-then-else): Rename from
5201 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5202 (prolog-tokenize-searchkey): Remove const.
5203 (prolog-clause-info): Use forward-sexp.
5204 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5205 (prolog-electric-if-then-else): Remove commands.
5206 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5207 for use in post-self-insert-hook.
5208 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5209 for use in post-self-insert-hook.
5210 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5211 for use in post-self-insert-hook.
5212 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5213 adapt it for use in post-self-insert-hook.
5214
3dab0a83
MA
52152013-10-25 Michael Albinus <michael.albinus@gmx.de>
5216
5217 * emacs-lisp/ert.el (ert-run-tests-interactively):
5218 Use `completing-read'. (Bug#9756)
5219
fbfd0e1d
EZ
52202013-10-25 Eli Zaretskii <eliz@gnu.org>
5221
5222 * simple.el (line-move): Call line-move-1 instead of
5223 line-move-visual when the current window hscroll is zero, but
5224 temporary-goal-column indicates we will need to hscroll as result
5225 of the movement. (Bug#15712)
5226
963ce636
DG
52272013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5228
5229 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5230 capitalization. Use :visible instead of :active.
5231 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5232 commands that are used with SMIE.
5233 (ruby-do-end-to-brace): Insert space after `{'.
5234
a0be396a
JA
52352013-10-25 John Anthony <john@jo.hnanthony.com>
5236
f73754c9
JA
5237 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5238
5239 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5240
f5bf77df
GM
52412013-10-25 Glenn Morris <rgm@gnu.org>
5242
5243 * vc/vc.el (vc-print-log): Don't use a working revision unless
5244 one was explicitly specified. (Bug#15322)
5245
37241f62
SM
52462013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * subr.el (add-to-list): Preserve return value in compiler-macro
5249 (bug#15692).
5250
6408a65d
RS
52512013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5252
5253 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5254 result. Ask user to retry using '-all' flag. (Bug#15701)
5255
71e3276b
SM
52562013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * emacs-lisp/smie.el: New smie-config system.
5259 (smie-config): New defcustom.
5260 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5261 (smie-config-guess, smie-config-save): New commands.
5262 (smie-config--mode-local, smie-config--buffer-local)
5263 (smie-config--trace, smie-config--modefuns): New vars.
5264 (smie-config--advice, smie-config--mode-hook)
5265 (smie-config--setter, smie-config-local, smie-config--get-trace)
5266 (smie-config--guess-value, smie-config--guess): New functions.
5267 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5268 text properties. Treat "string fence" syntax like string syntax.
5269
5270 * progmodes/sh-script.el (sh-use-smie): Change default.
5271 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5272 (sh-var-value): Simplify by CSE.
5273 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5274 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5275 is used.
5276 (sh-guess-basic-offset): Use cl-incf.
5277 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5278
60db713e
HE
52792013-10-24 Helmut Eller <eller.helmut@gmail.com>
5280
5281 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5282 (bug#15699).
5283
8b251df6
GM
52842013-10-24 Glenn Morris <rgm@gnu.org>
5285
5286 * Makefile.in (abs_top_srcdir): Remove.
5287 (update-subdirs): Use relative path to update-subdirs.
5288
6be0e22b
EZ
52892013-10-24 Eli Zaretskii <eliz@gnu.org>
5290
5291 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5292 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5293 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5294 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5295
50b5b857
MA
52962013-10-24 Michael Albinus <michael.albinus@gmx.de>
5297
5298 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5299 (ert-test-skipped): New error.
5300 (ert-skip, ert-stats-skipped): New defuns.
5301 (ert--skip-unless): New macro.
5302 (ert-test-skipped): New struct.
5303 (ert--run-test-debugger, ert-test-result-type-p)
5304 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5305 (ert--stats-set-test-and-result, ert-char-for-test-result)
5306 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5307 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5308 Handle skipped tests. (Bug#9803)
50b5b857 5309
6f317c2f
GM
53102013-10-24 Glenn Morris <rgm@gnu.org>
5311
e43817c1
GM
5312 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5313
6f317c2f
GM
5314 * Makefile.in (abs_top_srcdir): New, set by configure.
5315 (update-subdirs): Correct build-aux location.
5316
369bbf71
DG
53172013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5318
8297b2cf
DG
5319 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5320 value, whether we could auto-deduce `backend', or not.
5321
369bbf71
DG
5322 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5323 with parameters" example. Simplify the "is it block or is it
5324 hash" check, but also make it more thorough.
5325
d5f1282f
MF
53262013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5327
5328 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5329
bc4aaa31
SM
53302013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5331
03d44565
SM
5332 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5333 { if it is hanging.
5334
bc4aaa31
SM
5335 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5336 :before ";".
5337
f493ff19
JB
53382013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5339
5340 * progmodes/compile.el (compilation-directory-matcher)
5341 (compilation-page-delimiter):
5342 Support GNU Make-4.0 directory quoting. (Bug#15678)
5343
c744a3b9
LL
53442013-10-23 Leo Liu <sdl.web@gmail.com>
5345
5346 * ido.el (ido-tidy): Handle read-only text.
5347
b8e3b0a9
GM
53482013-10-23 Glenn Morris <rgm@gnu.org>
5349
5350 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5351 (emacs, compile, compile-always):
5352 Quote entities that might contain whitespace.
5353 (custom-deps, finder-data, autoloads): Use abs_lisp.
5354 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5355 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5356 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5357
ee4282cd
DG
53582013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5359
bc4aaa31
SM
5360 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5361 Use `following-char'.
7790a270 5362
ee4282cd 53632013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5364
5365 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5366 * progmodes/ruby-mode.el (ruby-smie-rules):
5367 Remove corresponding workaround. Fix indentation rule of ";" so it
5368 also applies when ";" is the parent.
5369
d40a46d7
XF
53702013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5371
5372 * frame.el (display-screens, display-pixel-height)
5373 (display-pixel-width, display-mm-width, display-backing-store)
5374 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5375 (display-visual-class, display-monitor-attributes-list):
5376 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5377
a0f143c9
MG
53782013-10-22 Michael Gauland <mikelygee@amuri.net>
5379
5380 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5381 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5382
18cacc39
DG
53832013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5384
5385 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5386 TODO. Add "." after " @ ".
5387 (ruby-smie--at-dot-call): New function. Checks if point at method
5388 call with explicit target.
5389 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5390 to the method name tokens when it precedes them.
5391 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5392 (ruby-smie-rules): Add rule for indentation before and after "."
5393 token.
5394
df74c4be
SM
53952013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5396
c6dab55f
SM
5397 * textmodes/remember.el (remember-diary-extract-entries):
5398 Avoid add-to-list.
5399
df74c4be
SM
5400 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5401 an instruction.
5402
8c1ae481
DG
54032013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5404
e9dc713d
JB
5405 * progmodes/ruby-mode.el (ruby-smie-grammar):
5406 Add (almost) all infix operators.
cfef16c0
DG
5407 (ruby-smie--implicit-semi-p): Add new operator chars.
5408
8c1ae481
DG
5409 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5410 `smie-down-list'.
5411 (ruby-smie--args-separator-p): Check that there's no newline
5412 between method call and its arguments.
5413
87756ca9
AM
54142013-10-20 Alan Mackenzie <acm@muc.de>
5415
5416 Allow comma separated lists after Java "implements".
5417
df74c4be
SM
5418 * progmodes/cc-engine.el (c-backward-over-enum-header):
5419 Parse commas.
87756ca9
AM
5420 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5421 from a "disallowed" list in enum fontification.
5422
c25f8957
JB
54232013-10-20 Johan Bockgård <bojohan@gnu.org>
5424
df74c4be 5425 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5426
c25f8957
JB
5427 * progmodes/verilog-mode.el (verilog-mode): Don't set
5428 comment-indent-function globally.
5429
aca5fcdc
JD
54302013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5431
5f161884
JD
5432 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5433 Move Info menu item creation to ns-win.el.
5434
5435 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5436 in menu bar.
5437
a6c4680a 5438 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5439
5440 * term/ns-win.el (ns-initialize-window-system): ... to here.
5441
914b7f98
SM
54422013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * simple.el (newline): Only run post-self-insert-hook when
5445 called interactively.
5446
846ffe77
JB
54472013-10-19 Johan Bockgård <bojohan@gnu.org>
5448
5449 * icomplete.el (icomplete-with-completion-tables): Add :version.
5450
033f22dd
AM
54512013-10-19 Alan Mackenzie <acm@muc.de>
5452
5453 Fix fontification bugs with constructors and const.
5454
5455 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5456 CASE 2) Remove the check for the absence of a suffix construct
5457 after a function declaration with only types (no identifiers) in
5458 the parentheses. Also, accept a function declaration with just a
5459 type inside the parentheses, if this type can be positively
5460 recognised as such, or if a prefix keyword like "explicit" nails
5461 down the construct as a declaration.
5462
58ce0cfc
EZ
54632013-10-19 Eli Zaretskii <eliz@gnu.org>
5464
5465 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5466 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5467 the problem whereby selecting a menu item that leads to a
5468 minibuffer prompt moves the cursor out of the minibuffer window,
5469 making it hard to type at the prompt. Suggested by Stefan Monnier
5470 <monnier@iro.umontreal.ca>.
5471
50e28e7d
JD
54722013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5473
5474 * menu-bar.el: Don't make Services menu.
5475
7deed4bf
RS
54762013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5477
5478 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5479 (ffap-alist): Use ffap-c++-mode for c++-mode.
5480 (ffap-c++-path): New variable.
5481 (ffap-c++-mode): New function.
5482
7bcb455b
JVJ
54832013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5484
5485 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5486
f0ff1cd5
MA
54872013-10-18 Michael Albinus <michael.albinus@gmx.de>
5488
5489 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5490 introduced on 2013-09-08, which results in an infinite loop
5491 requesting a password.
5492
d64da4b7
GM
54932013-10-18 Glenn Morris <rgm@gnu.org>
5494
5495 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5496
ea89ff08
WS
54972013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5498
5499 Sync with upstream verilog-mode revision 1a6ecec7.
5500 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5501 (verilog-mode-release-date): Remove.
5502 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5503 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5504 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5505 (verilog-auto-tieoff-ignore-regexp)
5506 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5507 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5508 (verilog-signals-with, verilog-dir-cache-preserving)
5509 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5510 Doc fixes.
5511 (verilog-case-fold): New option, to control case folding in
5512 regexp searches, bug597.
5513 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5514 (verilog-string-match-fold, verilog-in-paren-count)
5515 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5516 (verilog-at-close-struct-p): New functions.
5517 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5518 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5519 (verilog-leap-to-case-head): Handle "unique0" case.
5520 (verilog-in-constraint-re): New constant.
5521 (verilog-keywords, verilog-type-font-keywords):
5522 Add some SystemVerilog 1800-2012 keywords.
5523 (verilog-label-be): Remove unimplemented argument, bug669.
5524 (verilog-batch-execute-func): When batch expanding clear
5525 create-lockfiles to prevent spurious user locks when a file ends
5526 up not changing.
5527 (verilog-calculate-indent, verilog-calc-1)
5528 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5529 (verilog-do-indent): Fix indentation of nested constraints
5530 and structures.
5531 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5532 (verilog-auto-inst-param): Use verilog-string-match-fold.
5533 (verilog-read-inst-module-matcher):
5534 Fix AUTOINST on gate primitives with #1.
5535 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5536 Reads all user-defined typed variables.
5537 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5538 (verilog-signals-matching-regexp)
5539 (verilog-signals-not-matching-regexp, verilog-auto):
5540 Respect verilog-case-fold.
5541 (verilog-diff-report): Fix line count.
5542 (verilog-auto-assign-modport): Remove unused local `modi'.
5543 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5544 better handle multidimensional arrays.
5545 Fix packed array ports misadding bit index in AUTOINST, bug637.
5546 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5547 to not double-declare existing outputs and inputs, respectively.
5548 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5549 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5550 (verilog-sk-uvm-component): New skeleton.
5551 (verilog-submit-bug-report): Add verilog-case-fold,
5552 remove verilog-mode-release-date.
5553
ef566920
BR
55542013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5555
a12bf61e 5556 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5557 as before.
5558
29df8a0b
RT
55592013-10-18 Reuben Thomas <rrt@sc3d.org>
5560
e0eb0550 5561 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5562 remember buffers (bug#13566).
5563
04a19a79
DC
55642013-10-18 Daniel Colascione <dancol@dancol.org>
5565
5566 When evaluating forms in ielm, direct standard output to ielm
5567 buffer. Add new ielm-return-for-effect command. Remove trailing
5568 whitespace throughout.
5569
5570 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5571 (ielm-return-for-effect): New command.
5572 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5573 (ielm-eval-input): Accept optional `for-effect' parameter.
5574 Bind `standard-output' to stream we create using
04a19a79
DC
5575 `ielm-standard-output-impl'. Suppress printing result when
5576 `for-effect'.
5577 (ielm-standard-output-impl): New function.
5578 (inferior-emacs-lisp-mode): Explain new features in documentation.
5579
4c1f03ef
MA
55802013-10-17 Michael Albinus <michael.albinus@gmx.de>
5581
5582 Code cleanup.
5583
5584 * net/tramp.el (tramp-debug-message): Do not check for connection
5585 buffer.
5586 (tramp-message): Use "vector" connection property.
5587
5588 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5589 (tramp-equal-remote, tramp-eshell-directory-change)
5590 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5591 (tramp-adb-handle-rename-file)
5592 * net/tramp-cmds.el (tramp-list-remote-buffers)
5593 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5594 * net/tramp-compat.el (tramp-compat-process-running-p)
5595 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5596 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5597 (tramp-gvfs-handle-rename-file)
5598 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5599 (tramp-set-file-uid-gid)
5600 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5601 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5602 of `file-remote-p'.
5603
5604 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5605 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5606 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5607 (tramp-gw-open-network-stream): Suppress unrelated traces.
5608
5609 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5610 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5611 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5612 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5613 connection property.
5614
5615 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5616 persistency file.
4c1f03ef
MA
5617
5618 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5619 Refactor common code. Improve debug message.
5620 (tramp-maybe-open-connection)
5621 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5622 connection buffer too early.
5623
5624 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5625 from `tramp-smb-actions-with-acl'.
5626 (tramp-smb-actions-set-acl): New defconst.
5627 (tramp-smb-handle-copy-directory)
5628 (tramp-smb-action-get-acl): New defun, renamed from
5629 `tramp-smb-action-with-acl'.
5630 (tramp-smb-action-set-acl): New defun.
5631 (tramp-smb-handle-set-file-acl): Rewrite.
5632
642eb8b6
GM
56332013-10-17 Glenn Morris <rgm@gnu.org>
5634
5635 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5636
85527ff3
SM
56372013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5638
921c1d62
SM
5639 * skeleton.el (skeleton-newline): Remove.
5640 (skeleton-internal-1): Use (insert "\n") instead.
5641
e333fb10
SM
5642 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5643 let-bindings.
5644
85527ff3
SM
5645 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5646 forward-sexp-function while we redo its job (bug#15613).
5647
c8722a97
JB
56482013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5649
5650 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5651 represented by lists.
5652
7a550bbb
GM
56532013-10-16 Glenn Morris <rgm@gnu.org>
5654
5655 * tmm.el (tmm--history): New dynamic variable.
5656 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5657
f19da8ad
MA
56582013-10-16 Michael Albinus <michael.albinus@gmx.de>
5659
5660 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5661 (tramp-smb-errors): Add error messages.
5662 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5663 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5664 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5665 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5666 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5667 (tramp-smb-get-stat-capability): Fix tests.
5668
a24b9961
DK
56692013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5670
5671 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5672 (bug#15580).
5673
62ad85e6
GM
56742013-10-16 Glenn Morris <rgm@gnu.org>
5675
0283d6b0
GM
5676 * ansi-color.el (ansi-color-drop-regexp):
5677 Add 1J, 1K, 2K. (Bug#15617)
5678
012e2f9f
GM
5679 * files.el (hack-local-variables--warned-lexical): New.
5680 (hack-local-variables):
5681 Warn about misplaced lexical-binding. (Bug#15616)
5682
62ad85e6
GM
5683 * net/eww.el (eww-render): Always set eww-current-url,
5684 and update header line. (Bug#15622)
5685 (eww-display-html): ... Rather than just doing it here.
5686
6456c0ea
EZ
56872013-10-15 Eli Zaretskii <eliz@gnu.org>
5688
5689 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5690 menu navigations commands.
5691
c2de5588
DK
56922013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5693
5694 * progmodes/subword.el (subword-capitalize): Be careful when
5695 the search for [[:alpha:]] fails (bug#15580).
5696
ccd4a783
EZ
56972013-10-14 Eli Zaretskii <eliz@gnu.org>
5698
5699 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5700 to commands that scroll the menu.
5701
1eda1d8d
DG
57022013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5703
c2de5588
DK
5704 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5705 Handle methods ending with `?' and `!'.
1eda1d8d 5706
e70181b8
AM
57072013-10-14 Akinori MUSHA <knu@iDaemons.org>
5708
5709 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5710 `japanese-cp932' to `cp932' to fix the problem where saving a
5711 source file written in Shift_JIS twice would end up having
5712 `coding: japanese-cp932' which Ruby could not recognize.
5713 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5714 in `ruby-encoding-map'.
5715 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5716 doesn't need to be explicitly declared in magic comment.
5717 (ruby-encoding-map): Add type declaration for better customize UI.
5718
9148ee92
GM
57192013-10-13 Glenn Morris <rgm@gnu.org>
5720
a5d38e34
GM
5721 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5722 Occur buffers are read-only. http://bugs.debian.org/720775
5723
9148ee92
GM
5724 * emacs-lisp/authors.el (authors-fixed-entries):
5725 Comment out old alpha stuff.
5726
a9ba094b
DG
57272013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5728
5729 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5730 to `after-save-hook' instead of `before-save-hook'.
5731 (ruby-mode-set-encoding): Use the value of coding system used to
5732 write the file. Call `basic-save-buffer-1' after modifying the
5733 buffer.
5734
7a068717
AM
57352013-10-13 Alan Mackenzie <acm@muc.de>
5736
5737 Fix indentation/fontification of Java enum with
5738 "implements"/generic.
5739
c2de5588
DK
5740 * progmodes/cc-engine.el (c-backward-over-enum-header):
5741 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5742 (c-inside-bracelist-p): Uses new function above.
5743 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5744 function above.
5745 (c-font-lock-enum-tail): Uses new function above.
5746
85b64f02
KH
57472013-10-13 Kenichi Handa <handa@gnu.org>
5748
5749 * international/mule-cmds.el (select-safe-coding-system): Remove a
5750 superfluous condition in chekcing whether a coding system is safe
5751 or not.
5752
fc7f501b
OK
57532013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5754
5755 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5756
fdcb2049
AP
57572013-10-13 Andreas Politz <politza@hochschule-trier.de>
5758
5759 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5760
8c106d17
GM
57612013-10-13 Glenn Morris <rgm@gnu.org>
5762
feab892d
GM
5763 * menu-bar.el (menu-bar-update-buffers):
5764 Unify Buffers menu prompt string. (Bug#15576)
5765
b22d0686
GM
5766 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5767
8c106d17
GM
5768 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5769 Add some entries.
5770 (authors-fixed-entries): Use accented form of name.
5771
1b12c797
SM
57722013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5773
650fa7bf 5774 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5775 method calls (bug#15594).
650fa7bf
SM
5776 (ruby-smie--args-separator-p): New function.
5777 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5778 recognize paren-free method calls.
5779
1b12c797
SM
5780 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5781 internals of universal-argument.
5782
029619c8
EZ
57832013-10-11 Eli Zaretskii <eliz@gnu.org>
5784
5785 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5786 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5787 dropped menu on second mouse click on the menu bar.
029619c8 5788
dd070019
SM
57892013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5792 (explicit-shell-file-name): Declare.
5793 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5794 (sh-completion-at-point-function): New function.
5795 (sh-mode): Use it.
5796 (sh-smie--keyword-p): Remove unused argument.
5797 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5798 vars.
5799 (sh-set-shell): Always setup SMIE, even if we use the
5800 old indentation code.
5801
0922b826
DG
58022013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5803
b68e2926
DG
5804 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5805 cases of ? and =.
5806 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5807 predicate would return nil are almost non-existent.
5808 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5809
0922b826
DG
5810 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5811 cache also after commands that modify the buffer but don't move
5812 point.
5813
ee041f2d
SM
58142013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 * env.el (substitute-env-in-file-name): New function.
5817 (substitute-env-vars): Extend the meaning of the optional arg.
5818
a5dab159
EZ
58192013-10-10 Eli Zaretskii <eliz@gnu.org>
5820
5821 * term/w32-win.el (dynamic-library-alist): Define separate lists
5822 of GIF DLLs for versions before and after 5.0.0 of giflib.
5823 (Bug#15531)
5824
0449d6cd 58252013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5826
5827 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5828 not locked, use last revision and current source as
5829 defaults. (Bug#15569)
5830
2f6e161e
MY
58312013-10-10 Masatake YAMATO <yamato@redhat.com>
5832
5833 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5834 menu-bar is hidden.
5835
6c8413fc
MR
58362013-10-10 Martin Rudalics <rudalics@gmx.at>
5837
5838 * window.el (pop-to-buffer-same-window): Fix doc-string.
5839 (Bug#15492)
5840
20832de0
SM
58412013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5844
c6e8ae77
AC
58452013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5846
5847 * calendar/icalendar.el (icalendar-import-file):
5848 Fix interactive spec. (Bug#15482)
5849
9db13baf
GM
58502013-10-10 Glenn Morris <rgm@gnu.org>
5851
9271e90e
GM
5852 * desktop.el (desktop-save): Default to saving in .emacs.d,
5853 since PWD is no longer in desktop-path by default. (Bug#15319)
5854
9db13baf
GM
5855 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5856 now that text mode has a menu with the same entry.
5857 (menu-bar-text-mode-auto-fill): Remove now unused func.
5858 * textmodes/text-mode.el (text-mode-map):
5859 Use auto-fill help text from menu-bar.el.
5860
a0be396a 58612013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5862
5863 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5864
2edcd3c7
JL
58652013-10-09 Juri Linkov <juri@jurta.org>
5866
5867 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5868 instead of this-command-keys. Add universal-argument-more and
5869 universal-argument-minus to the list of prefix commands. (Bug#15568)
5870
574411d0
GM
58712013-10-09 Glenn Morris <rgm@gnu.org>
5872
14afa541
GM
5873 * vc/vc-svn.el (vc-svn-create-repo):
5874 Expand paths in file://... url. (Bug#15446)
5875
574411d0
GM
5876 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5877 Add some entries.
5878 (authors): Remove unused local variables.
5879
79804536
SM
58802013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * profiler.el: Create a more coherent calltree from partial backtraces.
5883 (profiler-format): Hide the tail with `invisible' so that C-s can still
5884 find the hidden elements.
5885 (profiler-calltree-depth): Don't recurse so enthusiastically.
5886 (profiler-function-equal): New hash-table-test.
5887 (profiler-calltree-build-unified): New function.
5888 (profiler-calltree-build): Use it.
5889 (profiler-report-make-name-part): Indent the calltree less.
5890 (profiler-report-mode): Add visibility specs for profiler-format.
5891 (profiler-report-expand-entry, profiler-report-toggle-entry):
5892 Expand the whole subtree when provided with a prefix arg.
5893
238150c8
DG
58942013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5895
5896 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5897 iuwu-mod token.
5898 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5899 hanging iuwu-mod token.
5900 (ruby-smie--forward-token): Do not include a dot after a token in
5901 that token.
5902 (ruby-smie--backward-token): Likewise.
5903
b0949cc4
JL
59042013-10-08 Juri Linkov <juri@jurta.org>
5905
5906 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5907 to isearch-other-control-char.
5908 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5909 and isearch-post-command-hook to post-command-hook.
5910 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5911 and isearch-post-command-hook from post-command-hook.
5912 (isearch-unread-key-sequence)
5913 (isearch-reread-key-sequence-naturally)
5914 (isearch-lookup-scroll-key, isearch-other-control-char)
5915 (isearch-other-meta-char): Remove functions.
5916 (isearch-pre-command-hook, isearch-post-command-hook):
5917 New functions based on isearch-other-meta-char rewritten
5918 relying on the new behavior of overriding-terminal-local-map
5919 that does not replace the local keymaps any more. (Bug#15200)
5920
4ed77415
EZ
59212013-10-08 Eli Zaretskii <eliz@gnu.org>
5922
5923 Support menus on text-mode terminals.
5924 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5925 functionality.
5926
5927 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5928
c2de5588
DK
5929 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5930 Move here from mouse.el.
4ed77415
EZ
5931 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5932 and arrow keys.
5933 (tty-menu-navigation-map): New map for TTY menu navigation.
5934
5935 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5936
5937 * frame.el (display-mouse-p): Report text-mode mouse as available
5938 on w32.
5939 (display-popup-menus-p): Report availability if mouse is
5940 available; don't condition on window-system.
5941
5942 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5943 (tty-menu-selected-face): New faces.
5944
b7d5bd82
TL
59452013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5946
06286513
SM
5947 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5948 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5949 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5950 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5951 New constants.
5952 (lisp-mode-variables): New `elisp' argument.
5953 (emacs-lisp-mode): Use it.
5954 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5955 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5956
b7d5bd82
TL
5957 * indent.el: Use lexical-binding.
5958 (indent-region): Add progress reporter.
5959 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5960 last step.
5961 (indent--next-tab-stop): New function to implement this behavior.
5962 (tab-to-tab-stop, move-to-tab-stop): Use it.
5963
59642013-10-08 Teemu Likonen <tlikonen@iki.fi>
5965
5966 * indent.el (indent-rigidly--current-indentation): New function.
5967 (indent-rigidly-map): New var.
5968 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5969
5ea75d23
BG
59702013-10-08 Bastien Guerry <bzg@gnu.org>
5971
f2726fa2 5972 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5973
cc5da1ec
SM
59742013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5975
8ffa1a0b
SM
5976 * progmodes/perl-mode.el: Use lexical-binding.
5977 Remove redundant :group args.
5978 (perl-nochange): Change default to be closer to other major modes's
5979 standard behavior.
5980 (perl-indent-line): Don't consider text on current line as a
5981 valid beginning of function from which to indent.
5982
f2223371
SM
5983 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5984 with more than one argument (bug#15538).
5985
44256060
SM
5986 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5987
cc5da1ec
SM
5988 * vc/pcvs.el: Use lexical-binding.
5989 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5990 environment of `eval'.
5991 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5992 than a list of expressions. Adjust callers.
5993 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5994
0ea1599d
DG
59952013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5996
5997 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5998 case of the dot in a chained method call being on the following line.
0ea1599d 5999
da3e5ebb
SM
60002013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6001
2abb4e65
SM
6002 * electric.el (electric-indent-inhibit): New var.
6003 (electric-indent-post-self-insert-function): Use it.
6004 * progmodes/python.el (python-mode): Set it.
6005
d2e0e795
SM
6006 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6007 open braces.
6008
6009 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6010
bdc6b4c8
SM
6011 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6012 (css-mode): Use electric-indent-chars.
6013
da3e5ebb
SM
6014 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6015 (font-lock-beg, font-lock-end): Move before first use.
6016 (nxml-mode): Use syntax-propertize-function.
6017 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6018 (nxml-extend-after-change-region): Remove.
6019 * nxml/xmltok.el: Use lexical-binding.
6020 (xmltok-save): Use `declare'.
6021 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6022 * nxml/nxml-util.el: Use lexical-binding.
6023 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6024 Use `declare'.
6025 * nxml/nxml-ns.el: Use lexical-binding.
6026 (nxml-ns-save): Use `declare'.
6027 (nxml-ns-prefixes-for): Avoid add-to-list.
6028 * nxml/rng-match.el: Use lexical-binding.
6029 (rng--ipattern): Use cl-defstruct.
6030 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6031 (rng-cons-group-after, rng-subst-group-after)
6032 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6033 Use closures instead of `(lambda...).
6034
f8f91d5d
MA
60352013-10-07 Michael Albinus <michael.albinus@gmx.de>
6036
6037 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6038 of BEG and END.
6039
da3e5ebb
SM
6040 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6041 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6042 (tramp-gvfs-handle-insert-file-contents): Remove function.
6043
da3e5ebb
SM
6044 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6045 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6046
6047 * net/trampver.el: Update release number.
6048
7ccae3b1
SM
60492013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6050
55ca2c0d
SM
6051 * progmodes/compile.el (compilation-parse-errors):
6052 Use compilation--put-prop.
6053 (compilation--ensure-parse): Check compilation-multiline.
6054
731fc3ae
SM
6055 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6056
da3e5ebb
SM
6057 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6058 lexical-binding.
a5833280 6059
2e7ba2c2
SM
6060 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6061
7ccae3b1
SM
6062 * progmodes/ruby-mode.el: Fix recently added tests.
6063 (ruby-smie-grammar): Add - and +.
6064 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6065 (ruby-smie--backward-id): New functions.
6066 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6067 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6068 any more.
6069
85698d63
LL
60702013-10-07 Leo Liu <sdl.web@gmail.com>
6071
6072 * register.el (register-preview-delay)
6073 (register-preview-functions): New variables.
6074 (register-read-with-preview, register-preview)
6075 (register-describe-oneline): New functions.
6076 (point-to-register, window-configuration-to-register)
6077 (frame-configuration-to-register, jump-to-register)
6078 (number-to-register, view-register, insert-register)
6079 (copy-to-register, append-to-register, prepend-to-register)
6080 (copy-rectangle-to-register): Use register-read-with-preview to
6081 read register. (Bug#15525)
6082
3986af6c
DS
60832013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6084
6085 * net/network-stream.el (network-stream-open-starttls): Don't add
6086 --insecure if it's already present, because that gnutls-cli
6087 rejects getting that parameter twice.
6088
5cd9cda9
DG
60892013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6090
6091 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6092 keyword, too.
6093
da9ea6d9
DG
60942013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6095
6096 * newcomment.el (comment-use-global-state): Change default value
6097 to t, mark obsolete (Bug#15251).
6098 (comment-beginning): In addition to `comment-to-syntax', check the
6099 value of `comment-use-global-state'.
6100
34d1a133
SM
61012013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6104 (ruby-comment-column): Follow the global default, by default.
6105 (ruby-smie-grammar): Add assignment syntax.
6106 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6107 open-paren, a comma, or a \.
6108 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6109 and line continuations.
6110 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6111 followed by implicit semi-colons. Add rule for string concatenation
6112 and for indentation at BOB.
27821a89 6113 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6114
6115 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6116 calling next-sexp, since next-token may have skipped chars which
6117 next-sexp doesn't know should be skipped!
6118
6f6ab820
LL
61192013-10-05 Leo Liu <sdl.web@gmail.com>
6120
34d1a133
SM
6121 * progmodes/octave.el (octave-send-region):
6122 Call compilation-forget-errors.
6f6ab820 6123
34ca0f4c
XF
61242013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6125
6126 * vc/vc-svn.el (vc-svn-find-admin-dir):
6127 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6128 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6129 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6130 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6131
a27c1b72
SM
61322013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6135
258ab3bc
SM
61362013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * subr.el (read-passwd): Hide chars even when called within a context
6139 where after-change-functions is disabled (bug#15501).
6140 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6141 until we removed ourself from overriding-terminal-local-map.
6142
939fb29c
LL
61432013-10-04 Leo Liu <sdl.web@gmail.com>
6144
258ab3bc
SM
6145 * progmodes/octave.el (inferior-octave-mode):
6146 Call compilation-forget-errors.
939fb29c 6147
63bd7f35
XF
61482013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6149
6150 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6151
9e6229fa
MA
61522013-10-04 Michael Albinus <michael.albinus@gmx.de>
6153
6154 * net/secrets.el (secrets-create-collection): Add optional
6155 argument ALIAS. Use proper Label keyword. Append ALIAS as
6156 dbus-call-method argument. (Bug#15516)
6157
1dab32a3
LL
61582013-10-04 Leo Liu <sdl.web@gmail.com>
6159
6160 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6161 (inferior-octave-compilation-font-lock-keywords): New variables.
6162 (compilation-error-regexp-alist)
6163 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6164 (inferior-octave-mode): Use compilation-shell-minor-mode.
6165
6cad7ba3
JS
61662013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6167
6168 * minibuffer.el (completion--replace): Be careful that `end' might be
6169 a marker.
6170
acbadd00
DU
61712013-10-03 Daiki Ueno <ueno@gnu.org>
6172
6173 Add support for package signature checking.
6174 * emacs-lisp/package.el (url-http-file-exists-p)
6175 (epg-make-context, epg-context-set-home-directory)
6176 (epg-verify-string, epg-context-result-for)
6177 (epg-signature-status, epg-signature-to-string)
6178 (epg-check-configuration, epg-configuration)
6179 (epg-import-keys-from-file): Declare.
6180 (package-check-signature): New user option.
6181 (package-unsigned-archives): New user option.
6182 (package-desc): Add `signed' field.
6183 (package-load-descriptor): Set `signed' field if .signed file exists.
6184 (package--archive-file-exists-p): New function.
6185 (package--check-signature): New function.
6186 (package-install-from-archive): Check package signature.
6187 (package--download-one-archive): Check archive signature.
6188 (package-delete): Remove .signed file.
6189 (package-import-keyring): New command.
6190 (package-refresh-contents): Import default keyring.
6191 (package-desc-status): Add "unsigned" status.
6192 (describe-package-1, package-menu--print-info)
6193 (package-menu-mark-delete, package-menu--find-upgrades)
6194 (package-menu--status-predicate): Support "unsigned" status.
6195
adf2aa61
SM
61962013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6199 the new compilation scheme using the new byte-codes.
6200
6201 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6202 (byte-pophandler): New byte codes.
6203 (byte-goto-ops): Adjust accordingly.
6204 (byte-compile--use-old-handlers): New var.
6205 (byte-compile-catch): Use new byte codes depending on
6206 byte-compile--use-old-handlers.
6207 (byte-compile-condition-case--old): Rename from
6208 byte-compile-condition-case.
6209 (byte-compile-condition-case--new): New function.
6210 (byte-compile-condition-case): New function that dispatches depending
6211 on byte-compile--use-old-handlers.
6212 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6213 when we can.
6214
6215 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6216 Optimize under `condition-case' and `catch' if
6217 byte-compile--use-old-handlers is nil.
6218 (disassemble-offset): Handle new bytecodes.
6219
328a8179
SM
62202013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * subr.el (error): Use `declare'.
6223 (decode-char, encode-char): Use advertised-calling-convention instead
6224 of the docstring to discourage use of the `restriction' arg.
6225
15a1e936
DU
62262013-10-03 Daiki Ueno <ueno@gnu.org>
6227
6228 * epg.el (epg-verify-file): Add a comment saying that it does not
6229 notify verification error as a return value nor a signal.
6230 (epg-verify-string): Ditto.
6231
376f862a
KR
62322013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6233
6234 * progmodes/compile.el (compilation-start): Try globbing the arg to
6235 `cd' (bug#15417).
6236
a2f93a5f
MA
62372013-10-02 Michael Albinus <michael.albinus@gmx.de>
6238
6239 Sync with Tramp 2.2.8.
6240
6241 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6242 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6243 * net/trampver.el: Update release number.
6244
0daa0804
JD
62452013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6246
6247 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6248 and default-process-coding-system for darwin only.
6249
abd1ae34
SM
62502013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6251
6252 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6253
be4e325d
MH
62542013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6255
6256 * vc/vc-git.el (vc-git-grep): Disable pager.
6257
e9155c4a
DG
62582013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6259
494e898b
DG
6260 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6261 Use :url instead of :homepage, as per
6262 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6263
e9155c4a
DG
6264 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6265 non-nil, use `syntax-ppss' (Bug#15251).
6266
481a8e0f
RS
62672013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6268
be4e325d
MH
6269 * progmodes/octave.el (inferior-octave-startup-file):
6270 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6271
056453c6
DG
62722013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6273
be4e325d
MH
6274 * emacs-lisp/package.el (package-desc-from-define):
6275 Accept additional arguments as plist, convert them to an alist and store
6276 them in the `extras' slot.
056453c6
DG
6277 (package-generate-description-file): Convert extras alist back to
6278 plist and append to the `define-package' form arguments.
6279 (package--alist-to-plist): New function.
6280 (package--ac-desc): Add `extras' slot.
6281 (package--add-to-archive-contents): Check if the archive-contents
6282 vector is long enough, and if it is, pass its `extras' slot value
6283 to `package-desc-create'.
6284 (package-buffer-info): Call `lm-homepage', pass the returned value
6285 to `package-desc-from-define'.
6286 (describe-package-1): Render the homepage button (Bug#13291).
6287
be4e325d
MH
6288 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6289 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6290
832966e5
JD
62912013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6292
6293 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6294 and default-process-coding-system to utf-8-unix (Bug#15402).
6295
6cfe977d
XF
62962013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6297
6298 * subr.el (looking-back): Do not recommend using looking-back.
6299
38de11bd
AM
63002013-09-28 Alan Mackenzie <acm@muc.de>
6301
6302 Fix indentation/fontification of Java enum with "implements".
6303
6304 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6305 regexp which matches "implements", etc., in Java.
6306 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6307 specifier clauses coming after "enum".
6308 * progmodes/cc-fonts.el (c-font-lock-declarations)
6309 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6310 after "enum".
6311
1610938f
JD
63122013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6313
6314 * faces.el (region): Change ns_selection_color to
6315 ns_selection_fg_color, add ns_selection_bg_color.
6316
e090f499
LL
63172013-09-28 Leo Liu <sdl.web@gmail.com>
6318
4d2e94d1
LL
6319 * progmodes/octave.el (inferior-octave-completion-table)
6320 (inferior-octave-completion-at-point): Minor tweaks.
6321
e090f499
LL
6322 * textmodes/ispell.el (ispell-lookup-words): Rename from
6323 lookup-words. (Bug#15460)
6324 (lookup-words): Obsolete.
6325 (ispell-complete-word, ispell-command-loop): All uses changed.
6326
7e138a62
RS
63272013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6328
a12bf61e 6329 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6330 (octave-mode-menu): Add octave-send-buffer.
6331 (octave-send-buffer): New function.
6332
5af5ed08
RS
63332013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6334
a12bf61e 6335 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6336 octave-lookfor.
6337 (octave-mode-menu): Add octave-lookfor.
6338 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6339 octave-lookfor.
6340 (octave-lookfor): New function.
6341
3b7b2692
SM
63422013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6343
35e951cd 6344 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6345 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6346 its convention.
6347 (cl--loop-set-iterator-function): New function.
6348 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6349 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6350 Bind `it' with `let' instead of substituting it with `cl-subst'.
6351 (cl--unused-var-p): New function.
6352 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6353 Eliminate some unused variable warnings (bug#15326).
6354
529fb53f
TH
63552013-09-27 Tassilo Horn <tsdh@gnu.org>
6356
6357 * doc-view.el (doc-view-scale-reset): Rename from
6358 `doc-view-reset-zoom-level'.
6359 (doc-view-scale-adjust): New command.
6360 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6361 `doc-view-scale-adjust'.
6362
0550c95a
TH
63632013-09-26 Tassilo Horn <tsdh@gnu.org>
6364
6365 * doc-view.el (doc-view-reset-zoom-level): New command.
6366 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6367 zoom commands (bug#15466).
6368
6950f152
KH
63692013-09-26 Kenichi Handa <handa@gnu.org>
6370
6371 * international/quail.el (quail-help): Make it not a command.
6372
39587580
LL
63732013-09-26 Leo Liu <sdl.web@gmail.com>
6374
6375 * minibuffer.el (completion-all-sorted-completions): Make args
6376 optional as they are.
6377
00578659
DC
63782013-09-25 Daniel Colascione <dancol@dancol.org>
6379
6380 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6381 specs are and that they're not evaluated.
6382
0c173878
SS
63832013-09-24 Sam Steingold <sds@gnu.org>
6384
6385 * midnight.el (clean-buffer-list-kill-regexps)
6386 (clean-buffer-list-kill-buffer-names): Update for the new Man
6387 buffer naming which includes the object name.
6388
84998447
SM
63892013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6392 (eshell-parse-command, eshell-parse-pipeline): Use it since
6393 eshell-separate-commands requires a dynamic scoped var.
6394 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6395
33215353
LL
63962013-09-23 Leo Liu <sdl.web@gmail.com>
6397
6398 * autoinsert.el (auto-insert-alist): Make the value of
6399 lexical-binding match its file setting.
6400
57b16162
JB
64012013-09-23 Juanma Barranquero <lekktu@gmail.com>
6402
c8af4e67
JB
6403 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6404
57b16162
JB
6405 * autoarg.el (autoarg-kp-digit-argument):
6406 * electric.el (Electric-command-loop):
6407 * kmacro.el (kmacro-step-edit-insert):
6408 Do not set universal-argument-num-events.
6409
7186ba60
LL
64102013-09-22 Leo Liu <sdl.web@gmail.com>
6411
6412 * files.el (interpreter-mode-alist): Add octave.
6413
ece15004
AM
64142013-09-21 Alan Mackenzie <acm@muc.de>
6415
6416 C++: fontify identifier in declaration following "public:" correctly.
6417 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6418 to match "public", etc.
6419 (c-decl-prefix-re): Add ":" into the C++ value.
6420 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6421 bit. Add a check for a ":" preceded by "public", etc.
6422
75d83e22
EZ
64232013-09-21 Eli Zaretskii <eliz@gnu.org>
6424
6425 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6426 recognized by GDB 7.5 and later.
6427
d052d3bd
XF
64282013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6429
6430 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6431
31dca772
R
64322013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * subr.el (internal--call-interactively): New const.
6435 (called-interactively-p): Use it (bug#3984).
6436
98ccf24e
XF
64372013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6438
6439 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6440 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6441 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6442
c39cc7d1
SM
64432013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6446 (eshell-ls-orig-insert-directory): Remove.
6447 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6448 (eshell-ls-use-in-dired): Use advice-add/remove.
6449 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6450 Add `orig-fun' arg for use in :around advice.
6451 Make it check (redundantly) eshell-ls-use-in-dired.
6452
9a0289a2
GM
64532013-09-19 Glenn Morris <rgm@gnu.org>
6454
a2c501b8
GM
6455 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6456
c440407a
GM
6457 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6458
9a0289a2
GM
6459 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6460
85e05915
MA
64612013-09-19 Michael Albinus <michael.albinus@gmx.de>
6462
6463 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6464 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6465 (tramp-get-remote-python): New defuns.
6466 (tramp-get-remote-uid-with-perl)
6467 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6468 contributed by yary <not.com@gmail.com> (tiny change).
6469 (tramp-get-remote-uid-with-python)
6470 (tramp-get-remote-gid-with-python): New defuns. Python code
6471 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6472 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6473
ce503312
GM
64742013-09-19 Glenn Morris <rgm@gnu.org>
6475
f7544773
GM
6476 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6477
72fd2877
GM
6478 * eshell/em-unix.el (eshell-remove-entries):
6479 Rename argument to avoid name-clash with global `top-level'.
6480
336b5a56
GM
6481 * eshell/esh-proc.el (eshell-kill-process-function):
6482 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6483 (eshell-reset-after-proc): Remove unused arg `proc'.
6484
57a3a53d
GM
6485 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6486 (directory-files-and-attributes): Mark unused arg.
6487
3261d4af
GM
6488 * eshell/em-unix.el (eshell-remove-entries):
6489 Remove unused arg `path'. Update callers.
6490
8e51b5d0
GM
6491 * eshell/em-hist.el (eshell-hist-parse-arguments):
6492 Remove unused arg `silent'. Update callers.
6493
ce503312
GM
6494 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6495 Fix (f)boundp mix-up.
6496
6497 * eshell/em-smart.el (eshell-smart-scroll-window)
6498 (eshell-disable-after-change):
336b5a56 6499 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6500
ee3ce8a7
AM
65012013-09-18 Alan Mackenzie <acm@muc.de>
6502
6503 Fix fontification of type when followed by "const".
6504 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6505 "known" types from fontification.
6506
ec9177ba
GM
65072013-09-18 Glenn Morris <rgm@gnu.org>
6508
7bb3e768
GM
6509 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6510 (chart-face-list): Drop Emacsen without display-color-p.
6511
5148da15
GM
6512 * net/eww.el (libxml-parse-html-region): Declare.
6513 (eww-display-html): Explicit error if no libxml2 support.
6514
2f68e157
GM
6515 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6516
9019d095
GM
6517 * image.el (image-type-from-buffer, image-multi-frame-p):
6518 Remove --without-x warning/error.
67645389 6519
5f30349b 6520 * mouse.el (mouse-yank-primary):
45069b2e 6521 * term.el (term-mouse-paste):
5f30349b
GM
6522 Reorder to silence --without-x compilation.
6523
cd8edbbe
GM
6524 * mpc.el (doc-view-mode): Silence --without-x compilation.
6525
8a78544e
GM
6526 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6527 Silence --without-x compilation.
6528
12679bfd
GM
6529 * progmodes/gud.el (gud-find-file, gud-mode):
6530 Silence --without-x compilation.
6531 (tooltip-mode): Declare.
30810a05 6532
f0047cb9
GM
6533 * wdired.el (dired-backup-overwrite): Remove declaration.
6534 (wdired-mode-map): Add doc string.
6535
e740f9d2
GM
6536 * custom.el (x-get-resource): Declare.
6537
92d77c89
GM
6538 * eshell/em-glob.el (ange-cache):
6539 * eshell/em-unix.el (ange-cache): Declare.
6540
76e69577
GM
6541 * faces.el (x-display-list, x-open-connection, x-get-resource):
6542 Declare.
7e58af4b
GM
6543
6544 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6545 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6546 Declare.
76e69577 6547
4bd4c0af 6548 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6549
ffb82dbd
GM
6550 * net/gnutls.el (gnutls-log-level): Declare.
6551
986ed135
GM
6552 * net/shr.el (image-size, image-animate): Declare.
6553
e740f9d2
GM
6554 * simple.el (font-info): Declare.
6555
d2f3e9f8
GM
6556 * subr.el (x-popup-dialog): Declare.
6557
047a1a4c
GM
6558 * term/common-win.el (x-select-enable-primary)
6559 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6560 Declare.
6561
f4a1d572
GM
6562 * term/ns-win.el (x-handle-args): Declare.
6563
e843de77
GM
6564 * term/x-win.el (x-select-enable-clipboard): Declare.
6565
5fa89513
GM
6566 * term/w32-win.el (create-default-fontset): Declare.
6567
38702b5b
GM
6568 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6569 Declare.
6570
e740f9d2
GM
6571 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6572 (fit-frame-to-buffer): Explicit error if --without-x.
6573 (mouse-autoselect-window-select): Silence compiler.
6574
49a053fc
GM
6575 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6576
6577 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6578 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6579 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6580 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6581 Remove unused local variables.
6582
6583 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6584
ec9177ba
GM
6585 * textmodes/two-column.el: Make 2C-split work for --without-x.
6586 (scroll-bar-columns): Autoload.
6587 (top-level): Require fringe when compiling.
6588
9f25cb77
LL
65892013-09-18 Leo Liu <sdl.web@gmail.com>
6590
6591 * subr.el (add-hook): Robustify to handle closure as well.
6592
2b42da98
GM
65932013-09-17 Glenn Morris <rgm@gnu.org>
6594
6595 * simple.el (messages-buffer-mode-map): Unbind "g".
6596
e8b66a6a
SM
65972013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6598
9c0ad4f7
SM
6599 * help-mode.el (help-mode-finish): Use derived-mode-p.
6600 Remove obsolete highlighting.
6601
7a806dfb
SM
6602 * play/life.el (life-mode): Use define-derived-mode. Derive from
6603 special-mode.
6604 (life): Let-bind inhibit-read-only.
6605 (life-setup): Avoid `setq'. Use `life-mode'.
6606
96dbf5a8
SM
6607 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6608 which should not be needed any more.
6609 (package-menu-refresh, package-menu-describe-package): Use user-error.
6610
e8b66a6a
SM
6611 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6612 (eshell-post-rewrite-command-hook): Make obsolete.
6613 (eshell-parse-command): Simplify.
6614 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6615 (eshell--cmd): Declare.
6616 (eshell-parse-pipeline): Remove unused var `final-p'.
6617 Pass a dynvar to eshell-post-rewrite-command-hook.
6618 Implement the new eshell-post-rewrite-command-function.
6619 (eshell-invoke-directly): Remove unused arg `input'.
6620 * eshell/esh-io.el (eshell-io-initialize):
6621 Use eshell-post-rewrite-command-function (bug#15399).
6622 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6623 adjust to new calling convention.
6624 (eshell-create-handles): Rename args to avoid clashing with dynvar
6625 `standard-output'.
6626
90582f05
GM
66272013-09-17 Glenn Morris <rgm@gnu.org>
6628
6629 * simple.el (messages-buffer-mode): New major mode.
6630 (messages-buffer): New function.
6631 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6632 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6633 (ert-run-test): Use `messages-buffer' function.
90582f05 6634 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6635 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6636 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6637
39eb0cb5 66382013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6639
6640 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6641
1d42e5b6 6642 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6643
70568a90
SM
66442013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6645
504a0381
SM
6646 * icomplete.el (icomplete-in-buffer): New var.
6647 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6648 vars and replace them with functions.
6649 (icomplete-minibuffer-setup): Adjust accordingly.
6650 (icomplete--completion-table, icomplete--completion-predicate)
6651 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6652 New functions.
6653 (icomplete-forward-completions, icomplete-backward-completions)
6654 (icomplete-simple-completing-p, icomplete-exhibit)
6655 (icomplete-completions): Use them.
6656 (icomplete--in-region-buffer): New var.
6657 (icomplete--in-region-setup): New function.
6658 (icomplete-mode): Use it.
6659
70568a90
SM
6660 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6661 (bug#15379).
6662 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6663 return args and options.
6664 (eshell-eval-using-options): Use the new return value of
6665 eshell--do-opts to set the options's vars in their scope.
6666 (eshell--set-option): Rename from eshell-set-option.
6667 Add arg `opt-vals'.
6668 (eshell--process-option): Rename from eshell-process-option.
6669 Add arg `opt-vals'.
6670 (eshell--process-args): Use an `opt-vals' alist to store the options's
6671 values during their processing and return them additionally to the
6672 remaining args.
6673
578c21bc
DG
66742013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6675
6676 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6677 continuation character an operator, as far as indentation is
6678 concerned (Bug#15369).
6679
c089653d
MR
66802013-09-15 Martin Rudalics <rudalics@gmx.at>
6681
6682 * window.el (window--state-put-2): Don't process buffer state
6683 when buffer doesn't exist any more (Bug#15382).
6684
1e53bb4b
GM
66852013-09-15 Glenn Morris <rgm@gnu.org>
6686
30753242
GM
6687 * eshell/em-unix.el (eshell/rm):
6688 Make -f ignore missing files. (Bug#15373)
6689
1e53bb4b
GM
6690 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6691 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6692 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6693
0d8863b3
GM
66942013-09-14 Glenn Morris <rgm@gnu.org>
6695
6696 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6697
d3fc6549
GM
66982013-09-13 Glenn Morris <rgm@gnu.org>
6699
6700 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6701 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6702
fcd42c11
DA
67032013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6704
6705 * frame.el (x-focus-frame): Mark as declared in frame.c.
6706
7830899f
SM
67072013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * ls-lisp.el: Use advice-add.
6710 (original-insert-directory): Remove.
6711 (ls-lisp--insert-directory): Rename from insert-directory; add
6712 `orig-fun' argument.
6713 (insert-directory): Advise.
6714
84387cd2
EZ
67152013-09-13 Eli Zaretskii <eliz@gnu.org>
6716
6717 * term.el (term-emulate-terminal): Decode the command string
6718 before passing it to term-command-hook. (Bug#15337)
6719
35ffc6ba
GM
67202013-09-13 Glenn Morris <rgm@gnu.org>
6721
5c3f9bcc
GM
6722 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6723
2ada368a
GM
6724 * eshell/esh-ext.el (eshell-search-path): Declare.
6725
fcef2e13
GM
6726 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6727 Otherwise an error occurs if eshell-dirs module not loaded.
6728
35ffc6ba
GM
6729 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6730
35c3d36e
MA
67312013-09-13 Michael Albinus <michael.albinus@gmx.de>
6732
6733 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6734 `tramp-check-proper-host'. Check for a valid method name.
6735
6736 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6737 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6738 * net/tramp-sh.el (tramp-maybe-open-connection):
6739 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6740
6741 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6742 also for hash values.
6743
ae5e4c48
SM
67442013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6745
379add74
SM
6746 * term/ns-win.el (parameters): Don't declare as dynamic.
6747 (before-make-frame-hook): Don't add ineffective function.
6748
ae5e4c48
SM
6749 * eshell/*.el: Use lexical-binding (bug#15231).
6750
b5623270
KH
67512013-09-12 Kenichi Handa <handa@gnu.org>
6752
ae5e4c48 6753 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6754
30213927
GM
67552013-09-12 Glenn Morris <rgm@gnu.org>
6756
be94d713 6757 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6758 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6759
44915370
GM
6760 * subr.el (do-after-load-evaluation): Also give compiler warnings
6761 when obsolete files are used (except by obsolete files).
6762
a6ae021f
GM
6763 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6764 in the status output, assume `filename' is the first. (Bug#15322)
6765
40e64f0c
GM
6766 * vc/vc.el (vc-deduce-fileset): Doc fix.
6767
16d9f896
GM
6768 * calc/calc-help.el (Info-goto-node):
6769 * progmodes/cperl-mode.el (Info-find-node):
6770 * vc/ediff.el (Info-goto-node): Update declarations.
6771
dea01c6e
GM
6772 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6773
759880bf 6774 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6775 (vc-bzr-pull): Require vc-dispatcher.
6776 * vc/vc-git.el (vc-compilation-mode): Declare.
6777 (vc-git-pull): Require vc-dispatcher.
6778
08d66420
GM
6779 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6780
30b626e9
GM
6781 * progmodes/octave.el (help-button-action): Declare.
6782
8c05cb10
GM
6783 * shell.el (shell-directory-tracker): Output error as a message
6784 rather than just returning it as a string.
6785 (shell-process-pushd): Remove useless use of message.
6786
30213927
GM
6787 * dframe.el (dframe-timer-fn):
6788 * files.el (dir-locals-read-from-file):
6789 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6790 (mpc-format):
6791 * reveal.el (reveal-post-command):
6792 * saveplace.el (load-save-place-alist-from-file):
6793 * shell.el (shell-resync-dirs):
6794 * w32-common-fns.el (x-get-selection-value):
6795 * emacs-lisp/copyright.el (copyright-find-copyright):
6796 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6797 * emulation/tpu-edt.el (tpu-copy-keyfile):
6798 * play/bubbles.el (bubbles--mark-neighbourhood):
6799 * progmodes/executable.el
6800 (executable-make-buffer-file-executable-if-script-p):
6801 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6802
d3b049e6
SM
68032013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6804
170266d0
SM
6805 Cleanup Eshell to rely less on dynamic scoping.
6806 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6807 last-value, and ext-command here. Bind `args' closer to `body'.
6808 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6809 (eshell--args): Declare new dynamic var.
6810 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6811 last-value, and ext-command. Pass `args' to `body'.
6812 (eshell-process-args): Bind eshell--args.
6813 (eshell-set-option): Use eshell--args.
6814 * eshell/eshell.el (eshell): Use derived-mode-p.
6815 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6816 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6817 (eshell-glob-function): Declare.
6818 * eshell/esh-util.el: Require cl-lib.
6819 (eshell-read-hosts-file): Avoid add-to-list.
6820 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6821 `err'.
6822 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6823 Declare.
6824 (eshell/diff): Remove unused var `err'.
6825 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6826 `killflag'.
6827 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6828 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6829 first use.
6830 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6831 Move declaration before first use.
6832 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6833 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6834 rely on cl-return.
6835
56834f3b
GM
68362013-09-12 Glenn Morris <rgm@gnu.org>
6837
6838 * term/ns-win.el (global-map): Remove binding for ispell-next,
6839 deleted 1999-05-29. (Bug#15357)
6840
5c91a2b8
GM
68412013-09-11 Glenn Morris <rgm@gnu.org>
6842
da712f22
GM
6843 * echistory.el (electric-command-history): Remove call to deleted func.
6844
512e4cdc
GM
6845 * play/landmark.el (landmark-mode): Fix typos.
6846
d3506ca5
GM
6847 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6848 Check cvs-sort-ignore-file is bound.
6849
5c91a2b8
GM
6850 * savehist.el: No need for cl when compiling on Emacs.
6851
feeff482
SM
68522013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6853
656bd483
SM
6854 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6855 (bug#15338).
d3b049e6
SM
6856 (eshell-self-insert-command, eshell-send-invisible):
6857 Remove unused argument.
656bd483
SM
6858 (eshell-handle-control-codes): Remove unused var `orig'.
6859 Avoid delete-backward-char.
6860
feeff482
SM
6861 * files.el (set-auto-mode): Simplify a bit further.
6862
2a08047a
GM
68632013-09-11 Glenn Morris <rgm@gnu.org>
6864
6865 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6866 (set-auto-mode): Don't regexp-quote elements.
6867 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6868 * progmodes/cc-mode.el (interpreter-mode-alist):
6869 * progmodes/ruby-mode.el (interpreter-mode-alist):
6870 Revert previous change.
6871
34675540
SM
68722013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6873
1b3b87df
SM
6874 * play/snake.el (snake-mode):
6875 * play/mpuz.el (mpuz-mode):
6876 * play/landmark.el (lm-mode):
6877 * play/blackbox.el (blackbox-mode):
6878 * play/5x5.el (5x5-mode):
6879 * obsolete/options.el (Edit-options-mode):
6880 * net/quickurl.el (quickurl-list-mode):
6881 * net/newst-treeview.el (newsticker-treeview-mode):
6882 * mail/rmailsum.el (rmail-summary-mode):
6883 * mail/mspools.el (mspools-mode):
6884 * locate.el (locate-mode):
6885 * ibuffer.el (ibuffer-mode):
6886 * emulation/ws-mode.el (wordstar-mode):
6887 * emacs-lisp/debug.el (debugger-mode):
6888 * array.el (array-mode):
6889 * net/eudc.el (eudc-mode): Use define-derived-mode.
6890 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6891 Move initialization into declaration.
6892 (mairix-searches-mode): Use define-derived-mode.
6893 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6894 (eudc-edit-hotlist): Use dolist.
6895 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6896 (Man-mode): Use define-derived-mode.
6897 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6898 (Info-edit-mode): Use define-derived-mode.
6899 (Info-cease-edit): Use Info-mode.
6900 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6901 into declaration.
6902 (eshell-mode): Use define-derived-mode.
6903 * chistory.el (command-history-mode-map): Rename from
6904 command-history-map.
6905 (command-history-mode): Use define-derived-mode.
da712f22 6906 (Command-history-setup): Remove function.
1b3b87df
SM
6907 * calc/calc.el (calc-trail-mode-map): New var.
6908 (calc-trail-mode): Use define-derived-mode.
6909 (calc-trail-buffer): Set calc-main-buffer manually.
6910 * bookmark.el (bookmark-insert-annotation): New function.
6911 (bookmark-edit-annotation): Use it.
6912 (bookmark-edit-annotation-mode): Make it a proper major mode.
6913 (bookmark-send-edited-annotation): Use derived-mode-p.
6914 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6915 closer to its ideal place. Use \' to match EOS.
6916
34675540
SM
6917 * profiler.el (profiler-calltree-find): Use function-equal.
6918
6a5c15d9
GM
69192013-09-10 Glenn Morris <rgm@gnu.org>
6920
1af4c220
GM
6921 * files.el (interpreter-mode-alist): Convert to regexps.
6922 (set-auto-mode): Adapt for this. (Bug#15306)
6923 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6924 Comment out unused variable.
6925 * progmodes/cc-mode.el (interpreter-mode-alist):
6926 * progmodes/python.el (interpreter-mode-alist):
6927 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6928 * progmodes/sh-script.el (sh-set-shell):
6929 No longer use interpreter-mode-alist to get list of shells.
6930
6a5c15d9
GM
6931 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6932
8c27f5ff
SM
69332013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6934
02ef6c1a 6935 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6936 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6937 Bind switch-frame explicitly. Replace universal-argument-minus with
6938 a conditional binding.
6939 (universal-argument-num-events, saved-overriding-map): Remove.
6940 (restore-overriding-map): Remove.
6941 (universal-argument--mode): Rename from save&set-overriding-map,
6942 and rewrite.
6943 (universal-argument, universal-argument-more, negative-argument)
6944 (digit-argument): Adjust accordingly.
6945 (universal-argument-minus): Remove.
6946 (universal-argument-other-key): Remove.
6947
8c27f5ff
SM
6948 * subr.el (with-demoted-errors): Add `format' argument.
6949
6480194c
MA
69502013-09-10 Michael Albinus <michael.albinus@gmx.de>
6951
6952 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6953 `tramp-cleanup-connection'.
6954
6955 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6956 parameters KEEP-DEBUG and KEEP-PASSWORD.
6957
6958 * net/tramp.el (tramp-file-name-handler):
6959 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6960 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6961 (tramp-maybe-open-connection):
8c27f5ff
SM
6962 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6963 Use `tramp-cleanup-connection'.
6480194c 6964
8c27f5ff
SM
6965 * net/tramp-sh.el (tramp-maybe-open-connection):
6966 Catch 'uname-changed inside the progress reporter.
6480194c 6967
e5e916d8
GM
69682013-09-10 Glenn Morris <rgm@gnu.org>
6969
9a2c9b47
GM
6970 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6971
e5e916d8
GM
6972 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6973 returns "alternate access method" in mode (eg "-rw-r--r--.").
6974
144e38fe
GM
69752013-09-08 Glenn Morris <rgm@gnu.org>
6976
6977 * saveplace.el (load-save-place-alist-from-file):
6978 Demote errors. (Bug#15305)
6979
af9ff9e8
MA
69802013-09-08 Michael Albinus <michael.albinus@gmx.de>
6981
6982 Improve compatibility with older Emacsen, and XEmacs.
6983
6984 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6985 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6986 (with-tramp-progress-reporter): Do not let-bind `result'.
6987 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6988 (tramp-handle-make-auto-save-file-name): New function, moved from
6989 tramp-sh.el.
6990
6991 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6992 for `make-auto-save-file-name'.
8c27f5ff
SM
6993 (tramp-adb--gnu-switches-to-ash):
6994 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6995
6996 * net/tramp-cache.el (tramp-cache-print): Call
6997 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6998
6999 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7000 bound. It isn't for XEmacs.
7001
8c27f5ff
SM
7002 * net/tramp-compat.el (tramp-compat-copy-file):
7003 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7004 (tramp-compat-replace-regexp-in-string): New defun.
7005
7006 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7007 for `make-auto-save-file-name'.
7008 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7009 `copy-file'.
7010 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7011 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7012 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7013
8c27f5ff
SM
7014 * net/tramp-gw.el (tramp-gw-open-network-stream):
7015 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7016
8c27f5ff
SM
7017 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7018 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7019 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7020 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7021 (tramp-sh-file-inotifywait-process-filter):
7022 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7023 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7024
7025 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7026 for `make-auto-save-file-name'.
8c27f5ff
SM
7027 (tramp-smb-handle-copy-directory):
7028 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7029 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7030 (tramp-smb-handle-copy-file): Improve error message.
7031 (tramp-smb-handle-rename-file): Rename directly only in case
7032 `newname' does not exist yet. This is a restriction of smbclient.
7033 (tramp-smb-maybe-open-connection): Rerun the function only when
7034 `auth-sources' is non-nil.
7035
0ca754d0
KH
70362013-09-08 Kenichi Handa <handa@gnu.org>
7037
e0eb0550 7038 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7039 more characters.
7040
e8dd0787
AM
70412013-09-07 Alan Mackenzie <acm@muc.de>
7042
7043 Correctly fontify Java class constructors.
7044 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7045 in Java Mode.
7046 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7047 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7048 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7049 "typeless" declaration there.
7050
f2f248e7
RW
70512013-09-07 Roland Winkler <winkler@gnu.org>
7052
7053 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7054 field subtitle for entry type book.
7055
67982e2b
SM
70562013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7057
7058 * minibuffer.el: Make minibuffer-complete call completion-in-region
7059 rather than other way around.
7060 (completion--some, completion-pcm--find-all-completions):
7061 Don't delay signals when debugging.
7062 (minibuffer-completion-contents): Beware fields within the
7063 minibuffer contents.
7064 (completion-all-sorted-completions): Use defvar-local.
7065 (completion--do-completion, completion--cache-all-sorted-completions)
7066 (completion-all-sorted-completions, minibuffer-force-complete):
7067 Add args `beg' and `end'.
7068 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7069 (minibuffer-complete): Use completion-in-region.
7070 (completion-complete-and-exit): New fun, extracted from
7071 minibuffer-complete-and-exit.
7072 (minibuffer-complete-and-exit): Use it.
7073 (completion--complete-and-exit): Rename from
7074 minibuffer--complete-and-exit.
7075 (completion-in-region--single-word): New function, extracted from
7076 minibuffer-complete-word.
7077 (minibuffer-complete-word): Use it.
7078 (display-completion-list): Make `common-substring' argument obsolete.
7079 (completion--in-region): Call completion--in-region-1 instead of
7080 minibuffer-complete.
7081 (completion-help-at-point): Pass boundaries to
7082 minibuffer-completion-help as args rather than via an overlay.
7083 (completion-pcm--string->pattern): Use `any-delim'.
7084 (completion-pcm--optimize-pattern): New function.
7085 (completion-pcm--pattern->regex): Handle `any-delim'.
7086 * icomplete.el (icomplete-forward-completions)
7087 (icomplete-backward-completions, icomplete-completions):
7088 Adjust calls to completion-all-sorted-completions and
7089 completion--cache-all-sorted-completions.
7090 (icomplete-with-completion-tables): Default to t.
7091 * emacs-lisp/crm.el (crm--current-element): Rename from
7092 crm--select-current-element. Don't put an overlay but return the
7093 boundaries instead.
7094 (crm--completion-command): Take two new args to bind to the boundaries.
7095 (crm-completion-help): Adjust accordingly.
7096 (crm-complete): Use completion-in-region.
7097 (crm-complete-word): Use completion-in-region--single-word.
7098 (crm-complete-and-exit): Use completion-complete-and-exit.
7099
e17d94a5
SM
71002013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7103 than dynamically.
7104
96727100
JL
71052013-09-06 Juri Linkov <juri@jurta.org>
7106
7107 * info.el (Info-display-images-node): When image file doesn't exist
7108 display text version of the image if it's provided in the Info file.
7109 Otherwise, display the location of missing image from SRC attribute.
7110 Add help-echo text property from ALT attribute. (Bug#15279)
7111
86cf7329
SM
71122013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7115 (edit-abbrevs-mode): Use define-derived-mode.
7116
7117 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7118 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7119 that it's defined.
7120 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7121 Use define-derived-mode.
7122
7123 * epg.el (epg-start-encrypt): Minor CSE simplification.
7124
816244a2
WX
71252013-09-06 William Xu <william.xwl@gmail.com>
7126
7127 * arc-mode.el: Add support for 7za (bug#15264).
7128 (archive-7z-program): New var.
7129 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7130 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7131 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7132
1486fa31
MA
71332013-09-06 Michael Albinus <michael.albinus@gmx.de>
7134
7135 Remove URL syntax.
7136
7137 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7138 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7139 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7140 (tramp-postfix-host-format, tramp-file-name-regexp)
7141 (tramp-completion-file-name-regexp)
7142 (tramp-completion-dissect-file-name)
7143 (tramp-handle-substitute-in-file-name): Remove 'url case.
7144 (tramp-file-name-regexp-url)
7145 (tramp-completion-file-name-regexp-url): Remove constants.
7146
39785324
GM
71472013-09-06 Glenn Morris <rgm@gnu.org>
7148
7149 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7150
1f896cb7
DG
71512013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7152
7153 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7154 keywords" below "here-doc beginnings" (Bug#15270).
7155
c0458e0b
SM
71562013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * subr.el (pop): Use `car-safe'.
7159 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7160 to detect unused `pop' return value.
7161
7162 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7163 var `block-regexp'.
7164 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7165 (python-fill-string): Remove unused var `marker'.
7166 (python-skeleton-add-menu-items): Remove unused var `items'.
7167
7168 * international/mule-cmds.el: Require CL.
7169 (find-coding-systems-for-charsets): Avoid add-to-list.
7170 (sanitize-coding-system-list): New function, extracted from
7171 select-safe-coding-system-interactively.
7172 (select-safe-coding-system-interactively): Use it.
7173 (read-input-method-name): Accept symbols for `default'.
7174
7175 * emacs-lisp/advice.el (defadvice): Add indent rule.
7176
6c42fc3e
DH
71772013-09-05 Daniel Hackney <dan@haxney.org>
7178
7179 * dired-x.el:
7180 * net/ange-ftp.el:
7181 * net/browse-url.el:
7182 * net/dbus.el:
7183 * net/eudc.el:
7184 * net/eudcb-ldap.el:
7185 * net/eww.el:
7186 * net/imap.el:
7187 * printing.el:
7188 * vc/ediff-diff.el:
7189 * vc/ediff-init.el:
7190 * vc/ediff-merg.el:
7191 * vc/ediff-mult.el:
7192 * vc/ediff-util.el:
7193 * vc/ediff-wind.el:
7194 * vc/ediff.el:
7195 * vc/emerge.el:
7196 * vc/pcvs.el:
7197 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7198 byte compiler. Remove some unused let-bound variables.
7199
4c528aab
SM
72002013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7203 a "ref-cell", since it gets better optimized (bug#14883).
7204
bd15c390
GM
72052013-09-05 Glenn Morris <rgm@gnu.org>
7206
7207 * progmodes/cc-awk.el (c-forward-sws): Declare.
7208
1c3ac2e5
GM
72092013-09-04 Glenn Morris <rgm@gnu.org>
7210
7211 * generic-x.el [rul-generic-mode]: Require cc-mode.
7212 (c++-mode-syntax-table): Declare.
7213 (rul-generic-mode-syntax-table): Init in the defvar.
7214
52b1cc79
SM
72152013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7216
c828af56
SM
7217 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7218 (vc-do-command, vc-set-async-update):
7219 * vc/vc-mtn.el (vc-mtn-dir-status):
7220 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7221 (vc-hg-pull, vc-hg-merge-branch):
7222 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7223 (vc-git-merge-branch):
7224 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7225 (vc-cvs-dir-status-files):
7226 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7227 (vc-bzr-dir-status-files):
7228 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7229 * vc/vc-annotate.el: Use lexical-binding.
7230 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7231 (vc-sentinel-movepoint): Declare.
7232 (vc-annotate): Don't use `goto-line'.
7233 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7234 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7235 (vc-sentinel-movepoint): Declare.
7236 * vc/vc-svn.el: Use lexical-binding.
7237 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7238 * vc/vc-sccs.el:
7239 * vc/vc-rcs.el: Use lexical-binding.
7240
abae272c
SM
7241 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7242 `deleted'. Don't drop errors silently.
7243
52b1cc79
SM
7244 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7245
63191d9f
XF
72462013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7247
7248 * vc/vc.el (vc-ignore): Rewrite.
7249 (vc-default-ignore): New function.
7250 (vc-default-ignore-completion-table): Use find-ignore-file.
7251
7252 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7253 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7254 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7255 Remove. Most code moved to vc.el.
7256
9d3f707c
SM
72572013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7258
abae272c 7259 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7260 * net/tramp-smb.el (tramp-smb-get-file-entries):
7261 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7262 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7263
fde38d49
SM
7264 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7265 Update call to it.
7266 (eww-change-select): Remove unused var `properties'.
7267 (eww-make-unique-file-name): Remove unused var `base'.
7268
7269 * finder.el (finder-compile-keywords): Don't mess with windows.
7270
84032db7
SM
7271 * calculator.el (calculator-funcall): Fix typo in last change.
7272
724f5e41
SM
7273 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7274
14b511d4
SM
7275 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7276 <pkg>-autoloads.el file stop us.
7277
9d3f707c 7278 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7279 warnings, and factor out common code.
9d3f707c 7280
88527bc0
DG
72812013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7282
7283 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7284 two-character operators and whether the character preceding them
7285 changes their meaning (Bug#15208).
7286
96edb677
FEG
72872013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7288
7289 Format code sent to Python shell for robustness.
9d3f707c
SM
7290 * progmodes/python.el (python-shell-buffer-substring):
7291 New function.
96edb677
FEG
7292 (python-shell-send-region, python-shell-send-buffer): Use it.
7293
95beaef3
MA
72942013-09-02 Michael Albinus <michael.albinus@gmx.de>
7295
7296 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7297 * net/tramp.el (tramp-user-error): ... here.
7298 (tramp-find-method, tramp-check-proper-host)
7299 (tramp-dissect-file-name, tramp-debug-message)
7300 (tramp-handle-shell-command):
7301 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7303
7304 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7305
f167c27b
MR
73062013-09-02 Martin Rudalics <rudalics@gmx.at>
7307
7308 * avoid.el (mouse-avoidance-point-position)
7309 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7310 returns nil.
7311
cd16c5f1
FEG
73122013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7313
7314 * progmodes/python.el (python-shell-completion-get-completions):
7315 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7316 (python-nav-if-name-main): New command.
cd16c5f1 7317
e73c3a0d
GM
73182013-09-01 Glenn Morris <rgm@gnu.org>
7319
f8ccce03
GM
7320 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7321 Avoid leading space in $wins. Otherwise the sed command used by
7322 eg compile-main ends up containing "/*.el". (Bug#15170)
7323
e73c3a0d
GM
7324 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7325
415f808e
GM
73262013-08-30 Glenn Morris <rgm@gnu.org>
7327
7328 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7329 Fix is-this-a-directory logic. (Bug#15220)
7330
f069bba8
SM
73312013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7332
112798c1
SM
7333 * textmodes/css-mode.el: Use SMIE.
7334 (css-smie-grammar): New var.
7335 (css-smie--forward-token, css-smie--backward-token)
7336 (css-smie-rules): New functions.
7337 (css-mode): Use them.
7338 (css-navigation-syntax-table): Remove var.
7339 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7340 (css-indent-calculate, css-indent-line): Remove functions.
7341
7342 Misc changes to reduce use of `(lambda...); and other cleanups.
7343 * cus-edit.el: Use lexical-binding.
7344 (customize-push-and-save, customize-apropos)
7345 (custom-buffer-create-internal): Use closures.
7346 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7347 * progmodes/ada-xref.el: Use setq.
7348 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7349 * dframe.el: Use lexical-binding.
7350 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7351 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7352 * descr-text.el: Use lexical-binding.
7353 (describe-text-widget, describe-text-sexp, describe-property-list):
7354 Use closures.
7355 * comint.el (comint-history-isearch-push-state): Use a closure.
7356 * calculator.el: Use lexical-binding.
7357 (calculator-number-to-string): Make it work with lexical-binding.
7358 (calculator-funcall): Same and use cl-letf.
7359
2da4c3ab
SM
7360 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7361 (lisp--company-doc-string, lisp--company-location): New functions.
7362 (lisp-completion-at-point): Use them to improve Company support.
7363
f069bba8
SM
7364 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7365 params of lambda expressions.
7366 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7367 (ruby-smie--opening-pipe-p): New function.
7368 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7369 symbols and matched |...| for formal params.
7370 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7371 from being treated as hanging. Handle "rescue".
7372
6758b6a8
GM
73732013-08-29 Glenn Morris <rgm@gnu.org>
7374
7375 * progmodes/cc-engine.el (c-pull-open-brace):
7376 Move definition before use.
7377
e8dfd197
SM
73782013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7381 are immutable. Don't use `unsafe' any more.
7382 (cl--defsubst-expand): Don't substitute at the same time as keeping
7383 a residual unused let-binding. Don't use `unsafe' any more.
7384
cc585c96
GM
73852013-08-29 Glenn Morris <rgm@gnu.org>
7386
ba579ea6
GM
7387 * calendar/cal-china.el (calendar-chinese-year-cache):
7388 Recenter on 2015.
7389
8201a87e
GM
7390 * nxml/nxml-util.el (nxml-debug-clear-inside):
7391 Use cl-loop rather than loop.
7392
6ee877c7
GM
7393 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7394
cc585c96
GM
7395 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7396
27be8d39
GM
73972013-08-28 Glenn Morris <rgm@gnu.org>
7398
397440a1
GM
7399 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7400
2bb762d4
GM
7401 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7402
27be8d39
GM
7403 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7404
2d69b99e
SM
74052013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7406
f663baa7
SM
7407 * simple.el (repeat-complex-command--called-interactively-skip):
7408 New function.
7409 (repeat-complex-command): Use it (bug#14136).
7410
dd4f8b74
SM
7411 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7412 (c-define-abbrev-table): Add `doc' argument.
7413 (c-mode-abbrev-table, c++-mode-abbrev-table)
7414 (objc-mode-abbrev-table, java-mode-abbrev-table)
7415 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7416 (awk-mode-abbrev-table): Use it.
7417 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7418 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7419 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7420 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7421 Move initialization into the declaration; and remove any
7422 autoload cookie.
7423
b58969f7
SM
7424 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7425 and dynamic let binding.
7426
4021d6a6
SM
7427 * vc/smerge-mode.el: Remove redundant :group args.
7428
2d69b99e
SM
7429 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7430 to load-path.
7431
274919fd
JL
74322013-08-28 Juri Linkov <juri@jurta.org>
7433
7434 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7435 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7436 (isearch-other-meta-char): Handle an undefined shifted printing
7437 character by downshifting it. (Bug#15200)
7438
121f8c95
JL
74392013-08-28 Juri Linkov <juri@jurta.org>
7440
7441 * isearch.el (isearch-search): Change regexp error message for
7442 non-regexp searches. (Bug#15166)
7443
50b13cde
PE
74442013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7445
7446 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7447 for portability to hosts where /bin/sh has problems.
7448
95888bca
SM
74492013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7450
7451 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7452
bbe558f1
JL
74532013-08-27 Juri Linkov <juri@jurta.org>
7454
7455 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7456 in the keyboard macro. (Bug#15126)
7457
26f98a7d
JL
74582013-08-27 Juri Linkov <juri@jurta.org>
7459
7460 * isearch.el (isearch-quote-char): Comment out converting unibyte
7461 to multibyte, thus syncing with its `quoted-insert' counterpart.
7462 (Bug#15166)
7463
7c97d35e
MR
74642013-08-27 Martin Rudalics <rudalics@gmx.at>
7465
7466 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7467 argument in call of get-largest-window (Bug#15185).
7468 Reported by Stephen Leake.
7c97d35e 7469
a0b5606e 74702013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7471
7472 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7473
9e89d835
SM
74742013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7477 from a matcher-function unless there's no more matches (bug#15161).
7478
78fc2530
MA
74792013-08-26 Michael Albinus <michael.albinus@gmx.de>
7480
7481 * minibuffer.el: Revert change from 2013-08-20.
7482
7483 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7484 with text property `tramp-default', if appropriate.
7485 (tramp-check-proper-host): New defun.
7486 (tramp-dissect-file-name): Do not check hostname. Revert change
7487 of 2013-03-18.
7488 (tramp-backtrace): Make VEC-OR-PROC optional.
7489
7490 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7491 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7492 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7493 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7494 Apply `tramp-check-proper-host'.
78fc2530 7495
edca97cd
TH
74962013-08-26 Tassilo Horn <tsdh@gnu.org>
7497
7498 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7499 lambda expression in order to have `describe-variable' display it.
7500
df54bcbd
MA
75012013-08-26 Michael Albinus <michael.albinus@gmx.de>
7502
7503 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7504 BUF can be optional. (Bug#15186)
7505
eed99101
XF
75062013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7507
7508 * progmodes/flymake.el (flymake-get-real-file-name-function):
7509 Fix broken customization. (Bug#15184)
7510
b5eb9035
AM
75112013-08-25 Alan Mackenzie <acm@muc.de>
7512
8a51e842
AM
7513 Improve indentation of bracelists defined by macros (without "=").
7514
7515 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7516 expansion begins with "{", regard it as bracelist when it doesn't
7517 contain a ";".
7518
869455d4
AM
7519 Parse C++ inher-intro when there's a template split over 2 lines.
7520
7521 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7522 rigorously the search for "class" etc. followed by ":".
7523
7524 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7525 random languages a regexp which never matches rather than nil.
7526
b5eb9035
AM
7527 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7528
7529 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7530 (c-awk-regexp-one-line-possibly-open-char-list-re)
7531 (c-awk-one-line-possibly-open-regexp-re)
7532 (c-awk-one-line-non-syn-ws*-re): Remove.
7533 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7534 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7535 (c-awk-space*-unclosed-regexp-/-re): New constants.
7536 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7537 aren't regexp delimiters.
7538
7539 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7540 handling for a rare situation in AWK Mode involving unterminated
7541 strings/regexps.
7542
61611d54
GM
75432013-08-23 Glenn Morris <rgm@gnu.org>
7544
2d85dc34
GM
7545 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7546
cb8d2612
GM
7547 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7548
bb35f42f
GM
7549 * files.el (create-file-buffer): If the result would begin with
7550 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7551
b9808e77
SM
75522013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7553
e3a66363
SM
7554 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7555 text-properties (bug#15155).
7556
b9808e77
SM
7557 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7558 exist any more.
7559 (calc-keypad-redraw): Remove unused var `pad'.
7560 (calc-keypad-press): Remove unused var `menu'.
7561
7fd5f65e
MR
75622013-08-23 Martin Rudalics <rudalics@gmx.at>
7563
b9808e77
SM
7564 * window.el (display-buffer-pop-up-frame):
7565 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7566 use it as the new frame's buffer (Bug#15133).
7567
8352b530
SM
75682013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * calendar/timeclock.el: Minor cleanups.
7571 (timeclock-ask-before-exiting, timeclock-use-display-time):
7572 Use `symbol'.
7573 (timeclock-modeline-display): Define as alias before the
7574 actual definition.
7575 (timeclock-mode-line-display): Use define-minor-mode.
7576 (timeclock-day-list-template): Make it a function, add an argument.
7577 (timeclock-day-list-required, timeclock-day-list-length)
7578 (timeclock-day-list-debt, timeclock-day-list-span)
7579 (timeclock-day-list-break): Adjust calls accordingly.
7580
9f7b1925
SM
75812013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7584 Use read--expression so that completion works again.
7585
6e50e983
SS
75862013-08-21 Sam Steingold <sds@gnu.org>
7587
7588 Add rudimentary inferior shell interaction
7589 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7590 (sh-set-shell): Reset it.
9f7b1925
SM
7591 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7592 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7593
dbb0d350
SM
75942013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * align.el: Use lexical-binding.
7597 (align-region): Simplify accordingly.
7598
c88586a9
MA
75992013-08-20 Michael Albinus <michael.albinus@gmx.de>
7600
7601 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7602
7603 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7604 `non-essential' up.
7605
f95527c8
MA
76062013-08-17 Michael Albinus <michael.albinus@gmx.de>
7607
7608 * net/tramp.el:
7609 * net/tramp-adb.el:
7610 * net/tramp-cmds.el:
7611 * net/tramp-ftp.el:
7612 * net/tramp-gvfs.el:
7613 * net/tramp-gw.el:
7614 * net/tramp-sh.el: Don't wrap external variable declarations by
7615 `eval-when-compile'.
7616
4b5fe4ee
LMI
76172013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618
7619 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7620 now that Emacs supports ImageMagick animations.
7621
13c366c9
MA
76222013-08-16 Michael Albinus <michael.albinus@gmx.de>
7623
7624 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7625 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7626
3dfc5cd6
MR
76272013-08-16 Martin Rudalics <rudalics@gmx.at>
7628
7629 * window.el (mouse-autoselect-window-select): Do autoselect when
7630 mouse pointer is on margin.
7631
4bbb4381
WP
76322013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7633
7634 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7635
3a2ddc2d
GM
76362013-08-16 Glenn Morris <rgm@gnu.org>
7637
e8bedf5a
GM
7638 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7639 Handle "Remote Directory" response of some clients. (Bug#15058)
7640
58c4682f
GM
7641 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7642 Tweak warning. (Bug#14926)
7643
57953f49
GM
7644 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7645 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7646
3a2ddc2d
GM
7647 * image-mode.el (image-mode-map): Add menu items to reverse,
7648 increase, decrease, reset animation speed.
7649 (image--set-speed, image-increase-speed, image-decrease-speed)
7650 (image-reverse-speed, image-reset-speed): New functions.
7651 (image-mode-map): Add bindings for speed commands.
7652
7653 * image.el (image-animate-get-speed, image-animate-set-speed):
7654 New functions.
7655 (image-animate-timeout): Respect image :speed property.
7656
10fa0ed3
SM
76572013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7660 previous line (bug#15101).
7661 (debugger-eval-expression, debugger-record-expression):
7662 Use read--expression (bug#15102).
7663
5d89d9d2
MA
76642013-08-15 Michael Albinus <michael.albinus@gmx.de>
7665
7666 Remove byte compiler warnings, visible when compiling with
7667 `byte-compile-force-lexical-warnings' set to t.
7668
7669 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7670 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7671 (tramp-handle-unhandled-file-name-directory)
7672 (tramp-handle-file-notify-add-watch, tramp-action-login)
7673 (tramp-action-succeed, tramp-action-permission-denied)
7674 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7675 arguments with "_".
7676
7677 * net/tramp-adb.el (tramp-adb-parse-device-names)
7678 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7679 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7680 (tramp-adb-handle-file-truename): Remove unused arguments.
7681
7682 * net/tramp-cache.el (tramp-flush-directory-property)
7683 (tramp-flush-connection-property, tramp-list-connections)
7684 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7685
10fa0ed3
SM
7686 * net/tramp-compat.el (tramp-compat-make-temp-file):
7687 Rename FILENAME to F.
5d89d9d2
MA
7688
7689 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7690 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7691 (tramp-zeroconf-parse-workstation-device-names)
7692 (tramp-zeroconf-parse-webdav-device-names)
7693 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7694
7695 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7696 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7697
7698 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7699 arguments.
7700 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7701 (tramp-sh-handle-insert-file-contents-literally)
7702 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7703 with "_".
7704 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7705 Remove unused variables.
7706
7707 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7708 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7709 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7710
7711 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7712 Make them a defconst.
7713 (tramp-uuencode-region): Remove unused variable.
7714
62f33bae
JB
77152013-08-14 Juanma Barranquero <lekktu@gmail.com>
7716
7717 * frameset.el (frameset--prop-setter): New function.
7718 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7719 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7720 parameter was already set in FILTERED. Doc fix.
7721 (frameset--record-minibuffer-relationships): Allow saving a
7722 minibufferless frame without its corresponding minibuffer frame.
7723 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7724 frame, if the frame id matches.
7725 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7726 frames before orphaned ones.
7727 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7728
c660a885
MR
77292013-08-14 Martin Rudalics <rudalics@gmx.at>
7730
7731 * window.el (window-make-atom): Don't overwrite parameter
7732 already present.
7733 (display-buffer-in-atom-window): Handle special case where we
7734 split an already atomic window.
7735 (window--major-non-side-window, display-buffer-in-side-window)
7736 (window--side-check): Ignore minibuffer window when walking
7737 window tree.
7738 (window-deletable-p): Return 'frame only if no other frame uses
7739 our minibuffer window.
7740 (record-window-buffer): Run buffer-list-update-hook.
7741 (split-window): Make sure window--check-frame won't destroy an
7742 existing atomic window in case the new window gets nested
7743 inside.
7744 (display-buffer-at-bottom): Ignore minibuffer window when
7745 walking window tree. Don't split a side window.
7746 (pop-to-buffer): Don't set-buffer here, the select-window call
7747 should do that.
7748 (mouse-autoselect-window-select): Autoselect only if we are in the
7749 text portion of the window.
7750
8259030d
LMI
77512013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7752
21c58ae2
LMI
7753 * net/shr.el (shr-parse-image-data): New function to grab both the
7754 data itself and the Content-Type.
7755 (shr-put-image): Use it.
7756
7757 * net/eww.el (eww-display-image): Ditto.
7758
8259030d
LMI
7759 * image.el (image-content-type-suffixes): New variable.
7760
ad756449
FEG
77612013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7762
7763 * progmodes/python.el (python-imenu--build-tree)
7764 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7765
f73f4ce6
XF
77662013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7767
7768 * simple.el (backward-word): Mention the optional argument.
7769
1f585e65
SM
77702013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7771
7772 * frameset.el (frameset--make): Rename constructor from make-frameset.
7773 (frameset-p, frameset-valid-p): Don't autoload.
7774 (frameset-valid-p): Use normal accessors.
7775
af1c6c84
GM
77762013-08-13 Glenn Morris <rgm@gnu.org>
7777
55e47f95
GM
7778 * progmodes/compile.el (compile-command): Tweak example in doc.
7779 * obsolete/scribe.el (scribe-mode):
7780 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7781
f0024d8c
GM
7782 * mail/feedmail.el (feedmail-confirm-outgoing)
7783 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7784
7785 * cus-start.el (truncate-partial-width-windows): Fix type.
7786
7787 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7788
af1c6c84
GM
7789 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7790
5514cc4c
SM
77912013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7792
7793 * emacs-lisp/timer.el (timer--time-setter): New function.
7794 (timer--time): Use it as gv-setter.
7795
7796 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7797 setter is not a symbol.
7798
7997a2f1
GJ
77992013-08-12 Grégoire Jadi <daimrod@gmail.com>
7800
7801 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7802 if sending fails. This makes debugging easier.
7803
01f1a9ab
JB
78042013-08-12 Juanma Barranquero <lekktu@gmail.com>
7805
7806 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7807 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7808 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7809
594a4307
EZ
78102013-08-12 Eli Zaretskii <eliz@gnu.org>
7811
7812 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7813
7a22490f 78142013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7815
7816 * format.el (format-annotate-function):
7817 Handle read-only text properties in the source. (Bug#14887)
7818
3e41a054
LMI
78192013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7820
5514cc4c
SM
7821 * net/eww.el (eww-display-html): Ignore coding system errors.
7822 One web site uses "utf-8lias" as the coding system.
3e41a054 7823
7ec326db
JB
78242013-08-11 Juanma Barranquero <lekktu@gmail.com>
7825
7826 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7827
5660113b
JB
78282013-08-10 Juanma Barranquero <lekktu@gmail.com>
7829
9a4ebc74
JB
7830 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7831 (tutorial--detailed-help): Remove unused local variables.
7832 (tutorial--save-tutorial-to): Use ignore-errors.
7833 (help-with-tutorial): Use looking-at-p.
7834
7835 * view.el (view-buffer-other-window, view-buffer-other-frame):
7836 Mark unused arguments.
7837
7838 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7839 (woman-select-symbol-fonts, woman, woman-find-file)
7840 (woman-insert-file-contents, woman-non-underline-faces):
7841 Use string-match-p.
7842 (woman1-unquote): Move declaration.
7843
7844 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7845 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7846 argument. Remove unused local variable.
7847 (xml-parse-elem-type): Use string-match-p.
7848 (xml-substitute-numeric-entities): Use ignore-errors.
7849
45fdb482
JB
7850 * calculator.el (calculator): Mark unused argument.
7851 (calculator-paste, calculator-quit, calculator-integer-p):
7852 Use ignore-errors.
7853 (calculator-string-to-number, calculator-decimal, calculator-exp)
7854 (calculator-op-or-exp): Use string-match-p.
7855
7856 * dired.el (dired-buffer-more-recently-used-p): Declare.
7857 (dired-insert-set-properties, dired-insert-old-subdirs):
7858 Use ignore-errors.
7859
7860 * dired-aux.el (dired-compress): Use ignore-errors.
7861 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7862 (dired-do-async-shell-command, dired-do-shell-command)
7863 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7864 (dired-insert-subdir-validate): Use string-match-p.
7865 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7866 (dired-add-entry): Use string-match-p, looking-at-p.
7867 (dired-insert-subdir-newpos): Remove unused local variable.
7868
7869 * filenotify.el (file-notify-callback): Remove unused local variable.
7870
7871 * filesets.el (filesets-error): Mark unused argument.
7872 (filesets-which-command-p, filesets-filter-dir-names)
7873 (filesets-directory-files, filesets-get-external-viewer)
7874 (filesets-ingroup-get-data): Use string-match-p.
7875
7876 * find-file.el (ff-other-file-name, ff-other-file-name)
7877 (ff-find-the-other-file, ff-cc-hh-converter):
7878 Remove unused local variables.
7879 (ff-get-file-name): Use string-match-p.
7880 (ff-all-dirs-under): Use ignore-errors.
7881
7882 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7883 (follow-select-if-visible): Remove unused local variable.
7884
7885 * forms.el (read-file-filter): Move declaration.
7886 (forms--make-format, forms--make-parser, forms-insert-record):
7887 Quote function with #'.
7888 (forms--update): Use string-match-p. Quote function with #'.
7889
7890 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7891 (help-make-xrefs): Use looking-at-p.
7892 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7893
7894 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7895 (ibuffer-confirm-operation-on): Use string-match-p.
7896
7897 * msb.el (msb-item-handler, msb-dired-item-handler):
7898 Mark unused arguments.
7899
7900 * ses.el (ses-decode-cell-symbol)
7901 (ses-kill-override): Remove unused local variable.
7902 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7903 (ses-load): Use ignore-errors, looking-at-p.
7904 (ses-jump-safe): Use ignore-errors.
7905 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7906
7907 * tabify.el (untabify, tabify): Mark unused arguments.
7908
7909 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7910 Mark unused argument.
7911 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7912 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7913
c880af52
JB
7914 * emacs-lisp/timer.el (timer--time): Define setter with
7915 gv-define-setter to avoid deprecation warning.
7916
5660113b 7917 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7918 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7919 (cmpl-statistics-block): Remove (body was commented out).
7920 All callers changed.
7921 (add-completions-from-buffer, load-completions-from-file):
7922 Remove unused variables.
7923
156aab80
JB
79242013-08-09 Juanma Barranquero <lekktu@gmail.com>
7925
5c5dee78
JB
7926 * filecache.el (file-cache-delete-file-list):
7927 Print message only when told so.
7928 (file-cache-files-matching): Use #' in mapconcat argument.
7929
156aab80
JB
7930 * ffap.el (ffap-url-at-point): Fix reference to variable
7931 thing-at-point-default-mail-uri-scheme.
7932
ad9dcd70
SM
79332013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7934
54bd972f
SM
7935 * subr.el (define-error): New function.
7936 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7937 error-file-not-found and define with define-error.
7938 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7939 and define with define-error.
7940 * userlock.el (file-locked, file-supersession):
7941 * simple.el (mark-inactive):
7942 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7943 * progmodes/ada-mode.el (ada-mode-errors):
7944 * play/life.el (life-extinct):
7945 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7946 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7947 * nxml/rng-util.el (rng-error):
7948 * nxml/rng-uri.el (rng-uri-error):
7949 * nxml/rng-match.el (rng-compile-error):
7950 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7951 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7952 * nxml/nxml-rap.el (nxml-scan-error):
7953 * nxml/nxml-outln.el (nxml-outline-error):
7954 * net/soap-client.el (soap-error):
7955 * net/gnutls.el (gnutls-error):
7956 * net/ange-ftp.el (ftp-error):
7957 * mpc.el (mpc-proc-error):
7958 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7959 (json-number-format, json-string-escape, json-string-format)
7960 (json-key-format, json-object-format):
7961 * jka-compr.el (compression-error):
7962 * international/quail.el (quail-error):
7963 * international/kkc.el (kkc-error):
7964 * emacs-lisp/ert.el (ert-test-failed):
7965 * calc/calc.el (calc-error, inexact-result, math-overflow)
7966 (math-underflow):
7967 * bookmark.el (bookmark-error-no-filename):
7968 * epg.el (epg-error): Define with define-error.
7969
0ea9e53a
SM
7970 * time.el (display-time-event-handler)
7971 (display-time-next-load-average): Don't call sit-for since it seems
7972 unnecessary (bug#15045).
7973
b0429158
SM
7974 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7975 Use #' instead of ' to quote functions.
7976 (checkdoc-output-mode): Use setq-local.
7977 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7978 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7979 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7980 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7981 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7982 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7983 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7984 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7985
ad9dcd70
SM
7986 * ido.el (ido-completion-help): Fix up compiler warning.
7987
77187e6f
JB
79882013-08-09 Juanma Barranquero <lekktu@gmail.com>
7989
7990 * frameset.el (frameset-p): Add autoload cookie.
7991 (frameset--jump-to-register): New function, based on code moved from
7992 register.el.
7993 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7994
7995 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7996 (frameset-restore, frameset-save, frameset-session-filter-alist):
7997 Remove declarations.
7998 (register-alist): Doc fix.
7999 (frameset-to-register): Move to frameset.el.
8000 (jump-to-register, describe-register-1): Remove frameset-specific code.
8001
9d3aa82c
JB
80022013-08-08 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * allout-widgets.el (allout-widgets-pre-command-business)
8005 (allout-widgets-post-command-business)
8006 (allout-widgets-after-change-handler)
8007 (allout-decorate-item-and-context, allout-set-boundary-marker)
8008 (allout-body-modification-handler)
8009 (allout-graphics-modification-handler): Mark ignored arguments.
8010 (allout-widgets-post-command-business)
8011 (allout-widgets-exposure-change-processor)
8012 (allout-widgets-exposure-undo-processor)
8013 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8014 (allout-parse-item-at-point, allout-decorate-item-guides)
8015 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8016 * allout.el (epa-passphrase-callback-function): Declare.
8017 (allout-overlay-insert-in-front-handler)
8018 (allout-overlay-interior-modification-handler)
8019 (allout-isearch-end-handler, allout-chart-siblings)
8020 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8021 (allout-yank-processing, allout-process-exposed)
8022 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8023 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8024 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8025 (lisp-indent-defform): Mark ignored arguments.
8026 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8027 (calculate-lisp-indent): Remove unused variables.
8028 * international/characters.el (indian-2-column, arabic-2-column)
8029 (tibetan): Mark ignored arguments.
8030 (use-cjk-char-width-table): Mark ignored arguments.
8031 Remove unused variables.
8032 * international/fontset.el (build-default-fontset-data)
8033 (x-compose-font-name, create-fontset-from-fontset-spec):
8034 Mark ignored arguments.
8035 (fontset-plain-name): Remove unused variables.
8036 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8037 (keyboard-coding-system): Mark ignored arguments.
8038 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8039 * help.el (resize-temp-buffer-window):
8040 * window.el (display-buffer-in-major-side-window)
8041 (display-buffer-in-side-window, display-buffer-in-previous-window):
8042 Remove unused variables.
8043 * isearch.el (isearch-forward-symbol):
8044 * version.el (emacs-bzr-version-bzr):
8045 * international/mule-cmds.el (current-language-environment):
8046 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8047 (x-handle-display):
8048 * term/pc-win.el (x-list-fonts, x-display-planes)
8049 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8050 (x-server-version, x-display-screens, x-display-mm-height)
8051 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8052 (x-selection-owner-p, x-own-selection-internal)
8053 (x-disown-selection-internal, x-get-selection-internal)
8054 (msdos-initialize-window-system):
8055 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8056 * term/x-win.el (x-handle-no-bitmap-icon):
8057 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8058 (vc-default-find-file-hook, vc-default-extra-menu):
8059 Mark ignored arguments.
8060
0ca3f70e
SM
80612013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8064 break-condition in the context of the debugged code (bug#12685).
8065
74c5d24c
CS
80662013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8067
8068 * comint.el:
8069 Do not use an overlay to highlight the last prompt. (Bug#14744)
8070 (comint-mode): Make comint-last-prompt buffer local.
8071 (comint-last-prompt): New variable.
8072 (comint-last-prompt-overlay): Remove. Superseded by
8073 comint-last-prompt.
0ca3f70e
SM
8074 (comint-snapshot-last-prompt, comint-output-filter):
8075 Use comint-last-prompt.
74c5d24c 8076
c03c02ee
JB
80772013-08-08 Juanma Barranquero <lekktu@gmail.com>
8078
a3738d20 8079 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8080 (frameset-save): Check validity of the resulting frameset.
8081
04263d23
XF
80822013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8083
8084 * ido.el (ido-record-command): Add doc string.
8085
76c5e5ab
JB
80862013-08-08 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * frameset.el (frameset): Do not disable creation of the default
8089 frameset-p predicate. Doc fix.
8090 (frameset-valid-p): New function, copied from the old predicate-p.
8091 Add additional checks.
8092 (frameset-restore): Check with frameset-valid-p.
8093 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8094 (frameset-name, frameset-description, frameset-properties)
8095 (frameset-states): Add docstring.
f9dbf1cb
JB
8096 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8097 (frameset-filter-alist): Doc fixes.
76c5e5ab 8098
bd0c3c0b
JB
80992013-08-08 Juanma Barranquero <lekktu@gmail.com>
8100
8101 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8102
c735544c
SM
81032013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8106 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8107 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8108 (byte-compile-normal-call): Remove obsolescence check.
8109
2805a651
JB
81102013-08-08 Juanma Barranquero <lekktu@gmail.com>
8111
3677ffeb
JB
8112 * frameset.el (frameset-restore): Doc fix.
8113
2805a651
JB
8114 * register.el (frameset-frame-id, frameset-frame-with-id)
8115 (frameset-p, frameset-restore, frameset-save): Declare.
8116 (register-alist): Document framesets.
8117 (frameset-session-filter-alist): Declare.
8118 (frameset-to-register): New function.
8119 (jump-to-register): Implement jumping to framesets. Doc fix.
8120 (describe-register-1): Describe framesets.
8121
8122 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8123
a912c016
JB
81242013-08-07 Juanma Barranquero <lekktu@gmail.com>
8125
8126 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8127 Use lexical-binding.
8128
8129 * frameset.el (frameset): Use type vector, not list (incompatible
8130 change). Do not declare a new constructor, use the default one.
8131 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8132 `name' and `description', respectively, and add read-only slot
8133 `timestamp'. Doc fixes.
8134 (frameset-copy, frameset-persistent-filter-alist)
8135 (frameset-filter-alist, frameset-switch-to-gui-p)
8136 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8137 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8138 (frameset-filter-iconified, frameset-keep-original-display-p):
8139 Doc fixes.
8140 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8141 Rename from frameset-filter-(save|restore)-param. All callers changed.
8142 Doc fix.
8143 (frameset-p): Adapt to change to vector and be more thorough.
8144 Change arg name to OBJECT. Doc fix.
8145 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8146 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8147 All callers changed.
8148 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8149 All callers changed.
8150 (frameset--record-minibuffer-relationships): Rename from
8151 frameset--process-minibuffer-frames. All callers changed.
8152 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8153 Use new default constructor (again). Doc fix.
c295fc18 8154 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8155 All callers changed.
8156 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8157 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8158 Doc fix.
8159 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8160 PARAMETERS and WINDOW-STATE, respectively.
8161 (frameset-restore): Add new keyword argument PREDICATE.
8162 Reset frameset--target-display to nil. Doc fix.
8163
bb41480a
SM
81642013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8165
f001e98e
SM
8166 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8167 (bat-mode): Use it.
8168 (bat-mode-syntax-table): Mark \n as end-of-comment.
8169 (bat-font-lock-keywords): Remove comment rule.
8170
7679edb1
SM
8171 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8172 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8173
bb41480a
SM
8174 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8175 (byte-compile-callargs-warn): Use `push'.
8176 (byte-compile-arglist-warn): Ignore higher-order "calls".
8177 (byte-compile-file-form-autoload): Use `pcase'.
8178 (byte-compile-function-form): If quoting a symbol, check that it exists.
8179
cdc1ebb9
EZ
81802013-08-07 Eli Zaretskii <eliz@gnu.org>
8181
8182 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8183 and add a few popular commands found in batch files.
8184 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8185 (dos-mode): Doc fixes.
8186
312b1740
SM
81872013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8190 (dos-mode): Use setq-local. Add space after "rem".
8191 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8192 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8193
400a3178
AM
81942013-08-07 Arni Magnusson <arnima@hafro.is>
8195
8196 * progmodes/dos.el: New file.
8197 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8198 dos-mode.
8199
3b5c03d3
GM
82002013-08-06 Glenn Morris <rgm@gnu.org>
8201
8202 * calendar/calendar.el: Add new faces, and day-header-array.
8203 (calendar-weekday-header, calendar-weekend-header)
8204 (calendar-month-header): New faces.
8205 (calendar-day-header-construct): New function.
8206 (calendar-day-header-width): Also :set calendar-day-header-array.
8207 (calendar-american-month-header, calendar-european-month-header)
8208 (calendar-iso-month-header): Use calendar- faces.
8209 (calendar-generate-month):
8210 Use calendar-day-header-array for day headers; apply faces to them.
8211 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8212 (calendar-abbrev-construct): Add optional maxlen argument.
8213 (calendar-day-name-array): Doc fix.
8214 (calendar-day-name-array, calendar-abbrev-length)
8215 (calendar-day-abbrev-array):
8216 Also :set calendar-day-header-array, and maybe redraw.
8217 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8218 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8219 (calendar-day-name): Add option to use header array.
8220
ec6a2d7a
LMI
82212013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8222
8223 * net/shr.el (shr-render-td): Remove debugging.
8224 (shr-render-td): Make width computation consistent by defaulting
8225 all zero-width columns to 10 characters. This may not be optimal,
8226 but it's at least consistent.
2122cb6d
LMI
8227 (shr-make-table-1): Redo last change to fix the real problem in
8228 colspan handling.
ec6a2d7a 8229
ed4fd9c5
DA
82302013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8231
0ca3f70e
SM
8232 * files.el (cache-long-line-scans):
8233 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8234
64e22afe
JB
82352013-08-06 Juanma Barranquero <lekktu@gmail.com>
8236
024b38fc
JB
8237 * frameset.el (frameset, frameset-filter-alist)
8238 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8239 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8240 (frameset-compute-pos): Rename from frameset--compute-pos,
8241 and add docstring.
8242 (frameset-move-onscreen): Use frameset-compute-pos.
8243 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8244
64e22afe
JB
8245 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8246 Fix typos in docstrings.
8247
c8c2aca8
DA
82482013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8249
8250 * frame.el (get-other-frame): Tiny cleanup.
8251
1d237bba
JB
82522013-08-06 Juanma Barranquero <lekktu@gmail.com>
8253
8951efef
JB
8254 * vc/vc.el (vc-default-ignore-completion-table):
8255 Silence byte-compiler warning.
8256
307764cc 8257 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8258 slot, which can indeed be nil.
307764cc
JB
8259 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8260 Move entry for `left' from persistent to live filter alist.
8261 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8262 Doc fixes.
8263 (frameset-filter-params): When restoring a frame, copy items added to
8264 `filtered', to avoid unwittingly modifying the original parameters.
8265 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8266 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8267
1d237bba
JB
8268 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8269 to use looking-at-p instead of looking-at. (Bug#15028)
8270
dc6c0eda
SM
82712013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 Revert introduction of isearch-filter-predicates (bug#14714).
8274 Rely on add-function instead.
8275 * isearch.el (isearch-filter-predicates): Rename it back to
8276 isearch-filter-predicate.
8277 (isearch-message-prefix): Use advice-function-mapc and advice
8278 properties to get the isearch-message-prefix.
8279 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8280 instead of run-hook-with-args-until-failure.
8281 (isearch-filter-visible): Not obsolete any more.
8282 * loadup.el: Preload nadvice.
8283 * replace.el (perform-replace): Revert to funcall
8284 instead of run-hook-with-args-until-failure.
8285 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8286 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8287 dired-isearch-filenames-toggle; make it into a proper minor mode.
8288 Use add/remove-function.
8289 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8290 Call the minor-mode rather than add/remove-hook.
8291 (dired-isearch-filter-filenames):
8292 Remove isearch-message-prefix property.
8293 * info.el (Info--search-loop): New function, extracted from Info-search.
8294 Funcall isearch-filter-predicate instead of
8295 run-hook-with-args-until-failure isearch-filter-predicates.
8296 (Info-search): Use it.
8297 (Info-mode): Use isearch-filter-predicate instead of
8298 isearch-filter-predicates.
8299
290d5b58
DA
83002013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8301
8302 Do not call to `selected-window' where it is assumed by default.
8303 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8304 `window-hscroll', `window-width', `window-height', `window-buffer',
8305 `window-frame', `window-start', `window-point', `next-window'
8306 and `window-display-table'.
8307 * abbrev.el (abbrev--default-expand):
8308 * bs.el (bs--show-with-configuration):
8309 * buff-menu.el (Buffer-menu-mouse-select):
8310 * calc/calc.el (calc):
8311 * calendar/calendar.el (calendar-generate-window):
8312 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8313 (diary-make-entry):
8314 * comint.el (send-invisible, comint-dynamic-complete-filename)
8315 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8316 * completion.el (complete):
8317 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8318 * disp-table.el (describe-current-display-table):
8319 * doc-view.el (doc-view-insert-image):
8320 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8321 * ehelp.el (with-electric-help):
8322 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8323 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8324 * emacs-lisp/helper.el (Helper-help-scroller):
8325 * emulation/cua-base.el (cua--post-command-handler-1):
8326 * eshell/esh-mode.el (eshell-output-filter):
8327 * ffap.el (ffap-gnus-wrapper):
8328 * help-macro.el (make-help-screen):
8329 * hilit-chg.el (highlight-compare-buffers):
8330 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8331 * hl-line.el (global-hl-line-highlight):
8332 * icomplete.el (icomplete-simple-completing-p):
8333 * isearch.el (isearch-done):
8334 * jit-lock.el (jit-lock-stealth-fontify):
8335 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8336 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8337 * mpc.el (mpc-tagbrowser, mpc):
8338 * net/rcirc.el (rcirc-any-buffer):
8339 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8340 * play/landmark.el (landmark-max-width, landmark-max-height):
8341 * play/zone.el (zone):
8342 * progmodes/compile.el (compilation-goto-locus):
8343 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8344 * progmodes/etags.el (find-tag-other-window):
8345 * progmodes/fortran.el (fortran-column-ruler):
8346 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8347 * progmodes/verilog-mode.el (verilog-point-text):
8348 * reposition.el (reposition-window):
8349 * rot13.el (toggle-rot13-mode):
8350 * server.el (server-switch-buffer):
8351 * shell.el (shell-dynamic-complete-command)
8352 (shell-dynamic-complete-environment-variable):
8353 * simple.el (insert-buffer, set-selective-display)
8354 (delete-completion-window):
8355 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8356 (speedbar-recenter):
8357 * startup.el (fancy-splash-head):
8358 * textmodes/ispell.el (ispell-command-loop):
8359 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8360 * tutorial.el (help-with-tutorial):
8361 * vc/add-log.el (add-change-log-entry):
8362 * vc/compare-w.el (compare-windows):
8363 * vc/ediff-help.el (ediff-indent-help-message):
8364 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8365 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8366 (ediff-setup-control-frame):
8367 * vc/emerge.el (emerge-position-region):
8368 * vc/pcvs-util.el (cvs-bury-buffer):
8369 * window.el (walk-windows, mouse-autoselect-window-select):
8370 * winner.el (winner-set-conf, winner-undo): Related users changed.
8371
38276e01
JB
83722013-08-05 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * frameset.el (frameset--set-id): Doc fix.
8375 (frameset-frame-id, frameset-frame-id-equal-p)
8376 (frameset-locate-frame-id): New functions.
8377 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8378 (frameset-restore): Use them.
8379
12b4c0ea
DA
83802013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8381
8382 Do not call to `selected-frame' where it is assumed by default.
8383 Affected functions are `raise-frame', `redraw-frame',
8384 `frame-first-window', `frame-terminal' and `delete-frame'.
8385 * calendar/appt.el (appt-disp-window):
8386 * epg.el (epg-wait-for-completion):
8387 * follow.el (follow-delete-other-windows-and-split)
8388 (follow-avoid-tail-recenter):
8389 * international/mule.el (set-terminal-coding-system):
8390 * mail/rmail.el (rmail-mail-return):
8391 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8392 * progmodes/f90.el (f90-add-imenu-menu):
8393 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8394 * server.el (server-switch-buffer):
8395 * simple.el (delete-completion-window):
8396 * talk.el (talk):
8397 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8398 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8399 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8400 * vc/ediff.el (ediff-documentation): Related users changed.
8401 * frame.el (selected-terminal): Remove the leftover.
8402
17f25e76
GM
84032013-08-05 Glenn Morris <rgm@gnu.org>
8404
8405 * calendar/calendar.el (calendar-generate-month):
8406 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8407 (calendar-generate-month, calendar-font-lock-keywords):
8408 Fix for calendar-day-header-width > length of any day name.
17f25e76 8409
063233c3
JB
84102013-08-05 Juanma Barranquero <lekktu@gmail.com>
8411
8412 * desktop.el (desktop-clear): Use new name of sort predicate.
8413
8414 * frameset.el (frameset): Add docstring. Move :version property to its
8415 own `version' slot.
8416 (frameset-copy): Rename from copy-frameset.
8417 (frameset-p): Check more thoroughly.
8418 (frameset-prop): Do not check for :version, which is no longer a prop.
8419 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8420 Use new :never value instead of t.
8421 (frameset-filter-alist): Expand and clarify docstring.
8422 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8423 (frameset-filter-minibuffer, frameset-filter-save-param)
8424 (frameset-filter-restore-param, frameset-filter-iconified):
8425 Add pointer to docstring of frameset-filter-alist.
8426 (frameset-filter-params): Rename filter values to be more meaningful:
8427 :never instead of t, and reverse the meanings of :save and :restore.
8428 (frameset--process-minibuffer-frames): Clarify error message.
8429 (frameset-save): Avoid unnecessary and confusing call to framep.
8430 Use new BOA constructor for framesets.
8431 (frameset--reuse-list): Doc fix.
8432 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8433 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8434 (frameset-minibufferless-first-p): Doc fix.
8435 Rename from frameset-sort-frames-for-deletion.
8436 (frameset-restore): Doc fixes. Use new function names.
8437 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8438
d5671a82
JB
84392013-08-04 Juanma Barranquero <lekktu@gmail.com>
8440
8441 * desktop.el (desktop-restore-forces-onscreen)
8442 (desktop-restore-reuses-frames): Document :keyword constant values.
8443 (desktop-filter-parameters-alist): Remove, now identical to
8444 frameset-filter-alist.
8445 (desktop--filter-tty*): Remove, moved to frameset.el.
8446 (desktop-save-frameset, desktop-restore-frameset):
8447 Do not pass :filters argument.
8448
8449 * frameset.el (frameset-live-filter-alist)
8450 (frameset-persistent-filter-alist): New variables.
8451 (frameset-filter-alist): Use them. Add autoload cookie.
8452 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8453 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8454 `frameset--id' (it's supposed to be internal to frameset.el).
8455 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8456 (frameset--initial-params): New function.
8457 (frameset--get-frame): Use it. Doc fix.
8458 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8459 Accept :all, not 'all.
8460 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8461 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8462 with fbound symbols. Fix frame id matching, and remove matching ids if
8463 the frame being restored is deleted. Obey :delete.
8464
671d5c16
SM
84652013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * subr.el (macrop): New function.
8468 (text-clone--maintaining): New var.
8469 (text-clone--maintain): Rename from text-clone-maintain. Use it
8470 instead of inhibit-modification-hooks.
8471
8472 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8473 a proxy, so as handle autoloads and redefinitions of the target.
8474 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8475
8476 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8477 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8478 (pcase--mutually-exclusive-p): New function.
8479 (pcase--split-consp): Use it.
8480 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8481 mutually exclusive with the current predicate.
8482
8483 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8484 (edebug-macrop): Remove. Use `macrop' instead.
8485 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8486 (ad-macro-p):
8487 * eshell/esh-cmd.el (eshell-macrop):
8488 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8489
1d44e9dc
SM
84902013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8493 (advice-mapc): New function, using it.
8494 (advice-function-member-p): New function.
8495 (advice--normalize): Store the cdr in advice--saved-rewrite since
8496 that's the part that will be changed.
8497 (advice--symbol-function): New function.
8498 (advice-remove): Handle removal before the function is defined.
8499 Adjust to new advice--saved-rewrite.
8500 (advice-member-p): Use advice-function-member-p and
8501 advice--symbol-function.
8502
5414a283
JB
85032013-08-04 Juanma Barranquero <lekktu@gmail.com>
8504
51d30f2c
JB
8505 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8506 (frameset-filter-minibuffer): Doc fix.
8507 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8508 (frameset--set-id, frameset--process-minibuffer-frames)
8509 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8510 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8511
5414a283
JB
8512 * desktop.el (desktop-clear): Only delete frames when called
8513 interactively and desktop-restore-frames is non-nil. Doc fix.
8514 (desktop-read): Set desktop-saved-frameset to nil.
8515
ab419665
XF
85162013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8517
8518 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8519 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8520 (vc--add-line, vc--remove-regexp): New functions.
8521
8522 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8523 (vc-svn-ignore-completion-table): New function.
8524
8525 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8526 (vc-hg-ignore-completion-table)
ab419665
XF
8527 (vc-hg-find-ignore-file): New functions.
8528
8529 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8530 (vc-git-ignore-completion-table)
ab419665
XF
8531 (vc-git-find-ignore-file): New functions.
8532
8533 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8534
8535 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8536 (vc-bzr-ignore-completion-table)
ab419665
XF
8537 (vc-bzr-find-ignore-file): New functions.
8538
2613dea2
JB
85392013-08-03 Juanma Barranquero <lekktu@gmail.com>
8540
8541 * frameset.el (frameset-prop): New function and setter.
8542 (frameset-save): Do not modify frame list passed by the caller.
8543
9c959872
SM
85442013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8547
a104f656
SM
85482013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8549
70122acf
SM
8550 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8551 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8552
a104f656
SM
8553 * custom.el (custom-initialize-default, custom-initialize-set)
8554 (custom-initialize-reset, custom-initialize-changed): Affect the
8555 toplevel-default-value (bug#6275, bug#14586).
8556 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8557 for bug#6275.
8558
f078d570
JB
85592013-08-02 Juanma Barranquero <lekktu@gmail.com>
8560
185e3b5a
JB
8561 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8562 Add cl-def* expressions.
8563
f078d570
JB
8564 * frameset.el (frameset-filter-params): Fix order of arguments.
8565
9421876d
JB
85662013-08-02 Juanma Barranquero <lekktu@gmail.com>
8567
8568 Move code related to saving frames to frameset.el.
8569 * desktop.el: Require frameset.
8570 (desktop-restore-frames): Doc fix.
8571 (desktop-restore-reuses-frames): Rename from
8572 desktop-restoring-reuses-frames.
8573 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8574 (desktop-clear): Clear frames too.
8575 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8576 (desktop--filter-tty*, desktop-save, desktop-read):
8577 Use frameset functions.
8578 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8579 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8580 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8581 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8582 (desktop--process-minibuffer-frames, desktop-save-frames)
8583 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8584 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8585 (desktop--sort-states, desktop-restoring-frames-p)
8586 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8587 (desktop-restoring-frameset-p, desktop-restore-frameset)
8588 (desktop--check-dont-save, desktop-save-frameset): New functions.
8589 (desktop--app-id): New constant.
8590 (desktop-first-buffer, desktop-buffer-ok-count)
8591 (desktop-buffer-fail-count): Move before first use.
8592 * frameset.el: New file.
8593
76dc5996
SM
85942013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * files.el: Use lexical-binding.
8597 (dir-locals-read-from-file): Remove unused `err' variable.
8598 (hack-dir-local-variables--warned-coding): New var.
8599 (hack-dir-local-variables): Use it to avoid repeated warnings.
8600 (make-backup-file-name--default-function): New function.
8601 (make-backup-file-name-function): Use it as default.
8602 (buffer-stale--default-function): New function.
8603 (buffer-stale-function): Use it as default.
8604 (revert-buffer-insert-file-contents--default-function): New function.
8605 (revert-buffer-insert-file-contents-function): Use it as default.
8606 (insert-directory): Avoid add-to-list.
8607
8608 * autorevert.el (auto-revert-handler): Simplify.
8609 Use buffer-stale--default-function.
8610
06d36e2b
TH
86112013-08-01 Tassilo Horn <tsdh@gnu.org>
8612
5f648ab4
TH
8613 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8614
06d36e2b
TH
8615 * whitespace.el (whitespace-ensure-local-variables): New function.
8616 (whitespace-cleanup-region): Call it.
8617 (whitespace-turn-on): Call it.
8618
a43dc424
MA
86192013-08-01 Michael Albinus <michael.albinus@gmx.de>
8620
8621 Complete file name handlers.
8622
8623 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8624 (tramp-handle-verify-visited-file-modtime)
8625 (tramp-handle-file-notify-rm-watch): New functions.
8626 (tramp-call-process): Do not bind `default-directory'.
8627
44e18199
JB
8628 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8629 Order alphabetically.
afe1e4c8
GM
8630 <access-file, add-name-to-file, dired-call-process>:
8631 <dired-compress-file, file-acl, file-notify-rm-watch>:
8632 <file-ownership-preserved-p, file-selinux-context>:
8633 <make-directory-internal, make-symbolic-link, set-file-acl>:
8634 <set-file-selinux-context, set-visited-file-modtime>:
8635 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8636 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8637
8638 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8639 <file-notify-add-watch, file-notify-rm-watch>:
8640 <set-file-times, set-visited-file-modtime>:
8641 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8642 (with-tramp-gvfs-error-message)
8643 (tramp-gvfs-handle-set-visited-file-modtime)
8644 (tramp-gvfs-fuse-file-name): Remove.
8645 (tramp-gvfs-handle-file-notify-add-watch)
8646 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8647 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8648
44e18199
JB
8649 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8650 Order alphabetically.
afe1e4c8
GM
8651 <file-notify-rm-watch>: Use default Tramp handler.
8652 <executable-find>: Remove private handler.
a43dc424
MA
8653 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8654 `default-directory'.
8655 (tramp-sh-handle-executable-find)
8656 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8657 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8658 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8659 Do not use `format' in `tramp-message'.
8660
8661 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8662 <file-notify-rm-watch, set-visited-file-modtime>:
8663 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8664 (tramp-smb-call-winexe): Do not bind `default-directory'.
8665
7188b515
XF
86662013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8667
8668 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8669
2412ee1a
DG
86702013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8671
8672 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8673 use it.
8674 (log-view-diff-changeset): Same.
8675 (log-view-diff-common): Call backend command `previous-revision'
8676 to find out the previous revision, in both cases. Swap the
8677 variables `to' and `fr', so that `fr' usually refers to the
8678 earlier revision (Bug#14989).
8679
5002a754
KRC
86802013-07-31 Kan-Ru Chen <kanru@kanru.info>
8681
8682 * ibuf-ext.el (ibuffer-filter-by-filename):
8683 Make it work with dired buffers too.
8684
44e18199 86852013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8686
8687 * emacs-lisp/re-builder.el (reb-color-display-p):
8688 * files.el (save-buffers-kill-terminal):
8689 * net/browse-url.el (browse-url):
8690 * server.el (server-save-buffers-kill-terminal):
8691 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8692 Prefer nil to selected-frame for the first arg of frame-parameter.
8693
aeca3fbb
XF
86942013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8695
8696 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8697
158bc55c
SB
86982013-07-30 Stephen Berman <stephen.berman@gmx.net>
8699
8700 * minibuffer.el (completion--twq-all): Try and preserve each
8701 completion's case choice (bug#14907).
8702
d50fceab
LMI
87032013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8704
ac38e731
LMI
8705 * net/network-stream.el (open-network-stream): Mention the new
8706 :nogreeting parameter.
8707 (network-stream-open-starttls): Use the :nogreeting parameter
8708 (bug#14938).
8709
1211de50
LMI
8710 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8711
997798bf
LMI
8712 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8713 more natural than popping.
8714
d50fceab 8715 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8716 (shr-urlify): Highlight under mouse.
d50fceab 8717
5c09de04
XF
87182013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8719
207d1d04
XF
8720 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8721
8722 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8723
5c09de04
XF
8724 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8725 buffer for output.
8726
3cd51eaa
XF
8727 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8728 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8729
44e18199 8730 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8731 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8732
8733 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8734
8735 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8736 buffer for output.
8737
35a89bdd
EZ
87382013-07-29 Eli Zaretskii <eliz@gnu.org>
8739
8740 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8741 initial frame is minibuffer-less. (Bug#14841)
8742
78822e94
MA
87432013-07-29 Michael Albinus <michael.albinus@gmx.de>
8744
8745 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8746 option.
8747
8748 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8749 (tramp-maybe-open-connection): Use it.
8750
9503c190
JB
87512013-07-28 Juanma Barranquero <lekktu@gmail.com>
8752
8753 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8754 minimal set of parameters passed when creating a frame, because
8755 the minibuffer status of a frame cannot be changed later.
8756
d5a845b4
SB
87572013-07-28 Stephen Berman <stephen.berman@gmx.net>
8758
8759 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8760 replace-regexp-in-string and inadvertent omissions in previous change.
8761 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8762 name of filtered items buffer.
d5a845b4 8763
ddeffb17
JB
87642013-07-28 Juanma Barranquero <lekktu@gmail.com>
8765
8766 * desktop.el: Optionally force offscreen frames back onscreen.
8767 (desktop-restoring-reuses-frames): New option.
8768 (desktop--compute-pos, desktop--move-onscreen): New functions.
8769 (desktop--make-frame): Use desktop--move-onscreen.
8770
f5950f7a
AM
87712013-07-27 Alan Mackenzie <acm@muc.de>
8772
8773 Fontify a Java generic method as a function.
8774 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8775 value to t.
8776
ae43b66a
SB
87772013-07-27 Stephen Berman <stephen.berman@gmx.net>
8778
8779 * calendar/todo-mode.el: Add command to rename todo files.
8780 (todo-rename-file): New command.
8781 (todo-key-bindings-t): Add key binding for it. Change the
8782 bindings of todo-filter-regexp-items(-multifile) to use `x'
8783 instead of `r', since the latter is better suited to the new
8784 renaming command.
8785
5ab78d3d
AM
87862013-07-27 Alan Mackenzie <acm@muc.de>
8787
8788 Make Java try-with-resources statement parse properly.
8789 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8790 (c-block-stmt-1-2-key): New language constants/variables.
8791 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8792 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8793 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8794 with c-block-stmt-1-2-key.
5ab78d3d 8795
d85c4d50
JB
87962013-07-27 Juanma Barranquero <lekktu@gmail.com>
8797
8798 * desktop.el (desktop--make-frame): Apply most frame parameters after
8799 creating the frame to force (partially or totally) offscreen frames to
8800 be restored as such.
8801
e4c467f9
XF
88022013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8803
8804 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8805 (Bug#14948)
e4c467f9 8806
7ced0d04
SM
88072013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8810 `base' arg of backtrace-frame.
8811
fec92060
EZ
88122013-07-26 Eli Zaretskii <eliz@gnu.org>
8813
8814 * simple.el (list-processes): Doc fix.
8815
d58d31fb
JB
88162013-07-26 Juanma Barranquero <lekktu@gmail.com>
8817
8818 * desktop.el (desktop--select-frame):
d85c4d50 8819 Try harder to reuse existing frames.
d58d31fb 8820
53ff3e77
SM
88212013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8824 (edebug-eval): Use backtrace-eval.
8825 (edebug--display, edebug--recursive-edit): Don't let-bind the
8826 edebug-outer-* vars that keep track of variables we locally let-bind.
8827 (edebug-outside-excursion): Don't restore outside values of locally
8828 let-bound vars.
8829 (edebug--display): Use user-error.
8830 (cl-lexical-debug, cl-debug-env): Remove.
8831
045f7a53
JB
88322013-07-26 Juanma Barranquero <lekktu@gmail.com>
8833
8834 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8835 are restored to be sure that they are visible before deleting any
8836 remaining ones.
8837
59070b32
MM
88382013-07-26 Matthias Meulien <orontee@gmail.com>
8839
742a3501
XF
8840 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8841 vc-print-root-log. (Bug#14948)
59070b32 8842
b1fb3596
RS
88432013-07-26 Richard Stallman <rms@gnu.org>
8844
8845 Add aliases for encrypting mail.
8846 * epa.el (epa-mail-aliases): New option.
8847 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8848 Bind inhibit-read-only so read-only text doesn't ruin everything.
8849 (epa-mail-default-recipients): New subroutine broken out.
8850 Handle epa-mail-aliases.
8851
56ea7291
SM
88522013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 Add support for lexical variables to the debugger's `e' command.
8855 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8856 vars, except for debugger-outer-match-data.
8857 (debugger-frame-number): Move check for "on a function call" from
8858 callers into it. Add `skip-base' argument.
8859 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8860 (debugger-env-macro): Only reset the state stored in non-variables,
8861 i.e. current-buffer and match-data.
8862 (debugger-eval-expression): Rewrite using backtrace-eval.
8863 * subr.el (internal--called-interactively-p--get-frame): Remove.
8864 (called-interactively-p):
8865 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8866 `base' arg of backtrace-frame instead.
8867
15ac32d5
GM
88682013-07-26 Glenn Morris <rgm@gnu.org>
8869
8358a09d
GM
8870 * align.el (align-regexp): Doc fix. (Bug#14857)
8871 (align-region): Explicit error if subexpression missing/does not match.
8872
15ac32d5
GM
8873 * simple.el (global-visual-line-mode):
8874 Do not duplicate the mode lighter. (Bug#14858)
8875
f47ad11b
MR
88762013-07-25 Martin Rudalics <rudalics@gmx.at>
8877
8878 * window.el (display-buffer): In display-buffer bind
8879 split-window-keep-point to t, bug#14829.
8880
02530987
JB
88812013-07-25 Juanma Barranquero <lekktu@gmail.com>
8882
8883 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8884 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8885 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8886 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8887 Change accordingly.
f63ebeb5
JB
8888 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8889 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8890
6ccb9cab 88912013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8892
6ccb9cab 8893 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8894
cb3a56d2
JB
88952013-07-25 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8898 parameter to modify-frame-parameters if the value has not changed;
8899 this is a workaround for bug#14949.
8900 (desktop--make-frame): On cl-delete-if call, check parameter name,
8901 not full parameter.
8902
7aa7fff0
XF
89032013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8904
8905 * vc/vc.el (vc-ignore): New function.
8906
8907 * vc/vc-svn.el (vc-svn-ignore): New function.
8908
8909 * vc/vc-hg.el (vc-hg-ignore): New function.
8910
8911 * vc/vc-git.el (vc-git-ignore): New function.
8912
8913 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8914 (vc-dir-ignore): New function.
8915
8916 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8917 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8918
8919 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8920
8921 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8922
889acc5c
JB
89232013-07-24 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8926 (desktop-restore-frames): Warn when deleting an existing frame failed.
8927
86c40970
GM
89282013-07-24 Glenn Morris <rgm@gnu.org>
8929
8930 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8931
d5d3c58a
MA
89322013-07-24 Michael Albinus <michael.albinus@gmx.de>
8933
8934 * filenotify.el (file-notify-supported-p):
8935 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8936 Remove functions.
8937
35e951cd 8938 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8939 (auto-revert-notify-add-watch):
8940 * net/tramp.el (tramp-file-name-for-operation):
8941 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8942 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8943 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8944 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8945 Remove `file-notify-supported-p' entry.
8946
d100084b
GM
89472013-07-24 Glenn Morris <rgm@gnu.org>
8948
8949 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8950 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8951
ac93e56b
SM
89522013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8953
249eea30
SM
8954 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8955 checked with memq (bug#14935).
8956
ac93e56b
SM
8957 * files.el (revert-buffer-function): Use a non-nil default.
8958 (revert-buffer-preserve-modes): Declare var to
8959 provide access to the `preserve-modes' argument.
8960 (revert-buffer): Let-bind it.
8961 (revert-buffer--default): New function, extracted from revert-buffer.
8962
2cdeb903
SM
89632013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * lpr.el: Signal print errors more prominently.
8966 (print-region-function): Don't default to nil.
8967 (lpr-print-region): New function, extracted from print-region-1.
8968 Check lpr's return value and signal an error in case of problem.
8969 (print-region-1): Use it.
8970 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8971 versions instead.
8972 (ps-printer-name): Default to nil.
8973 (ps-printer-name-option): Default to lpr-printer-switch.
8974 (ps-print-region-function): Don't default to nil.
8975 (ps-postscript-code-directory): Simplify default.
8976 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8977 (ps-string-list, ps-eval-switch, ps-flatten-list)
8978 (ps-flatten-list-1): Remove.
8979 (ps-multibyte-buffer): Avoid setq.
8980 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8981 (print-region-function, ps-print-region-function): Don't set them here.
8982
73600831
XF
89832013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8984
35e951cd
JB
8985 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8986 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8987 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8988 (ido-decorations): Doc fix.
8989
73600831
XF
8990 * ansi-color.el: Fix old URL.
8991
3d012865
MM
89922013-07-23 Michael R. Mauger <michael@mauger.com>
8993
e903c210 8994 * progmodes/sql.el: Version 3.3
3d012865
MM
8995 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8996 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8997 (sql-interactive-remove-continuation-prompt): Rewrite, use
8998 functions above. Fix continuation prompt and complete output line
8999 handling.
9000 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9001 redirected output buffer.
9002 (sql-mode): Restore deleted code (Bug#13591).
9003
da77a2e2
JB
90042013-07-23 Juanma Barranquero <lekktu@gmail.com>
9005
9006 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9007
80ff0c71
MA
90082013-07-23 Michael Albinus <michael.albinus@gmx.de>
9009
9010 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9011
9012 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9014 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9015
b61d71e4
JB
90162013-07-23 Juanma Barranquero <lekktu@gmail.com>
9017
9018 * desktop.el (desktop-clear): Simplify; remove useless checks
9019 against invalid buffer names.
9020 (desktop-list*): Use cl-list*.
9021 (desktop-buffer-info, desktop-create-buffer): Simplify.
9022
c3512092
LL
90232013-07-23 Leo Liu <sdl.web@gmail.com>
9024
9025 * bookmark.el (bookmark-make-record): Restore NAME as a default
9026 value. (Bug#14933)
9027
0ac26976
SM
90282013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9029
7d22ce18
SM
9030 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9031 extracted from autoload--insert-text.
9032 (autoload--insert-text): Remove.
9033 (autoload--print-cookie-text): New function, extracted from
9034 autoload--insert-cookie-text.
9035 (autoload--insert-cookie-text): Remove.
9036 (autoload-generate-file-autoloads): Adjust calls accordingly.
9037
9b2607e8
SM
9038 * winner.el (winner-hook-installed-p): Remove.
9039 (winner-mode): Simplify accordingly.
9040
c43a8618
SM
9041 * subr.el (add-to-list): Fix compiler-macro when `append' is
9042 not constant. Don't use `cl-member' for the base case.
9043
0ac26976
SM
9044 * progmodes/subword.el: Fix boundary case (bug#13758).
9045 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9046 own group.
9047 (subword-backward-regexp): Make it a constant.
9048 (subword-forward-internal): Don't treat a trailing capital as the
9049 beginning of a word.
9050
6874724a
AR
90512013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9052
9053 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9054 global value of tabulated-list-revert-hook (bug#14930).
9055
70f1b5e8
JB
90562013-07-22 Juanma Barranquero <lekktu@gmail.com>
9057
a1c80d9d
JB
9058 * desktop.el: Require 'cl-lib.
9059 (desktop-before-saving-frames-functions): New hook.
9060 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9061 for frames being saved. Rename from desktop--save-minibuffer-frames.
9062 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9063 Do not save frames with non-nil `desktop-dont-save' parameter.
9064 Filter out deleted frames.
a1c80d9d
JB
9065 (desktop--find-frame): Use cl-find-if.
9066 (desktop--select-frame): Use cl-(first|second|third) to access values
9067 of desktop-mini.
9068 (desktop--make-frame): Use cl-delete-if.
9069 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9070 (desktop-restore-frames): Use cl-(first|second|third) to access values
9071 of desktop-mini. Look for visible frame at the end, not while
9072 restoring frames.
9073
70f1b5e8
JB
9074 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9075 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9076 Use string-match-p, looking-at-p (bug#14927).
9077
728dc3cc
JB
90782013-07-21 Juanma Barranquero <lekktu@gmail.com>
9079
56bc453c
JB
9080 * desktop.el (desktop-saved-frame-states):
9081 Rename from desktop--saved-states; all users changed.
9082 (desktop-save-frames): Rename from desktop--save-frames.
9083 Do not save state to desktop file.
9084 (desktop-save): Save desktop-saved-frame-states to desktop file
9085 and reset to nil.
9086 (desktop-restoring-frames-p): New function.
9087 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9088 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9089 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9090
728dc3cc
JB
9091 * desktop.el: Correctly restore iconified frames.
9092 (desktop--filter-iconified-position): New function.
9093 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9094
862f1c9c
GM
90952013-07-20 Glenn Morris <rgm@gnu.org>
9096
c4074c9f
GM
9097 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9098 Let `message' do the formatting.
9099 (def-gdb-preempt-display-buffer): Add explicit format.
9100
d828e5f9
GM
9101 * image-dired.el (image-dired-track-original-file):
9102 Use with-current-buffer.
9103 (image-dired-track-thumbnail): Use with-current-buffer.
9104 Avoid changing point of wrong window.
9105
862f1c9c
GM
9106 * image-dired.el (image-dired-track-original-file):
9107 Avoid changing point of wrong window. (Bug#14909)
9108
f0398ec1 91092013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9110
9111 * progmodes/gdb-mi.el (gdb-done-or-error):
9112 Guard against "%" in gdb output. (Bug#14127)
9113
1451928f
AS
91142013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9115
763a086d
JB
9116 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9117 (Bug#14826)
f7a03897 9118
1451928f
AS
9119 * international/mule.el (coding-system-iso-2022-flags): Fix last
9120 change.
9121
99107004
KH
91222013-07-20 Kenichi Handa <handa@gnu.org>
9123
763a086d
JB
9124 * international/mule.el (coding-system-iso-2022-flags):
9125 Add `8-bit-level-4'. (Bug#8522)
99107004 9126
48494e06
LMI
91272013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9128
8ba8eec5
LMI
9129 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9130 (bug#14815).
9131
dfbc66e3
LMI
9132 * net/eww.el (eww-process-text-input): Allow inputting when the
9133 point is at the start of the line, as the properties aren't
9134 front-sticky.
9135
48494e06
LMI
9136 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9137 degenerate widths.
9138
77c92cb9
RS
91392013-07-19 Richard Stallman <rms@gnu.org>
9140
aec7da77
RS
9141 * epa.el (epa-popup-info-window): Doc fix.
9142
77c92cb9
RS
9143 * subr.el (split-string): New arg TRIM.
9144
945c5bb1
JB
91452013-07-18 Juanma Barranquero <lekktu@gmail.com>
9146
9147 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9148 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9149
e06ec67f
MA
91502013-07-18 Michael Albinus <michael.albinus@gmx.de>
9151
c7064f05 9152 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9153 `file-notify-support'. Do not autoload. Adapt all uses.
9154 (file-notify-supported-p): New defun.
9155
c7064f05
JB
9156 * autorevert.el (auto-revert-use-notify):
9157 Use `file-notify-supported-p' instead of `file-notify-support'.
9158 Adapt docstring.
e06ec67f
MA
9159 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9160
9161 * net/tramp.el (tramp-file-name-for-operation):
9162 Add `file-notify-supported-p'.
9163
9164 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9165 New defun.
9166 (tramp-sh-file-name-handler-alist): Add it as handler for
9167 `file-notify-supported-p '.
9168
9169 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9170 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9171 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9172 Add `ignore' as handler for `file-notify-*' functions.
9173
5dc8a629
EZ
91742013-07-17 Eli Zaretskii <eliz@gnu.org>
9175
9176 * simple.el (line-move-partial, line-move): Don't start vscroll or
9177 scroll-up if the current line is not taller than the window.
9178 (Bug#14881)
9179
77aea2fb
DG
91802013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9181
9182 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9183 highlight question marks in the method names as strings.
ac72c08d
DG
9184 (ruby-block-beg-keywords): Inline.
9185 (ruby-font-lock-keyword-beg-re): Extract from
9186 `ruby-font-lock-keywords'.
77aea2fb 9187
18c26d81
JD
91882013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9189
9190 * frame.el (blink-cursor-blinks): New defcustom.
9191 (blink-cursor-blinks-done): New defvar.
9192 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9193 (blink-cursor-timer-function): Check if number of blinks has been
9194 done on X and NS.
9195 (blink-cursor-suspend, blink-cursor-check): New defuns.
9196
da48522e
GM
91972013-07-15 Glenn Morris <rgm@gnu.org>
9198
9199 * edmacro.el (edmacro-format-keys): Fix previous change.
9200
0463c1ef
PE
92012013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9202
9203 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9204 The hack didn't work outside English locales anyway.
9205
b43f6451
JB
92062013-07-15 Juanma Barranquero <lekktu@gmail.com>
9207
9208 * simple.el (define-alternatives): Rename from alternatives-define,
9209 per RMS' suggestion.
9210
b958c0ad
JB
92112013-07-14 Juanma Barranquero <lekktu@gmail.com>
9212
9213 * desktop.el (desktop-restore-frames): Change default to t.
9214 (desktop-restore-in-current-display): Now offer more options.
9215 (desktop-restoring-reuses-frames): New customization option.
9216 (desktop--saved-states): Doc fix.
9217 (desktop-filter-parameters-alist): New variable, renamed and expanded
9218 from desktop--excluded-frame-parameters.
9219 (desktop--target-display): New variable.
9220 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9221 (desktop--filter-tty*, desktop--filter-*-color)
9222 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9223 (desktop--filter-save-desktop-parm)
9224 (desktop-restore-in-original-display-p): New functions.
9225 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9226 (desktop--save-minibuffer-frames): New function, inspired by a similar
9227 function from Martin Rudalics.
9228 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9229 (desktop--restore-in-this-display-p): Remove.
9230 (desktop--find-frame): Rename from desktop--find-frame-in-display
9231 and add predicate argument.
9232 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9233 (desktop--reuse-list): New variable.
9234 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9235 New functions.
9236 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9237
f6dd8b36
MA
92382013-07-14 Michael Albinus <michael.albinus@gmx.de>
9239
9240 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9241
2ce3c565
DG
92422013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9243
763a086d
JB
9244 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9245 Highlight conversion methods on Kernel.
2ce3c565 9246
2cdb7698
AM
92472013-07-13 Alan Mackenzie <acm@muc.de>
9248
9249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9250 and comment it out. This out-commenting enables certain C++
9251 declarations to be parsed correctly.
9252
1a67b811
EZ
92532013-07-13 Eli Zaretskii <eliz@gnu.org>
9254
1b796d6b
EZ
9255 * international/mule.el (define-coding-system): Doc fix.
9256
1a67b811
EZ
9257 * simple.el (default-font-height): Don't call font-info if the
9258 frame's default font didn't change since the frame was created.
9259 (Bug#14838)
9260
58fbe886
LL
92612013-07-13 Leo Liu <sdl.web@gmail.com>
9262
9263 * ido.el (ido-read-file-name): Guard against non-symbol value.
9264
1f0480d4
FEG
92652013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9266
9267 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9268 in nested defuns.
9269
97ead0e5
LL
92702013-07-13 Leo Liu <sdl.web@gmail.com>
9271
9272 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9273 ido-set-matches call. (Bug#6852)
9274
0880a952
DG
92752013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9276
35e951cd 9277 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9278 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9279 Ruby 2.0.
9280 (ruby-font-lock-keywords): Distinguish calls to functions with
9281 module-like names from module references. Highlight character
9282 literals.
9283
a7d8babb
SDJ
92842013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9285
9286 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9287 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9288
acfcc8c5
JB
92892013-07-12 Juanma Barranquero <lekktu@gmail.com>
9290
9291 * desktop.el (desktop--v2s): Remove unused local variable.
9292 (desktop-save-buffer): Make defvar-local; adjust docstring.
9293 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9294 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9295
051f2775
AS
92962013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9297
9298 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9299
f24e7572
GM
93002013-07-12 Eli Zaretskii <eliz@gnu.org>
9301
9302 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9303 (Bug#14842)
9304
539a920c
GM
93052013-07-12 Glenn Morris <rgm@gnu.org>
9306
9307 * doc-view.el: Require cl-lib at runtime too.
9308 (doc-view-remove-if): Remove.
9309 (doc-view-search-next-match, doc-view-search-previous-match):
9310 Use cl-remove-if.
9311
9312 * edmacro.el: Require cl-lib at runtime too.
9313 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9314 (edmacro-mismatch, edmacro-subseq): Remove.
9315
9316 * shadowfile.el: Require cl-lib.
9317 (shadow-remove-if): Remove.
9318 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9319 Use cl-remove-if.
9320
9321 * wid-edit.el: Require cl-lib.
9322 (widget-choose): Use cl-remove-if.
9323 (widget-remove-if): Remove.
9324
9325 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9326 (ebrowse-delete-if-not): Remove.
9327 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9328 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9329 Use cl-delete-if-not.
9330
1048af7c
JB
93312013-07-12 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9334 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9335
6c0674ee
LL
93362013-07-12 Leo Liu <sdl.web@gmail.com>
9337
9338 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9339
a19b3c2d
GM
93402013-07-11 Glenn Morris <rgm@gnu.org>
9341
4582a01c
GM
9342 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9343 (edebug-gensym-index, edebug-gensym):
9344 Remove reimplementation of cl-gensym.
9345 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9346
9347 * thumbs.el: Require cl-lib at run-time too.
9348 (thumbs-gensym-counter, thumbs-gensym):
9349 Remove reimplementation of cl-gensym.
9350 (thumbs-temp-file): Use cl-gensym.
9351
a19b3c2d
GM
9352 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9353 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9354 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9355 (ert--union, ert--gensym-counter, ert--gensym-counter)
9356 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9357 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9358 (ert-make-test-unbound, ert--expand-should-1)
9359 (ert--expand-should, ert--should-error-handle-error)
9360 (should-error, ert--explain-equal-rec)
9361 (ert--plist-difference-explanation, ert-select-tests)
9362 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9363 Use cl-lib functions rather than reimplementations.
9364
88f6a933
MA
93652013-07-11 Michael Albinus <michael.albinus@gmx.de>
9366
9367 * net/tramp.el (tramp-methods): Extend docstring.
9368 (tramp-connection-timeout): New defcustom.
9369 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9370 (with-tramp-progress-reporter): Simplify.
9371 (tramp-process-actions): Improve messages.
9372
9373 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9374 * net/tramp-sh.el (tramp-maybe-open-connection):
9375 Use `tramp-connection-timeout'.
afe1e4c8 9376 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9377 (Bug#14808)
9378
a43d577e
LL
93792013-07-11 Leo Liu <sdl.web@gmail.com>
9380
9381 * ido.el (ido-read-file-name): Conform to the requirements of
9382 read-file-name. (Bug#11861)
9383 (ido-read-directory-name): Conform to the requirements of
9384 read-directory-name.
9385
d77974bf
JB
93862013-07-11 Juanma Barranquero <lekktu@gmail.com>
9387
9388 * subr.el (delay-warning): New function.
9389
35cb8a3e
EZ
93902013-07-10 Eli Zaretskii <eliz@gnu.org>
9391
9392 * simple.el (default-line-height): New function.
9393 (line-move-partial, line-move): Use it instead of computing the
9394 line height inline.
9395 (line-move-partial): Always compute ROWH. If the last line is
9396 partially-visible, but its text is completely visible, allow
9397 cursor to enter such a partially-visible line.
9398
525c5c77
MA
93992013-07-10 Michael Albinus <michael.albinus@gmx.de>
9400
9401 Improve error messages. (Bug#14808)
9402
9403 * net/tramp.el (tramp-current-connection): New defvar, moved from
9404 tramp-sh.el.
0ac26976 9405 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9406 needed anymore.
0ac26976
SM
9407 (tramp-error-with-buffer): Show message in minibuffer.
9408 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9409 (with-tramp-progress-reporter): Improve messages.
9410 (tramp-process-actions): Use progress reporter. Delete process in
9411 case of error. Improve messages.
9412
763a086d
JB
9413 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9414 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9415 (tramp-current-connection): Remove.
525c5c77
MA
9416 (tramp-maybe-open-connection): The car of
9417 `tramp-current-connection' are the first 3 slots of the vector.
9418
c7a4d368
TZ
94192013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9420
9421 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9422 inside continued strings.
9423
954b166e
PE
94242013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9425
9426 Timestamp fixes for undo (Bug#14824).
9427 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9428
56973319
LL
94292013-07-10 Leo Liu <sdl.web@gmail.com>
9430
9431 * files.el (require-final-newline): Allow safe local value.
9432 (Bug#14834)
9433
5550a72c
LL
94342013-07-09 Leo Liu <sdl.web@gmail.com>
9435
9436 * ido.el (ido-read-directory-name): Handle fallback.
9437 (ido-read-file-name): Update DIR to ido-current-directory.
9438 (Bug#1516)
c28b9050 9439 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9440
70c46b28
DG
94412013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9442
9443 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9444 "autoload". Remove "warn lower camel case" section, previously
9445 commented out. Highlight negation char. Do not highlight the
9446 target in singleton method definitions.
9447
0b64b838
SM
94482013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9449
7fd72e2c
SM
9450 * faces.el (tty-setup-hook): Declare the hook.
9451
0b64b838
SM
9452 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9453 and detect when a guard/pred depends on local vars (bug#14773).
9454 (pcase--u1): Adjust caller.
9455
ab49d60b
EZ
94562013-07-08 Eli Zaretskii <eliz@gnu.org>
9457
9458 * simple.el (line-move-partial, line-move): Account for
9459 line-spacing.
701d79aa
EZ
9460 (line-move-partial): Avoid setting vscroll when the last
9461 partially-visible line in window is of default height.
ab49d60b 9462
2d756ae0
LMI
94632013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9464
9465 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9466 been used a while.
9467
ed095bd7
JB
94682013-07-07 Juanma Barranquero <lekktu@gmail.com>
9469
9470 * subr.el (read-quoted-char): Remove unused local variable `char'.
9471
f1e6674b
MK
94722013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9473
584ee3fc
GM
9474 * ediff.el (ediff-version): Version update.
9475 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9476 (ediff-merge-with-ancestor-command, ediff-directories-command)
9477 (ediff-directories3-command, ediff-merge-directories-command)
9478 (ediff-merge-directories-with-ancestor-command): New functions.
9479 All are command-line interfaces to ediff: to facilitate calling
9480 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9481
9482 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9483 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9484
584ee3fc
GM
9485 * viper.el (viper-version): Version update.
9486 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9487
584ee3fc
GM
94882013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9491 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9492 (viper-intercept-ESC-key): Simplify.
9493 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9494 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9495 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9496 (viper-setup-ESC-to-escape): New functions.
9497 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9498 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9499
9aff9b38
EZ
95002013-07-07 Eli Zaretskii <eliz@gnu.org>
9501
5165d44a
JB
9502 * simple.el (default-font-height, window-screen-lines):
9503 New functions.
9aff9b38
EZ
9504 (line-move, line-move-partial): Use them instead of
9505 frame-char-height and window-text-height. This makes scrolling
9506 text smoother when the buffer's default face uses a font that is
9507 different from the frame's default font.
9508
1afb1d07
JD
95092013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9510
9511 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9512 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9513
23de972a
EZ
95142013-07-06 Eli Zaretskii <eliz@gnu.org>
9515
9516 * simple.el (line-move-partial): Adjust the row returned by
9517 posn-at-point for the current window-vscroll. (Bug#14567)
9518
54a42486
MA
95192013-07-06 Michael Albinus <michael.albinus@gmx.de>
9520
35e951cd 9521 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9522 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9523 spaces.
9524
34ada5f4
MR
95252013-07-06 Martin Rudalics <rudalics@gmx.at>
9526
9527 * window.el (window-state-put-stale-windows): New variable.
9528 (window--state-put-2): Save list of windows without matching buffer.
9529 (window-state-put): Remove "bufferless" windows if possible.
9530
11e03d89
JB
95312013-07-06 Juanma Barranquero <lekktu@gmail.com>
9532
9533 * simple.el (alternatives-define): Remove leftover :group keyword.
9534 Tweak docstring.
9535
3504a4be
LL
95362013-07-06 Leo Liu <sdl.web@gmail.com>
9537
9538 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9539 (ido-enable-virtual-buffers): New variable.
9540 (ido-buffer-internal, ido-toggle-virtual-buffers)
9541 (ido-make-buffer-list): Use it.
9542 (ido-exhibit): Support turning on and off virtual buffers
9543 automatically.
9544
61e56e2c
JB
95452013-07-06 Juanma Barranquero <lekktu@gmail.com>
9546
9547 * simple.el (alternatives-define): New macro.
9548
321e1a9c
SM
95492013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * subr.el (read-quoted-char): Use read-key.
9552 (sit-for): Let read-event decode tty input (bug#14782).
9553
d610f6dd
SB
95542013-07-05 Stephen Berman <stephen.berman@gmx.net>
9555
9556 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9557 mode command and externally. Fix various related bugs.
9558 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9559 (todo-delete-file): New command.
9560 (todo-check-file): New function.
9561 (todo-show): Handle external deletion of the file we're trying to
9562 show (bug#14688). Replace called-interactively-p by an optional
9563 prefix argument to avoid problematic interaction with catch form
9564 when byte compiled (bug#14702).
9565 (todo-quit): Handle external deletion of the archive's todo file.
9566 Make sure the buffer that was visiting the archive file is still
9567 live before trying to bury it.
9568 (todo-category-completions): Handle external deletion of any
9569 category completion files.
9570 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9571 of todo files, in case of external deletion.
9572 (todo-add-file): Replace unnecessary setq by let-binding.
9573 (todo-find-archive): Check whether there are any archives.
9574 Replace unnecessary setq by let-binding.
9575 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9576 archive buffer whether or not the archive already exists.
9577 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9578 check if the archive is new; if it is, update list of archives.
9579 (todo-default-todo-file): Allow nil to be a valid value for when
9580 there are no todo files.
9581 (todo-reevaluate-default-file-defcustom): Use corrected definition
9582 of todo-default-todo-file.
9583 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9584 (todo-delete-category, todo-show-categories-table)
9585 (todo-category-number): Clarify comment.
9586 (todo-filter-items): Clarify documentation string.
9587 (todo-show-current-file, todo-display-as-todo-file)
9588 (todo-reset-and-enable-done-separator): Tweak documentation string.
9589 (todo-done-separator): Make separator length window-width, since
9590 bug#2749 is now fixed.
9591
ddbdfd6f
MA
95922013-07-05 Michael Albinus <michael.albinus@gmx.de>
9593
321e1a9c
SM
9594 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9595 Support both "gvfs-monitor-dir" and "inotifywait".
9596 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9597 `tramp-sh-file-notify-process-filter'.
9598 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9599 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9600
96eb829a
LL
96012013-07-05 Leo Liu <sdl.web@gmail.com>
9602
9603 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9604
cf13177e
YM
96052013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9606
9607 * frame.el (display-pixel-height, display-pixel-width)
9608 (display-mm-height, display-mm-width): Mention behavior on
9609 multi-monitor setups in docstrings.
9610 (w32-display-monitor-attributes-list): Declare function.
9611 (display-monitor-attributes-list): Use it.
9612
864c58ca
MA
96132013-07-04 Michael Albinus <michael.albinus@gmx.de>
9614
9615 * filenotify.el: New package.
9616
9617 * autorevert.el (top): Require filenotify.el.
9618 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9619 instead.
9620 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9621 (auto-revert-notify-handler): Use `file-notify-*' functions.
9622
9623 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9624
321e1a9c
SM
9625 * net/tramp.el (tramp-file-name-for-operation):
9626 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9627
9628 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9629 for `file-notify-add-watch' and `file-notify-rm-watch'.
9630 (tramp-process-sentinel): Improve trace.
9631 (tramp-sh-handle-file-notify-add-watch)
9632 (tramp-sh-file-notify-process-filter)
9633 (tramp-sh-handle-file-notify-rm-watch)
9634 (tramp-get-remote-inotifywait): New defuns.
9635
96673afe
JL
96362013-07-03 Juri Linkov <juri@jurta.org>
9637
9638 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9639 call of `occur-read-primary-args' to interactive spec.
9640
9641 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9642 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9643
924494f4
MM
96442013-07-03 Matthias Meulien <orontee@gmail.com>
9645
9646 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9647 `Buffer-menu-multi-occur'. Add it to the menu.
9648 (Buffer-menu-mode): Document it in docstring.
9649 (Buffer-menu-multi-occur): New command. (Bug#14673)
9650
56f75efc
DG
96512013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9652
9653 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9654 keywords and built-ins.
9655
9b057d61
GM
96562013-07-03 Glenn Morris <rgm@gnu.org>
9657
208dee4d
GM
9658 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9659
9b057d61
GM
9660 Make info-xref checks case-sensitive by default
9661 * info.el (Info-find-node, Info-find-in-tag-table)
9662 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9663 Add option for exact case matching of nodes.
9664 * info-xref.el (info-xref): New custom group.
9665 (info-xref-case-fold): New option.
9666 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9667
e01aa29c
LL
96682013-07-03 Leo Liu <sdl.web@gmail.com>
9669
9670 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9671
3086ca2e
DG
96722013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9673
9674 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9675 middle of block statement initially, lower the depth. Remove
9676 FIXME comment, not longer valid. Remove middle of block statement
9677 detection, no need to do that anymore since we've been using
9678 `ruby-parse-region' here.
9679
a3b49114
JD
96802013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9681
9682 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9683
08e5c823 96842013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9685
9686 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9687
2addf922
JB
96882013-07-01 Juanma Barranquero <lekktu@gmail.com>
9689
9690 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9691 (desktop-restore-in-current-display): New customization option.
9692 (desktop--excluded-frame-parameters): Add `font'.
9693 (desktop--save-frames): Rename from desktop--save-windows.
9694 (desktop--restore-in-this-display-p): New function.
9695 (desktop--make-full-frame): Remove unwanted width/height from
9696 full(width|height) frames.
9697 (desktop--restore-frames): Rename from desktop--restore-windows.
9698 Obey desktop-restore-current-display. Do not delete old frames or
9699 select a new frame unless we were able to restore at least one frame.
9700
ef099a94
MN
97012013-06-30 Michal Nazarewicz <mina86@mina86.com>
9702
9703 * files.el (find-file-noselect): Simplify conditional expression.
9704
a12bf61e 9705 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9706 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9707
9708 Add `remember-notes' function to store random notes across Emacs
9709 restarts.
3fcfc4ee
JB
9710 * textmodes/remember.el (remember-data-file): Add :set callback to
9711 affect notes buffer (if any).
ef099a94
MN
9712 (remember-notes): New command.
9713 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9714 New defcustoms for the `remember-notes' function.
9715 (remember-notes-save-and-bury-buffer): New command.
9716 (remember-notes-mode-map): New variable.
9717 (remember-mode): New minor mode.
9718 (remember-notes--kill-buffer-query): New function.
9719 * startup.el (initial-buffer-choice): Add notes to custom type.
9720
0865d506
EZ
97212013-06-30 Eli Zaretskii <eliz@gnu.org>
9722
0ba54312
EZ
9723 * bindings.el (right-char, left-char): Don't call sit-for, this is
9724 no longer needed. Use arithmetic comparison only for numerical
9725 arguments.
9726
ef099a94
MN
9727 * international/mule-cmds.el (select-safe-coding-system):
9728 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9729
2fae38e5
LMI
97302013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9731
9732 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9733 progression on degenerate tables.
ef099a94 9734 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9735
a47cbd64
JB
97362013-06-30 Juanma Barranquero <lekktu@gmail.com>
9737
9738 Some fixes and improvements for desktop frame restoration.
9739 It is still experimental and disabled by default.
9740 * desktop.el (desktop--save-windows): Put the selected frame at
9741 the head of the list.
9742 (desktop--make-full-frame): New function.
9743 (desktop--restore-windows): Try to re-select the frame that was
9744 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9745 just show an error message and continue. Set up maximized frames
9746 so they have default non-maximized dimensions.
a47cbd64 9747
6dbafa30
DG
97482013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9749
ef099a94
MN
9750 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9751 Don't start heredoc inside a string or comment.
6dbafa30 9752
4c672a0f
EZ
97532013-06-29 Eli Zaretskii <eliz@gnu.org>
9754
9755 * bindings.el (visual-order-cursor-movement): New defcustom.
9756 (right-char, left-char): Provide visual-order cursor motion by
9757 calling move-point-visually. Update the doc strings.
9758
50960f36
KH
97592013-06-28 Kenichi Handa <handa@gnu.org>
9760
9761 * international/mule.el (define-coding-system): New coding system
9762 properties :inhibit-null-byte-detection,
9763 :inhibit-iso-escape-detection, and :prefer-utf-8.
9764 (set-buffer-file-coding-system): If :charset-list property of
9765 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9766 appropriate for setting.
9767
c1ea3abf
JB
9768 * international/mule-cmds.el (select-safe-coding-system):
9769 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9770 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9771
9772 * international/mule-conf.el (prefer-utf-8): New coding system.
9773 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9774 files.
9775
75dbaf9d
IK
97762013-06-28 Ivan Kanis <ivan@kanis.fr>
9777
eadb6068
IK
9778 * net/shr.el (shr-render-region): New function.
9779
75dbaf9d
IK
9780 * net/eww.el: Autoload `eww-browse-url'.
9781
9ea5cf9f
DG
97822013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9783
c1ea3abf
JB
9784 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9785 Adapt to `package-desc-version' being a list.
9786 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9787 archive element.
9788
39c0e36f
JB
97892013-06-27 Juanma Barranquero <lekktu@gmail.com>
9790
9791 New experimental feature to save&restore window and frame setup.
9792 * desktop.el (desktop-save-windows): New defcustom.
9793 (desktop--saved-states): New var.
9794 (desktop--excluded-frame-parameters): New defconst.
9795 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9796 (desktop--restore-windows, desktop--save-windows): New functions.
9797 (desktop-save): Call `desktop--save-windows'.
9798 (desktop-read): Call `desktop--restore-windows'.
9799
7f13406b
LMI
98002013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9801
ef099a94 9802 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9803
1e072639
SB
98042013-06-27 Stephen Berman <stephen.berman@gmx.net>
9805
9806 * info.el (Info-try-follow-nearest-node): Move search for footnote
9807 above search for node name to prevent missing a footnote (bug#14717).
9808
f3e2cbde
SB
98092013-06-27 Stephen Berman <stephen.berman@gmx.net>
9810
9811 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9812
99906aa0
LL
98132013-06-27 Leo Liu <sdl.web@gmail.com>
9814
9815 * net/eww.el (eww-read-bookmarks): Check file size.
9816
539f75f4
SM
98172013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9820 advice--pending if newdef is nil or an autoload (bug#13820).
9821 (advice-mapc): New function.
9822
843571cb
LMI
98232013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9824
9825 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9826 probably.
23a75d7f 9827 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9828 (eww-add-bookmark): New command.
9829 (eww-bookmark-mode): New mode and commands.
a285ce99 9830 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9831 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9832
f2136e1e
GM
98332013-06-26 Glenn Morris <rgm@gnu.org>
9834
eab35f39
GM
9835 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9836 (hfy-size): Handle ttys. (Bug#14668)
9837
f2136e1e
GM
9838 * info-xref.el: Update for Texinfo 5 change in *note format.
9839 (info-xref-node-re, info-xref-note-re): New constants.
9840 (info-xref-check-buffer): Use info-xref-note-re.
9841
a49ff80c
SM
98422013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9843
a343d218
SM
9844 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9845
a49ff80c
SM
9846 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9847 nil terminate the loop (bug#14718).
9848
8308f184
LMI
98492013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9850
9851 * net/eww.el: Rework history traversal. When going forward/back,
9852 put these actions into the history, too, so that they can be
9853 replayed.
26bf2b82 9854 (eww-render): Move the history reset to the correct buffer.
8308f184 9855
ec64c273
JL
98562013-06-25 Juri Linkov <juri@jurta.org>
9857
9858 * files-x.el (modify-dir-local-variable): Change the header comment
9859 in the file with directory local variables. (Bug#14692)
9860
e080a9d7
JL
9861 * files-x.el (read-file-local-variable-value): Add `default'.
9862 (Bug#14710)
9863
bfbc93a1
IK
98642013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9865
9866 * net/eww.el (eww-make-unique-file-name): Create a unique file
9867 name before saving to entering `y' accidentally asynchronously.
9868
98692013-06-25 Ivan Kanis <ivan@kanis.fr>
9870
9871 * net/eww.el (eww-download): New command and keystroke.
9872
16f74f10
LMI
98732013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9874
a49ff80c 9875 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9876
9877 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9878 be more consistent with Info and dired.
9879
9880 * net/eww.el (eww-mode-map): Ditto.
9881
12059709
SM
98822013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9885 packages from archives.
9886 (package-archive-contents): Change format; include obsolete packages.
9887 (package-desc): Use `dir' to mark builtin packages.
9888 (package--from-builtin): Set the `dir' field to `builtin'.
9889 (generated-autoload-file, version-control): Declare.
9890 (package-compute-transaction): Change first arg and return value to be
9891 lists of package-descs. Adjust to new package-archive-contents format.
9892 (package--add-to-archive-contents): Adjust to new
9893 package-archive-contents format.
9894 (package-download-transaction): Arg is now a list of package-descs.
9895 (package-install): If `pkg' is a package name, pass it as
9896 a requirement, so it is subject to the usual (e.g. disabled) checks.
9897 (describe-package): Accept package-desc as well.
9898 (describe-package-1): Describe a specific package-desc. Add links to
9899 other package-descs for the same package name.
9900 (package-menu-describe-package): Pass the actual package-desc.
9901 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9902 works correctly.
9903 (package-desc-status): New function.
9904 (package-menu--refresh): New function, extracted
9905 from package-menu--generate.
9906 (package-menu--generate): Use it.
9907 (package-delete): Update package-alist.
9908 (package-menu-execute): Don't call package-initialize.
9909
9910 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9911 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9912 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9913 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9914 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9915 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9916
8bbdea0f
MR
99172013-06-25 Martin Rudalics <rudalics@gmx.at>
9918
9919 * window.el (window--state-get-1): Workaround for bug#14527.
9920 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9921
e82b0991
LMI
99222013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9923
9924 * net/eww.el (eww-back-url): Implement the history by stashing all
9925 the data into a list.
d3f0f918 9926 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9927
c763842b
SM
99282013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9929
9930 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9931 for values and use read--expression for expressions (bug#14710).
9932 (read-file-local-variable): Avoid setq.
9933 (read-file-local-variable-mode): Use minor-mode-list.
9934
bceff189
RW
99352013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9936
864c58ca 9937 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9938 for DOI URLs.
9939
45f431c6
RW
99402013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9941
864c58ca 9942 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9943 Update imenu-support when dialect changes.
9944
f42d8237
LL
99452013-06-25 Leo Liu <sdl.web@gmail.com>
9946
9947 * ido.el (ido-read-internal): Allow forward slash on windows.
9948
be549ce6
LMI
99492013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9950
9951 * net/eww.el (eww): Start of strings is \\`, not ^.
9952
71d4c19d
IK
99532013-06-24 Ivan Kanis <ivan@kanis.fr>
9954
5196f88a
IK
9955 * net/shr.el (shr-browse-url): Fix interactive spec.
9956
71d4c19d
IK
9957 * net/eww.el (eww): Add a trailing slash to domain names.
9958
ae36ca55
JB
99592013-06-24 Juanma Barranquero <lekktu@gmail.com>
9960
9961 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9962
0ebd92a3
LMI
99632013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9964
bdaa086b
LMI
9965 * net/shr.el (shr-browse-url): Use an external browser if given a
9966 prefix.
9967
c763842b 9968 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9969
b89fc156
IK
99702013-06-24 Ivan Kanis <ivan@kanis.fr>
9971
9972 * net/eww.el (eww): Work more correctly for file: URLs.
9973 (eww-detect-charset): Allow quoted charsets.
9974 (eww-yank-page-url): New command and keystroke.
9975
18eb4bca
DU
99762013-06-24 Daiki Ueno <ueno@gnu.org>
9977
9978 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9979 file name of gpg executable.
9980 (epg-context-program): New function.
9981 (epg-context-home-directory): New function.
9982 (epg-context-set-program): New function.
9983 (epg-context-set-home-directory): New function.
9984 (epg--start): Use `epg-context-program' instead of
9985 'epg-gpg-program'.
9986 (epg--list-keys-1): Likewise.
9987
6c6268c8
LL
99882013-06-24 Leo Liu <sdl.web@gmail.com>
9989
9990 * ido.el (ido-read-internal): Fix bug#14620.
9991
5e400cb3
JB
99922013-06-23 Juanma Barranquero <lekktu@gmail.com>
9993
9994 * faces.el (face-documentation): Simplify.
9995 (read-face-attribute, tty-find-type, x-resolve-font-name):
9996 Use `string-match-p'.
9997 (list-faces-display): Use `string-match-p'. Simplify.
9998 (face-spec-recalc): Check face to avoid face alias loops.
9999 (read-color): Use `string-match-p' and non-capturing parenthesis.
10000
f3f9606c
LMI
100012013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10002
10003 * net/shr.el (shr-rescale-image): Use the new
10004 :max-width/:max-height functionality.
10005
a3ca09b9
IK
100062013-06-23 Ivan Kanis <ivan@kanis.fr>
10007
10008 * net/eww.el (eww-search-prefix): New variable.
10009 (eww): Use it.
f865b474
IK
10010 (eww-external-browser): New variable.
10011 (eww-mode-map): New keystroke.
10012 (eww-browse-with-external-browser): New command.
a3ca09b9 10013
e854cfc7
IK
10014 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10015
18bb9e21
JB
100162013-06-23 Juanma Barranquero <lekktu@gmail.com>
10017
10018 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10019 Don't skip aligning the next header field when padding is 0;
10020 otherwise, field width is not respected unless the title is as
10021 wide as the field.
10022
5b165ade
SM
100232013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10024
10025 * emacs-lisp/package.el (package-el-version): Remove.
10026 (package-process-define-package): Fix inf-loop.
10027 (package-install): Allow symbols as arguments again.
10028
12adebe9
DG
100292013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10030
10031 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10032 add some more keyword-like methods.
10033 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10034
388573ee
JB
100352013-06-22 Juanma Barranquero <lekktu@gmail.com>
10036
10037 * bs.el (bs-buffer-show-mark): Make defvar-local.
10038 (bs-mode): Use setq-local.
10039
10040 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10041 (emacs-lock--try-unlocking): Make defvar-local.
10042
4582a01c 100432013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10044
2663dd23
GM
10045 * play/cookie1.el (cookie-apropos): Minor simplification.
10046
3d94f3ad
GM
10047 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10048
f72e2fdb
DG
100492013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10050
10051 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10052 `regexp-opt', it breaks the build during dumping.
10053
73eab938
DG
100542013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10055
c763842b
SM
10056 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10057 Highlight keyword-like methods on Kernel and Module with
73eab938 10058 font-lock-builtin-face.
5cf8176d
DG
10059 (auto-mode-alist): Consolidate different entries into one regexp
10060 and add more *file-s.
73eab938 10061
d26255f6
SB
100622013-06-21 Stephen Berman <stephen.berman@gmx.net>
10063
10064 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10065
10066 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10067 (diary-entry): Use it in the action of this button type instead of
10068 diary-goto-entry.
10069
10070 * calendar/todo-mode.el: New version.
10071 (todo-add-category): Append new category to end of file and give
10072 it the highest number, instead of putting it at the beginning and
10073 giving it 0. Incorporate noninteractive functionality.
10074 (todo-forward-category): Adapt to 1-based category numbering.
10075 Allow skipping over archived categories.
10076 (todo-backward-category): Derive from todo-forward-category.
10077 (todo-backward-item, todo-forward-item): Make noninteractive and
10078 delegate interactive part to new commands. Make sensitive to done items.
10079 (todo-categories): Make value an alist of category names and
10080 vectors of item counts.
10081 (todo-category-beg): Make a defconst.
10082 (todo-category-number): Use 1 instead of 0 as initial value.
10083 (todo-category-select): Make sensitive to overlays, optional item
10084 highlighting and done items.
10085 (todo-delete-item): Make sensitive to overlays and marked and done items.
10086 (todo-edit-item): Make sensitive to overlays and editing of
10087 date/time header optional. Add format checks.
10088 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10089 no-op if point is not on an item. Advertise using todo-edit-quit.
10090 (todo-edit-mode): Make sensitive to new format, font-locking, and
10091 multiple todo files.
10092 (todo-insert-item, todo-insert-item-here): Derive from
10093 todo-basic-insert-item and extend functionality.
10094 (todo-item-end, todo-item-start): Make sensitive to done items.
10095 (todo-item-string): Don't return text properties. Restore point.
10096 (todo-jump-to-category): Make sensitive to multiple todo files and
10097 todo archives. Use extended category completion.
10098 (todo-lower-item, todo-raise-item): Rename to *-priority and
10099 derive from todo-set-item-priority.
10100 (todo-mode): Derive from special-mode. Make sensitive to new
10101 format, font-locking and multiple todo files. Make read-only.
10102 (todo-mode-map): Don't suppress digit keys, so they can supply
10103 prefix arguments. Add many new key bindings.
10104 (todo-prefix): Insert as an overlay instead of file text.
10105 Change semantics from diary date expression to purely visual mark.
10106 (todo-print): Rename to todo-print-buffer. Make buffer display
10107 features printable. Remove option to restrict number of items
10108 printed. Add option to print to file.
10109 (todo-print-function): Rename to todo-print-buffer-function.
10110 (todo-quit): Extend to handle exiting new todo modes.
10111 (todo-remove-item): Make sensitive to overlays.
10112 (todo-save): Extend to buffers of filtered items.
10113 (todo-show): Make sensitive to done items, multiple todo files and
10114 new todo modes. Offer to convert legacy todo file before creating
10115 first new todo file.
10116 (todo-show-priorities): Rename to todo-top-priorities.
10117 Change semantics of value 0.
10118 (todo-top-priorities): Rename to todo-filter-top-priorities,
10119 derive from todo-filter-items and extend functionality.
10120 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10121 and extend functionality to other types of filtered items.
10122 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10123 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10124 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10125 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10126 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10127 (todo-edit-mode-hook, todo-entry-prefix-function)
10128 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10129 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10130 (todo-initials, todo-insert-threshold, todo-item-string-start)
10131 (todo-line-string, todo-menu, todo-mode-hook)
10132 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10133 (todo-print-priorities, todo-remove-separator)
10134 (todo-save-top-priorities-too, todo-string-count-lines)
10135 (todo-string-multiline-p, todo-time-string-format)
10136 (todo-tmp-buffer-name): Remove.
10137 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10138 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10139 (todo-edit-category-diary-inclusion)
10140 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10141 (todo-edit-file, todo-edit-item-date-day)
10142 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10143 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10144 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10145 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10146 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10147 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10148 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10149 (todo-filter-top-priorities-multifile, todo-find-archive)
10150 (todo-find-filtered-items-file, todo-go-to-source-item)
10151 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10152 (todo-jump-to-archive-category, todo-lower-category)
10153 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10154 (todo-move-category, todo-move-item, todo-next-button)
10155 (todo-next-item, todo-padded-string, todo-powerset)
10156 (todo-previous-button, todo-previous-item)
10157 (todo-print-buffer-to-file, todo-raise-category)
10158 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10159 (todo-set-category-number, todo-set-item-priority)
10160 (todo-set-top-priorities-in-category)
10161 (todo-set-top-priorities-in-file, todo-show-categories-table)
10162 (todo-sort-categories-alphabetically-or-numerically)
10163 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10164 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10165 (todo-toggle-item-header, todo-toggle-item-highlighting)
10166 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10167 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10168 (todo-unarchive-items, todo-unmark-category): New commands.
10169 (todo-absolute-file-name, todo-add-to-buffer-list)
10170 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10171 (todo-basic-insert-item, todo-category-completions)
10172 (todo-category-number, todo-category-string-matcher-1)
10173 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10174 (todo-check-format, todo-clear-matches)
10175 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10176 (todo-current-category, todo-date-string-matcher)
10177 (todo-define-insertion-command, todo-diary-expired-matcher)
10178 (todo-diary-goto-entry, todo-diary-item-p)
10179 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10180 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10181 (todo-done-item-section-p, todo-done-separator)
10182 (todo-done-string-matcher, todo-files, todo-filter-items)
10183 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10184 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10185 (todo-insert-category-line, todo-insert-item-from-calendar)
10186 (todo-insert-sort-button, todo-insert-with-overlays)
10187 (todo-insertion-command-name, todo-insertion-key-bindings)
10188 (todo-label-to-key, todo-longest-category-name-length)
10189 (todo-make-categories-list, todo-mode-external-set)
10190 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10191 (todo-modes-set-3, todo-multiple-filter-files)
10192 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10193 (todo-read-category, todo-read-date, todo-read-dayname)
10194 (todo-read-file-name, todo-read-time)
10195 (todo-reevaluate-category-completions-files-defcustom)
10196 (todo-reevaluate-default-file-defcustom)
10197 (todo-reevaluate-filelist-defcustoms)
10198 (todo-reevaluate-filter-files-defcustom)
10199 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10200 (todo-reset-done-separator, todo-reset-done-separator-string)
10201 (todo-reset-done-string, todo-reset-global-current-todo-file)
10202 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10203 (todo-reset-prefix, todo-set-categories)
10204 (todo-set-date-from-calendar, todo-set-show-current-file)
10205 (todo-set-top-priorities, todo-short-file-name)
10206 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10207 (todo-total-item-counts, todo-update-buffer-list)
10208 (todo-update-categories-display, todo-update-categories-sexp)
10209 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10210 New functions.
10211 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10212 New major modes.
10213 (todo-categories, todo-display, todo-edit, todo-faces)
10214 (todo-filtered): New defgroups.
10215 (todo-archived-only, todo-button, todo-category-string, todo-date)
10216 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10217 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10218 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10219 (todo-add-item-if-new-category, todo-always-add-time-string)
10220 (todo-categories-align, todo-categories-archived-label)
10221 (todo-categories-category-label, todo-categories-diary-label)
10222 (todo-categories-done-label, todo-categories-number-separator)
10223 (todo-categories-todo-label, todo-categories-totals-label)
10224 (todo-category-completions-files, todo-completion-ignore-case)
10225 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10226 (todo-done-separator-string, todo-done-string)
10227 (todo-files-function, todo-filter-done-items, todo-filter-files)
10228 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10229 (todo-initial-category, todo-initial-file, todo-item-mark)
10230 (todo-legacy-date-time-regexp, todo-mode-line-function)
10231 (todo-nondiary-marker, todo-number-prefix)
10232 (todo-print-buffer-function, todo-show-current-file)
10233 (todo-show-done-only, todo-show-first, todo-show-with-done)
10234 (todo-skip-archived-categories, todo-top-priorities-overrides)
10235 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10236 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10237 New defcustoms.
10238 (todo-category-done, todo-date-pattern, todo-date-string-start)
10239 (todo-diary-items-buffer, todo-done-string-start)
10240 (todo-filtered-items-buffer, todo-item-start)
10241 (todo-month-abbrev-array, todo-month-name-array)
10242 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10243 (todo-top-priorities-buffer): New defconsts.
10244 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10245 (todo-categories-with-marks, todo-category-string-face)
10246 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10247 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10248 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10249 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10250 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10251 (todo-font-lock-keywords, todo-global-current-todo-file)
10252 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10253 (todo-insertion-commands-args)
10254 (todo-insertion-commands-args-genlist)
10255 (todo-insertion-commands-names, todo-insertion-map)
10256 (todo-key-bindings-t, todo-key-bindings-t+a)
10257 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10258 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10259 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10260 (todo-visited): New variables.
10261
cad5d1cb
GM
102622013-06-21 Glenn Morris <rgm@gnu.org>
10263
10264 * play/cookie1.el (cookie-apropos): Add optional display argument.
10265 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10266 (psychoanalyze-pinhead): Use cookie-doctor.
10267
9e277302
JB
102682013-06-21 Juanma Barranquero <lekktu@gmail.com>
10269
10270 * emacs-lisp/package.el (tar-get-file-descriptor)
10271 (tar--extract): Declare.
10272
c5b0993e
EW
102732013-06-21 Eduard Wiebe <usenet@pusto.de>
10274
10275 Extend flymake's warning predicate to be a function (bug#14217).
10276 * progmodes/flymake.el (flymake-warning-predicate): New.
10277 (flymake-parse-line): Use it.
10278 (flymake-warning-re): Make obsolete alias to
10279 `flymake-warning-predicate'.
10280
a7d2d465
SM
102812013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10284 (package-obsolete-list): Remove.
10285 (package-activate): Remove min-version argument. Add `force' argument.
10286 Adjust to new package-alist format.
10287 (package-mark-obsolete): Remove.
10288 (package-unpack): Force reload of the package's autoloads.
10289 (package-installed-p): Check builtins if the installed package is not
10290 recent enough.
10291 (package-initialize): Don't reset package-obsolete-list.
10292 Don't specify which package version to activate.
10293 (package-process-define-package, describe-package-1)
10294 (package-menu--generate): Adjust to new package-alist format.
10295
cedf5c9d
JB
102962013-06-21 Juanma Barranquero <lekktu@gmail.com>
10297
10298 * allout-widgets.el (allout-widgets-mode-off)
10299 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10300 (allout-widgets-post-command-business)
10301 (allout-widgets-after-copy-or-kill-function)
10302 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10303 (allout-decorate-item-and-context)
10304 (allout-graphics-modification-handler): Fix typos in docstrings.
10305 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10306
10307 * cmuscheme.el (scheme-start-file): Doc fix.
10308 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10309 (scheme-input-filter): Use `string-match-p'.
10310
10311 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10312
10313 * dired-x.el: Use Dired consistently in docstrings.
10314
10315 * dired.el: Use Dired consistently in docstrings.
10316 (dired-readin, dired-mode): Use `setq-local'.
10317 (dired-switches-alist): Make defvar-local.
10318 (dired-buffers-for-dir): Use `zerop'.
10319 (dired-safe-switches-p, dired-switches-escape-p)
10320 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10321 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10322 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10323 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10324 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10325 (dired-toggle-marks, dired-mark-files-containing-regexp)
10326 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10327 (dired-flag-auto-save-files, dired-flag-backup-files):
10328 Use `looking-at-p'.
10329 (dired-mark-files-regexp, dired-build-subdir-alist):
10330 Use `string-match-p', `looking-at-p'.
10331
10332 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10333 (direct-print-region-helper): Use `string-match-p'.
10334
aed838b5
LL
103352013-06-21 Leo Liu <sdl.web@gmail.com>
10336
cedf5c9d
JB
10337 * comint.el (comint-redirect-results-list-from-process):
10338 Fix infinite loop.
aed838b5 10339
d80a808f
LMI
103402013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10341
10342 * net/eww.el (eww-update-header-line-format): Quote % characters.
10343
e7a526e3
GM
103442013-06-21 Glenn Morris <rgm@gnu.org>
10345
10346 * play/cookie1.el (cookie): New custom group.
10347 (cookie-file): New option.
10348 (cookie-check-file): New function.
10349 (cookie): Make it interactive. Make start and end messages optional.
10350 Interactively, display the result. Default to cookie-file.
10351 (cookie-insert): Default to cookie-file.
10352 (cookie-snarf): Make start and end messages optional.
10353 Default to cookie-file. Use with-temp-buffer.
10354 (cookie-read): Rename from read-cookie.
10355 Make start and end messages optional. Default to cookie-file.
10356 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10357 Do not autoload it.
e7a526e3
GM
10358 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10359 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10360
62efb35e
LL
103612013-06-21 Leo Liu <sdl.web@gmail.com>
10362
10363 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10364
21e3f963
GM
103652013-06-21 Glenn Morris <rgm@gnu.org>
10366
10367 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10368
fd846ab4
SM
103692013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10370 Daniel Hackney <dan@haxney.org>
10371
10372 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10373 Consolidate the single-file vs tarball code.
10374 (package-desc-suffix): New function.
10375 (package-desc-full-name): Don't bother inlining it.
10376 (package-load-descriptor): Return the new package-desc.
10377 (package-mark-obsolete): Remove unused arg `package'.
10378 (package-unpack): Make it work for single files as well.
10379 Make it update package-alist.
10380 (package--make-autoloads-and-stuff): Rename from
10381 package--make-autoloads-and-compile. Don't compile any more.
10382 (package--compile): New function.
10383 (package-generate-description-file): New function, extracted from
10384 package-unpack-single.
10385 (package-unpack-single): Remove.
10386 (package--with-work-buffer): Add indentation and debugging info.
10387 (package-download-single): Remove.
10388 (package-install-from-archive): Rename from package-download-tar, make
10389 it take a pkg-desc, and make it work for single files as well.
10390 (package-download-transaction): Simplify.
10391 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10392 external tar program.
10393 (package-install-from-buffer): Remove `pkg-desc' argument.
10394 Use package-tar-file-info for tar-mode buffers.
10395 (package-install-file): Simplify accordingly.
10396 (package-archive-base): Change to take a pkg-desc.
10397 * tar-mode.el (tar--check-descriptor): New function, extracted from
10398 tar-get-descriptor.
10399 (tar-get-descriptor): Use it.
10400 (tar-get-file-descriptor): New function.
10401 (tar--extract): New function, extracted from tar-extract.
10402 (tar--extract): Use it.
10403 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10404 case the summary uses non-ascii. Adjust to new calling convention of
10405 package-tar-file-info.
10406
b7deae5e
LL
104072013-06-21 Leo Liu <sdl.web@gmail.com>
10408
fd846ab4
SM
10409 * comint.el (comint-redirect-results-list-from-process):
10410 Fix random delay. (Bug#14681)
b7deae5e 10411
7a65a0b2
JB
104122013-06-21 Juanma Barranquero <lekktu@gmail.com>
10413
10414 * profiler.el (profiler-format-number): Use log, not log10.
10415
1493c2af
JB
104162013-06-20 Juanma Barranquero <lekktu@gmail.com>
10417
10418 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10419
aff6371e
SM
104202013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10421
10422 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10423 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10424 yet available.
10425 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10426 (AUTOGENEL): ... here.
10427 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10428 (cl--defsubst-expand): Use it.
10429
89561f72
PE
104302013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10431
10432 * subr.el (log10): Move here from C code, and declare as obsolete.
10433 All uses of (log10 X) replaced with (log X 10).
10434
47199123
JB
104352013-06-20 Juanma Barranquero <lekktu@gmail.com>
10436
10437 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10438 Declare with `defvar-local'.
10439 (tabulated-list-use-header-line, tabulated-list-entries)
10440 (tabulated-list-padding, tabulated-list-printer)
10441 (tabulated-list-sort-key): Declare with `defvar-local'.
10442 (tabulated-list-init-header, tabulated-list-print-fake-header):
10443 Use `setq-local'.
10444
4a172eab
MA
104452013-06-20 Michael Albinus <michael.albinus@gmx.de>
10446
47199123
JB
10447 * arc-mode.el (archive-mode): Add `archive-write-file' to
10448 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10449
5fc0acc0
JB
104502013-06-20 Juanma Barranquero <lekktu@gmail.com>
10451
d5b27848
JB
10452 * cus-edit.el (custom-commands): Fix typos.
10453 (custom-display): Fix tooltip text.
10454 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10455 Fix typos in docstrings.
10456 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10457 (custom-unlispify-menu-entry, custom-magic-value-create)
10458 (custom-add-see-also, custom-group-value-create): Use ?\s.
10459 (custom-guess-type, customize-apropos, editable-field)
10460 (custom-face-value-create): Use `string-match-p'.
10461 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10462
10463 * custom.el (custom-load-symbol): Use `string-match-p'.
10464
a5c581d8
JB
10465 * ansi-color.el: Convert to lexical binding.
10466 (ansi-colors): Fix URL.
10467 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10468 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10469 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10470
970ad972
G
104712013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10472
10473 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10474
10475 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10476
104772013-06-19 Tom Tromey <tromey@redhat.com>
10478
10479 * net/eww.el (eww-top-url): Remove.
10480 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10481 (eww-render): Set new variables. Don't set eww-top-url.
10482 (eww-handle-link): Handle "prev", "home", and "contents".
10483 Downcase the rel text.
10484 (eww-top-url): Choose best top URL.
10485
104862013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10487
10488 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10489 relying in widget.el. Using widget.el leads to too many
10490 user interface inconsistencies.
10491 (eww-self-insert): Implement entering commands in text fields.
10492 (eww-process-text-input): New function to make text input field editing
10493 work.
10494 (eww-submit): Rewrite to use the new-style form methods.
10495 (eww-select-display): Display the correct selected item.
10496 (eww-change-select): Implement changing the select value.
10497 (eww-toggle-checkbox): Implement radio/checkboxes.
10498 (eww-update-field): Fix compilation error.
10499 (eww-tag-textarea): Implement <textarea>.
10500
10501 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10502 we don't shadow mode-specific bindings.
10503
10504 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10505 nothing to push.
10506
10507 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10508
4582a01c 105092013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10510
10511 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10512
15b263dc
MA
105132013-06-19 Michael Albinus <michael.albinus@gmx.de>
10514
10515 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10516 not needed.
10517
10518 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10519
8f5297f7
LMI
105202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10521
10522 * net/browse-url.el (browse-url-browser-function):
10523 `eww-browse-url' has the right calling signature, `eww' does not.
10524
011c4552
GM
105252013-06-19 Glenn Morris <rgm@gnu.org>
10526
2285bd27
GM
10527 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10528 Only eval autoloaded macros.
10529 (byte-compile-autoload): Only give the macro warning for macros.
10530
1d653303
GM
10531 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10532 (ps-underlined-faces): Declare.
10533
bdd779ec
GM
10534 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10535 (speedbar-add-supported-extension): Declare.
10536
011c4552
GM
10537 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10538 Don't include a date stamp in the header of the generated file;
10539 it leads to needless differences between output files.
10540
e59dfb0e
MA
105412013-06-19 Michael Albinus <michael.albinus@gmx.de>
10542
c763842b
SM
10543 * net/secrets.el (secrets-struct-secret-content-type):
10544 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10545 Some servers do not offer introspection.
e59dfb0e 10546
102626e2
SM
105472013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * electric.el (electric-pair-mode): Improve interaction with
10550 electric-layout-mode.
10551 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10552 (electric-pair-syntax): Use text-mode-syntax-table in comments
10553 and strings.
10554 (electric-pair--insert): New function.
10555 (electric-pair-post-self-insert-function): Use it and
10556 electric--after-char-pos.
10557
ad528125
LL
105582013-06-19 Leo Liu <sdl.web@gmail.com>
10559
10560 * progmodes/octave.el (octave-help): Fix regexp.
10561
924d6997
G
105622013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10563
10564 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10565 (shr-table-horizontal-line): Allow nil as a value, and change the
10566 default.
10567 (shr-insert-table-ruler): Respect the nil value.
10568
105692013-06-18 Tom Tromey <tromey@barimba>
10570
10571 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10572 New defvars.
10573 (eww-open-file): New defun.
10574 (eww-render): Initialize new variables.
10575 (eww-display-html): Handle "link" and "a".
10576 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10577 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10578 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10579 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10580 New defuns.
924d6997 10581
d1bbba4f
DG
105822013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10583
10584 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10585 Distinguish ternary operator tokens from slash symbol and slash
10586 char literal.
10587
14dd22d2
JB
105882013-06-18 Juanma Barranquero <lekktu@gmail.com>
10589
10590 Convert symbol prettification into minor mode and global minor mode.
10591
10592 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10593 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10594 (prettify-symbols--keywords): Rename from
10595 `prog-prettify-symbols-alist' and make a local defvar.
10596 (prettify-symbols--compose-symbol): Rename from
10597 `prog--prettify-font-lock-compose-symbol'.
10598 (prettify-symbols--make-keywords): Rename from
10599 `prog-prettify-font-lock-symbols-keywords' and simplify.
10600 (prog-prettify-install): Remove.
10601 (prettify-symbols-mode): New minor mode, based on
10602 `prog-prettify-install'.
10603 (turn-on-prettify-symbols-mode): New function.
10604 (global-prettify-symbols-mode): New globalized minor mode.
10605
10606 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10607 * progmodes/cfengine.el (cfengine3-mode):
10608 * progmodes/perl-mode.el (perl-mode): Don't call
10609 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10610
292c880c
JL
106112013-06-18 Juri Linkov <juri@jurta.org>
10612
10613 * files-x.el (modify-file-local-variable-message): New function.
10614 (modify-file-local-variable)
10615 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10616 and call `modify-file-local-variable-message' when it's non-nil.
10617 (add-file-local-variable, delete-file-local-variable)
10618 (add-file-local-variable-prop-line)
10619 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10620 and use it. (Bug#9820)
10621
0950aa27
JL
106222013-06-18 Juri Linkov <juri@jurta.org>
10623
10624 * emulation/vi.el (vi-shell-op):
10625 * emulation/vip.el (vip-execute-com, ex-command):
10626 * emulation/viper-cmd.el (viper-exec-bang):
10627 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10628 the call of `shell-command-on-region'. (Bug#14637)
10629
10630 * simple.el (shell-command-on-region): Doc fix.
10631
8fbcca16
SM
106322013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10635 (bug#14633).
10636
dd7426ea
GM
106372013-06-18 Glenn Morris <rgm@gnu.org>
10638
4ba54f7d
GM
10639 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10640
dd7426ea
GM
10641 * newcomment.el (comment-search-forward, comment-search-backward):
10642 Doc fix. (Bug#14376)
10643
58aa805b
JB
106442013-06-18 Juanma Barranquero <lekktu@gmail.com>
10645
10646 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10647 (buffer-face-mode-invoke): Doc fix.
10648
9a08a617
MM
106492013-06-18 Matthias Meulien <orontee@gmail.com>
10650
10651 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10652 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10653
f2f426ca
GM
106542013-06-18 Glenn Morris <rgm@gnu.org>
10655
9445f99b
GM
10656 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10657 Replace obsolete function generic-make-keywords with its expansion.
10658
e0df2d14
GM
10659 * progmodes/python.el (ffap-alist): Declare.
10660
f2f426ca
GM
10661 * textmodes/reftex.el (bibtex-mode-map): Declare.
10662
f7f9a720
SM
106632013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10666 (package-unpack, package-unpack-single): Return the pkg-dir.
10667 (package-download-transaction): Use it to update package-alist.
10668
57ff04e0
LMI
106692013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10670
10671 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10672 possible choice.
10673
c048c022
JL
106742013-06-17 Juri Linkov <juri@jurta.org>
10675
10676 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10677
b5bcaee5
DG
106782013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10679
a020afb9
JB
10680 * emacs-lisp/package.el (package-load-descriptor):
10681 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10682 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10683
551e07e5
JB
106842013-06-17 Juanma Barranquero <lekktu@gmail.com>
10685
10686 * startup.el (command-line): Expand package name returned by
10687 `package--description-file' (bug#14639).
10688
d363bffb
DG
106892013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10690
10691 * emacs-lisp/package.el (package-load-descriptor): Do not call
10692 `emacs-lisp-mode', just use its syntax table.
10693
f612933b
JB
106942013-06-17 Juanma Barranquero <lekktu@gmail.com>
10695
10696 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10697 `font-lock-extra-managed-props' if any prettifying keyword is added.
10698 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10699 (prog-mode): Use `setq-local'.
10700
db3b7db5
SM
107012013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10702
10703 * international/characters.el (standard-case-table): Set syntax of ?»
10704 and ?« to punctuation.
10705
f3d674df
JB
107062013-06-16 Juanma Barranquero <lekktu@gmail.com>
10707
10708 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10709 Save relevant match data before calling `syntax-ppss' (bug#14595).
10710
31489a32
JL
107112013-06-15 Juri Linkov <juri@jurta.org>
10712
10713 * files-x.el (modify-file-local-variable-prop-line): Add local
10714 variables to the end of the existing comment on the first line.
10715 Use `file-auto-mode-skip' to skip interpreter magic line,
10716 and also skip XML declaration.
10717
66bd25ab
SM
107182013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * startup.el (package--builtin-versions): New var.
10721 (package-subdirectory-regexp): Remove.
10722 (package--description-file): Hard code its value instead.
10723
10724 * emacs-lisp/package.el: Don't activate packages older than builtin.
10725 (package-obsolete-list): Rename from package-obsolete-alist, and make
10726 it into a simple list of package-desc.
10727 (package-strip-version): Remove.
10728 (package-built-in-p): Use package--builtin-versions.
10729 (package-mark-obsolete): Simplify.
10730 (package-process-define-package): Mark it obsolete if older than the
10731 builtin version.
10732 (package-handle-response): Use line-end-position.
10733 (package-read-archive-contents, package--download-one-archive):
10734 Simplify.
10735 (package--add-to-archive-contents): Skip if older than the builtin or
10736 installed version.
10737 (package-menu-describe-package): Fix last change.
10738 (package-list-unversioned): New var.
10739 (package-menu--generate): Use it.
10740
10741 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10742 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10743 (autoload-builtin-package-versions): New variable.
10744 (autoload-generate-file-autoloads): Use them.
10745 Remove the list of autoloaded functions/macros from the
10746 (autoload...) comments.
10747
10748 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10749
9583ec36
EZ
107502013-06-15 Eli Zaretskii <eliz@gnu.org>
10751
10752 * simple.el (line-move-partial): Don't jump to the next screen
10753 line as soon as it becomes visible. Instead, continue enlarging
10754 the vscroll until the portion of a tall screen line that's left on
10755 display is about the height of the frame's default font.
10756 (Bug#14567)
10757
f0100d8a
GM
107582013-06-15 Glenn Morris <rgm@gnu.org>
10759
b86a85ca
GM
10760 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10761 compilation-error-regexp-alist void, or local while let-bound.
10762
f0100d8a
GM
10763 * progmodes/make-mode.el (makefile-mode-syntax-table):
10764 Treat "=" as punctuation. (Bug#14614)
10765
05e7ce90
JB
107662013-06-15 Juanma Barranquero <lekktu@gmail.com>
10767
10768 * help-fns.el (describe-variable):
10769 Add extra line for permanent-local variables.
10770
12e5e86e
SH
107712013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10772
10773 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10774 Add export, import, library. (Bug#9164)
10775 (library): Set indent function.
10776
230dcbaf
GM
107772013-06-14 Glenn Morris <rgm@gnu.org>
10778
10779 * term/xterm.el (xterm--query):
10780 Stop after first matching handler. (Bug#14615)
10781
e36b2d20 107822013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10783
10784 Add support for dired in saveplace.
10785 * dired.el (dired-initial-position-hook): New variable.
10786 (dired-initial-position): Call hook to place cursor position.
10787 * saveplace.el (save-place-to-alist): Add dired position.
10788 (save-place-dired-hook): New function.
10789
0b31660d
SM
107902013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10791
bf1e6ae8
SM
10792 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10793 through a symbol rather than letrec.
10794
1b8dff23
SM
10795 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10796 (package-desc): Add `dir' field.
10797 (package-desc-full-name): New function.
10798 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10799 (package-maybe-load-descriptor): Remove.
10800 (package-load-all-descriptors): Just call package-load-descriptor.
10801 (package--disabled-p): New function.
10802 (package-desc-vers, package-desc-doc): Remove aliases.
10803 (package--dir): Remove function.
10804 (package-activate): Check if a package is disabled.
10805 (package-process-define-package): New function, extracted from
10806 define-package.
10807 (define-package): Turn into a place holder.
10808 (package-unpack-single, package-tar-file-info):
10809 Use package--description-file.
10810 (package-compute-transaction): Use package--disabled-p.
10811 (package-download-transaction): Don't call
10812 package-maybe-load-descriptor since they're all loaded anyway.
10813 (package-install): Change argument to be a pkg-desc.
10814 (package-delete): Use a single pkg-desc argument.
10815 (describe-package-1): Use package-desc-dir instead of package--dir.
10816 Use package-desc property instead of package-symbol.
10817 (package-install-button-action): Adjust accordingly.
10818 (package--push): Rewrite.
10819 (package-menu--print-info): Adjust accordingly. Change the ID format
10820 to be a pkg-desc.
10821 (package-menu-describe-package, package-menu-get-status)
10822 (package-menu--find-upgrades, package-menu-mark-upgrades)
10823 (package-menu-execute, package-menu--name-predicate):
10824 Adjust accordingly.
10825 * startup.el (package--description-file): New function.
10826 (command-line): Use it.
10827 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10828 Use package-desc-version.
10829
0b31660d
SM
10830 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10831 (byte-compile-preprocess): Use it.
10832 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10833 can't quite recognize.
10834 (byte-compile-add-to-list): Remove.
10835 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10836 (cconv-closure-convert): Add assertion.
10837
10838 * emacs-lisp/map-ynp.el: Use lexical-binding.
10839 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10840 Factor out some repeated code.
10841
de0503df
SM
108422013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * subr.el (with-eval-after-load): New macro.
10845 (eval-after-load): Allow form to be a function.
10846 take advantage of lexical-binding.
10847 (do-after-load-evaluation): Use dolist and adjust to new format.
10848 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10849
bc5c8c5a
JL
108502013-06-13 Juri Linkov <juri@jurta.org>
10851
10852 * replace.el (perform-replace): Display "symbol " and other search
10853 modes from `isearch-message-prefix' in the *Help* buffer.
10854
10855 * isearch.el (isearch-query-replace): Add " symbol" and other
10856 possible search modes from `isearch-message-prefix' to the prompt.
10857 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10858 when reading a regexp to collect.
10859
a22289f7
JL
108602013-06-13 Juri Linkov <juri@jurta.org>
10861
10862 * isearch.el (word-search-regexp): Match whitespace if the search
10863 string begins or ends in whitespace. The LAX arg is applied to
10864 both ends of the search string. Use `regexp-quote' and explicit
10865 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10866 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10867 boundaries are replaced with symbol boundaries, and characters
10868 between symbols match non-word non-symbol syntax. (Bug#14602)
10869
cb89acab
JL
108702013-06-13 Juri Linkov <juri@jurta.org>
10871
10872 * isearch.el (isearch-del-char): Don't exceed the length of
10873 `isearch-string' by the prefix arg. (Bug#14563)
10874
6e8cfc81
JL
108752013-06-13 Juri Linkov <juri@jurta.org>
10876
10877 * isearch.el (isearch-yank-word, isearch-yank-line)
10878 (isearch-char-by-name, isearch-quote-char)
10879 (isearch-printing-char, isearch-process-search-char):
10880 Add optional count prefix arg. (Bug#14563)
10881
10882 * international/isearch-x.el
10883 (isearch-process-search-multibyte-characters):
10884 Add optional count prefix arg.
10885
c23d55f4
VS
108862013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10889 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10890 lexical-binding.
10891
108922013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10893
10894 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10895
ba947bc4
GM
108962013-06-13 Glenn Morris <rgm@gnu.org>
10897
8baeb37a
GM
10898 * startup.el (tty-handle-args):
10899 Don't just discard "--" and anything after. (Bug#14608)
10900
ba947bc4
GM
10901 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10902
9abefce4
MA
109032013-06-13 Michael Albinus <michael.albinus@gmx.de>
10904
10905 Implement changes in Secret Service API. Make it backward compatible.
10906 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10907 (secrets-create-item): Use it. Prefix properties with interface.
10908
5755011f
MH
109092013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10910
10911 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10912 (term-emulate-terminal): Respect term-suppress-hard-newline.
10913
1261d2da
S
109142013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10915
10916 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10917 Only remove a `thumb-file' overlay. (Bug#14548)
10918
868490bb
GJ
109192013-06-12 Grégoire Jadi <daimrod@gmail.com>
10920
10921 * mail/reporter.el (reporter-submit-bug-report):
10922 Handle missing package-name. (Bug#14600)
10923
79d7167f
TH
109242013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10925
10926 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10927 (reftex-citation-prompt, reftex-default-bibliography)
10928 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10929 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10930 (reftex-bib-sort-author, reftex-bib-sort-year)
10931 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10932 (reftex-extract-bib-entries-from-thebibliography)
10933 (reftex-get-bibkey-default, reftex-get-bib-names)
10934 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10935 (reftex-format-bib-entry, reftex-parse-bibitem)
10936 (reftex-format-bibitem, reftex-do-citation)
10937 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10938 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10939 (reftex-insert-bib-matches, reftex-format-citation)
10940 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10941 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10942 existing comments into docstrings.
10943
5f9dbd7a
XF
109442013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10945
10946 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10947
94df41ab
AS
109482013-06-12 Andreas Schwab <schwab@suse.de>
10949
10950 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10951 for auto-save files.
10952
a7f3fecc
GM
109532013-06-12 Glenn Morris <rgm@gnu.org>
10954
001809f6
GM
10955 * ido.el (ido-delete-ignored-files): Remove.
10956 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10957 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10958
834b5ded
EL
109592013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10960
08c73ed2
EL
10961 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10962
834b5ded
EL
10963 * ido.el (ido-delete-ignored-files): New function,
10964 split from ido-make-file-list-1.
10965 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10966 (ido-make-file-list-1): Use ido-delete-ignored-files.
10967
daabf15a
LL
109682013-06-12 Leo Liu <sdl.web@gmail.com>
10969
10970 * progmodes/octave.el (inferior-octave-startup)
10971 (inferior-octave-completion-table)
10972 (inferior-octave-track-window-width-change)
10973 (octave-eldoc-function-signatures, octave-help)
10974 (octave-find-definition): Use single quoted strings.
10975 (inferior-octave-startup-args): Change default value.
10976 (inferior-octave-startup): Do not hard code "-i" and
10977 "--no-line-editing".
10978 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10979 (inferior-octave-directory-tracker): Use it.
10980 (octave-goto-function-definition): Robustify.
10981 (octave-help): Support highlighting operators in 'See also'.
10982 (octave-find-definition): Find subfunctions only in Octave mode.
10983
cf4e5178
SM
109842013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * help-fns.el (help-fns--compiler-macro): If the handler function is
10987 named, then put a link to it.
10988 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10989 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10990 (cl-typep): Use it.
10991 (cl-eval-when): Simplify debug spec.
10992 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10993 compiler-macro function instead of setting `compiler-macro-file'.
10994
99c81280 109952013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10996
10997 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10998 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10999
f56be016
SM
110002013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11001 Daniel Hackney <dan@haxney.org>
11002
11003 First part of Daniel Hackney's patch to package.el.
11004 * emacs-lisp/package.el: Use defstruct.
11005 (package-desc): New, main struct.
11006 (package--bi-desc, package--ac-desc): New structs, used to describe the
11007 format in external files.
11008 (package-desc-vers): Replace with package-desc-version accessor.
11009 (package-desc-doc): Replace with package-desc-summary accessor.
11010 (package-activate-1): Remove `package' arg since the pkg-vec now
11011 includes the name.
11012 (define-package): Use package-desc-from-define.
11013 (package-unpack-single): Change file-name arg to be a symbol.
11014 (package--add-to-archive-contents): Use package-desc-create and new
11015 accessor functions to package--ac-desc.
11016 (package-buffer-info, package-tar-file-info): Return a package-desc.
11017 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11018 arg to be a package-desc.
11019 (package-install-file): Adjust accordingly. Use \' to match EOS.
11020 (package--from-builtin): New function.
11021 (describe-package-1, package-menu--generate): Use it.
11022 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11023 (package-generate-autoloads): Idem and return the name of the file.
11024 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11025 Change pkg-info arg to be a package-desc.
11026 Use package-make-ac-desc.
11027 (package-upload-file): Use \' to match EOS.
11028 * finder.el (finder-compile-keywords): Use package-make-builtin.
11029
31119d63
SM
110302013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11031
931a2762
SM
11032 * vc/vc.el (vc-deduce-fileset): Change error message.
11033 (vc-read-backend): New function.
11034 (vc-next-action): Use it.
11035
5a3eb0c6
SM
11036 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11037
e3eb1bb7
SM
11038 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11039 (prolog-font-lock-keywords): Use regexp-opt instead.
11040 Don't manually highlight strings.
11041 (prolog-mode-variables): Simplify comment-start-skip.
11042 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11043
31119d63
SM
11044 * emacs-lisp/generic.el (generic--normalise-comments)
11045 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11046 (generic-mode-set-comments): Use them.
11047 (generic-bracket-support): Use setq-local.
11048 (generic-make-keywords-list): Declare obsolete.
11049
7de135d0
GM
110502013-06-11 Glenn Morris <rgm@gnu.org>
11051
11052 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11053 Prettify after setting font-lock-defaults. (Bug#14574)
11054
fa6bc6fd
JB
110552013-06-11 Juanma Barranquero <lekktu@gmail.com>
11056
11057 * replace.el (query-replace, occur-read-regexp-defaults-function)
11058 (replace-search):
11059 * subr.el (declare-function, number-sequence, local-set-key)
11060 (substitute-key-definition, locate-user-emacs-file)
11061 (with-silent-modifications, split-string, eval-after-load):
11062 Fix typos, remove unneeded backslashes and reflow some docstrings.
11063
cf1f9b9a
SM
110642013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11067 default for Elisp files.
11068
56602a4b
GM
110692013-06-11 Glenn Morris <rgm@gnu.org>
11070
11071 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11072 although define-derived-mode was doing this anyway. (Bug#14583)
11073
30ae0b2c
JB
110742013-06-10 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11077 Fix make-variable-buffer-local call to refer to the correct variable.
11078
fa472906
AG
110792013-06-10 Aidan Gauland <aidalgol@amuri.net>
11080
11081 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11082 (eshell-visual-subcommands, eshell-visual-options):
11083 Add summary line to docstrings. Add cross-references.
fa472906 11084
ff4871b9
GM
110852013-06-10 Glenn Morris <rgm@gnu.org>
11086
11087 * epa.el (epa-read-file-name): New function. (Bug#14510)
11088 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11089
04fcf1b0
AG
110902013-06-09 Aidan Gauland <aidalgol@amuri.net>
11091
11092 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11093 output redirection to be ignored with visual commands.
11094
88b00caa
AG
110952013-06-09 Aidan Gauland <aidalgol@amuri.net>
11096
11097 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11098 (eshell-term-initialize): Move long lambda to separate function
11099 eshell-visual-command-p.
27821a89 11100 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11101 * eshell/em-script.el (eshell-script-initialize):
11102 Add missing #' to lambda.
88b00caa 11103
fda74125
LL
111042013-06-08 Leo Liu <sdl.web@gmail.com>
11105
11106 * progmodes/octave.el (octave-add-log-current-defun): New function.
11107 (octave-mode): Set add-log-current-defun-function.
11108 (octave-goto-function-definition): Do not move point if not found.
11109 (octave-find-definition): Enhance to try subfunctions first.
11110
467f3b33
GM
111112013-06-08 Glenn Morris <rgm@gnu.org>
11112
11113 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11114 (byte-compile-backward-char, byte-compile-backward-word):
11115 Improve previous change, to handle non-explicit nil.
11116
544badc3
SM
111172013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11120 (smie--opener/closer-at-point): New function.
11121 (smie--matching-block-data): Use it. Don't match from right after an
11122 opener or right before a closer. Obey smie-blink-matching-inners.
11123 Don't signal a mismatch for repeated inners like "switch..case..case".
11124
a175bf33
LL
111252013-06-07 Leo Liu <sdl.web@gmail.com>
11126
11127 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11128 to t. (Bug#14303)
ce8209d4
LL
11129 (octave-function-header-regexp): Fix. (Bug#14570)
11130 (octave-help-mode-finish-hook, octave-help-mode-finish):
11131 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11132
11133 * newcomment.el (comment-search-backward): Revert last change.
11134 (Bug#14434)
11135
11136 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11137
a822acff
EZ
111382013-06-07 Eli Zaretskii <eliz@gnu.org>
11139
11140 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11141 through xargs, to avoid failure due to MS-Windows limitations on
11142 command-line length.
11143
961166f5
GM
111442013-06-06 Glenn Morris <rgm@gnu.org>
11145
d0341459
GM
11146 * font-lock.el (lisp-font-lock-keywords-2):
11147 Treat user-error like error.
11148
961166f5
GM
11149 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11150 (byte-compile-backward-char, byte-compile-backward-word):
11151 Handle explicit nil arguments. (Bug#14565)
11152
80fa505f
AM
111532013-06-05 Alan Mackenzie <acm@muc.de>
11154
11155 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11156 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11157 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11158 (Bug#9706)
80fa505f 11159
fccdc796
SM
111602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * autorevert.el (auto-revert-notify-handler): Use memq.
11163 Hide assertion failure.
11164
11165 * skeleton.el: Use cl-lib.
11166 (skeleton-further-elements): Use defvar-local.
11167 (skeleton-insert): Use cl-progv.
11168
9bfff84b
TZ
111692013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11170
11171 * progmodes/prog-mode.el (prog-prettify-symbols)
11172 (prog-prettify-install): Update docstrings.
11173
55577e7c
SM
111742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * simple.el: Move all the prog-mode code to prog-mode.el.
11177 * progmodes/prog-mode.el: New file.
11178 * loadup.el: Add prog-mode.el.
11179
8fc57765
TZ
111802013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11181
11182 * simple.el (prog-prettify-symbols): Add version.
11183 (prog-prettify-install): Add convenience function to prettify symbols.
11184
11185 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11186 (perl--augmented-font-lock-keywords-1)
11187 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11188 variables and use it.
11189
11190 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11191 (cfengine3-mode): Remove unneeded variable and use it.
11192
11193 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11194 (lisp--augmented-font-lock-keywords-1)
11195 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11196 Remove unneeded variables and use it.
11197
650645d5 111982013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11199
11200 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11201 to point when opening the connection. (Bug#14380)
28f5da6d 11202
781b4af6
SM
112032013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * subr.el (load-history-regexp, load-history-filename-element)
11206 (eval-after-load, after-load-functions, do-after-load-evaluation)
11207 (eval-next-after-load, display-delayed-warnings)
11208 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11209 definition of save-match-data.
11210 (overriding-local-map): Remove accidental obsolescence declaration.
11211
11212 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11213
3ca0d0b4
TZ
112142013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11215
11216 Generalize symbol prettify support to prog-mode and implement it
11217 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11218 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11219 (prog--prettify-font-lock-compose-symbol)
11220 (prog-prettify-font-lock-symbols-keywords): New variables and
11221 functions to support symbol prettification.
11222 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11223 (lisp--augmented-font-lock-keywords-1)
11224 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11225 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11226 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11227 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11228 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11229 * progmodes/perl-mode.el (perl-prettify-symbols)
11230 (perl--font-lock-compose-symbol)
11231 (perl--font-lock-symbols-keywords): Move to prog-mode.
11232 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11233 (perl-font-lock-keywords-1)
11234 (perl-font-lock-keywords-2): Remove explicit prettify support.
11235 (perl--augmented-font-lock-keywords)
11236 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11237 (perl--augmented-font-lock-keywords-2, perl-mode):
11238 Implement prettify support.
3ca0d0b4 11239
976cb066
LL
112402013-06-05 Leo Liu <sdl.web@gmail.com>
11241
27821a89 11242 Re-implement SMIE matching block highlight using
976cb066
LL
11243 show-paren-data-function. (Bug#14395)
11244 * emacs-lisp/smie.el (smie-matching-block-highlight)
11245 (smie--highlight-matching-block-overlay)
11246 (smie--highlight-matching-block-lastpos)
11247 (smie-highlight-matching-block)
11248 (smie-highlight-matching-block-mode): Remove.
11249 (smie--matching-block-data-cache): New variable.
11250 (smie--matching-block-data): New function.
11251 (smie-setup): Use smie--matching-block-data for
11252 show-paren-data-function.
11253
11254 * progmodes/octave.el (octave-mode-menu): Fix.
11255 (octave-find-definition): Skip garbage lines.
11256
208d0342
SM
112572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 Fix compilation error with simultaneous dynamic+lexical scoping.
11260 Add warning when a defvar appears after the first let-binding.
11261 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11262 (byte-compile-close-variables): Initialize it.
11263 (byte-compile--declare-var): New function.
11264 (byte-compile-file-form-defvar)
11265 (byte-compile-file-form-define-abbrev-table)
11266 (byte-compile-file-form-custom-declare-variable): Use it.
11267 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11268 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11269 (byte-compile-bind): Handle dynamic bindings that shadow
11270 lexical bindings.
11271 (byte-compile-unbind): Make arg non-optional.
11272 (byte-compile-let): Simplify.
11273 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11274 (cconv--analyse-function, cconv-analyse-form): Populate it.
11275 Protect byte-compile-bound-variables to limit the scope of defvars.
11276 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11277 Remove unneeded rule for `declare'.
11278
11279 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11280 so as to avoid depending on cl-adjoin at run-time.
11281 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11282
11283 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11284 (macroexp--warn-and-return): Use it.
11285
1ac2891e
GM
112862013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11287
a12bf61e 11288 * subr.el: Convert to lexical binding.
1ac2891e
GM
11289 (overriding-local-map): Make obsolete.
11290 (add-to-list): Doc fix. Add compiler macro.
11291 (read-key): Swap values of local maps.
11292
2587b005
LL
112932013-06-05 Leo Liu <sdl.web@gmail.com>
11294
11295 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11296
f1da3c88
LL
112972013-06-04 Leo Liu <sdl.web@gmail.com>
11298
11299 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11300 (compilation-auto-jump): Suppress the "Mark set" message to give
11301 way to exit message.
11302
3caa391f
AM
113032013-06-04 Alan Mackenzie <acm@muc.de>
11304
11305 Remove faulty optimisation from indentation calculation.
11306 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11307 search limit based on 2000 characters back from indent-point.
11308
068922a2
TH
113092013-06-03 Tassilo Horn <tsdh@gnu.org>
11310
11311 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11312
1f8fdd53
SM
113132013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11314
bbcc4d97
SM
11315 * emacs-lisp/lisp.el: Use lexical-binding.
11316 (lisp--local-variables-1, lisp--local-variables): New functions.
11317 (lisp--local-variables-completion-table): New var.
208d0342 11318 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11319
1f8fdd53
SM
11320 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11321 eagerly (bug#14422).
11322
c9628c79
MA
113232013-06-03 Michael Albinus <michael.albinus@gmx.de>
11324
11325 * autorevert.el (auto-revert-notify-enabled)
11326 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11327 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11328 (auto-revert-notify-handler): Handle also gfilenotify.
11329
e7b41c4c 11330 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11331 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11332 Remove.
c9628c79 11333
e5e4a942
JL
113342013-06-03 Juri Linkov <juri@jurta.org>
11335
11336 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11337 `M-s h .'. (Bug#14427)
11338
11339 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11340 command `hi-lock-face-symbol-at-point'.
11341 (hi-lock-face-symbol-at-point): New command.
11342 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11343 (hi-lock-menu): Add `highlight-symbol-at-point'.
11344 (hi-lock-mode): Doc fix.
11345
11346 * isearch.el (isearch-forward-symbol-at-point): New command.
11347 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11348 (isearch-highlight-regexp): Add a regexp which matches
11349 words/symbols for word/symbol mode.
11350
11351 * subr.el (find-tag-default-bounds): New function with the body
11352 mostly moved from `find-tag-default'.
11353 (find-tag-default): Move most code to `find-tag-default-bounds',
11354 call it and apply `buffer-substring-no-properties' afterwards.
11355
26b3353a
TH
113562013-06-03 Tassilo Horn <tsdh@gnu.org>
11357
781b4af6
SM
11358 * eshell/em-term.el (eshell-term-initialize):
11359 Use `cl-intersection' rather than `intersection'.
26b3353a 11360
51b60f53
XF
113612013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11362
fe054b63 11363 * vc/log-view.el: Doc fix.
d3ffe17c 11364 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11365
a0eb10b3 113662013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11367
11368 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11369 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11370 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11371 (eieio-unbound, eieio-default-superclass)
11372 (eieio--define-field-accessors, method-static, method-before)
11373 (method-primary, method-after, method-num-lists)
11374 (method-generic-before, method-generic-primary)
11375 (method-generic-after, method-num-slots)
11376 (eieio-specialized-key-to-generic-key)
11377 (eieio--check-type, class-v, class-p)
11378 (eieio-class-name, define-obsolete-function-alias)
11379 (eieio-class-parents-fast, eieio-class-children-fast)
11380 (same-class-fast-p, class-constructor, generic-p)
11381 (generic-primary-only-p, generic-primary-only-one-p)
11382 (class-option-assoc, class-option, eieio-object-p)
11383 (class-abstract-p, class-method-invocation-order)
11384 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11385 (eieio-class-un-autoload, eieio-defclass)
11386 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11387 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11388 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11389 (eieio-defgeneric-reset-generic-form)
11390 (eieio-defgeneric-form-primary-only)
11391 (eieio-defgeneric-reset-generic-form-primary-only)
11392 (eieio-defgeneric-form-primary-only-one)
11393 (eieio-defgeneric-reset-generic-form-primary-only-one)
11394 (eieio-unbind-method-implementations)
11395 (eieio--defmethod, eieio--typep)
11396 (eieio-perform-slot-validation, eieio-validate-slot-value)
11397 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11398 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11399 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11400 (eieio-slot-name-index, eieio-class-slot-name-index)
11401 (eieio-set-defaults, eieio-initarg-to-attribute)
11402 (eieio-attribute-to-initarg, eieio-c3-candidate)
11403 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11404 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11405 (eieio-class-precedence-list, eieio-generic-call-methodname)
11406 (eieio-generic-call-arglst, eieio-generic-call-key)
11407 (eieio-generic-call-next-method-list)
11408 (eieio-pre-method-execution-functions, eieio-generic-call)
11409 (eieio-generic-call-primary-only, eieiomt-method-list)
11410 (eieiomt-optimizing-obarray, eieiomt-install)
11411 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11412 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11413 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11414 (defclass): Remove `eval-and-compile' from macro.
11415 (call-next-method, shared-initialize): Instead of using
11416 `scoped-class' variable, use new eieio--scoped-class, and
11417 eieio--with-scoped-class.
11418 (initialize-instance): Rename local variable 'scoped-class' to
11419 'this-class' to remove ambiguitity from old global.
11420
11421 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11422 eieio.el.
4f405069
JB
11423 (eieio--scoped-class-stack): New variable.
11424 (eieio--scoped-class): New fcn.
890f7890
DE
11425 (eieio--with-scoped-class): New scoping macro.
11426 (eieio-defclass): Use pushnew instead of add-to-list.
11427 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11428 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11429 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11430 `scoped-class' variable, use new eieio--scoped-class, and
11431 eieio--with-scoped-class.
11432
11433 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11434
d105b0e2
TH
114352013-06-02 Tassilo Horn <tsdh@gnu.org>
11436
11437 * eshell/esh-ext.el (eshell-external-command): Pass args to
11438 `eshell-find-interpreter'.
11439 (eshell-find-interpreter): Add new second parameter ARGS.
11440
11441 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11442 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11443
11444 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11445 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11446
11447 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11448 (eshell-visual-options): New defcustom.
11449 (eshell-escape-control-x): Adapt docstring.
11450 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11451 `eshell-visual-options' in addition to `eshell-visual-commands'.
11452 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11453
f46305c8 114542013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11455
11456 * progmodes/python.el (python-indent-block-enders): Add break,
11457 continue and raise keywords.
11458
d870df21
GM
114592013-06-01 Glenn Morris <rgm@gnu.org>
11460
9133b82e
GM
11461 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11462
02c992ec 11463 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11464 * progmodes/cc-cmds.el (delete-forward-p):
11465 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11466 * progmodes/cc-engine.el (buffer-syntactic-context):
11467 * progmodes/cc-fonts.el (face-property-instance):
11468 * progmodes/cc-mode.el (set-keymap-parents):
11469 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11470 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11471 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11472 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11473 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11474
31e7b090
GM
11475 * progmodes/cc-vars.el (other): Emacs has this widget since
11476 at least 21.1, so don't (re)define it.
11477
d870df21
GM
11478 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11479 Replace the obsolete alias pcomplete-arg-quote-list.
11480
c75c93c7
LL
114812013-06-01 Leo Liu <sdl.web@gmail.com>
11482
11483 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11484 punctuation syntax.
11485 (inferior-octave-minimal-columns)
11486 (inferior-octave-last-column-width): New variables.
11487 (inferior-octave-track-window-width-change): New function.
11488 (inferior-octave-mode): Adjust column width so that Octave output,
11489 for example from 'ls', can fit into the window nicely.
11490
973d1e12
DG
114912013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11492
11493 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11494 Highlight expansions inside regexp literals.
11495
0888c286
GM
114962013-05-31 Glenn Morris <rgm@gnu.org>
11497
e26aac1f
GM
11498 * obsolete/sym-comp.el (symbol-complete):
11499 Replace obsolete completion-annotate-function.
11500
0888c286
GM
11501 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11502
19bb8e62
DG
115032013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11504
781b4af6
SM
11505 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11506 New function, checks if point is inside a literal that allows
19bb8e62
DG
11507 expression expansion.
11508 (ruby-syntax-propertize-expansion): Use it.
11509 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11510 around the body.
11511
01dea85f
JL
115122013-05-30 Juri Linkov <juri@jurta.org>
11513
11514 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11515 to "\M-si".
11516 (isearch-invisible): New variable.
11517 (isearch-forward): Doc fix.
11518 (isearch-mode): Set `isearch-invisible'
11519 to the value of `search-invisible'.
11520 (isearch-toggle-case-fold): Doc fix.
11521 (isearch-toggle-invisible): New command.
11522 (isearch-query-replace): Let-bind `search-invisible'
11523 to the value of `isearch-invisible'.
11524 (isearch-search): Use `isearch-invisible' instead of
11525 `search-invisible'. Let-bind `search-invisible'
11526 to the value of `isearch-invisible'. (Bug#11378)
11527
ab1bdce5
JL
115282013-05-30 Juri Linkov <juri@jurta.org>
11529
11530 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11531 call when `query-flag' is nil and `search-invisible' is non-nil.
11532 (Bug#11746)
11533
d6d236e2
GM
115342013-05-30 Glenn Morris <rgm@gnu.org>
11535
8accd027
GM
11536 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11537
2a8bed1c
GM
11538 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11539 (cc-require): Suppress spurious "noruntime" warnings.
11540 (cc-require-when-compile): Use fboundp, for sake of compiler.
11541
d6d236e2
GM
11542 * progmodes/cc-mode.el: Move load of cc-vars before that of
11543 cc-langs (which in turn loads cc-vars), to quieten compiler.
11544
9190b35b
SM
115452013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * paren.el: Simplify the code.
11548 (show-paren-mode): Always start the timer.
11549 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11550 (show-paren--overlay, show-paren--overlay-1): Rename from
11551 show-paren-overlay and show-paren-overlay-1, and initialize to an
11552 overlay rather than to nil.
11553 (show-paren-function): Misc cleanup and simplifications.
11554
4f8d1cf6
SM
115552013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * paren.el (show-paren-data-function): New hook.
11558 (show-paren--default): New function, extracted from show-paren-function.
11559 (show-paren-function): Use show-paren-data-function.
11560
02d844b5
GM
115612013-05-30 Glenn Morris <rgm@gnu.org>
11562
d209d4a9
GM
11563 * ielm.el (ielm-map, ielm-complete-symbol):
11564 Use completion-at-point rather than obsolete functions.
11565 (inferior-emacs-lisp-mode): Doc fix.
11566 Set completion-at-point-functions, rather than
11567 comint-dynamic-complete-functions.
11568
2082faa6
GM
11569 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11570 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11571 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11572
dd8620de
GM
11573 * image.el (image-animated-p): Tweak definition.
11574
ceca95b1
GM
11575 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11576 (rlogin-process-connection-type): Tweak default. Add set-after.
11577 (rlogin-host): Doc fix.
11578 (rlogin): Tweak prompt.
11579 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11580
ee9f1acc
GM
11581 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11582 * progmodes/tcl.el (inferior-tcl-mode-map):
11583 Use completion-at-point rather than obsolete alias.
11584
45ce222e
GM
11585 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11586
02d844b5
GM
11587 * minibuffer.el (read-file-name-completion-ignore-case):
11588 Move before completion--in-region, for eager macro expansion.
11589
ac44d6c1
JL
115902013-05-29 Juri Linkov <juri@jurta.org>
11591
11592 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11593 for total count of matching lines. Add `global-matches' for total
11594 count of matches. Rename `matches' to `lines' for count of
11595 matching lines. Add `matches' for count of matches.
11596 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11597 to `prev-line' for line number of prev match endpt.
11598 Increment `matches' for every match. Print the number of
11599 matching lines in the header.
11600 (occur-context-lines): Rename `lines' to `curr-line'.
11601 Rename `prev-lines' to `prev-line'. (Bug#14017)
11602
3c9c9d38
JL
116032013-05-29 Juri Linkov <juri@jurta.org>
11604
11605 * replace.el (perform-replace): Add `skip-read-only-count',
11606 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11607 Increment them for corresponding conditions and report the number
11608 of skipped occurrences in the final message. (Bug#11746)
11609 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11610 (replace-string, replace-regexp): Doc fix.
11611
33e249a2
SM
116122013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11613
8e399682
SM
11614 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11615
33e249a2 11616 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11617 prog-mode-map (bug#14504).
33e249a2 11618
f236dd84
LL
116192013-05-29 Leo Liu <sdl.web@gmail.com>
11620
11621 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11622 (octave-help): Small simplification.
11623
11624 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11625 off the highlight first.
11626
3694d13f
GM
116272013-05-29 Glenn Morris <rgm@gnu.org>
11628
03983bdc
GM
11629 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11630 Handle idlwave-last-system-routine-info-cons-cell being nil.
11631
bc74a74a
GM
11632 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11633 (idlwave-write-paths): Simplify via with-temp-buffer.
11634
8b394200
GM
11635 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11636 * emulation/cua-rect.el: Also load cua-base at run time.
11637
3694d13f
GM
11638 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11639 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11640 (cperl-imenu-on-info): Require imenu.
11641
336d7284
AM
116422013-05-28 Alan Mackenzie <acm@muc.de>
11643
11644 Handle "capitalised keywords" correctly.
33e249a2 11645 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11646
cb29c582
AG
116472013-05-28 Aidan Gauland <aidalgol@amuri.net>
11648
781b4af6 11649 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11650
690e44b2
GM
116512013-05-28 Glenn Morris <rgm@gnu.org>
11652
e658d75c
GM
11653 * vc/vc-arch.el (vc-exec-after): Declare.
11654 (vc-switches): Autoload.
11655 * vc/vc-bzr.el: No need to require vc when compiling.
11656 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11657 (vc-resynch-buffer, vc-dir-refresh): Declare.
11658 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11659 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11660 (vc-resynch-buffer): Declare.
11661 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11662 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11663 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11664 (grep-read-regexp, grep-read-files, grep-expand-template)
11665 (vc-dir-refresh): Declare.
11666 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11667 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11668 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11669 * vc/vc-mtn.el (vc-exec-after): Declare.
11670 (vc-switches): Autoload.
11671 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11672 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11673 (vc-file-tree-walk): Declare.
712b9732
GM
11674 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11675 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11676 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11677 * vc/vc-svn.el (vc-exec-after): Declare.
11678 (vc-switches, vc-setup-buffer): Autoload.
11679 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11680 Autoload.
11681 (vc-resynch-buffer): Declare.
11682
98e87fb3
GM
11683 * obsolete/fast-lock.el (byte-compile-warnings):
11684 Don't warn about obsolete features in this obsolete file.
11685
f5379553
GM
11686 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11687 Move definition before use.
11688
7a20ef83
GM
11689 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11690 (dun-unix-verbs): Remove dun-zippy.
11691 (dun-zippy): Remove function.
11692
690e44b2
GM
11693 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11694
3a52ccf7
JL
116952013-05-27 Juri Linkov <juri@jurta.org>
11696
11697 * replace.el (replace-search): New function with code moved out
11698 from `perform-replace'.
11699 (replace-highlight, replace-dehighlight): Move function definitions
11700 up closer to `replace-search'. (Bug#11746)
11701
d289938a
JL
117022013-05-27 Juri Linkov <juri@jurta.org>
11703
11704 * replace.el (perform-replace): Ignore invisible matches.
11705 In addition to checking `query-replace-skip-read-only', also
11706 filter out matches by calling `run-hook-with-args-until-failure'
11707 on `isearch-filter-predicates', and also check `search-invisible'
11708 for t or call `isearch-range-invisible'.
11709 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11710
66fc57e3
JL
117112013-05-27 Juri Linkov <juri@jurta.org>
11712
11713 * isearch.el (isearch-filter-predicates): Rename from
11714 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11715 (isearch-message-prefix): Display text from the property
11716 `isearch-message-prefix' of the currently active filters.
11717 (isearch-search): Don't compare `isearch-filter-predicate' with
11718 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11719 on `isearch-filter-predicates'. Also check `search-invisible' for t
11720 or call `isearch-range-invisible'.
11721 (isearch-filter-visible): Make obsolete.
11722 (isearch-lazy-highlight-search):
11723 Call `run-hook-with-args-until-failure' on
11724 `isearch-filter-predicates' and use `isearch-range-invisible'.
11725
11726 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11727 `isearch-filter-predicates' instead of `funcall'ing
11728 `isearch-filter-predicate'.
11729 (Info-mode): Set `Info-isearch-filter' to
11730 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11731
11732 * dired-aux.el (dired-isearch-filter-predicate-orig):
11733 Remove variable.
11734 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11735 (dired-isearch-filenames-end): Add and remove
11736 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11737 instead of changing the value of `isearch-filter-predicate'.
11738 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11739 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11740 Put property `isearch-message-prefix' to "filename " on
11741 `dired-isearch-filter-filenames'.
11742
11743 * wdired.el (wdired-change-to-wdired-mode):
11744 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11745 locally instead of changing `isearch-filter-predicate'.
11746 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11747
f1a60a0f
DG
117482013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11749
11750 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11751 return the commit hash (Bug#14459). Also set the
11752 `vc-git-detached' property.
11753 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11754 (vc-git-mode-line-string): Use the same help-echo format whether
11755 in detached mode or not, because we know the actual revision now.
11756 When in detached mode, shorten the revision to 7 chars.
11757
7f17cc40
SM
117582013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * emacs-lisp/easy-mmode.el (define-minor-mode):
11761 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11762 mode hook and provide a docstring.
11763
25c8401c
AM
117642013-05-27 Alan Mackenzie <acm@muc.de>
11765
11766 Remove spurious syntax-table text properties inserted by C-y.
11767 * progmodes/cc-mode.el (c-after-change): Also clear hard
11768 syntax-table property with value nil.
11769
dde84790
MA
117702013-05-27 Michael Albinus <michael.albinus@gmx.de>
11771
11772 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11773 when reading the events; the buffer layout shall not be changed.
11774
837fd9af
LL
117752013-05-27 Leo Liu <sdl.web@gmail.com>
11776
11777 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11778 New variable.
11779 (inferior-octave-directory-tracker): Automatically re-sync
11780 default-directory.
11781 (octave-help): Improve handling of 'See also'.
11782
4fd996b3
SM
117832013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11784
416f1802
SM
11785 * doc-view.el: Minor naming convention tweaks.
11786 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11787
4fd996b3
SM
11788 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11789 even if there's no `display' property yet (bug#14435).
11790
a052ef3b
EZ
117912013-05-25 Eli Zaretskii <eliz@gnu.org>
11792
4fd996b3 11793 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11794
11795 * Makefile.in (custom-deps, finder-data, autoloads)
11796 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11797 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11798 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11799
c9023370
SM
118002013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11803 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11804 Don't burp at EOB.
c9023370 11805
24d699fa
LL
118062013-05-25 Leo Liu <sdl.web@gmail.com>
11807
11808 * comint.el (comint-previous-matching-input): Do not flood the
11809 *Messages* buffer with trivial messages.
11810
17e5c0cc
SM
118112013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * progmodes/flymake.el (flymake-nop): Don't return a string.
11814 (flymake-set-at): Fix typo.
11815
11816 * simple.el (read--expression): New function, extracted from
11817 eval-expression. Set completion-at-point-functions (bug#14465).
11818 (eval-expression, eval-minibuffer): Use it.
11819
5d028165
XF
118202013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11821
11822 * progmodes/flymake.el (flymake-save-buffer-in-file)
11823 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11824 (flymake-selected-frame, flymake-log, flymake-ins-after)
11825 (flymake-set-at, flymake-get-buildfile-from-cache)
11826 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11827 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11828 Refine the doc string.
11829 (flymake-get-file-name-mode-and-masks): Reformat.
11830 (flymake-get-real-file-name-function): Fix a minor bug.
11831
7a1d7ba7
JL
118322013-05-24 Juri Linkov <juri@jurta.org>
11833
11834 * progmodes/grep.el (grep-mode-font-lock-keywords):
11835 Support =linenumber= format used by git-grep for lines with
11836 function names. (Bug#13549)
11837
650cff3d
SM
118382013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11839
11840 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11841 0 after a semi-colon; it works better for smie-auto-fill.
11842 (octave--indent-new-comment-line): New function.
11843 (octave-indent-new-comment-line): Use it (indirectly).
11844 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11845 modify comment-line-break-function.
11846
11847 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11848 (smie-setup): Use add-function to set it.
11849
9631677d
SS
118502013-05-24 Sam Steingold <sds@gnu.org>
11851
11852 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11853 argument (before the `interactive' argument).
11854
50105835
SM
118552013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * image-mode.el (image-mode-winprops): Add winprops to
11858 image-mode-winprops-alist before running
11859 image-mode-new-window-functions.
11860 * doc-view.el (doc-view-new-window-function): Don't delay
11861 doc-view-goto-page via timers (bug#14435).
11862
57b9823e
TH
118632013-05-24 Tassilo Horn <tsdh@gnu.org>
11864
11865 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11866 (doc-view-desktop-save-buffer): New function.
11867 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11868 (desktop-buffer-mode-handlers):
11869 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11870 handler.
11871 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11872 `desktop-save-buffer' function.
11873
91aafa16
MA
118742013-05-24 Michael Albinus <michael.albinus@gmx.de>
11875
11876 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11877 (tramp-gvfs-file-name-handler): Raise a user error when
11878 `tramp-gvfs-enabled' is nil.
11879 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11880 Do not raise a user error when loading package. (Bug#14447)
11881
ec076379
MA
11882 * net/xesam.el: Move to obsolete/.
11883
db785726
GM
118842013-05-24 Glenn Morris <rgm@gnu.org>
11885
af5c7606
GM
11886 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11887
e5d1916a
GM
11888 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11889
ded62b08
GM
11890 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11891 (Info-find-node, Man-getpage-in-background): Declare.
11892
9e614a3f
GM
11893 * mail/unrmail.el (unrmail):
11894 Replace obsolete detect-coding-with-priority.
11895
892f8ca3
GM
11896 * net/socks.el (socks-split-string): Use this rather than split-string.
11897 (socks-nslookup-host): Update for above change.
11898 (dynamic-choice, s5-dynamic-choice-match)
11899 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11900 Comment out unused code.
11901
3c291973
GM
11902 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11903 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11904 (gud-tooltip-echo-area): Make obsolete.
11905 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11906
43cc956b
GM
11907 * progmodes/js.el (js--optimize-arglist): Declare.
11908
dab49a3b
GM
11909 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11910
36b9d085
GM
11911 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11912 (ediff-window-C): Declare.
11913
e354ae76
GM
11914 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11915 Tweak requires to silence compiler.
11916
b8e57bf4
GM
11917 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11918 (he-search-string, he-tried-table, he-expand-list)
11919 (he-init-string, he-string-member, he-substitute-string)
11920 (he-reset-string): Declare.
11921
db785726
GM
11922 * obsolete/options.el (list-options): Use custom-variable-p,
11923 rather than obsolete alias.
11924
b3531901
SS
119252013-05-23 Sam Steingold <sds@gnu.org>
11926
11927 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11928 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11929 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11930
bdda4c66
SM
119312013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11932
11933 * emacs-lisp/smie.el (smie-indent-forward-token)
11934 (smie-indent-backward-token): Handle string tokens (bug#14381).
11935
c43d45f9
TH
119362013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11937
fe1eb856
RS
11938 * ielm.el (ielm-menu): New menu.
11939 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11940
fe1eb856
RS
119412013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11942
a12bf61e 11943 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11944 Fix deactivate action.
11945
a12bf61e 11946 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11947 Add cleveref macros.
074dd971 11948
a12bf61e 11949 * textmodes/reftex-parse.el
c43d45f9
TH
11950 (reftex-locate-bibliography-files): Accept options for
11951 bibliography commands.
a12bf61e 11952 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11953 Add addbibresource. Basic Biblatex support.
11954
7764286e
MA
119552013-05-23 Michael Albinus <michael.albinus@gmx.de>
11956
11957 * net/tramp-gvfs.el (top):
11958 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11959 when loading package. (Bug#14447)
11960
d361bc10
GM
119612013-05-23 Glenn Morris <rgm@gnu.org>
11962
8fa23984
GM
11963 * progmodes/js.el: No need to load comint when compiling.
11964 (ring-insert, comint-send-string, comint-send-input)
11965 (comint-last-input-end, ido-chop): Declare.
11966
a5c7df1a
GM
11967 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11968 * vc/ediff-mult.el: Adjust requires.
11969 (ediff-directories-internal, ediff-directory-revisions-internal)
11970 (ediff-patch-file-internal): Declare.
11971 * vc/ediff-ptch.el: Adjust requires.
11972 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11973 (ediff-find-file): Autoload.
11974 * vc/ediff-util.el: No need to load ediff when compiling.
11975 (ediff-regions-internal): Declare.
11976 * vc/ediff-wind.el: Adjust requires.
11977 (ediff-compute-toolbar-width): Define when compiling.
11978 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11979 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11980 (dired-get-filename, dired-get-marked-files)
11981 (ediff-last-dir-patch, ediff-patch-default-directory)
11982 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11983 (ediff-patch-buffer-internal): Declare.
11984
e2aec513
GM
11985 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11986 (ispell-process, ispell-buffer-local-words, lm-summary)
11987 (lm-section-start, lm-section-end): Declare.
11988 (checkdoc-ispell-init): Simplify.
11989
e68bbd7c
GM
11990 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11991 (he-string-member, he-reset-string, he-substitute-string): Declare.
11992
7efe0991
GM
11993 * eshell/em-ls.el: Adjust requires.
11994 (eshell-glob-regexp): Declare.
f87b1284
GM
11995 * eshell/em-tramp.el: Adjust requires.
11996 (eshell-parse-command): Autoload.
11997 * eshell/em-xtra.el: Adjust requires.
11998 (eshell-parse-command): Autoload.
11999 * eshell/esh-ext.el: Adjust requires.
12000 (eshell-parse-command, eshell-close-handles): Autoload.
12001 * eshell/esh-io.el: Adjust requires.
12002 (eshell-output-filter): Autoload.
12003 * eshell/esh-util.el: No need to load tramp when compiling.
12004 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12005 Declare.
12006 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12007 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12008 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12009 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12010 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12011 * eshell/esh-opt.el, eshell/esh-proc.el:
12012 * eshell/esh-var.el: Adjust requires.
12013 * eshell/eshell.el: Do not require esh-util twice.
12014 (eshell-add-input-to-history): Declare.
12015 (eshell-command): Check history module is active before using it.
12016
d361bc10
GM
12017 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12018
85d090a9
LL
120192013-05-22 Leo Liu <sdl.web@gmail.com>
12020
12021 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12022
5d0acd9d
MA
120232013-05-22 Michael Albinus <michael.albinus@gmx.de>
12024
12025 * autorevert.el (auto-revert-notify-add-watch)
12026 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12027 it indicates changes in file modification time.
12028
0cdffd7d
GM
120292013-05-22 Glenn Morris <rgm@gnu.org>
12030
ca5995ec
GM
12031 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12032 Always delete the autoloaded function from the noruntime and
12033 unresolved functions lists.
12034
6450907e
GM
12035 * allout.el: No need to load epa, epg, overlay when compiling.
12036 (epg-context-set-passphrase-callback, epg-list-keys)
12037 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12038 (epg-key-user-id-list): Declare.
12039
9c6906f6
GM
12040 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12041 (viper-set-parsing-style-toggling-macro)
12042 (viper-set-emacs-state-searchstyle-macros):
12043 Use called-interactively-p on Emacs.
12044 (viper-looking-back): Make it an obsolete alias. Update callers.
12045 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12046 Use looking-back rather than viper-looking-back.
12047 (viper-tmp-insert-at-eob, viper-enlarge-region)
12048 (viper-read-string-with-history, viper-register-to-point)
12049 (viper-append-to-register, viper-change-state-to-vi)
12050 (viper-backward-char-carefully, viper-forward-char-carefully)
12051 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12052 (viper-change-state-to-emacs): Declare.
12053 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12054 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12055 * emulation/viper-mous.el: Do not load viper-cmd.
12056 (viper-backward-char-carefully, viper-forward-char-carefully)
12057 (viper-forward-word, viper-adjust-window): Declare.
12058
5f70c169
GM
12059 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12060
b1b7f300
GM
12061 * progmodes/idlw-help.el (idlwave-help-fontify):
12062 Use called-interactively-p.
12063
f6ebbb46
GM
12064 * term/w32console.el (w32-get-console-codepage)
12065 (w32-get-console-output-codepage): Declare.
12066
0cdffd7d
GM
12067 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12068 Remove unnecessary declarations.
12069 (dframe-message): Doc fix.
12070
12071 * info.el (dframe-select-attached-frame, dframe-current-frame):
12072 Declare.
12073
12074 * speedbar.el (speedbar-message): Make it an obsolete alias.
12075 Update all callers.
12076 (speedbar-with-attached-buffer)
12077 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12078 (speedbar-with-writable): Use backquote.
12079 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12080 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12081 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12082 rather than speedbar- aliases.
12083 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12084 (speedbar-make-specialized-keymap, speedbar-insert-button)
12085 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12086 (speedbar-do-function-pointer): Declare.
12087 (rmail-speedbar-button, rmail-speedbar-find-file)
12088 (rmail-speedbar-move-message):
12089 Use dframe-with-attached-buffer rather than speedbar- alias.
12090 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12091 (dframe-message, speedbar-make-specialized-keymap)
12092 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12093 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12094 (speedbar-insert-button, dframe-select-attached-frame)
12095 (dframe-maybee-jump-to-attached-frame)
12096 (speedbar-change-initial-expansion-list)
12097 (speedbar-previously-used-expansion-list-name): Declare.
12098 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12099 Use dframe-message, dframe-with-attached-buffer rather than
12100 speedbar- aliases.
12101 (gud-sentinel): Silence compiler.
12102 * progmodes/vhdl-mode.el (speedbar-refresh)
12103 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12104 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12105 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12106 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12107 (speedbar-file-lists, speedbar-make-tag-line)
12108 (speedbar-line-directory, speedbar-goto-this-file)
12109 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12110 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12111 (speedbar-make-button, speedbar-reset-scanners)
12112 (speedbar-files-item-info, speedbar-line-text)
12113 (speedbar-find-file-in-frame, speedbar-set-timer)
12114 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12115 (speedbar-with-writable): Do not (re)define it.
12116 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12117 rather than speedbar- alias.
12118
ee44b62a
LL
121192013-05-21 Leo Liu <sdl.web@gmail.com>
12120
12121 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12122 menu items.
12123 (octave-mode): Tweak fill-nobreak-predicate.
12124 (inferior-octave-startup): Check process to avoid infinite loop.
12125 (inferior-octave): Pop to buffer first to show abornmal process
12126 exit information.
12127
640f050f
GM
121282013-05-21 Glenn Morris <rgm@gnu.org>
12129
79458038
GM
12130 * printing.el (pr-menu-bar): Define when compiling.
12131
9cc3e83f
LL
121322013-05-21 Leo Liu <sdl.web@gmail.com>
12133
12134 * progmodes/octave.el (octave-auto-fill): Remove.
12135 (octave-indent-new-comment-line): Improve.
12136 (octave-mode): Use auto fill mode through
4f405069 12137 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12138 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12139 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12140 (octave-help): Show parent directory.
12141
f440830d
GM
121422013-05-21 Glenn Morris <rgm@gnu.org>
12143
12144 * files.el (dired-unmark):
12145 * progmodes/gud.el (gdb-input): Update declarations.
12146
12147 * calculator.el (electric, ehelp): No need to load when compiling.
12148 (Electric-command-loop, electric-describe-mode): Declare.
12149
12150 * doc-view.el (doc-view-current-converter-processes): Move before use.
12151
12152 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12153 Move MODE-set-explicitly definition before use.
12154
12155 * international/mule-diag.el (mule-diag):
12156 Don't use obsolete window-system-version.
12157
12158 * mail/feedmail.el (smtpmail): No need to load when compiling.
12159 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12160
12161 * mail/mail-utils.el (rfc822): No need to load when compiling.
12162 (rfc822-addresses): Autoload it.
12163 (mail-strip-quoted-names): Trivial simplification.
12164
12165 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12166 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12167
12168 * net/snmp-mode.el (tempo): Don't duplicate requires.
12169
12170 * progmodes/prolog.el (info): No need to load when compiling.
12171 (comint): Require before shell requires it.
12172 (Info-goto-node): Autoload it.
12173 (Info-follow-nearest-node): Declare.
12174 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12175
12176 * textmodes/artist.el (picture-mode-exit): Declare.
12177
12178 * textmodes/reftex-parse.el (reftex-parse-from-file):
12179 Trivial rewrite so the compiler can parse it better.
12180
b4da2cbb
LL
121812013-05-20 Leo Liu <sdl.web@gmail.com>
12182
12183 * progmodes/octave.el (octave-help-mode-map)
12184 (octave-help-mode-finish-hook): New variables.
12185 (octave-help-mode, octave-help-mode-finish): New functions.
12186 (octave-help): Use octave-help-mode.
12187
33c0f65b
GM
121882013-05-20 Glenn Morris <rgm@gnu.org>
12189
12190 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12191
1a0a0a8a
DG
121922013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12193
12194 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12195 start at point, so that expansion starting right after opening
12196 slash in a regexp is recognized.
12197 (ruby-syntax-before-regexp-re): New defvar, extracted from
12198 ruby-syntax-propertize-function. Since the value of this regexp
12199 is looked up at runtime now, we should be able to turn
12200 `ruby-syntax-methods-before-regexp' into a defcustom later.
12201 (ruby-syntax-propertize-function): Split regexp matching into two
12202 parts, for opening and closing slashes. That allows us to skip
12203 over string interpolations and support multiline regexps.
12204 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12205 for them, which calls `ruby-syntax-propertize-expansion'.
12206 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12207 call to `ruby-syntax-propertize-function'.
12208 (ruby-syntax-propertize-expansion): Extracted from
12209 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12210 (ruby-syntax-propertize-percent-literal): Leave point right after
12211 the percent symbol, so that the expression expansion rule can
12212 propertize the contents.
462388b6
DG
12213 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12214 heredoc openers.
12215 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12216
c1a6c0a4
JL
122172013-05-18 Juri Linkov <juri@jurta.org>
12218
12219 * man.el (Man-default-man-entry): Remove `-' from the end
12220 of the default value. (Bug#14400)
12221
8051fccd
GM
122222013-05-18 Glenn Morris <rgm@gnu.org>
12223
12224 * comint.el (comint-password-prompt-regexp):
12225 Allow "password for XXX" where XXX contains colons (eg https://...).
12226
5e80b74f
LL
122272013-05-18 Leo Liu <sdl.web@gmail.com>
12228
12229 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12230 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12231 (octave-source-directories): Don't check process.
12232 (octave-source-directories, octave-find-definition): Doc fix.
12233
521a54c5
GM
122342013-05-18 Glenn Morris <rgm@gnu.org>
12235
86a94b05
GM
12236 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12237 Remove backspace/delete bindings. (Bug#14392)
12238
521a54c5
GM
12239 * cus-dep.el (custom-make-dependencies): Sort the output.
12240 (custom-versions-load-alist): Convert comment to doc.
12241
42caeb89
LL
122422013-05-17 Leo Liu <sdl.web@gmail.com>
12243
12244 * newcomment.el (comment-search-backward): Stricter in finding
12245 comment start. (Bug#14303)
12246
12247 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12248 (octave-comment-start-skip): Properly anchored.
12249
e219dd97
LL
122502013-05-17 Leo Liu <sdl.web@gmail.com>
12251
fe1eb856
RS
12252 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12253 Clean up when turned off. (Bug#14395)
e219dd97
LL
12254 (smie--highlight-matching-block-overlay): No longer buffer-local.
12255 (smie-highlight-matching-block): Adjust.
12256
dc5dcb4b
PE
122572013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12258
12259 Doc string fix for "nanoseconds" (Bug#14406).
12260 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12261 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12262
1db165f0
JB
122632013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12264
12265 * calc/calc-units.el (math-extract-units): Preserve powers
12266 of units.
12267
c7a8fcac
LL
122682013-05-17 Leo Liu <sdl.web@gmail.com>
12269
12270 * subr.el (delete-consecutive-dups): New function.
12271 * ido.el (ido-set-matches-1): Use it.
12272 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12273 * ido.el (ido-remove-consecutive-dups): Remove.
12274
f678b18a
SM
122752013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12278 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12279 regexp-opt's `words'.
12280
ebfe68e8
LL
122812013-05-16 Leo Liu <sdl.web@gmail.com>
12282
12283 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12284 (smie--highlight-matching-block-overlay)
12285 (smie--highlight-matching-block-lastpos)
12286 (smie--highlight-matching-block-timer): New variables.
12287 (smie-highlight-matching-block): New function.
12288 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12289 (smie-setup): Conditionally enable smie-blink-matching-open.
12290
bc8bc17d
WS
122912013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12292
12293 Sync with upstream verilog-mode r840.
12294 * progmodes/verilog-mode.el (verilog-mode-version)
12295 (verilog-mode-release-date): Update.
12296 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12297 (verilog-sig-tieoff): Fix string error on
12298 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12299 (verilog-read-decls): Fix parameters confusing
12300 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12301
df065a0b
EZ
123022013-05-16 Eli Zaretskii <eliz@gnu.org>
12303
12304 * subr.el (reveal-filename): New function.
12305
12306 * loadup.el: Compute Emacs executable versions on MS-Windows,
12307 where executables have the .exe extension. Add a hard link
12308 emacs-XX.YY.ZZ.exe on MS-Windows.
12309
12310 * Makefile.in (XARGS_LIMIT): New variable.
12311 (custom-deps, finder-data, autoloads)
12312 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12313 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12314 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12315 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12316
2d4bf34b
LL
123172013-05-16 Leo Liu <sdl.web@gmail.com>
12318
12319 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12320 (octave-mode-menu, octave-mode-map): Remove its uses.
12321
6b9c2d85
RZ
123222013-05-16 Reto Zimmermann <reto@gnu.org>
12323
12324 Sync with upstream vhdl mode v3.34.2.
12325 * progmodes/vhdl-mode.el: Use `push' throughout.
12326 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12327 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12328 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12329 (vhdl-actual-generic-name): New option to derive actual generic name.
12330 (vhdl-port-paste-signals): Replace formal by actual generics.
12331 (vhdl-beautify): New name for old group vhdl-align. Update users.
12332 (vhdl-beautify-options): New option.
12333 (vhdl-last-input-event): New compat alias. Use throughout.
12334 (vhdl-goto-line): Replace user level function `goto-line'.
12335 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12336 vhdl-fix-statement-buffer.
12337 (vhdl-create-mode-menu): Add some entries.
12338 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12339 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12340 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12341 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12342 to force statements on one line.
12343 (vhdl-remove-trailing-spaces-region):
12344 New, split from vhdl-remove-trailing-spaces.
12345 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12346 Respect vhdl-beautify-options.
12347 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12348 (vhdl-update-sensitivity-list): Not add with index if exists without.
12349 Not include array index with signal. Ignore keywords in comments.
12350 (vhdl-get-visible-signals): Regexp tweaks.
12351 (vhdl-template-component-inst): Handle empty library.
12352 (vhdl-template-type): Add template for 'enum' type.
12353 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12354 Use vhdl-replace-string.
12355 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12356 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12357 (vhdl-speedbar-initialize): Update for above name change.
12358 (vhdl-compose-wire-components): Fix in handling of constants.
12359 (vhdl-error-regexp-emacs-alist): New variable.
12360 (vhdl-error-regexp-add-emacs): New function;
12361 adds support for new compile.el (Emacs 22+)
12362 (vhdl-generate-makefile-1): Change target order for single lib. units.
12363 Allow use of absolute file names.
12364
9df4ec5e
LL
123652013-05-16 Leo Liu <sdl.web@gmail.com>
12366
12367 * simple.el (prog-indent-sexp): Indent enclosing defun.
12368
f5ba00a6
GM
123692013-05-15 Glenn Morris <rgm@gnu.org>
12370
ed8be7ff
GM
12371 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12372 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12373 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12374 (whitespace-highlight): Move to whitespace group.
12375
12376 * comint.el (comint-source):
12377 * pcmpl-linux.el (pcmpl-linux):
12378 * shell.el (shell-faces):
12379 * eshell/esh-opt.el (eshell-opt):
12380 * international/ccl.el (ccl): Remove empty custom groups.
12381
12382 * completion.el (dynamic-completion-mode):
12383 * jit-lock.el (jit-lock-debug-mode):
12384 * minibuffer.el (completion-in-region-mode):
12385 * type-break.el (type-break-mode-line-message-mode)
12386 (type-break-query-mode):
12387 * emulation/tpu-edt.el (tpu-edt-mode):
12388 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12389 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12390 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12391
12392 * term/xterm.el (xterm): Change parent group to terminals.
12393
12394 * master.el (master): Remove empty custom group.
12395 (master-mode): Remove unused :group argument.
12396 * textmodes/refill.el (refill): Remove empty custom group.
12397 (refill-mode): Remove unused :group argument.
12398
12399 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12400
82a7c41b
GM
12401 * cus-dep.el: Provide a feature.
12402 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12403 Don't mistakenly ignore files whose basenames match a basename
12404 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12405 Add a fallback method for getting :group.
f5ba00a6 12406
6d65486d
JL
124072013-05-15 Juri Linkov <juri@jurta.org>
12408
da547b32
JL
12409 * isearch.el (isearch-char-by-name): Rename from
12410 `isearch-insert-char-by-name'. Doc fix.
12411 (isearch-forward): Mention `isearch-char-by-name' in
12412 the docstring. (Bug#13348)
12413
6d65486d
JL
12414 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12415 `exit-minibuffer' instead of
12416 `isearch-nonincremental-exit-minibuffer'.
12417 (isearch-edit-string): Remove mention of
12418 `isearch-nonincremental-exit-minibuffer' from docstring.
12419 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12420 (isearch-forward-exit-minibuffer)
12421 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12422
c9990474
SM
124232013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12424
6e911150
SM
12425 * loadup.el: Just use unversioned DOC.
12426
c9990474
SM
12427 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12428 literals as extending to EOB.
12429 (nxml-last-fontify-end): Remove unused variable.
12430 (nxml-after-change1): Use with-silent-modifications.
12431 (nxml-extend-after-change-region): Simplify.
12432 (nxml-extend-after-change-region1): Remove function.
12433 (nxml-after-change1): Don't adjust for dependent regions.
12434 (nxml-fontify-matcher): Simplify.
12435 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12436 (xmltok-add-dependent): Remove function.
12437 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12438 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12439 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12440 unclosed <[[, <?, comment, and other literals as extending to EOB.
12441 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12442 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12443 Remove functions.
12444 (rng-do-some-validation-1): Don't mark dependent regions.
12445 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12446 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12447 (nxml-clear-dependent-regions): Remove functions.
12448 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12449 (nxml-ensure-scan-up-to-date):
12450 Don't clear&mark dependent regions.
12451
e3772e98
LL
124522013-05-15 Leo Liu <sdl.web@gmail.com>
12453
c9990474
SM
12454 * progmodes/octave.el (octave-goto-function-definition):
12455 Improve and fix callers.
e3772e98 12456
5ac2eb34
SM
124572013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12458
c46c57b0
SM
12459 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12460 the setter (bug#14387).
12461
5ac2eb34
SM
12462 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12463 surrounding group (bug#14402).
12464
180ed218
JL
124652013-05-14 Juri Linkov <juri@jurta.org>
12466
12467 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12468 (Bug#14390)
12469
0ac0fecb
GM
124702013-05-14 Glenn Morris <rgm@gnu.org>
12471
12472 * progmodes/f90.el (f90-imenu-generic-expression):
12473 Fix typo in 2013-05-08 change. (Bug#14402)
12474
2e78e6a7
JPG
124752013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12476
5ac2eb34
SM
12477 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12478 Remove signals for which replies are never received.
2e78e6a7 12479
53267cca
JPG
124802013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12481
12482 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12483 (gdb-handler-alist, gdb-handler-number): Remove variables.
12484 (gdb-handler-list): New variable.
12485 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12486 (gdb-pending-handler-p, gdb-handle-reply)
12487 (gdb-remove-all-pending-triggers): New functions.
12488 (gdb-discard-unordered-replies): New defcustom.
12489 (gdb-handler): New defstruct.
12490 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12491 instead of gdb-pending-triggers. Update docstring.
12492 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12493 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12494 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12495 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12496 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12497 (gdb-frame-handler): Pending triggers are now automatically managed.
12498 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12499 Remove argument.
12500 (gdb-input): Automatically handles pending triggers. Update docstring.
12501 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12502 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12503 Update comments.
12504 (gdb-done-or-error): Now use gdb-handle-reply.
12505
d04ce803
JPG
125062013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12507
12508 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12509 gdb-debug-log.
12510
0114073a
GM
125112013-05-14 Glenn Morris <rgm@gnu.org>
12512
12513 * subr.el (user-emacs-directory-warning): New option.
12514 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12515
4d25fd7e
LL
125162013-05-14 Leo Liu <sdl.web@gmail.com>
12517
12518 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12519 during redisplay.
12520 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12521 (octave-font-lock-texinfo-comment): Fix invalid search bound
12522 error: wrong side of point.
4d25fd7e 12523
27c8b6eb
GM
125242013-05-14 Glenn Morris <rgm@gnu.org>
12525
61aaeb01
GM
12526 * progmodes/flymake.el (flymake-xml-program): New option.
12527 (flymake-xml-init): Use it.
12528
5bf90bc5
GM
12529 * term/xterm.el: Provide a feature.
12530
12531 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12532
f4c7dfd2
GM
125332013-05-13 Glenn Morris <rgm@gnu.org>
12534
12535 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12536 Add compat aliases as a hack workaround. (Bug#14384)
12537
2aeb3a1d
LL
125382013-05-13 Leo Liu <sdl.web@gmail.com>
12539
b0e069c2
LL
12540 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12541 ###, and %!.
f5a9432f
LL
12542 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12543 C-M-q.
b0e069c2
LL
12544 (octave-comment-start-skip): Include %!.
12545 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12546
30ea8374
LL
125472013-05-12 Leo Liu <sdl.web@gmail.com>
12548
12549 * progmodes/octave.el (inferior-octave-startup): Store the value
12550 of __octave_srcdir__ for octave-source-directories.
12551 (inferior-octave-check-process): New function refactored out of
12552 inferior-octave-send-list-and-digest.
12553 (octave-source-directories)
12554 (octave-find-definition-filename-function): New variables.
12555 (octave-source-directories)
12556 (octave-find-definition-default-filename): New functions.
12557 (octave-find-definition): Improve to find functions implemented in C++.
12558
472a3834
GM
125592013-05-12 Glenn Morris <rgm@gnu.org>
12560
12561 * calendar/diary-lib.el (diary-outlook-format-1):
12562 Don't include dayname in the output. (Bug#14349)
12563
3191b52f
GM
125642013-05-11 Glenn Morris <rgm@gnu.org>
12565
0060ac73
GM
12566 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12567
3191b52f
GM
12568 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12569 Treat cc-provide like provide.
12570
e065ba74
KR
125712013-05-11 Kevin Ryde <user42@zip.com.au>
12572
12573 * cus-dep.el (custom-make-dependencies):
12574 Use generated-autoload-load-name for the sake of files such
12575 such cedet/semantic/bovine/c.el, where the base file name
12576 is not in load-path. (Bug#5277)
12577
36f84c37
GM
125782013-05-11 Glenn Morris <rgm@gnu.org>
12579
12580 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12581 Provide features.
12582
c8730c3a
LL
125832013-05-11 Leo Liu <sdl.web@gmail.com>
12584
12585 * progmodes/octave.el (octave-indent-comment): Improve.
12586 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12587 (octave-eldoc-function-signatures, octave-eldoc-function):
12588 New functions.
c8730c3a
LL
12589 (octave-mode, inferior-octave-mode): Add eldoc support.
12590
212e29f2
RS
125912013-05-11 Richard Stallman <rms@gnu.org>
12592
12593 * epa.el (epa-decrypt-file): Take output file name as argument
12594 and read it using `interactive'.
12595
083fe0d7
LL
125962013-05-11 Leo Liu <sdl.web@gmail.com>
12597
12598 * progmodes/octave.el (octave-beginning-of-line)
12599 (octave-end-of-line): Check before using up-list because it jumps
12600 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12601 (octave-indent-comment): New function.
12602 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12603 (octave-begin-keywords, octave-end-keywords)
12604 (octave-reserved-words, octave-smie-bnf-table)
12605 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12606
8582e4c4
GM
126072013-05-11 Glenn Morris <rgm@gnu.org>
12608
f20def1f
GM
12609 * faces.el (internal-face-x-get-resource):
12610 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12611 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12612 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12613 Fix declarations.
f20def1f 12614
445f95e2
GM
12615 * calc/calc-menu.el: Make it loadable in isolation.
12616
12617 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12618 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12619 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12620 (eudc-bbdb-query-internal): Require 'bbdb.
12621
99fb2756
GM
12622 * lpr.el (lpr-headers-switches):
12623 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12624
12625 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12626
0da7ad96
GM
12627 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12628
8582e4c4
GM
12629 * term.el (term-set-escape-char): Make it idempotent.
12630
f71c50d0
LL
126312013-05-10 Leo Liu <sdl.web@gmail.com>
12632
5ac2eb34
SM
12633 * progmodes/octave.el (inferior-octave-completion-table):
12634 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12635 completion due to bug#11906.
12636 (octave-beginning-of-defun): Re-write to be more general.
12637
d5837773
GM
126382013-05-10 Glenn Morris <rgm@gnu.org>
12639
12640 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12641
027c0f75
SM
126422013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 * comint.el (comint-redirect-send-command-to-process): Use :around
12645 rather than :override for comint-redirect-filter.
12646 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12647 Call it instead of comint-redirect-original-filter-function (which
12648 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12649
4465bfb4
JD
126502013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12651
12652 * frame.el (display-monitor-attributes-list): Add NS case.
12653 (ns-display-monitor-attributes-list): Declare.
12654
2d809ffa 126552013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12656
12657 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12658
e54eeb9b
GM
126592013-05-09 Glenn Morris <rgm@gnu.org>
12660
56cd351d
GM
12661 * international/fontset.el (vertical-centering-font-regexp):
12662 Set standard-value.
12663
d84b6108
GM
12664 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12665
a931698a
GM
12666 * bookmark.el (bookmark-search-delay):
12667 * cus-start.el (vertical-centering-font-regexp):
12668 * ps-mule.el (ps-mule-font-info-database-default):
12669 * ps-print.el (ps-default-fg, ps-default-bg):
12670 * type-break.el (type-break-good-break-interval):
12671 * whitespace.el (whitespace-indentation-regexp)
12672 (whitespace-space-after-tab-regexp):
12673 * emacs-lisp/testcover.el (testcover-1value-functions)
12674 (testcover-noreturn-functions, testcover-progn-functions)
12675 (testcover-prog1-functions):
12676 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12677 * eshell/em-glob.el (eshell-glob-translate-alist):
12678 * play/tetris.el (tetris-tty-colors):
12679 * progmodes/cpp.el (cpp-face-default-list):
12680 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12681 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12682 (idlwave-help-browser-generic-args):
12683 * progmodes/make-mode.el (makefile-special-targets-list):
12684 * progmodes/python.el (python-shell-virtualenv-path):
12685 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12686 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12687 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12688 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12689 * textmodes/reftex-vars.el (reftex-format-label-function):
12690 * textmodes/remember.el (remember-diary-file): Fix custom types.
12691
e54eeb9b
GM
12692 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12693 Add :version.
12694
455851dd
LL
126952013-05-09 Leo Liu <sdl.web@gmail.com>
12696
12697 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12698 Restore file completion. (Bug#14300)
455851dd
LL
12699 (inferior-octave-startup): Fix incorrect highlighting for the
12700 first prompt.
12701
a9e4425b
SM
127022013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12703
12704 * progmodes/ruby-mode.el: First cut at SMIE support.
12705 (ruby-use-smie): New var.
12706 (ruby-smie-grammar): New constant.
12707 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12708 (ruby-smie--forward-token, ruby-smie--backward-token)
12709 (ruby-smie-rules): New functions.
12710 (ruby-mode-variables): Setup SMIE if applicable.
12711
060ca408
EZ
127122013-05-08 Eli Zaretskii <eliz@gnu.org>
12713
12714 * simple.el (line-move-visual): Signal beginning/end of buffer
12715 only if vertical-motion moved less than it was requested. Avoids
12716 silly incorrect error messages when there are display strings with
12717 multiple newlines at EOL.
12718
1d5963cc
SM
127192013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12722 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12723 (prolog-char-quote-workaround):
12724 * progmodes/cperl-mode.el (cperl-under-as-char):
12725 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12726 Mark as obsolete.
12727 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12728 their declaration.
12729 (vhdl-mode-syntax-table-init): Remove.
12730
c9990474
SM
12731 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12732 last change.
1d5963cc
SM
12733
12734 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12735 syntax for "_".
12736 (ld-script-font-lock-keywords):
12737 Change regexps to use things like \_< and \_>.
12738
12739 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12740 Change all regexps to use things like \_< and \_>.
12741
12742 * progmodes/autoconf.el (autoconf-definition-regexp)
12743 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12744 Handle a _ with symbol syntax.
12745 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12746
c9990474
SM
12747 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12748 Consolidate declaration.
1d5963cc
SM
12749 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12750 the declaration.
12751 (ada-create-syntax-table): Remove.
12752 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12753 already has the right syntax nowadays.
12754 (ada-goto-next-word): Don't change the syntax of "_".
12755
12756 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12757 with-wrapper-hook.
12758
72d3cfca
SS
127592013-05-08 Sam Steingold <sds@gnu.org>
12760
12761 * thingatpt.el (thing-at-point): Accept optional second argument
12762 NO-PROPERTIES to strip the text properties from the return value.
12763 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12764 to `thing-at-point' instead of stripping the properties ourselves.
12765 Also, when `thing-at-point' fails to find a url, prepend "http://"
12766 to the filename at point on the assumption that the user is
12767 pointing at something like gnu.org/gnu.
12768
5cb15713
JB
127692013-05-08 Juanma Barranquero <lekktu@gmail.com>
12770
12771 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12772 * faces.el (crm-separator):
12773 Silence byte-compiler.
12774
12775 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12776 (tool-bar-map): Remove unneeded defvars.
12777
ea78b95b
LL
127782013-05-08 Leo Liu <sdl.web@gmail.com>
12779
12780 Re-work a fix for bug#10994 based on Le Wang's patch.
12781 * ido.el (ido-remove-consecutive-dups): New helper.
12782 (ido-completing-read): Use it.
12783 (ido-chop): Revert fix for bug#10994.
12784
dc7466df
AS
127852013-05-08 Adam Spiers <emacs@adamspiers.org>
12786
12787 * cus-edit.el (custom-save-variables):
12788 Pretty-print long values. (Bug#14187)
12789
9ecf672a
GM
127902013-05-08 Glenn Morris <rgm@gnu.org>
12791
12792 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12793 (m4-mode-syntax-table): Init in the defvar.
12794 (m4-mode-abbrev-table): Let define-derived-mode define it.
12795
3f555be8
TT
127962013-05-08 Tom Tromey <tromey@redhat.com>
12797
12798 * progmodes/m4-mode.el (m4-mode-syntax-table):
12799 Do not treat "_" as word constituent. (Bug#14167)
12800
7cc8ae06
GM
128012013-05-07 Glenn Morris <rgm@gnu.org>
12802
4f58bc06
GM
12803 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12804 Remove explicit eshell-isearch-cancel-map.
12805
7cc8ae06
GM
12806 * progmodes/f90.el (f90-smart-end-names): New option.
12807 (f90-smart-end): Doc fix.
12808 (f90-end-block-optional-name): New constant.
12809 (f90-block-match): Respect f90-smart-end-names.
12810
ceb57e59
SM
128112013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12812
12813 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12814 about implicit semi-colons (bug#14218).
12815
4e3f9230
YM
128162013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12817
12818 * frame.el (display-monitor-attributes-list)
12819 (frame-monitor-attributes): New functions.
12820
203a5572
LL
128212013-05-06 Leo Liu <sdl.web@gmail.com>
12822
12823 * progmodes/octave.el (octave-syntax-propertize-function): Change
12824 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12825 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12826 (octave-completion-at-point): Rename from
203a5572
LL
12827 octave-completion-at-point-function.
12828 (inferior-octave-directory-tracker): Robustify.
12829 (octave-text-functions): Remove and fix its uses. No such things
12830 any more.
12831
ee6cff99
SM
128322013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12833
12834 * emacs-lisp/trace.el (trace--display-buffer): New function.
12835 (trace-make-advice): Use it.
12836
32985194
JL
128372013-05-06 Juri Linkov <juri@jurta.org>
12838
12839 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12840 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12841 Doc fix.
12842 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12843 in the help string. (Bug#12985)
12844
a1c700de
KD
128452013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12846
12847 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12848
c67c0839
SM
128492013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12850
323885fd
SM
12851 * progmodes/perl-mode.el: Add support for here documents.
12852 (perl-syntax-propertize-function): Match here-doc markers.
12853 (perl-syntax-propertize-special-constructs): Find their end.
12854 (perl-imenu-generic-expression): Use [:alnum:].
12855
c67c0839
SM
12856 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12857 (advice--add-function): Refresh the advice if already present
12858 (bug#14317).
12859
d491e7a8
IA
128602013-05-06 Ivan Andrus <darthandrus@gmail.com>
12861
12862 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12863
ddf9925e
GM
128642013-05-06 Glenn Morris <rgm@gnu.org>
12865
7cc3af27
GM
12866 * w32-fns.el (w32-charset-info-alist): Declare.
12867
16e343d6
GM
12868 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12869 of its defcustom properties.
12870 (eshell-cmpl-initialize): No need to load pcomplete.
12871
7d889a47
GM
12872 * generic-x.el: No need to require comint when compiling.
12873
ddf9925e
GM
12874 * net/eudc-export.el: Make it loadable without bbdb.
12875 (top-level): Use require rather than load-library.
12876 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12877 (eudc-batch-export-records-to-bbdb)
12878 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12879 Require bbdb.
12880
1e2c18df
SM
128812013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12882
12883 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12884 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12885 some tweaks, instead.
12886
02502a5f
LL
128872013-05-05 Leo Liu <sdl.web@gmail.com>
12888
12889 * progmodes/octave.el (octave-font-lock-keywords)
12890 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12891 (inferior-octave-send-list-and-digest): Improve error message.
12892 (octave-mode, inferior-octave-mode): Use setq-local.
12893 (octave-help): Set info-lookup-mode.
12894
0dc04f42
RS
128952013-05-05 Richard Stallman <rms@gnu.org>
12896
6c54491c
RS
12897 * vc/compare-w.el (compare-windows-whitespace):
12898 Treat no-break space as whitespace.
12899
0dc04f42
RS
12900 * mail/rmailsum.el (rmail-summary-rmail-update):
12901 Detect empty summary and don't change selected message.
12902 (rmail-summary-goto-msg): Likewise.
12903
df8f35df
RS
12904 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12905 Doc fixes, rename args.
12906
5356e1a3
AM
129072013-05-05 Alan Mackenzie <acm@muc.de>
12908
12909 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12910
d44014cb
JL
129112013-05-05 Juri Linkov <juri@jurta.org>
12912
12913 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12914 to not add the length of the summary segment to the return value.
12915 (Bug#14125)
12916
c129b51f
LL
129172013-05-05 Leo Liu <sdl.web@gmail.com>
12918
12919 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12920 (inferior-octave-output-filter): Remove.
12921 (octave-send-region, inferior-octave-startup): Fix callers.
12922 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12923 (octave-binary-file-extensions): New user variable.
12924 (octave-find-definition): Confirm if opening binary files.
12925 (octave-help-file): Use octave-find-definition to get the binary
12926 confirmation.
12927 (octave-help): Adjust for octave-help-file change.
12928
aa7dab97
SM
129292013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12932 Merge the two entries that handle function definitions.
12933 (pascal--syntax-propertize): New const.
12934 (pascal-mode): Use it. Use setq-local.
12935
fd3a9a6b
GM
129362013-05-04 Glenn Morris <rgm@gnu.org>
12937
12938 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12939 (diary-from-outlook): Respect diary-from-outlook-function.
12940
30c7e542
SM
129412013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12942
12943 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12944 Move the declaration from C.
12945 (read-minibuffer, eval-minibuffer): Move from C.
12946 (completion-setup-function): Avoid minibuffer-completion-contents.
12947
b54f978b
LL
129482013-05-03 Leo Liu <sdl.web@gmail.com>
12949
12950 * progmodes/octave.el (octave-font-lock-keywords): Do not
12951 dehighlight 'end' in comments or strings.
30c7e542
SM
12952 (octave-completing-read, octave-goto-function-definition):
12953 New helpers.
d4d0f9b3
LL
12954 (octave-help-buffer): New user variable.
12955 (octave-help-file, octave-help-function): New button types.
12956 (octave-help): New command and bind it to C-h ;.
12957 (octave-find-definition): New command and bind it to M-.
d74a1581 12958 (user-error): Alias to error if not defined.
b54f978b 12959
27135018
LL
129602013-05-02 Leo Liu <sdl.web@gmail.com>
12961
12962 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12963 for \. (bug#14332)
12964 (octave-font-lock-keywords): Include [ and {.
12965
0d634d3a
LL
129662013-05-02 Leo Liu <sdl.web@gmail.com>
12967
12968 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12969 (inferior-octave): Remove calling comint-mode and return the buffer.
12970 (inferior-octave-startup): Cosmetic changes.
12971
b4c8295e
LL
129722013-05-02 Leo Liu <sdl.web@gmail.com>
12973
30c7e542
SM
12974 * progmodes/octave.el (octave-syntax-propertize-function):
12975 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12976
f12ad6ec
GM
129772013-05-02 Glenn Morris <rgm@gnu.org>
12978
12979 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12980 * desktop.el (vc-dir-mode): Just autoload it here.
12981
30cac1e0
AM
129822013-05-02 Alan Mackenzie <acm@muc.de>
12983
12984 Eliminate variable c-standard-font-lock-fontify-region-function.
12985 * progmodes/cc-mode.el
12986 (c-standard-font-lock-fontify-region-function): Remove.
12987 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12988
d8ef28b1
LL
129892013-05-01 Leo Liu <sdl.web@gmail.com>
12990
2640d52e 12991 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12992 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12993 variables were removed from Octave in 2007.
d8ef28b1
LL
12994 (inferior-octave-startup): Fix uses.
12995 (comint-line-beginning-position): Remove compatibility code for
12996 emacs 21.
12997
ac63ec89
JL
129982013-05-01 Juri Linkov <juri@jurta.org>
12999
13000 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13001
9e9be37c
JL
130022013-05-01 Juri Linkov <juri@jurta.org>
13003
13004 * comint.el (comint-previous-matching-input): Don't print message
13005 "History item: %d" when `isearch-mode' is active.
13006 (comint-history-isearch-message): Print message "History item: %d"
13007 when `comint-input-ring-index' is not empty and this function is
13008 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13009
9b92c13b
LL
130102013-05-01 Leo Liu <sdl.web@gmail.com>
13011
13012 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13013 definitions. Use completion-at-point to insert keywords.
13014 (octave-abbrev-start): Remove.
13015 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13016
b12d33d7
LL
130172013-04-30 Leo Liu <sdl.web@gmail.com>
13018
13019 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13020 change.
13021
3d1c39fa
AM
130222013-04-30 Alan Mackenzie <acm@muc.de>
13023
13024 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13025 * progmodes/cc-engine.el (c-back-over-member-initializers):
13026 new function.
3d1c39fa
AM
13027 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13028 (most) member init lists.
13029
5147fc17
RS
130302013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13031
13032 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13033 variable.
13034
5b78d7fc
LL
130352013-04-30 Leo Liu <sdl.web@gmail.com>
13036
13037 * progmodes/octave.el (octave-variables): Remove. No builtin
13038 variables any more. All converted to functions.
13039 (octave-font-lock-keywords, octave-completion-at-point-function):
13040 Fix uses.
13041 (octave-font-lock-texinfo-comment): New user variable.
13042 (octave-texinfo-font-lock-keywords): New variable for texinfo
13043 comment block.
13044 (octave-function-comment-block): New face.
13045 (octave-font-lock-texinfo-comment): New function.
13046 (octave-mode): Font lock texinfo comment block.
13047
38d8527b
LL
130482013-04-29 Leo Liu <sdl.web@gmail.com>
13049
13050 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13051 indexing expression.
13052 (octave-continuation-string): Do not use \.
13053 (inferior-octave-complete-impossible): Remove.
13054 (inferior-octave-completion-table)
13055 (inferior-octave-completion-at-point): Remove its uses.
13056 (inferior-octave-startup): completion_matches was introduced to
13057 Octave in 1996 so safe to assume it.
13058 (octave-function-file-comment): Improve to follow how Octave does it.
13059 (octave-update-function-file-comment): Tweak.
13060
2ec12cb0
LL
130612013-04-29 Leo Liu <sdl.web@gmail.com>
13062
13063 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13064 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13065 (octave-function-file-comment): Fix typo.
13066 (octave-sync-function-file-names): Use read-char-choice.
13067
6eaed048
JB
130682013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13069
13070 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13071 to t for the less important warnings.
13072
3ffa2d4f
DH
130732013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13074
13075 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13076
685c9501
GM
130772013-04-27 Glenn Morris <rgm@gnu.org>
13078
13079 * vc/log-view.el (log-view-current-entry):
13080 Treat "---" separator lines as part of the following rev. (Bug#14169)
13081
0208ede7
JL
130822013-04-27 Juri Linkov <juri@jurta.org>
13083
13084 * subr.el (read-number): Doc fix about using it by interactive
13085 code letter `n'. (Bug#14254)
13086
5db9dace
JL
130872013-04-27 Juri Linkov <juri@jurta.org>
13088
13089 * desktop.el (desktop-auto-save-timeout): New option.
13090 (desktop-file-checksum): New variable.
13091 (desktop-save): Add optional arg `auto-save' and don't auto-save
13092 if nothing changed.
13093 (desktop-auto-save-timer): New variable.
13094 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13095 (after-init-hook): Call `desktop-auto-save-set-timer'.
13096 Suggested by Reuben Thomas <rrt@sc3d.org> in
13097 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13098
b7260dd4
LL
130992013-04-27 Leo Liu <sdl.web@gmail.com>
13100
13101 * progmodes/octave.el (octave-function-file-p)
13102 (octave-skip-comment-forward, octave-function-file-comment)
13103 (octave-update-function-file-comment): New functions.
13104 (octave-mode-map): Bind C-c ; to
13105 octave-update-function-file-comment.
13106 (octave-mode-menu): Add octave-update-function-file-comment.
13107 (octave-mode, inferior-octave-mode): Fix doc-string.
13108 (octave-insert-defun): Conform to Octave's coding convention.
13109 (Bug#14285)
13110
13111 * files.el (basic-save-buffer): Don't let errors in
13112 before-save-hook prevent saving buffer.
13113
c46da669
RW
131142013-04-20 Roland Winkler <winkler@gnu.org>
13115
13116 * faces.el (read-face-name): Use completing-read if arg multiple
13117 is nil.
13118
a81ee1eb
IL
131192013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13120
13121 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13122 displayed, move point to after the totals line.
13123 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13124 for the details.
13125
4fac34ce
SM
131262013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13129 Add current dir to the load-path.
13130 (package-generate-autoloads): Don't rely on
13131 autoload-ensure-default-file.
13132
f6bfc063
RT
131332013-04-26 Reuben Thomas <rrt@sc3d.org>
13134
d40ab5cf
BG
13135 * textmodes/remember.el (remember-store-in-files): Document that
13136 the file name format is passed to `format-time-string'.
f6bfc063 13137
e55d3b04
LL
131382013-04-26 Leo Liu <sdl.web@gmail.com>
13139
13140 * progmodes/octave.el (octave-sync-function-file-names): New function.
13141 (octave-mode): Use it in before-save-hook.
13142
e53052d3
SM
131432013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13144
140ef50c
SM
13145 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13146 (bug#14274).
13147
e53052d3
SM
13148 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13149 \n and comment, even if it's not an implicit ; (bug#14218).
13150
af80458d 131512013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13152
13153 * subr.el (read-number): Once more use `read' rather than
13154 `string-to-number', to trap non-numeric input. (Bug#14254)
13155
af80458d 131562013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13157
13158 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13159 Use `syntax-multiline' text property consistently instead of
8a621d53 13160 `font-lock-multiline'. (Bug#14237)
70203c2e 13161
e6ea1f6c
GM
131622013-04-26 Glenn Morris <rgm@gnu.org>
13163
13164 * emacs-lisp/shadow.el (list-load-path-shadows):
13165 No longer necessary to check for duplicate simple.el, since
13166 2012-07-07 change to init_lread to not include installation lisp
13167 directories in load-path when running uninstalled. (Bug#14270)
13168
070ccca4
LL
131692013-04-26 Leo Liu <sdl.web@gmail.com>
13170
13171 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13172 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13173 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13174 octave-in-string-or-comment-p.
13175 (octave-in-comment-p, octave-in-string-p)
13176 (octave-in-string-or-comment-p): Replace defsubst with defun.
13177
9d1c5fb6
PE
131782013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13179
13180 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13181
c034abda
BG
131822013-04-25 Bastien Guerry <bzg@gnu.org>
13183
13184 * textmodes/remember.el (remember-data-directory)
13185 (remember-directory-file-name-format): Fix custom types.
13186
584ea277
LL
131872013-04-25 Leo Liu <sdl.web@gmail.com>
13188
e53052d3
SM
13189 * progmodes/octave.el (octave-completion-at-point-function):
13190 Make use of inferior octave process.
584ea277
LL
13191 (octave-initialize-completions): Remove.
13192 (inferior-octave-completion-table): New function.
13193 (inferior-octave-completion-at-point): Use it.
13194 (octave-completion-alist): Remove.
13195
1693b06a
SM
131962013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13199 (opascal-mode-syntax-table): New var.
13200 (opascal-literal-kind, opascal-is-literal-end)
13201 (opascal-literal-token-at): Rewrite.
13202 (opascal--literal-start-re, opascal-font-lock-keywords)
13203 (opascal--syntax-propertize): New constants.
13204 (opascal-font-lock-defaults): Adjust.
13205 (opascal-mode): Use them. Set comment-<foo> variables as well.
13206 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13207 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13208 (delphi-other-face, opascal-other-face): Remove face variables.
13209 (opascal-save-state): Remove macro.
13210 (opascal-fontifying-progress-step): Remove constant.
13211 (opascal--ignore-changes): Remove var.
13212 (opascal-set-token-property, opascal-parse-next-literal)
13213 (opascal-is-stable-literal, opascal-complete-literal)
13214 (opascal-is-literal-start, opascal-face-of)
13215 (opascal-parse-region, opascal-parse-region-until-stable)
13216 (opascal-fontify-region, opascal-after-change)
13217 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13218 (opascal-debug-parse-region, opascal-debug-parse-window)
13219 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13220 (opascal-debug-fontify-buffer): Remove.
13221 (opascal-debug-mode-map): Adjust accordingly.
13222
be64c05d
LL
132232013-04-25 Leo Liu <sdl.web@gmail.com>
13224
13225 Merge octave-mod.el and octave-inf.el into octave.el with some
13226 cleanups.
13227 * progmodes/octave.el: New file renamed from octave-mod.el.
13228 * progmodes/octave-inf.el: Merged into octave.el.
13229 * progmodes/octave-mod.el: Renamed to octave.el.
13230
d79d37bd
TH
132312013-04-25 Tassilo Horn <tsdh@gnu.org>
13232
13233 * textmodes/reftex-vars.el
13234 (reftex-label-ignored-macros-and-environments): New defcustom.
13235
13236 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13237
ced3fc5d
SM
132382013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13239
13240 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13241 (smie-indent-keyword): Improve the check to ensure that the next
13242 comment is really on the same line.
13243 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13244
13245 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13246 semi-colons if the line is not otherwise empty (bug#14218).
13247
1c141dad
GM
132482013-04-25 Glenn Morris <rgm@gnu.org>
13249
13250 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13251
5058062a
SM
132522013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13253
13254 * progmodes/opascal.el (opascal-set-token-property): Rename from
13255 opascal-set-text-properties and only set `token' (bug#14134).
13256 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13257 (opascal-literal-text-properties): Remove.
13258 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13259 Adjust callers.
13260
5db9dace 132612013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13262
13263 * textmodes/remember.el (remember-handler-functions): Add an
13264 option for a new handler `remember-store-in-files'.
13265 (remember-data-directory, remember-directory-file-name-format):
13266 New options.
13267 (remember-store-in-files): New function to store remember notes
13268 as separate files within a directory.
13269
4391916c
MH
132702013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13271
13272 * progmodes/compile.el (compilation-next-error-function):
13273 Pass "formats" to compilation-find-file (bug#11777).
13274
bb7cdf58
GM
132752013-04-24 Glenn Morris <rgm@gnu.org>
13276
3b8fe752 13277 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13278 * vc/vc-hg.el (vc-hg-print-log):
13279 * vc/vc-svn.el (vc-svn-print-log):
13280 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13281
bb7cdf58
GM
13282 * vc/vc-bzr.el (vc-bzr-print-log):
13283 * vc/vc-cvs.el (vc-cvs-print-log):
13284 * vc/vc-git.el (vc-git-print-log):
13285 * vc/vc-hg.el (vc-hg-print-log):
13286 * vc/vc-mtn.el (vc-mtn-print-log):
13287 * vc/vc-rcs.el (vc-rcs-print-log):
13288 * vc/vc-sccs.el (vc-sccs-print-log):
13289 * vc/vc-svn.el (vc-svn-print-log):
13290 * vc/vc.el (vc-print-log-internal): Doc fixes.
13291
b46a056e
GM
132922013-04-23 Glenn Morris <rgm@gnu.org>
13293
13294 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13295 Remove venerable code attempting to avoid substitute-command-keys.
13296
0aecf718
TH
132972013-04-23 Tassilo Horn <tsdh@gnu.org>
13298
4391916c
MH
13299 * textmodes/reftex-vars.el (reftex-label-regexps):
13300 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13301
117f94cf
SM
133022013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13303
4391916c 13304 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13305 Use lexical-binding.
13306 (jit-lock-force-redisplay): Use markers, check buffer's continued
13307 existence and beware narrowed buffers.
13308 (jit-lock-fontify-now): Adjust call accordingly.
13309
1d829c64
SM
133102013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13311
13312 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13313 to avoid misleading the user.
13314
72d548a9
LL
133152013-04-22 Leo Liu <sdl.web@gmail.com>
13316
13317 * info-look.el: Prefer latex2e.info. (Bug#14240)
13318
d0853629
MA
133192013-04-22 Michael Albinus <michael.albinus@gmx.de>
13320
13321 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13322
13323 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13324 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13325 (tramp-set-completion-function, tramp-parse-putty):
13326 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13327 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13328 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13329 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13330 (tramp-call-local-coding-command): Use `tramp-call-process'
13331 instead of `tramp-compat-call-process'.
13332
13333 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13334 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13335 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13336 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13337 (tramp-maybe-send-script): Check for Perl binary.
13338 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13339
38cc0210
DU
133402013-04-22 Daiki Ueno <ueno@gnu.org>
13341
13342 * epg.el (epg-context-pinentry-mode): New function.
13343 (epg-context-set-pinentry-mode): New function.
13344 (epg--start): Pass --pinentry-mode option to gpg command.
13345
cc641ee1
XF
133462013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13347
02d844b5 13348 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13349 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13350 `completion-at-point'. (Bug#13774)
5d4e5c31 13351
cc641ee1
XF
13352 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13353 default key binding for `describe-distribution' has been moved to
13354 `C-h C-o'. (Bug#13970)
13355
1b42ee43
GM
133562013-04-21 Glenn Morris <rgm@gnu.org>
13357
13358 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13359 Add doc strings.
13360 (vc-print-log): Clarify interactive prompt.
13361
a6d63d97
GM
133622013-04-20 Glenn Morris <rgm@gnu.org>
13363
13364 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13365 No longer include timestamp etc information.
13366
d7f5c16f
RW
133672013-04-20 Roland Winkler <winkler@gnu.org>
13368
13369 * faces.el (read-face-name): Bug fix, return just one face if arg
13370 multiple is nil. (Bug#14209)
13371
bcd7a0a4
SM
133722013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13375 (remove-function): Autoload.
13376
13377 * comint.el (comint-redirect-original-filter-function): Remove.
13378 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13379 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13380 (vc-cvs-annotate-command):
bcd7a0a4
SM
13381 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13382 * progmodes/prolog.el (prolog-consult-compile):
13383 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13384 Use add/remove-function instead.
13385 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13386 (gud-tooltip-process-output, gud-tooltip-tips):
13387 Use add/remove-function instead.
13388 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13389 (scheme-interaction-mode, exit-scheme-interaction-mode):
13390 Use add/remove-function instead.
13391
13392 * vc/vc-dispatcher.el: Use lexical-binding.
13393 (vc--process-sentinel): Rename from vc-process-sentinel.
13394 Change last arg to be the code to run. Don't use vc-previous-sentinel
13395 and vc-sentinel-commands any more.
13396 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13397 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13398
e36b2d20 133992013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13400
bcd7a0a4 13401 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13402 Handle function names with a single character. (Bug#14111)
4d3268ba 13403
27821a89 134042013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13405
13406 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13407 for subroutines defined in an eval (bug#14182).
13408
7d688336
TV
134092013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13410
13411 * bookmark.el (bookmark-completing-read): Improve handling of empty
13412 string (bug#14176).
13413
31dcede0
SM
134142013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13415
13416 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13417
adc31213
FEG
134182013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13419
13420 New faster Imenu implementation (bug#14058).
13421 * progmodes/python.el:
13422 (python-imenu-prev-index-position):
13423 (python-imenu-format-item-label-function)
13424 (python-imenu-format-parent-item-label-function)
13425 (python-imenu-format-parent-item-jump-label-function):
13426 New vars.
13427 (python-imenu-format-item-label)
13428 (python-imenu-format-parent-item-label)
13429 (python-imenu-format-parent-item-jump-label)
13430 (python-imenu--put-parent, python-imenu--build-tree)
13431 (python-imenu-create-index, python-imenu-create-flat-index)
13432 (python-util-popn): New functions.
13433 (python-mode): Set imenu-create-index-function to
13434 python-imenu-create-index.
13435
cdca8255
SM
134362013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 * winner.el (winner-active-region): Use region-active-p, activate-mark
13439 and deactivate-mark (bug#14225).
13440
13441 * simple.el (deactivate-mark): Don't inline it.
13442
beb42340
MA
134432013-04-18 Michael Albinus <michael.albinus@gmx.de>
13444
13445 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13446
fc7f4d7e
TH
134472013-04-18 Tassilo Horn <tsdh@gnu.org>
13448
13449 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13450 file extensions from the archive-mode entry in order to prefer
13451 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13452
29f47822
LL
134532013-04-18 Leo Liu <sdl.web@gmail.com>
13454
13455 * bindings.el (help-event-list): Add ?\?.
13456
d36ed1c8
SM
134572013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13458
13459 * subr.el (with-wrapper-hook): Declare obsolete.
13460 * simple.el (filter-buffer-substring-function): New hook.
13461 (filter-buffer-substring): Use it.
13462 (filter-buffer-substring-functions): Mark obsolete.
13463 * minibuffer.el (completion-in-region-function): New hook.
13464 (completion-in-region): Use it.
13465 (completion-in-region-functions): Mark obsolete.
13466 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13467 * abbrev.el (abbrev-expand-function): New hook.
13468 (expand-abbrev): Use it.
13469 (abbrev-expand-functions): Mark obsolete.
13470 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13471 and :filter-return.
13472
04754d36
FEG
134732013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13474
13475 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13476 and do not care about match data.
13477
dd8791e9
SM
134782013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13481 completion tables when completing error conditions and
13482 `declare' arguments.
13483 (lisp-complete-symbol, field-complete): Mark as obsolete.
13484 (check-parens): Unmatched parens are user errors.
13485 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13486
ffe54a13
AM
134872013-04-17 Michal Nazarewicz <mina86@mina86.com>
13488
dd8791e9
SM
13489 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13490 command changed buffer (ie. `flyspell-pre-buffer' is not current
13491 buffer), which prevents making decisions based on invalid value of
13492 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13493 cause an error when `flyspell-pre-point' was nil after switching
13494 buffers.
13495 (flyspell-post-command-hook): No longer needs to change buffers when
13496 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13497
ec7e39f2
AM
134982013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13499
13500 * textmodes/ispell.el (ispell-add-per-file-word-list):
13501 Fix `flyspell-correct-word-before-point' error when accepting
13502 words and `coment-padding' is an integer by using
13503 `comment-normalize-vars' (Bug #14214).
13504
083850a6
FEG
135052013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13506
13507 New defun movement commands.
13508 * progmodes/python.el (python-nav--syntactically)
13509 (python-nav--forward-defun, python-nav-backward-defun)
13510 (python-nav-forward-defun): New functions.
13511
619ed6e1
FEG
135122013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13513
13514 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13515 (python-syntax-context): Use named compiler-macro for backwards
13516 compatibility with Emacs 24.x.
13517
7a1beb6c
LL
135182013-04-17 Leo Liu <sdl.web@gmail.com>
13519
13520 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13521 octave-hide-process-buffer.
13522
2d3fa3e5
SM
135232013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13526 (bug#14216).
13527
7ce5be54
JPG
135282013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13529
13530 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13531 Fix adjustment of offset when receiving incomplete responses from GDB
13532 (bug#14129).
13533
351edece
SM
135342013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13535
13536 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13537 python-mode-abbrev-table.
13538 (python-skeleton-define): Adjust accordingly.
13539 (python-mode-abbrev-table): New table that inherits from it so that
13540 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13541
13542 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13543 (abbrev-symbol): Use it.
13544 (abbrev--before-point): Use it since we already handle inheritance.
13545
613f9481
LL
135462013-04-16 Leo Liu <sdl.web@gmail.com>
13547
13548 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13549 binding to info-lookup-symbol.
13550
51646b62
JB
135512013-04-16 Juanma Barranquero <lekktu@gmail.com>
13552
13553 * minibuffer.el (completion--twq-all):
13554 * term/ns-win.el (ns-initialize-window-system):
13555 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13556
efb3f01d
SM
135572013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13558
36c0a301
SM
13559 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13560 global bindings.
13561
efb3f01d
SM
13562 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13563
fb549d64
DG
135642013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13565
13566 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13567 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13568 to nil.
13569 (ruby-end-of-defun): Remove the unused arg, change the docstring
13570 to reflect that this function is only used as the value of
13571 `end-of-defun-function'.
13572 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13573 to reflect an earlier change that beginning/end-of-defun functions
13574 jump between methods in a class definition, as well as top-level
13575 functions.
13576
21e8fe2f
SM
135772013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * minibuffer.el (minibuffer-complete): Don't just scroll
13580 a *Completions* that's been iconified.
13581 (minibuffer-force-complete): Make sure repetitions do cycle when going
13582 through completion-in-region -> minibuffer-complete.
13583
20e527d0
AM
135842013-04-15 Alan Mackenzie <acm@muc.de>
13585
13586 Correct the placement of c-cpp-delimiters when there're #s not at
13587 col 0.
13588
13589 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13590 place a submatch around the #.
21e8fe2f
SM
13591 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13592 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13593 on the #, not BOL.
13594
dabefae5
SM
135952013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13596
13597 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13598 (advice--member-p): New arg `name'.
13599 (advice--add-function, advice-member-p): Use it (bug#14202).
13600
85c9ab64
AM
136012013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13602
13603 Reformulate java imenu-generic-expression.
13604 The old expression contained ill formed regexps.
13605
13606 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13607 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13608 (cc-imenu-java-method-arg-regexp): New defconsts.
13609 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13610 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13611 handling of spaces in the regexp.
13612
0f821d99
AM
136132013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13614
13615 * textmodes/ispell.el (ispell-command-loop): Remove
13616 flyspell highlight of a word when ispell accepts it (bug #14178).
13617
eb922adf
MA
136182013-04-15 Michael Albinus <michael.albinus@gmx.de>
13619
13620 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13621 uses code from the previous `ange-ftp-run-real-handler'.
13622 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13623 only in case that function exist. This is needed for proper
13624 unloading of Tramp.
13625
4d9a0979
TH
136262013-04-15 Tassilo Horn <tsdh@gnu.org>
13627
13628 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13629
13630 * textmodes/reftex.el (reftex-compile-variables): Use it.
13631
a829b0dc
SM
136322013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13633
91e8293c
SM
13634 * files.el (normal-mode): Only use default major-mode if no other mode
13635 was specified.
13636
830aed4d
SM
13637 * emacs-lisp/trace.el (trace-values): New function.
13638
a829b0dc
SM
13639 * files.el: Allow : in local variables (bug#14089).
13640 (hack-local-variable-regexp): New var.
13641 (hack-local-variables-prop-line, hack-local-variables): Use it.
13642
7ae9f0fb
RW
136432013-04-13 Roland Winkler <winkler@gnu.org>
13644
13645 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13646 data before it gets modified by bibtex-beginning-of-entry.
13647
6646e848
RW
136482013-04-13 Roland Winkler <winkler@gnu.org>
13649
13650 * textmodes/bibtex.el (bibtex-url): Doc fix.
13651
136522013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13653
13654 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13655 does not visit a BibTeX file, exclude it from the list of buffers
13656 returned by bibtex-initialize.
13657
0aa3616e
SB
136582013-04-13 Stephen Berman <stephen.berman@gmx.net>
13659
13660 * window.el (split-window): Remove interactive form, since as a
13661 command this function is a special case of split-window-below.
13662 Correct doc string.
13663
011cddd6
RW
136642013-04-12 Roland Winkler <winkler@gnu.org>
13665
13666 * faces.el (read-face-name): Do not override value of arg default.
13667 Allow single faces and strings as default values. Remove those
13668 elements from return value that are not faces.
13669 (describe-face): Simplify.
13670 (face-at-point): New optional args thing and multiple so that this
13671 function can provide the same functionality previously provided by
13672 read-face-name.
13673 (make-face-bold, make-face-unbold, make-face-italic)
13674 (make-face-unitalic, make-face-bold-italic, invert-face)
13675 (modify-face, read-face-and-attribute): Use face-at-point.
13676
13677 * cus-edit.el (customize-face, customize-face-other-window)
13678 * cus-theme.el (custom-theme-add-face)
13679 * face-remap.el (buffer-face-set)
13680 * facemenu.el (facemenu-set-face): Use face-at-point.
13681
f24e0036
MA
136822013-04-12 Michael Albinus <michael.albinus@gmx.de>
13683
13684 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13685
da3cda2d
TH
136862013-04-10 Tassilo Horn <tsdh@gnu.org>
13687
13688 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13689 off leading { and trailing } from field values.
13690
15e54145
SM
136912013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13692
78ce603d
SM
13693 * emacs-lisp/timer.el (timer--check): New function.
13694 (timer--time, timer-set-function, timer-event-handler): Use it.
13695 (timer-set-idle-time): Simplify.
13696 (timer--activate): CSE.
13697 (timer-event-handler): Give more info in error message.
13698 (internal-timer-start-idle): New function, moved from C.
13699
15e54145
SM
13700 * mpc.el (mpc-proc): Add `restart' argument.
13701 (mpc-proc-cmd): Use it.
13702 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13703 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13704 less often.
13705
7144c627
MY
137062013-04-10 Masatake YAMATO <yamato@redhat.com>
13707
13708 * progmodes/sh-script.el: Implement `sh-mode' own
13709 `add-log-current-defun-function' (bug#14112).
13710 (sh-current-defun-name): New function.
13711 (sh-mode): Use the function.
13712
b39792eb
BG
137132013-04-09 Bastien Guerry <bzg@gnu.org>
13714
13715 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13716
8acdeb71
SM
137172013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13718
6fcdab68
SM
13719 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13720
8acdeb71
SM
13721 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13722 timer (bug#14156).
13723
e3e7b504
NF
137242013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13725
13726 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13727 declaration.
13728
201bb296
LL
137292013-04-07 Leo Liu <sdl.web@gmail.com>
13730
13731 * pcmpl-x.el: New file.
13732
ebb19708
DA
137332013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13734
13735 Do not set x-display-name until X connection is established.
13736 This is needed to prevent from weird situation described at
13737 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13738 * frame.el (make-frame): Set x-display-name after call to
13739 window system initialization function, not before.
13740 * term/x-win.el (x-initialize-window-system): Add optional
13741 display argument and use it.
13742 * term/w32-win.el (w32-initialize-window-system):
13743 * term/ns-win.el (ns-initialize-window-system):
13744 * term/pc-win.el (msdos-initialize-window-system):
13745 Add compatible optional display argument.
13746
33bb237a
EZ
137472013-04-06 Eli Zaretskii <eliz@gnu.org>
13748
13749 * files.el (normal-backup-enable-predicate): On MS-Windows and
13750 MS-DOS compare truenames of temporary-file-directory and of the
13751 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13752 don't fail comparison by compare-strings. Also, compare file
13753 names case-insensitively on MS-Windows and MS-DOS.
13754
134abf1f
SM
137552013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13758 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13759
d695cb94
DG
137602013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13761
e3e7b504
NF
13762 * whitespace.el (whitespace-color-on, whitespace-color-off):
13763 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13764
f4ad7ea1 137652013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13766
13767 * ispell.el (ispell-set-spellchecker-params):
13768 Really set `ispell-args' for all equivs.
13769
632556e4
SM
137702013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13771
13772 * ido.el (ido-completions): Use extra elements of ido-decorations
13773 (bug#14143).
13774 (ido-decorations): Update docstring.
13775
2a417372
MA
137762013-04-05 Michael Albinus <michael.albinus@gmx.de>
13777
13778 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13779 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13780 nil during initialization, in order not to miss changes since the
13781 file was opened. (Bug#14140)
13782
fc164b0c
LL
137832013-04-05 Leo Liu <sdl.web@gmail.com>
13784
13785 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13786
0ccecc08
JB
137872013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13788
13789 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13790
51af1aa2
GM
137912013-04-04 Glenn Morris <rgm@gnu.org>
13792
13793 * electric.el (electric-pair-inhibit-predicate): Add :version.
13794
b208ebc6
SM
137952013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13798 when a package is required several times (bug#14082).
13799
f3d3eaf0
RW
138002013-04-04 Roland Winkler <winkler@gnu.org>
13801
13802 * faces.el (read-face-name): Behave as promised by the docstring.
13803 Assume that arg default is a list of faces.
13804 (describe-face): Call read-face-name with list of default faces.
13805
2575da50
TV
138062013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13807
13808 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13809 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13810 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13811 the header.
13812 (bookmark-exit-hook-internal): Save even if list is empty.
13813
397703b4
YH
138142013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13815
13816 * emacs-lisp/package.el (package-pinned-packages): New var.
13817 (package--add-to-archive-contents): Obey it (bug#14118).
13818
691e26ae
AM
138192013-04-03 Alan Mackenzie <acm@muc.de>
13820
8a621d53
JB
13821 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13822 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13823
13824 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13825 parameter `not-in-delimiter'. Handle being inside comment opener.
13826 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13827 character in case we're typing a '*' after a '/'.
13828 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13829 instead by passing the parameter to c-state-pp-to-literal.
13830
13831 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13832 for elt. 7 of a parse state.
13833
4b725a70
PE
138342013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13835
13836 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13837 * international/latin1-disp.el, international/mule-util.el:
13838 * language/cyril-util.el, language/european.el, language/ind-util.el:
13839 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13840 * language/tibetan.el, language/viet-util.el:
13841 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13842
15c579f0
SM
138432013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13844
13845 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13846 (electric-pair-post-self-insert-function): Use it.
13847 (electric-pair-default-inhibit): New function, extracted from
13848 electric-pair-post-self-insert-function.
13849
a77e2924
RW
138502013-03-31 Roland Winkler <winkler@gnu.org>
13851
13852 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13853
2bd8a4a8
SM
138542013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13855
13856 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13857
8d3655be 138582013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13859
13860 Un-indent after "pass" and "return" statements (Bug#13888)
13861 * progmodes/python.el (python-indent-block-enders): New var.
13862 (python-indent-calculate-indentation): Use it.
13863
8d3655be 138642013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13865
13866 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13867 defun. Defining it as defalias could introduce too eager
13868 byte-compiler optimization. (Bug#14030)
13869
8d3655be 138702013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13871
13872 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13873
0b1619da
LL
138742013-03-30 Leo Liu <sdl.web@gmail.com>
13875
13876 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13877 (kmacro-execute-from-register): Pass the keyboard macro to
13878 kmacro-call-macro or repeating won't work correctly.
13879
0b938190
TZ
138802013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13881
13882 * progmodes/subword.el: Back to using `forward-symbol'.
13883
13884 * subr.el (forward-whitespace, forward-symbol)
13885 (forward-same-syntax): Move from thingatpt.el.
13886
35710234
LL
138872013-03-29 Leo Liu <sdl.web@gmail.com>
13888
13889 * kmacro.el (kmacro-to-register): New command.
13890 (kmacro-execute-from-register): New function.
13891 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13892
efc0bb73
SM
138932013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * mpc.el: Use defvar-local and setq-local.
13896 (mpc--proc-connect): Connection failures are not bugs.
13897 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13898 (mpc-volume-map): Bind to the up-events.
13899
75a2f981
TZ
139002013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13901
13902 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13903 instead of `forward-symbol'.
13904
17c781d1
SM
139052013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13906
13907 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13908 (edebug--recursive-edit): Use it.
13909 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13910 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13911
f67bfbcf
LL
139122013-03-28 Leo Liu <sdl.web@gmail.com>
13913
13914 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13915
b59f639d
EZ
139162013-03-27 Eli Zaretskii <eliz@gnu.org>
13917
13918 * facemenu.el (list-colors-callback): New defvar.
13919 (list-colors-redisplay): New function.
13920 (list-colors-display): Install list-colors-redisplay as the
13921 revert-buffer-function. (Bug#14063)
13922
f557c1b1
SM
139232013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13924
b1da2957
SM
13925 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13926 and suffixes don't overlap (bug#14061).
13927
f557c1b1
SM
13928 * case-table.el: Use lexical-binding.
13929 (case-table-get-table): New function.
13930 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13931
002668e1
TZ
139322013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13933
13934 * progmodes/subword.el: Add `superword-mode' to do word motion
13935 over symbol_words (parallels and leverages `subword-mode' which
13936 does word motion inside MixedCaseWords).
13937
73572c72
AG
139382013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13939
78b8f320 13940 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13941 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13942
69b2c07e
SM
139432013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13944
13945 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13946 Change return value to be a sexp. Delay `get-buffer' to after
13947 restoring the desktop (bug#13951).
13948
08bb5ee2
LL
139492013-03-26 Leo Liu <sdl.web@gmail.com>
13950
13951 * register.el: Move semantic tag handling back to
13952 cedet/semantic/senator.el. (Bug#14052)
13953
8d4c974e
SM
139542013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13955
13956 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13957 into the prompt either (bug#13963).
13958
b234d92c
SM
139592013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13960
13961 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13962 part of "(error-foo)".
13963
ddfa3cb4
JL
139642013-03-24 Juri Linkov <juri@jurta.org>
13965
13966 * replace.el (list-matching-lines-prefix-face): New defcustom.
13967 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13968 `occur-engine' if `face-differs-from-default-p' returns t.
13969 (occur-engine): Add `,' inside backquote construct to evaluate
13970 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13971 Pass `prefix-face' to the functions `occur-context-lines' and
13972 `occur-engine-add-prefix'.
13973 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13974 `prefix-face' and propertize the prefix with `prefix-face'.
13975 (Bug#14017)
13976
7b0e2f85
LL
139772013-03-24 Leo Liu <sdl.web@gmail.com>
13978
13979 * nxml/rng-valid.el (rng-validate-while-idle)
13980 (rng-validate-quick-while-idle): Guard against deleted buffer.
13981 (Bug#13999)
13982
13983 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13984 is the last entry in kill-buffer-hook.
13985
13986 * files.el (kill-buffer-hook): Doc fix.
13987
b3082f49
DG
139882013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13989
b234d92c
SM
13990 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13991 Make it safe-local.
bde73d27 13992
b3082f49
DG
13993 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13994
a320a2db
LL
139952013-03-23 Leo Liu <sdl.web@gmail.com>
13996
7e74b0fb
LL
13997 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13998 Remove.
13999
14000 * nxml/rng-valid.el (rng-validate-mode)
14001 (rng-after-change-function, rng-do-some-validation):
14002 * nxml/rng-maint.el (rng-validate-buffer):
14003 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14004 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14005 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14006 (nxml-extend-after-change-region): Use with-silent-modifications.
14007
a320a2db
LL
14008 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14009 timer-idle-list.
14010
14011 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14012 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14013 timer-idle-list. (Bug#13999)
14014
e38e6780
JL
140152013-03-23 Juri Linkov <juri@jurta.org>
14016
14017 * info.el (info-index-match): New face.
14018 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14019 main pattern and add text properties with the new face to matches
14020 in index entries relative to the beginning of the index entry.
14021 (Bug#14015)
14022
e8cc7880
DE
140232013-03-21 Eric Ludlam <zappo@gnu.org>
14024
39c87140 14025 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14026 Inhibit read only while inserting objects.
14027
9bb0d822
TZ
140282013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14029
14030 * progmodes/cfengine.el: Update docs to mention
14031 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14032 symbol motion. Remove "_" from the word syntax.
14033
aa703640
TZ
140342013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14035
14036 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14037 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14038
afff09d0
JL
140392013-03-20 Juri Linkov <juri@jurta.org>
14040
14041 * info.el (Info-next-reference-or-link)
14042 (Info-prev-reference-or-link): New functions.
14043 (Info-next-reference, Info-prev-reference): Use them.
14044 (Info-try-follow-nearest-node): Handle footnote navigation.
14045 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14046
9a1ff164
SM
140472013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14048
14049 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14050 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14051
2667d15d
PE
140522013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14053
14054 Suppress unnecessary non-ASCII chatter during build process.
14055 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14056 (batch-skkdic-convert): Suppress most of the chatter.
14057 It's not needed so much now that machines are faster,
14058 and its non-ASCII component was confusing; see Dmitry Gutov in
14059 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14060
438b0579
LL
140612013-03-20 Leo Liu <sdl.web@gmail.com>
14062
14063 * ido.el (ido-chop): Fix bug#10994.
14064
c128ab07
DG
140652013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14066
14067 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14068 Remove vars.
9a1ff164
SM
14069 (whitespace-color-on, whitespace-color-off):
14070 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14071
0e6008c5
SM
140722013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14073
14074 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14075 remapping in mode-line.
14076 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14077
627b52b0
DG
140782013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14079
14080 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14081 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14082 (whitespace-font-lock-keywords): Change description.
14083 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14084 the constructed keywords instead.
14085 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14086
50c3a20b
LL
140872013-03-19 Leo Liu <sdl.web@gmail.com>
14088
14089 * progmodes/compile.el (compilation-display-error): New command.
14090 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14091 C-o. (Bug#13992)
14092
2aa2157b
PE
140932013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14094
14095 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14096
e477dbfa
JD
140972013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14098
14099 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14100
64ab82d1
MA
141012013-03-18 Michael Albinus <michael.albinus@gmx.de>
14102
14103 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14104
14105 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14106 * net/tramp-gvfs.el (top):
14107 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14108 (tramp-handle-shell-command): Use it.
14109 (tramp-dissect-file-name): Raise an error when hostname is a
14110 method name, and neither method nor user is specified.
14111
14112 * net/trampver.el: Update release number.
14113
33cef733
LL
141142013-03-18 Leo Liu <sdl.web@gmail.com>
14115
14116 Make sure eldoc can be turned off properly.
14117 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14118 eldoc-mode.
14119 (eldoc-display-message-p): Revert last change.
14120 (eldoc-display-message-no-interference-p)
14121 (eldoc-print-current-symbol-info): Tweak.
14122
2167b7b2
TH
141232013-03-18 Tassilo Horn <tsdh@gnu.org>
14124
14125 * doc-view.el (doc-view-new-window-function): Check the new window
14126 overlay's display property instead the char property of the
14127 buffer's first char. Use `with-selected-window' instead of
14128 `save-window-excursion' with `select-window'.
14129 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14130 display property instead the char property of the buffer's first char.
2167b7b2 14131
982efbcd
PE
141322013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14133
14134 Automate the build of ja-dic.el (Bug#13984).
14135 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14136 from the input, rather than assume that it's been done for us by the
14137 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14138 the current date into a ja-dic.el comment, as that complicates
14139 regression testing.
14140
2fcc7665
SM
141412013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14142
14143 * whitespace.el: Fix double evaluation.
14144 (whitespace-space, whitespace-hspace, whitespace-tab)
14145 (whitespace-newline, whitespace-trailing, whitespace-line)
14146 (whitespace-space-before-tab, whitespace-indentation)
14147 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14148 obsolete defvars.
14149 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14150 (whitespace-color-on): Use a single font-lock-add-keywords call.
14151 Fix double-evaluation of face variables.
14152
67c0a6e6
MA
141532013-03-17 Michael Albinus <michael.albinus@gmx.de>
14154
2fcc7665
SM
14155 * net/tramp-adb.el (tramp-adb-parse-device-names):
14156 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14157 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14158
69489f1d
LL
141592013-03-17 Leo Liu <sdl.web@gmail.com>
14160
14161 Extend eldoc to display info in the mode-line. (Bug#13978)
14162 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14163 (eldoc-mode-line-string): New variable.
14164 (eldoc-minibuffer-message): New function.
14165 (eldoc-message-function): New variable.
14166 (eldoc-message): Use it.
14167 (eldoc-display-message-p)
2fcc7665
SM
14168 (eldoc-display-message-no-interference-p):
14169 Support eldoc-post-insert-mode.
69489f1d
LL
14170
14171 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14172 (eval-expression): Run it.
14173
9c44569e
RW
141742013-03-17 Roland Winkler <winkler@gnu.org>
14175
14176 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14177 strings in the list of return values.
14178
327f1f6f
JB
141792013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14180
14181 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14182 radix before checking for HMS forms.
14183
67ed8fcd
LL
141842013-03-16 Leo Liu <sdl.web@gmail.com>
14185
14186 * progmodes/scheme.el: Add indentation and font-locking for λ.
14187 (Bug#13975)
14188
78be8b64 141892013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14190
14191 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14192 token before point (bug#13942).
14193
78be8b64 141942013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14195
95b43468 14196 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14197
98e775e6
EZ
141982013-03-16 Eli Zaretskii <eliz@gnu.org>
14199
14200 * startup.el (command-line-normalize-file-name): Fix handling of
14201 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14202 <xfq.free@gmail.com> in
14203 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14204
2edd6029
MA
142052013-03-15 Michael Albinus <michael.albinus@gmx.de>
14206
14207 Sync with Tramp 2.2.7.
14208
14209 * net/trampver.el: Update release number.
14210
d35f5864
TH
142112013-03-14 Tassilo Horn <tsdh@gnu.org>
14212
e903c210 14213 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14214 (doc-view-insert-image): Don't modify overlay associated to
14215 non-live windows, and implement horizontal centering of image in
14216 case it's smaller than the window.
14217 (doc-view-new-window-function): Force redisplay of new windows on
14218 doc-view buffers.
d35f5864 14219
1c4a85ed
KF
142202013-03-13 Karl Fogel <kfogel@red-bean.com>
14221
14222 * saveplace.el (save-place-alist-to-file): Don't sort
14223 `save-place-alist', just pretty-print it (bug#13882).
14224
85b66a21
MA
142252013-03-13 Michael Albinus <michael.albinus@gmx.de>
14226
a020afb9
JB
14227 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14228 Check whether `default-file-name-coding-system' is bound.
14229 It isn't in XEmacs.
85b66a21 14230
175600da
SM
142312013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14232
e7f7cb1a
SM
14233 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14234 backquotes for `obsolete' (bug#13929).
14235
175600da
SM
14236 * international/mule.el (find-auto-coding): Include file name in
14237 obsolescence warning (bug#13922).
14238
ca68a22e
TZ
142392013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14240
14241 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14242 for CFEngine 3-specific indentation.
14243 (cfengine3-indent-line): Use it. Fix up category regex.
14244 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14245
940e5099
SM
142462013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14247
14248 * type-break.el (type-break-file-name):
14249 * textmodes/remember.el (remember-data-file):
14250 * strokes.el (strokes-file):
14251 * shadowfile.el (shadow-initialize):
14252 * saveplace.el (save-place-file):
14253 * ps-bdf.el (bdf-cache-file):
14254 * progmodes/idlwave.el (idlwave-config-directory):
14255 * net/quickurl.el (quickurl-url-file):
14256 * international/kkc.el (kkc-init-file-name):
14257 * ido.el (ido-save-directory-list-file):
14258 * emulation/viper.el (viper-custom-file-name):
14259 * emulation/vip.el (vip-startup-file):
14260 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14261 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14262
cc725808
PE
142632013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14264
14265 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14266 * language/thai-word.el: Switch to UTF-8.
14267
a020afb9 14268See ChangeLog.16 for earlier changes.
e3d51b27
MR
14269
14270;; Local Variables:
14271;; coding: utf-8
e3d51b27
MR
14272;; End:
14273
ba318903 14274 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14275
14276 This file is part of GNU Emacs.
14277
14278 GNU Emacs is free software: you can redistribute it and/or modify
14279 it under the terms of the GNU General Public License as published by
14280 the Free Software Foundation, either version 3 of the License, or
14281 (at your option) any later version.
14282
14283 GNU Emacs is distributed in the hope that it will be useful,
14284 but WITHOUT ANY WARRANTY; without even the implied warranty of
14285 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14286 GNU General Public License for more details.
14287
14288 You should have received a copy of the GNU General Public License
14289 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.