Do not read uninitialized memory in conv_sockaddr_to_lisp
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
59271b3e
RS
12014-03-21 Richard Stallman <rms@gnu.org>
2
8266cd88
RS
3 * battery.el (battery-linux-sysfs): Search for each field
4 from the beginning of the buffer.
5
16ec0742
RS
6 * subr.el (set-transient-map): Clear out function and value
7 of the temporary symbol when we're done with it.
8
59271b3e
RS
9 * mail/rmailsum.el (rmail-summary-delete-forward):
10 Optimize case of reaching end and handling count.
11 (rmail-summary-mark-deleted): Optimize when N is current msg.
12 Don't create new summary line.
13 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
14 (rmail-summary-undelete-many): Rewrite for speed.
15 (rmail-summary-msg-number): New function.
16
17 * mail/rmail.el (rmail-delete-message): Update summary.
18 (rmail-undelete-previous-message): Handle repeat count arg.
19 (rmail-delete-backward, rmail-delete-forward): Likewise.
20
0d8ac93e
DC
212014-03-21 Daniel Colascione <dancol@dancol.org>
22
23 * mail/emacsbug.el (report-emacs-bug): Include memory usage
24 information in bug reports.
25
1e92a8a3
MA
262014-03-21 Michael Albinus <michael.albinus@gmx.de>
27
28 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
29 and `tramp-copy-env'.
30
31 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
32 (tramp-maybe-open-connection): Handle `tramp-login-env'.
33
78540c42
GM
342014-03-21 Glenn Morris <rgm@gnu.org>
35
36 * electric.el (electric-indent-post-self-insert-function): Add doc.
37
1fc8f655
DG
382014-03-21 Dmitry Gutov <dgutov@yandex.ru>
39
dcf78667
DG
40 * emacs-lisp/package.el (package-compute-transaction):
41 Use `version-list-<=' to compare the requirement version against
42 the version of package already to be installed. Update the error
43 message. (Bug#16826)
44
1fc8f655
DG
45 * progmodes/ruby-mode.el (ruby-smie-rules):
46 Add indentation rule for ` @ '. (Bug#17050)
47
dada060d
JB
482014-03-21 Juanma Barranquero <lekktu@gmail.com>
49
50 * align.el (align-regexp): Remove superfluous backslash.
51
52 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
53 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
54 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
55 Fix docstring typos.
56 (ffap-next): Use C-u in docstring.
57 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
58 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
59 Remove superfluous backslashes.
60 (ffap-string-at-point): Reflow docstring.
61
62 * server.el (server-host): Reflow docstring.
63 (server-unload-function): Fix docstring typo.
64 (server-eval-at): Remove superfluous backslash.
65
66 * skeleton.el (skeleton-insert): Remove superfluous backslash.
67 (skeleton-insert): Doc fix.
68 (skeleton-insert): Reflow docstring.
69
70 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
71 (tty-color-approximate, tty-color-by-index, tty-color-values)
72 (tty-color-desc): Remove superfluous backslashes.
73
f428101f
GM
742014-03-21 Glenn Morris <rgm@gnu.org>
75
26e91130
GM
76 * cus-start.el (history-length): Bump :version.
77
aa3a7b51
GM
78 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
79 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
80 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
81 Don't set `make-backup-files'.
82
f428101f
GM
83 * info.el (info--prettify-description): New function,
84 to give info-finder descriptions consistent case, punctuation.
85 (Info-finder-find-node): Use it. Sort packages.
86 Refer to "description" rather than "commentary".
87
6ce1b56e
JB
882014-03-21 Juanma Barranquero <lekktu@gmail.com>
89
90 * frameset.el (frameset--print-register): New function.
91 (frameset-to-register): Use it.
92
b730af26
JB
932014-03-20 Juanma Barranquero <lekktu@gmail.com>
94
45393801
JB
95 * progmodes/hideif.el (hif-string-to-number): New function.
96 (hif-tokenize): Use it to understand non-decimal floats.
97
814e26fa
JB
98 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
99
b730af26
JB
100 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
101
049fac7c
SM
1022014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
103
494ec1e7
SM
104 * electric.el (electric-newline-and-maybe-indent): New command.
105 Bind it globally to C-j.
106 (electric-indent-mode): Don't mess with the global map any more.
107 Don't drop the post-self-insert-hook is some buffer is still using it
108 (bug#16770).
109 * bindings.el (global-map): Remove C-j binding.
110
049fac7c
SM
111 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
112 the docstring of functions advised before dumping (bug#16993).
113
f15ec1ba 1142014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
115
116 * ps-print.el (ps-generate-postscript-with-faces):
117 Explicitly deactivate the mark (bug#16866).
118 * simple.el (deactivate-mark): Update region highlight.
119
f88bdc45
JB
1202014-03-19 Juanma Barranquero <lekktu@gmail.com>
121
122 * emacs-lisp/package.el (describe-package-1):
123 Decode commentary (bug#16733).
124
6b88e570
JB
1252014-03-18 Juanma Barranquero <lekktu@gmail.com>
126
127 * custom.el (defcustom): Doc fix: recommend avoiding destructive
128 modification of the value argument of :set (bug#16755).
129
ac9b4703
SM
1302014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * simple.el (newline-and-indent): Do autofill (bug#17031).
133
2b7858ec
DG
1342014-03-18 Dmitry Gutov <dgutov@yandex.ru>
135
136 * newcomment.el (comment-normalize-vars): Only add escaping check
137 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
138 (comment-beginning): Use `narrow-to-region' instead of moving back
139 one character.
140 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
141 (comment-start-skip): Update the docstring.
142
11eff3ae
RS
1432014-03-18 Richard Stallman <rms@gnu.org>
144
145 * dired.el (dired-display-file): Force use of other window.
146
07f44fdb
JB
1472014-03-18 Daniel Colascione <dancol@dancol.org>
148
149 * startup.el (tty-handle-args): Remove debug message from 2007.
150
1512014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
152
153 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
154 (advice--make-interactive-form): Use it to avoid (auto)loading function.
155 (advice--make-1, advice-add, advice-remove):
156 Remove braindead :advice-pending hack.
157
61debe4a
GM
1582014-03-17 Glenn Morris <rgm@gnu.org>
159
160 * calendar/calendar.el (calendar-generate-month): Apply weekend
161 face to the right days; fixes 2013-08-06 change. (Bug#17028)
162
8273986b
MA
1632014-03-17 Michael Albinus <michael.albinus@gmx.de>
164
165 * net/tramp.el (tramp-action-out-of-band): Read pending output.
166 (tramp-call-process): Trace also DESTINATION.
167
168 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
169 Quote file names when they are local. Remove superfluous trace.
170
4f8aeb84
DG
1712014-03-17 Dmitry Gutov <dgutov@yandex.ru>
172
218feefc
DG
173 * newcomment.el (comment-beginning): If `comment-start-skip'
174 doesn't match, move back one char and try again. (Bug#16971)
175
6c187ef5
SM
176 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
177 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
178 Set `comment-start-skip' to a simpler value that doesn't try to
179 check if the semicolon is escaped (this is handled by
180 `syntax-ppss' now). (Bug#16971)
181
182 * progmodes/scheme.el (scheme-mode-variables): Same.
183
b92631bf
MR
1842014-03-16 Martin Rudalics <rudalics@gmx.at>
185
186 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
187 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
188 current (Bug#16816, Bug#17007).
189 (with-current-buffer-window): New macro doing the same as
190 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
191 * help.el (help-print-return-message): Warn in doc-string to not
192 use this in `with-help-window'.
193 (describe-bindings-internal): Call `describe-buffer-bindings'
194 from within help buffer. See Juanma's scenario in (Bug#16816).
195 (with-help-window): Update doc-string.
196 * dired.el (dired-mark-pop-up):
197 * files.el (save-buffers-kill-emacs):
198 * register.el (register-preview): Use `with-current-buffer-window'
199 instead of `with-temp-buffer-window'.
200
57348c4d
JB
2012014-03-16 Juanma Barranquero <lekktu@gmail.com>
202
203 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
204 Implement inserting into current buffer, documented in their docstrings.
205 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
206 (rst-section-tree-point, rst-forward-section, rst-indent)
207 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
208 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
209 (rst-font-lock-handle-adornment-pre-match-form)
210 (rst-repeat-last-character): Reflow docstrings.
211 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
212 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
213 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
214 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
215 Fix docstring typos.
216 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
217 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
218 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
219
fd16b061
JB
2202014-03-15 Juanma Barranquero <lekktu@gmail.com>
221
a2403e3d
JB
222 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
223 for compatibility with other ports.
224 (ns-initialize-window-system): Use it. It is set in term/common-win.el
225 from the -xrm command line argument, but in the Nextstep port its value
226 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
227
fd16b061
JB
228 * progmodes/python.el (defconst, python-syntax-count-quotes)
229 (python-indent-region, python-indent-shift-right)
230 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
231 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
232 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
233 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
234 (inferior-python-mode, python-shell-make-comint, run-python-internal)
235 (python-shell-buffer-substring, python-shell-send-buffer)
236 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
237 (python-completion-complete-at-point, python-fill-docstring-style)
238 (python-eldoc-function, python-imenu-format-item-label)
239 (python-imenu-format-parent-item-label)
240 (python-imenu-format-parent-item-jump-label)
241 (python-imenu--build-tree, python-imenu-create-index)
242 (python-imenu-create-flat-index): Fix docstring typos.
243 (python-indent-context, python-shell-prompt-regexp, run-python):
244 Remove superfluous backslashes.
245 (python-indent-line, python-nav-beginning-of-defun)
246 (python-shell-get-buffer, python-shell-get-process)
247 (python-info-current-defun, python-info-current-line-comment-p)
248 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
249 (python-indent-post-self-insert-function, python-shell-send-file)
250 (python-shell-completion-get-completions)
251 (python-shell-completion-complete-or-indent)
252 (python-eldoc--get-doc-at-point): Reflow docstrings.
253
e94807f0
GM
2542014-03-14 Glenn Morris <rgm@gnu.org>
255
88103345
GM
256 * emacs-lisp/package.el (package-menu-mode-map):
257 Replace use of obsolete function alias. Tweak menu item text.
258
f2dd4ba8
GM
259 * info.el (Info-finder-find-node):
260 Ignore the `emacs' metapackage. (Bug#10813)
261
ac0f82ef
GM
262 * finder.el (finder-list-matches): Include unversioned packages
263 in the result of a keyword search.
264
e94807f0
GM
265 * finder.el (finder--builtins-descriptions): New constant.
266 (finder-compile-keywords): Use finder--builtins-descriptions.
267
50d434d1
DG
2682014-03-14 Dmitry Gutov <dgutov@yandex.ru>
269
270 * simple.el (blink-matching-paren): Describe the new value,
271 `jump', enabling the old behavior.
272 (blink-matching-open): Use that value. (Bug#17008)
273
56759cf1
GM
2742014-03-14 Glenn Morris <rgm@gnu.org>
275
459d74ef
GM
276 * finder.el (finder-no-scan-regexp): Add leim-list.
277 (finder-compile-keywords):
278 Don't skip files with same basename. (Bug#14010)
279 * Makefile.in (setwins_finder): New, excluding leim.
280 (finder-data): Use setwins_finder.
281
56759cf1
GM
282 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
283 (help-function-arglist, help-make-usage): Move from here...
284 * help.el (help-split-fundoc, help-add-fundoc-usage)
285 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
286 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
287
7644aa97
JB
2882014-03-14 Juanma Barranquero <lekktu@gmail.com>
289
290 * net/socks.el (socks, socks-override-functions)
fd16b061 291 (socks-find-services-entry):
7644aa97
JB
292 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
293 (hif-find-ifdef-block):
294 * progmodes/modula2.el (m2-indent): Fix docstring typos.
295
296 * net/tls.el (tls-program): Reflow docstring.
297
298 * progmodes/pascal.el (pascal-mode-abbrev-table)
299 (pascal-imenu-generic-expression, pascal-auto-endcomments)
300 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
301 (pascal-outline-mode): Fix docstring typos.
302 (pascal-mode): Let define-derived-mode document mode hook.
303 (pascal-uncomment-area): Reflow.
304 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
305
306 * progmodes/opascal.el (opascal-compound-block-indent)
307 (opascal-case-label-indent): Fix docstring typos.
308 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
309
1f44df94
DG
3102014-03-13 Dmitry Gutov <dgutov@yandex.ru>
311
07f44fdb
JB
312 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
313 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 314
0d71dfb3
TW
3152014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
316
317 * emacs-lisp/package.el (package--prepare-dependencies):
318 Accept requirements without explicit version (bug#14941).
319
d27a1a7b
JB
3202014-03-12 Juanma Barranquero <lekktu@gmail.com>
321
a5765a3d
JB
322 * register.el (register-separator, copy-to-register): Doc fixes.
323 (register-preview-default): Remove unnecessary call to concat.
324
d27a1a7b
JB
325 * frameset.el (frameset-restore): When checking for a visible frame,
326 use the action map instead of calling visible-frame-list.
327
08dfa0b7
JB
3282014-03-12 Jonas Bernoulli <jonas@bernoul.li>
329
330 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
331
8960529e
MR
3322014-03-12 Martin Rudalics <rudalics@gmx.at>
333
334 * window.el (fit-frame-to-buffer): Get maximum width from
335 display's width instead of height.
336
8a51e8e4
GM
3372014-03-12 Glenn Morris <rgm@gnu.org>
338
46456005
GM
339 * desktop.el (desktop-restore-frames)
340 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
341 (desktop-restore-reuses-frames): Doc tweaks.
342
8a51e8e4
GM
343 * electric.el (electric-indent-mode): Doc fix.
344
5983b317
JB
3452014-03-12 Juanma Barranquero <lekktu@gmail.com>
346
347 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
348 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
349 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
350 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
351 (cvs-dired-use-hook): Fix docstring typos.
352 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
353 Doc fixes.
354
355 * vc/pcvs-defs.el (cvs-auto-remove-handled)
356 (cvs-auto-remove-directories, cvs-default-ignore-marks)
357 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
358 (cvs-execute-single-dir): Fix docstring typos.
359
360 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
361 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
362
363 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
364
365 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
366 Fix docstring typos.
367
13c00cf0
JB
3682014-03-12 Juanma Barranquero <lekktu@gmail.com>
369
370 * frameset.el (frameset--jump-to-register): Add autoload; it could be
371 called from jump-to-register after unloading the frameset package.
372
536a17e3
SM
3732014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
376 (bug#16975). Deactivate the mark before setting it to nil.
377 (activate-mark): Do nothing if region is already active.
378
baf8d0ac
JB
3792014-03-11 Juanma Barranquero <lekktu@gmail.com>
380
381 * frameset.el (frameset--target-display): Remove definition; declare.
382 (frameset-save, frameset-restore): Let-bind frameset--target-display.
383
1ea22560
SM
3842014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
387 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
388 when the advice is pending.
389 (advice-remove): Remove this marker when not needed any more.
390
4538c058
JB
3912014-03-11 Juanma Barranquero <lekktu@gmail.com>
392
393 * frameset.el: Separate options for reusing frames and cleaning up.
394 (frameset--reuse-list): Remove definition; declare.
395 (frameset--action-map): Declare.
396 (frameset--find-frame-if): Doc fix.
397 (frameset--restore-frame): Cache frame action.
398 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
399 how to clean up the frame list after restoring. Remove cleaning
400 options from REUSE-FRAMES. Change all keyword values to symbols.
401 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
402
403 * desktop.el (desktop-restore-forces-onscreen)
404 (desktop-restore-reuses-frames): Use non-keyword values.
405 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
406
ba1a5c78
GM
4072014-03-10 Glenn Morris <rgm@gnu.org>
408
776aa432
GM
409 * files.el (find-file): Doc fix: update info node name.
410
ba1a5c78
GM
411 * emacs-lisp/advice.el (ad-add-advice, defadvice):
412 Doc fix: remove references to deleted info nodes.
413
183d706e
MA
4142014-03-10 Michael Albinus <michael.albinus@gmx.de>
415
416 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
417 Do not add `nil' to the environment, when there's no remote `locale'.
418 (tramp-find-inline-encoding): Check, that the remote host has
419 installed perl, before sending scripts.
420
6f0f96e7
LL
4212014-03-10 Leo Liu <sdl.web@gmail.com>
422
536a17e3
SM
423 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
424 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 425
ca70fe78
SM
4262014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
429 (bug#14430).
430
eb67db41
JL
4312014-03-09 Juri Linkov <juri@jurta.org>
432
433 * ansi-color.el (ansi-color-names-vector): Copy default colors
434 from `xterm-standard-colors' that look well on the default white
435 background (and also on the black background) to avoid illegible
8cf07e5a 436 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
437 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
438
e7db5447
JB
4392014-03-08 Juanma Barranquero <lekktu@gmail.com>
440
441 * frameset.el (frameset-restore): When no frame is visible, do not
442 generate a list of frames, just make visible the selected one.
443
f0a4c8d7
DG
4442014-03-08 Dmitry Gutov <dgutov@yandex.ru>
445
446 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
447 it only contains the repository root. (Bug#16897)
448
e50772e3
MA
4492014-03-07 Michael Albinus <michael.albinus@gmx.de>
450
451 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
452 only when `remote-file-name-inhibit-cache' is nil.
453 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
454
cac0a1d6
MR
4552014-03-06 Martin Rudalics <rudalics@gmx.at>
456
457 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
458 Fix doc-strings.
459 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
460 fit-frame-to-buffer variable. Fix doc-string.
461 (fit-window-to-buffer): Set ONLY argument in call of
462 fit-frame-to-buffer. Fix doc-string.
463
fa965cbf
MA
4642014-03-06 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
467 (tramp-action-password): Clear password cache if needed.
468 (tramp-read-passwd): Do not clear password cache.
469
470 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
471 cache unless it is the first password request.
472
c94e6ee4
GM
4732014-03-06 Glenn Morris <rgm@gnu.org>
474
03bc753e
GM
475 * simple.el (newline): Doc tweak.
476
c94e6ee4
GM
477 * emacs-lisp/shadow.el (load-path-shadows-find):
478 Ignore dir-locals. (Bug#12357)
479
bd2d43dc
GM
4802014-03-05 Glenn Morris <rgm@gnu.org>
481
482 * files.el (interpreter-mode-alist):
483 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
484
9284000e
JB
4852014-03-05 Juanma Barranquero <lekktu@gmail.com>
486
487 * frameset.el (frameset--initial-params): Filter out null entries.
488
e1a2cb1c
MR
4892014-03-05 Martin Rudalics <rudalics@gmx.at>
490
27821a89
JB
491 * window.el (window-min-height, window-min-width):
492 Rewrite doc-strings.
e1a2cb1c
MR
493 (window-body-size): Add PIXELWISE argument to make it consistent
494 with its callees.
495
6bf67038
JB
4962014-03-05 Juanma Barranquero <lekktu@gmail.com>
497
498 * finder.el (finder-mode-map, finder-mode-syntax-table):
499 Revert part of 2014-02-28 change.
500
90f04e4c
LI
5012014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
502
503 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
504 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
505 (eww-textarea-map): [tab] doesn't work on tty.
506 Reported by Mario Lang.
6952100d
LI
507
508 * net/shr.el (shr-map): Ditto.
90f04e4c 509
3106d59b
GM
5102014-03-04 Glenn Morris <rgm@gnu.org>
511
512 * minibuffer.el (completion-hilit-commonality):
513 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
514
f604dfdc
JB
5152014-03-04 Juanma Barranquero <lekktu@gmail.com>
516
517 * hilit-chg.el (hilit-chg-unload-function): New function.
518 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
519 (hilit-chg-map-changes): Prefer cardinal number to digit.
520 (hilit-chg-display-changes): Reflow docstring.
521 (highlight-changes-rotate-faces): Remove superfluous backslash.
522
5dc65319
MA
5232014-03-04 Michael Albinus <michael.albinus@gmx.de>
524
525 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
526 `tramp-send-command-and-check'.
527
4242d21d
JB
5282014-03-04 Juanma Barranquero <lekktu@gmail.com>
529
b01fa838
JB
530 * hexl.el (hexl-address-region, hexl-ascii-region)
531 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
532 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
533 (hexl-forward-word, hexl-previous-line, hexl-next-line):
534 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
535 (hexl-mode): Doc fix.
536 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
537 (hexl-mode-ruler): Fix typos in docstrings.
538
4242d21d
JB
539 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
540 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
541 Remove superfluous backslashes.
542 (strokes-last-stroke, strokes-global-map, strokes-mode):
543 Reflow docstrings.
544 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
545 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
546 (strokes-distance-squared, strokes-global-set-stroke)
547 (strokes-global-set-stroke-string): Doc fixes.
548 (strokes-help): Fix typos; reflow docstring.
549
87132570
MR
5502014-03-04 Martin Rudalics <rudalics@gmx.at>
551
552 * window.el (window-in-direction): Fix doc-string.
553
d82e752c
GM
5542014-03-04 Glenn Morris <rgm@gnu.org>
555
556 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
557 Explicit error if no grammar.
558 (smie-config-save): Doc fix. Fix quote typo.
559
62528af0
SM
5602014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
561
8d4901dc
SM
562 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
563 electric-indent-mode-hook if we obey electric-indent-mode.
564 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
565 decide whether we obey electric-indent-mode.
566 (c-change-set-fl-decl-start, c-extend-after-change-region):
567 Silence warnings.
568 (c-electric-indent-mode-hook): Assume we do want to obey
569 electric-indent-mode.
570
571 * electric.el (electric-indent-mode-has-been-called): Remove.
572 (electric-indent-mode): Fix accordingly.
573
092c12b2
SM
574 * files.el (hack-local-variables): Mention file name in warning.
575
62528af0
SM
576 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
577
5b87d0d9
MN
5782014-03-04 Michal Nazarewicz <mina86@mina86.com>
579
580 * binding.el: Add comment describing why C-d binds to `delete-char'.
581 * simple.el (delete-forward-char): Mark as interactive-only.
582
542a3840
JB
5832014-03-03 Juanma Barranquero <lekktu@gmail.com>
584
f2d2402e
GM
585 * icomplete.el (icomplete-completions):
586 Follow-up to 2014-03-01 change.
d11320e5
JB
587
588 * icomplete.el: Miscellaneous doc fixes.
589 Use Icomplete everywhere instead of icomplete for consistency.
590 (icomplete-max-delay-chars): Fix typo.
591 (icomplete-mode): Use \[].
592 (icomplete-tidy, icomplete-exhibit): Reflow.
593 (icomplete-minibuffer-setup-hook, icomplete-completions):
594 Remove superfluous backlashes.
595
596 * ido.el: Miscellaneous doc fixes.
597 Use Ido everywhere instead of ido or `ido' for consistency.
598 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
599 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
600 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
601 (ido-separator): Extract obsolescence info from docstring and declare
602 with make-obsolete-variable.
603 (ido-minibuffer-setup-hook): Simplify example.
604 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
605 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
606 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
607 (ido-everywhere): Reflow docstring.
608 (ido-toggle-vc): Doc fix.
609 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
610 of long list of keybindings.
611
7ebd57e9
GM
6122014-03-03 Glenn Morris <rgm@gnu.org>
613
614 * frame.el (display-pixel-height, display-pixel-width)
615 (display-mm-dimensions-alist, display-mm-height)
616 (display-mm-width): Doc tweaks.
617
35e951cd 6182014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
619
620 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
621 case of undo in region.
622
b923819c
MR
6232014-03-02 Martin Rudalics <rudalics@gmx.at>
624
625 * window.el (fit-window-to-buffer): Fix argument in window-size
626 call when window is horizontally combined.
627
b6e443c5
JB
6282014-03-02 Juanma Barranquero <lekktu@gmail.com>
629
630 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 631 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 632
1850913d
DG
6332014-03-01 Dmitry Gutov <dgutov@yandex.ru>
634
35e951cd
JB
635 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
636 Highlight regexp options. (Bug#16914)
1850913d 637
04b577b6
MR
6382014-03-01 Martin Rudalics <rudalics@gmx.at>
639
640 * window.el (window--max-delta-1): Round down when calculating
641 how many lines/columns we can get from a window.
642
b829360f
GM
6432014-03-01 Glenn Morris <rgm@gnu.org>
644
2501c912
GM
645 * isearch.el (search-invisible): Doc fix.
646
b829360f
GM
647 * minibuffer.el (completion-hilit-commonality):
648 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
649 * comint.el (comint-dynamic-list-completions): Doc fix.
650 * comint.el (comint-dynamic-list-completions):
651 * filecache.el (file-cache-minibuffer-complete):
652 * tempo.el (tempo-display-completions):
653 * eshell/em-hist.el (eshell-list-history):
654 Replace use of obsolete argument of display-completion-list.
655
9a155058
JB
6562014-03-01 Juanma Barranquero <lekktu@gmail.com>
657
658 * icomplete.el (icomplete-completions):
659 Revert back to using "..." when ?… cannot be displayed.
660
53f6cda8
JB
6612014-02-28 Juanma Barranquero <lekktu@gmail.com>
662
663 * finder.el (finder-unload-function): New function.
664
43977c23
JB
6652014-02-28 Juanma Barranquero <lekktu@gmail.com>
666
667 * dframe.el (dframe-detach):
668 * find-dired.el (find-dired, find-name-dired):
669 * finder.el (finder-mode-map, finder-mode-syntax-table)
670 (finder-headmark, finder-select, finder-mouse-select):
671 Fix docstring typos.
672
9dda75ad
MR
6732014-02-28 Martin Rudalics <rudalics@gmx.at>
674
675 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
676 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
677 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
678 Fix doc-string based on a suggestion by Nicolas Richard
679 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
680 * help.el (with-help-window): Fix doc-string.
681
8a73034e
IK
6822014-02-28 Ivan Kanis <ivan@kanis.fr>
683
b70257b0
GM
684 * net/shr.el (shr-image-animate): New option.
685 (shr-put-image): Respect shr-image-animate.
8a73034e 686
245aa73e
MA
6872014-02-28 Michael Albinus <michael.albinus@gmx.de>
688
689 * net/tramp-adb.el (tramp-adb-parse-device-names):
690 Use `accept-process-output'.
691 (tramp-adb-handle-file-truename): Cache the localname only.
692 (tramp-adb-handle-make-directory)
693 (tramp-adb-handle-delete-directory): Flush file properties correctly.
694 (tramp-adb-handle-set-file-modes): Do not raise an error when file
695 modes cannot be changed.
696
697 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
698 file properties of symlinks.
699
48e15d64
PS
7002014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
701
702 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
703 required/optional fields to match development biblatex. (Bug#16781)
704
65b77347
AS
7052014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
706
707 * saveplace.el (toggle-save-place):
708 Fix argument handling. (Bug#16673)
709
5e618aba
GM
7102014-02-28 Glenn Morris <rgm@gnu.org>
711
712 * minibuffer.el (completions-first-difference)
713 (completions-common-part, completion-hilit-commonality): Doc fixes.
714
6deb314e
KB
7152014-02-28 Karl Berry <karl@gnu.org>
716
717 * info.el (Info-mode-map): Add H for describe-mode,
718 to synchronize with standalone Info.
719
289996f5
EL
7202014-02-28 Emilio C. Lopes <eclig@gmx.net>
721
722 * progmodes/sql.el (sql-interactive-mode):
723 Avoid setting global comint-input-ring-separator. (Bug#16814)
724
79fc1191
MA
7252014-02-27 Michael Albinus <michael.albinus@gmx.de>
726
727 * net/dbus.el (dbus--init-bus): Declare function.
728 (dbus-path-local, dbus-interface-local): New defconst.
729 (dbus-init-bus): Use them.
730 (dbus-return-values-table): Extend doc.
731 (dbus-handle-bus-disconnect): Extend error message.
732
298520df
JB
7332014-02-27 Juanma Barranquero <lekktu@gmail.com>
734
735 * subr.el (y-or-n-p): Fix double space issue in message.
736
c22c1614
MA
7372014-02-27 Michael Albinus <michael.albinus@gmx.de>
738
739 * net/tramp.el (tramp-call-process): Improve trace message.
740 (tramp-handle-insert-file-contents): Trace error case.
741
742 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
743 <insert-directory>: Use `tramp-handle-insert-directory'.
744 (tramp-adb-handle-insert-directory): Remove function.
745 (tramp-adb-send-command-and-check): New defun, replacing
746 `tramp-adb-command-exit-status'. Change all callees.
747 (tramp-adb-handle-file-attributes)
748 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
749 (tramp-adb-ls-output-name-less-p):
750 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
751 (tramp-adb-handle-delete-directory): Flush also file properties of
752 the truename of directory.
753 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
754 (tramp-adb-handle-file-local-copy): Make the local copy readable.
755 (tramp-adb-handle-write-region): Implement APPEND.
756 (tramp-adb-handle-rename-file): Make it more robust. Flush file
757 properties correctly.
758 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
759 variables. Check for connected devices only when needed.
760
d9263618
GM
7612014-02-27 Glenn Morris <rgm@gnu.org>
762
ea7826ba
GM
763 * minibuffer.el (completion-table-dynamic)
764 (completion-table-with-cache): Doc fixes.
765
d9263618
GM
766 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
767 (completing-read-multiple): Doc fixes.
768
eff3168a
DC
7692014-02-27 Daniel Colascione <dancol@dancol.org>
770
51f213c3
DC
771 * minibuffer.el (completion--nth-completion): Fix indentation.
772
eff3168a
DC
773 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
774 explicit tramp path is empty.
775
b77cfcd7
GM
7762014-02-27 Glenn Morris <rgm@gnu.org>
777
778 * emacs-lisp/crm.el (completing-read-multiple):
779 Empower help-enable-auto-load.
780
9577b569
GM
7812014-02-26 Glenn Morris <rgm@gnu.org>
782
259887e8
GM
783 * startup.el (command-line): Don't init the tty in daemon mode.
784
1d491ef2
GM
785 Avoid calling tty-setup-hook twice, eg if a term file
786 explicitly calls tty-run-terminal-initialization. (Bug#16859)
787 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
788 (tty-create-frame-with-faces): Use it.
789 * startup.el (command-line): Pass run-hook argument
790 to tty-run-terminal-initialization.
791
9577b569
GM
792 * dired.el (dired-restore-desktop-buffer): Demote errors;
793 eg in case a glob match fails. (Bug#16884)
794
40ff7f86
DG
7952014-02-26 Dmitry Gutov <dgutov@yandex.ru>
796
b2388336
DG
797 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
798 error from `read-from-string'. (Bug#16850)
799
40ff7f86
DG
800 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
801 result of `completing-read' in the interactive form. (Bug#16854)
802
98bd6b32
GM
8032014-02-25 Glenn Morris <rgm@gnu.org>
804
f086804c
GM
805 * image.el (image-animate, image-animate-timeout):
806 Stop animating images in dead buffers. (Bug#16878)
807
c107155e
GM
808 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
809
9577b569
GM
810 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
811 Doc fixes.
98bd6b32
GM
812 * startup.el (term-setup-hook): Doc fix. Make obsolete.
813 * term/sun.el (sun-raw-prefix-hooks):
814 Use tty-setup-hook instead of term-setup-hook.
815 (terminal-init-sun): Construct message from bytecomp plist.
816 * term/wyse50.el (enable-arrow-keys): Doc fix.
817
9c9e18e8
JB
8182014-02-24 Juanma Barranquero <lekktu@gmail.com>
819
820 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
821 Fix docstring typos.
822
c848881f
MA
8232014-02-24 Michael Albinus <michael.albinus@gmx.de>
824
825 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
826
0e38ae05
NR
8272014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
828
829 * minibuffer.el (completion--try-word-completion):
830 Fix error when completing M-x commands (bug#16808).
831
8ee4c296
LL
8322014-02-24 Leo Liu <sdl.web@gmail.com>
833
834 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
835
7d4bd627
JB
8362014-02-24 Juanma Barranquero <lekktu@gmail.com>
837
838 * apropos.el (apropos-print): Avoid formatting error when
839 apropos-do-all and apropos-compact-layout are both t.
840
e918e27f
JB
8412014-02-23 Juanma Barranquero <lekktu@gmail.com>
842
843 * apropos.el (apropos-property, apropos-all-words-regexp)
844 (apropos-true-hit, apropos-variable, apropos-print):
845 Fix docstring typos, and remove obsolete comment.
846
85c01f80
MA
8472014-02-23 Michael Albinus <michael.albinus@gmx.de>
848
849 * net/tramp-sh.el (tramp-sh-handle-file-truename):
850 Preserve trailing "/". (Bug#16851)
851
62f95022
DG
8522014-02-23 Dmitry Gutov <dgutov@yandex.ru>
853
854 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
855 after `=>' (bug#16811).
dfdb365c
DG
856 (ruby-smie-rules): Handle the inconsistent second element of the
857 list returned by `smie-indent--parent'.
858 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
859 method call.
62f95022 860
025f2c81
JB
8612014-02-23 Juanma Barranquero <lekktu@gmail.com>
862
863 * elec-pair.el (electric-pair-text-syntax-table)
864 (electric-pair-syntax-info, electric-pair--syntax-ppss)
865 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
866 (electric-pair--looking-at-unterminated-string-p): Doc fix.
867 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
868
123c84f9
GM
8692014-02-22 Glenn Morris <rgm@gnu.org>
870
612c3e46
GM
871 * imenu.el (imenu--generic-function): Doc fix.
872
123c84f9
GM
873 * register.el (frame-configuration-to-register): Make obsolete.
874
e59fa9ad
JB
8752014-02-22 Juanma Barranquero <lekktu@gmail.com>
876
877 * desktop.el (desktop-save-buffer-p): Do not fail when
878 desktop-files-not-to-save is nil. Return t for true result
879 as the doc says.
880
4e652634
DC
8812014-02-22 Daniel Colascione <dancol@dancol.org>
882
27821a89 883 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
884 Check that attribute values are strings, avoiding the construction
885 of invalid dbus messages.
4e652634 886
f35affb6
JB
8872014-02-21 Juanma Barranquero <lekktu@gmail.com>
888
889 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
890 defun-declarations-alist.
891
3d136b1b
SM
8922014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
895 (bug#16829).
896
612ddfc0
JB
8972014-02-21 Juanma Barranquero <lekktu@gmail.com>
898
899 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
900 (whitespace-newline, whitespace-trailing, whitespace-line)
901 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
902 (whitespace-space-after-tab): Fix typo in docstrings.
903
c8481b1b
DG
9042014-02-21 Dmitry Gutov <dgutov@yandex.ru>
905
cb8f50a7
DG
906 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
907
c8481b1b
DG
908 * electric.el (electric-indent-functions-without-reindent):
909 Add `yaml-indent-line'.
910
bed5126f
JB
9112014-02-21 Juanma Barranquero <lekktu@gmail.com>
912
34b71457
JB
913 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
914 It has done nothing for years; should be removed after the release.
915
bed5126f
JB
916 * simple.el (choose-completion): Fix docstring typo.
917 (read-quoted-char-radix): Remove unneeded * in docstring.
918 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
919 Don't escape parentheses unnecessarily in docstrings.
920
8dd3e94f
MR
9212014-02-21 Martin Rudalics <rudalics@gmx.at>
922
923 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
924 * window.el (window--dump-window, window--dump-frame):
925 New functions.
926 (window--min-size-1): Account for window dividers.
927 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
928 sum of the window components has been calculated.
929 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
930 nil make sure at least one text line and two text columns remain
931 fully visible.
932 (window-resize): Signal an error when window-resize-apply fails.
933 (window--resize-child-windows): Fix calculation of by how many
934 pixels a window can still be shrunk via window-new-normal.
935 (adjust-window-trailing-edge): Call window--resizable with
936 correct TRAIL argument.
937
2ed94e04
MR
938 (with-temp-buffer-window): Don't evaluate BODY within
939 with-current-buffer (Bug#16816).
940
0e5324c4
MA
9412014-02-21 Michael Albinus <michael.albinus@gmx.de>
942
943 * net/tramp.el (tramp-check-cached-permissions):
944 Call `file-attributes' with `suffix' being a symbol but a string.
945
48198420
DC
9462014-02-21 Daniel Colascione <dancol@dancol.org>
947
948 * net/dbus.el (dbus-init-bus-1): Declare new subr.
949 (dbus-init-bus): New function: call into dbus-init-bus-1
950 and installs a handler for the disconnect signal.
951 (dbus-call-method): Rewrite to look for result in cons.
952 (dbus-call-method-handler): Store result in cons.
953 (dbus-check-event): Recognize events with nil sender as valid.
954 (dbus-handle-bus-disconnect): New function. React to bus
955 disconnection signal by synthesizing dbus error for each
956 pending synchronous or asynchronous call.
957 (dbus-notice-synchronous-call-errors): New function.
958 (dbus-handle-event): Raise errors directly only when `dbus-debug'
959 is true, not all the time.
960
99e15133
JB
9612014-02-21 Juanma Barranquero <lekktu@gmail.com>
962
e48983a6
JB
963 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
964 Remove obsolescence declarations, these variables do not exist anymore.
965
fdcfd745
JB
966 * savehist.el (savehist-save-minibuffer-history)
967 (savehist-additional-variables, savehist-file, savehist-mode-hook)
968 (savehist-save-hook, savehist-coding-system, savehist-loaded)
969 (savehist-load, savehist-install, savehist-autosave): Fix typos;
970 mostly, refer to "Savehist mode" when talking about the mode,
971 and not the function.
972
99e15133
JB
973 * saveplace.el (save-place): Remove redundant info in docstring.
974 (save-place-forget-unreadable-files, toggle-save-place)
975 (save-place-forget-unreadable-files, save-place-dired-hook):
976 Fix typos and remove unneeded backslashes.
977
f5bee33b
MA
9782014-02-20 Michael Albinus <michael.albinus@gmx.de>
979
980 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
981 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
982
983 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 984 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
985 (tramp-gvfs-handle-insert-directory): Remove function.
986
987 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
988 Call `tramp-handle-insert-directory'.
989
ee0761ca
JB
9902014-02-20 Juanma Barranquero <lekktu@gmail.com>
991
992 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
993 before the start of buffer/region (bug#16799).
994
4d49cc65
GM
9952014-02-20 Glenn Morris <rgm@gnu.org>
996
997 * isearch.el (search-invisible): Doc fix.
998
eee0d650
TK
9992014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1000
1001 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1002 (bug#16657).
1003
94e5e202
JB
10042014-02-19 Juanma Barranquero <lekktu@gmail.com>
1005
1006 * frameset.el (frameset-restore): Delay removing an old frame's
1007 duplicate id until the new frame has been correctly created.
1008
50bfdd5d
MA
10092014-02-19 Michael Albinus <michael.albinus@gmx.de>
1010
1011 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1012 (tramp-check-cached-permissions): Call `file-attributes' if the
1013 cache is empty.
1014
1015 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1016 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1017
1018 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1019 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1020 (tramp-gvfs-maybe-open-connection): Set always connection
1021 properties, even if target is mounted already.
1022
1023 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1024 Set tramp-autoload cookie.
1025 (tramp-get-remote-touch): New defun.
1026 (tramp-sh-handle-set-file-times): Use it.
1027 (tramp-sh-handle-directory-files-and-attributes):
1028 Use `tramp-handle-directory-files-and-attributes' if neither stat
1029 nor perl are available on the remote host.
1030
1031 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1032 "/". Write long listing only when "l" belongs to the switches.
1033
1034 * net/trampver.el: Update release number.
1035
f097a3d2
JB
10362014-02-19 Juanma Barranquero <lekktu@gmail.com>
1037
1038 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1039
8e009b78
MR
10402014-02-19 Martin Rudalics <rudalics@gmx.at>
1041
1042 * window.el (window-state-put): Allow WINDOW to refer to an
1043 internal window (Bug#16793).
1044
95160c90
GM
10452014-02-19 Glenn Morris <rgm@gnu.org>
1046
1047 * textmodes/remember.el: Move provide statement to end.
1048 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1049 (remember-notes): Doc fixes.
1050
b28df58c
SM
10512014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * delsel.el (delete-char): Restore incorrectly erased property
1054 (bug#16795).
1055
7108e1c0
JB
10562014-02-18 Juanma Barranquero <lekktu@gmail.com>
1057
1058 * frameset.el (frameset--restore-frame): When a frame is being reused
1059 and its root window is not alive, delete all the frame's windows before
1060 restoring the window state. This works around the issue in bug#16793.
1061
c863b6ad
GM
10622014-02-18 Glenn Morris <rgm@gnu.org>
1063
a73fae1f
GM
1064 * textmodes/remember.el (remember-data-directory)
1065 (remember-directory-file-name-format, remember-store-in-files)
1066 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1067 (remember-notes-save-and-bury-buffer)
1068 (remember-notes--kill-buffer-query): Doc fixes.
1069
c863b6ad
GM
1070 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1071
29238d28
AM
10722014-02-17 Alan Mackenzie <acm@muc.de>
1073
1074 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1075 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1076 to electric-indent-{,local-}-mode.
b28df58c
SM
1077 (c-basic-common-init): Set electric-indent-inhibit.
1078 Initialise c-electric-flag from electric-indent-mode.
29238d28 1079 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1080 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1081
1082 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1083 hit, toggle electric-indent-local-mode.
29238d28 1084
b28df58c
SM
1085 * electric.el (electric-indent-mode-has-been-called):
1086 New variable.
29238d28 1087
c6463340
JB
10882014-02-17 Juanma Barranquero <lekktu@gmail.com>
1089
1090 * frameset.el (frameset-cfg-id): New function.
1091 (frameset--reuse-frame, frameset-restore): Use it.
1092 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1093
94912b88
SM
10942014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * ido.el (ido-file-internal): Remove unused var `d'.
1097 Use \` for to match BoS. Fit within 80n columns.
1098
26ea164c
DC
10992014-02-17 Daniel Colascione <dancol@dancol.org>
1100
1101 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1102 dbus-call-method check for completion using a busy-wait loop with
1103 gradual backoff.
1104
dd7691b7
MA
11052013-10-02 Michael Albinus <michael.albinus@gmx.de>
1106
1107 Sync with Tramp 2.2.9.
1108
1109 * net/trampver.el: Update release number.
1110
17d1b51b
DG
11112014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1112
1113 * ido.el (ido-file-internal): Don't add the name of an existing
1114 directory twice. (Bug#16747)
1115
5bcad689
GM
11162014-02-16 Glenn Morris <rgm@gnu.org>
1117
1118 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1119 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1120
11212014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1122
1123 * progmodes/sql.el: Version 3.4
1124 (sql-oracle-options): New default value ("-L").
94912b88 1125 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1126 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1127 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1128 (sql-login-delay): New variable.
1129 (sql-product-interactive): Use it.
1130
285f1858
JB
11312014-02-15 Juanma Barranquero <lekktu@gmail.com>
1132
1133 * frameset.el (frameset--jump-to-register): Check that buffer is live
1134 (bug#16749).
1135
5d645ea4
GM
11362014-02-15 Glenn Morris <rgm@gnu.org>
1137
1138 * info.el (info-initialize): Revert 2014-01-10 change.
1139
48c4f9b1
GM
11402014-02-14 Glenn Morris <rgm@gnu.org>
1141
b8630261
GM
1142 * replace.el (map-query-replace-regexp)
1143 (read-regexp-defaults-function, read-regexp): Doc fixes.
1144
b2bf2a25
GM
1145 * dired.el (dired-read-regexp):
1146 * faces.el (list-faces-display):
1147 * misearch.el (multi-isearch-read-matching-buffers)
1148 (multi-isearch-read-matching-files):
1149 * play/cookie1.el (cookie-apropos):
1150 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1151
48c4f9b1
GM
1152 * textmodes/remember.el (remember): Use frameset-to-register
1153 rather than frame-configuration-to-register.
1154
2804e0bd
JB
11552014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1156
1157 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1158 incorrect keybinding.
1159
0b87142f
DC
11602014-02-13 Daniel Colascione <dancol@dancol.org>
1161
1162 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1163 when adding overlays so that line numbers from compiler match line
1164 numbers we use.
1165
47a73eb0
GM
11662014-02-13 Glenn Morris <rgm@gnu.org>
1167
8abcfd51
GM
1168 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1169
47a73eb0
GM
1170 * jit-lock.el (jit-lock-mode): Doc fix.
1171
c9b6b262
JB
11722014-02-13 Juanma Barranquero <lekktu@gmail.com>
1173
1174 * apropos.el (apropos-read-pattern): When the user passes an empty
1175 string, give a more helpful error message than "Wrong type
1176 argument: stringp, nil".
1177
eb4c6947
SM
11782014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1181
0dab5068
GM
11822014-02-13 Glenn Morris <rgm@gnu.org>
1183
1184 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1185
59075dcf
SM
11862014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1189 shift-select commands.
1190
5af9fbad
DG
11912014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1192
1193 * progmodes/js.el (js-indent-line): Don't widen.
1194 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1195
a215930c
GM
11962014-02-12 Glenn Morris <rgm@gnu.org>
1197
a8cb4247
GM
1198 * icomplete.el (icomplete): Add info-link to defgroup.
1199 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1200 (icomplete-minibuffer-map, icomplete-mode)
1201 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1202
a215930c
GM
1203 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1204 (package-menu-filter): Rename from package-menu-filter-interactive.
1205 Doc fix.
1206
26c5ecd9
JB
12072014-02-11 Juanma Barranquero <lekktu@gmail.com>
1208
1209 * frameset.el (frameset--jump-to-register): Select the required
1210 window and buffer before restoring position (bug#16696).
1211
fcd58a02
LI
12122014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1213
1214 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1215
bacb3380
GM
12162014-02-10 Glenn Morris <rgm@gnu.org>
1217
1218 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1219
881329dc
EZ
12202014-02-10 Eli Zaretskii <eliz@gnu.org>
1221
02328db9
EZ
1222 * w32-common-fns.el (x-get-selection): Doc fix.
1223 * select.el (x-get-selection): Doc fix. (Bug#15109)
1224
881329dc
EZ
1225 * face-remap.el (face-remap-add-relative)
1226 (face-remap-remove-relative, face-remap-reset-base)
1227 (face-remap-set-base): Call force-mode-line-update to redisplay
1228 the current buffer due to potential change in faces. (Bug#16709)
1229
c7db4c06
MA
12302014-02-10 Michael Albinus <michael.albinus@gmx.de>
1231
1232 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1233 script more robustly.
1234
6abe4589
LI
12352014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1236
7602b5c3
LI
1237 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1238
e3692ee0
LI
1239 * simple.el (choose-completion): Doc fix (bug#14160).
1240
41015524
LI
1241 * subr.el (event-start): Say what a nil EVENT value means.
1242
87c79dcb
LI
1243 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1244 (bug#14197).
1245
3ab49e2c
LI
1246 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1247
f3c60241
LI
1248 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1249
3bd1d8a8
LI
1250 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1251
6abe4589
LI
1252 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1253 predicate function (bug#15455).
1254
a11463de
DG
12552014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1256
1257 * ielm.el (inferior-emacs-lisp-mode): Instead of
1258 `comment-use-global-state', set `comment-use-syntax'.
1259
2ab0ad85
GM
12602014-02-10 Glenn Morris <rgm@gnu.org>
1261
1262 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1263
411141fb
AM
12642014-02-09 Alan Mackenzie <acm@muc.de>
1265
1266 Fix c-invalidate-state-cache on narrowed buffers.
1267 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1268 Widen when setting and clearing the CPP delimiter properties.
1269
d6d5fdf8
LI
12702014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1271
92c70367
LI
1272 * help.el (describe-bindings): Doc fix (bug#9888).
1273
468ef484
LI
1274 * files.el (save-buffer): Use ARG as the parameter name for
1275 consistency (bug#10346).
7e34193f 1276 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1277
fc2b1ffa 1278 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1279 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1280 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1281
790aceec
LI
1282 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1283
a54a7552 1284 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1285 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1286
dd163123
LI
1287 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1288 meaning of the parameter (bug#12282).
1289
9e108fe6
LI
1290 * files.el (find-file-noselect): Clarify prompt when changing
1291 readedness (bug#13261).
5a836f58
LI
1292 (locate-file): Suffixes aren't returned, so don't say that they
1293 are (bug#12674).
2356b316 1294 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1295
20dda930
LI
1296 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1297 before we actually start to delete things (bug#16331).
1298
d6d5fdf8
LI
1299 * subr.el (event-start): Doc fix (bug#14228).
1300 (event-end): Ditto.
1301
2abd71e5
GM
13022014-02-09 Glenn Morris <rgm@gnu.org>
1303
1304 * emacs-lisp/warnings.el (lwarn):
1305 Empower help-enable-auto-load. (Bug#15940)
1306
c1b5900b
AS
13072014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1308
1309 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1310 (Bug#16690)
1311
429b93bd
MA
13122014-02-08 Michael Albinus <michael.albinus@gmx.de>
1313
1314 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1315 Insert output at end of buffer. (Bug#16120)
1316
b772a699
LI
13172014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1318
18c6aa8c
LI
1319 * simple.el (choose-completion-string-functions): Document new
1320 calling convention (bug#14153).
54dd147a 1321 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1322
dce8463b
LI
1323 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1324
b772a699 1325 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1326 (find-grep-dired): Doc fix (bug#14288).
b772a699 1327
2423c8d5
JL
13282014-02-08 Juri Linkov <juri@jurta.org>
1329
1330 * isearch.el (isearch-quote-char): Check character validity
1331 like in `quoted-insert' (bug#16677).
1332
518f26c2
LI
13332014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1334
893cc908
LI
1335 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1336
9165ffc0
LI
1337 * isearch.el (isearch-hide-immediately): Doc clarification
1338 (bug#14723).
1339
6ef4f3ce
LI
1340 * simple.el (line-move): Document utility function used many
1341 places in the Emacs sources (bug#14843).
1342
be58a238 1343 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1344 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1345 (dired-up-directory): Doc fix (bug#14848).
be58a238 1346
dd7aafbb
LI
1347 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1348
15cb9968
LI
1349 * files.el (file-relative-name): Doc fix (bug#15159).
1350
9788effd
LI
1351 * fringe.el (fringe-styles): Doc fix (bug#15239).
1352
c96411bd
LI
1353 * isearch.el (isearch-filter-predicate): Documentation typo fix
1354 (bug#15474).
1355
ea838c36
LI
1356 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1357
0d8a4ae7
LI
1358 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1359
f7a17bb3
LI
1360 * replace.el (replace-match-maybe-edit): Doc clarification
1361 (bug#15632).
1362
1bde5c3b
LI
1363 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1364
518f26c2
LI
1365 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1366
dd8e49fd
GM
13672014-02-08 Glenn Morris <rgm@gnu.org>
1368
1369 * help-fns.el (describe-variable):
1370 Check {file,dir}-local-variables-alist, and buffer-file-name,
1371 in the correct buffer.
1372
7e088b29
IL
13732014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1374
1375 * help-fns.el (describe-variable): Fix the case where
1376 a value is directory-local with no dir-locals file. (Bug#16635)
1377
41a4a82f
GM
13782014-02-08 Glenn Morris <rgm@gnu.org>
1379
1380 * abbrev.el (edit-abbrevs-mode):
1381 Derive from fundamental-mode. (Bug#16682)
1382
e255a703
JB
13832014-02-07 Juanma Barranquero <lekktu@gmail.com>
1384
1385 * simple.el (quoted-insert): Check character validity (bug#16677).
1386
c99cf5ee
JL
13872014-02-07 Juri Linkov <juri@jurta.org>
1388
1389 * desktop.el (desktop-read): Claim the lock when the owner is not
1390 the current process. (Bug#16157)
1391
7d7a68d8
JL
13922014-02-07 Juri Linkov <juri@jurta.org>
1393
1394 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1395 to "\\` ". (Bug#16651)
1396
2b777cd9
JL
13972014-02-07 Juri Linkov <juri@jurta.org>
1398
1399 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1400 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1401 (desktop-auto-save-cancel-timer): New function with some code from
1402 `desktop-auto-save-set-timer'.
1403 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1404 Instead of setting `desktop-save-mode' to nil, call
1405 `desktop-save-mode' with arg 0. (Bug#16630)
1406
60eabbb9
GM
14072014-02-07 Glenn Morris <rgm@gnu.org>
1408
99cf3859
GM
1409 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1410 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1411 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1412
2b568bc9
GM
1413 * obsolete/iswitchb.el: Move to obsolete/.
1414 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1415 since obsolete/ is not scanned for autoloads.
1416 * emacs-lisp/authors.el (authors-valid-file-names):
1417 Add iswitchb.el.
1418
60eabbb9
GM
1419 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1420 Disable now non-functional find-file-hook.
1421
629de968
MA
14222014-02-06 Michael Albinus <michael.albinus@gmx.de>
1423
1424 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1425 instead of ";" in order to avoid additional prompts. Let heredoc
1426 scripts read from tty. (Bug#16582)
1427 (tramp-send-command): No special handling of heredocs, it isn't
1428 necessary anymore.
1429
29127376
SM
14302014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1433 with a space (bug#16664). Limit the symbols considered to the ones
1434 that are bound or fbound (bug#16646).
1435
79b6e0a9
GM
14362014-02-06 Glenn Morris <rgm@gnu.org>
1437
1438 * epa.el (epa-mail-aliases): Doc fix.
1439
a333e4d2
DG
14402014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1441
29127376
SM
1442 * emacs-lisp/lisp.el (lisp-completion-at-point):
1443 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1444 (bug#16604).
1445
1446 * minibuffer.el (completion-table-merge): New function.
1447
9a83b32b
MA
14482014-02-05 Michael Albinus <michael.albinus@gmx.de>
1449
1450 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1451 (tramp-sh-handle-set-file-acl)
1452 (tramp-sh-handle-start-file-process)
1453 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1454 (tramp-find-executable, tramp-send-command): Use it.
1455
451ea3e6
GM
14562014-02-05 Glenn Morris <rgm@gnu.org>
1457
9a83b32b 1458 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1459
dd27d13b
FEG
14602014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1461
35e951cd 1462 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1463 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1464
08e41897
AL
14652014-02-04 Anders Lindgren <andlind@gmail.com>
1466
1467 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1468 the names (bug#16620).
1469
764ec9e5
MR
14702014-02-03 Martin Rudalics <rudalics@gmx.at>
1471
08e41897
AL
1472 * faces.el (window-divider): New default value. Rewrite doc-string.
1473 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1474
6da8227c
DG
14752014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1476
1477 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1478 `protected' and `public' can also be called without arguments.
1479
6a6b8e40
GM
14802014-02-03 Glenn Morris <rgm@gnu.org>
1481
7bcbca40
GM
1482 * register.el (window-configuration-to-register)
1483 (frame-configuration-to-register): Unadvertise unused argument.
1484 * frameset.el (frameset-to-register): Remove unused argument.
1485
719d965d 1486 * frameset.el (frameset-to-register):
6a6b8e40
GM
1487 * kmacro.el (kmacro-to-register):
1488 * register.el (increment-register):
1489 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1490 (calc-append-to-register, calc-prepend-to-register):
1491 * play/gametree.el (gametree-layout-to-register)
1492 (gametree-apply-register-layout):
1493 * textmodes/picture.el (picture-clear-rectangle-to-register)
1494 (picture-yank-rectangle-from-register):
1495 * vc/emerge.el (emerge-combine-versions-register):
1496 Use register-read-with-preview to read registers.
1497
5dca7759
JT
14982014-02-03 João Távora <joaotavora@gmail.com>
1499
1500 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1501 when at beginning of (possibly narrowed) buffer.
1502
709085b9
DC
15032014-02-02 Daniel Colascione <dancol@dancol.org>
1504
c295fc18 1505 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1506 Also try to display local help from just before point.
709085b9 1507
99f7b0a6
AM
15082014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1509
1510 c-parse-state. Don't "append-lower-brace-pair" in certain
1511 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1512 recognised as a comment.
1513
1514 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1515 as well as normal comment starter.
1516 (c-parse-state-get-strategy): Extra return possibility
1517 'back-and-forward.
1518 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1519 return value list to indicate replacement of a brace-pair cons
1520 with its car.
1521 (c-parse-state-1): With 'back-and-forward, only call
1522 c-append-lower-brace-pair-to state-cache when cons-separated.
1523
f0a10576
JD
15242014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1525
1526 * term/ns-win.el (ns-suspend-error): New function.
1527 (ns-initialize-window-system): Add ns-suspend-error to
1528 suspend-hook (Bug#16612).
1529
b8d552c2
DC
15302014-02-02 Daniel Colascione <dancol@dancol.org>
1531
35e951cd
JB
1532 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1533 Make loading cc-mode silent.
b8d552c2 1534
f2b7d123
DC
15352014-02-02 Daniel Colascione <dancol@dancol.org>
1536
35e951cd
JB
1537 * comint.el (comint-prompt-read-only): Change doc to suggest
1538 remap keybinding.
f2b7d123 1539
4472a196
GM
15402014-02-02 Glenn Morris <rgm@gnu.org>
1541
1542 * register.el (register-read-with-preview, point-to-register)
1543 (window-configuration-to-register, frame-configuration-to-register)
1544 (jump-to-register, number-to-register, view-register, insert-register)
1545 (copy-to-register, append-to-register, prepend-to-register)
1546 (copy-rectangle-to-register): Doc fixes.
1547
70e5a261
SM
15482014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1551 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1552 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1553 * help-fns.el (describe-function-1): Use it.
1554
7c324762
GM
15552014-02-02 Glenn Morris <rgm@gnu.org>
1556
1557 * register.el (register-preview-default): New function,
1558 split from register-preview.
1559 (register-preview-function): Rename from register-preview-functions,
1560 make it not a hook.
1561 (register-preview): Use register-preview-function.
1562 (register-read-with-preview): Error on non-character event. (Bug#16595)
1563
a09beb3d
DG
15642014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1565
1566 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1567 `:' before binary operators (bug#16609). Don't check for `:'
1568 before `[' and `(', or their syntax status. A percent literal
1569 can't end with either.
68e004e0
DG
1570 (ruby-font-lock-keywords): For built-ins that require arguments,
1571 check that they're followed by something that looks like argument
1572 (bug#16610).
a09beb3d 1573
ed4d2875
LI
15742014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1575
1576 * subr.el (butlast): Document what an omitted N means (bug#13437).
1577 (nbutlast): Ditto.
1578
dba6e3ec
LI
15792014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1580
1581 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1582 depth shallower (bug#16587).
cc477daa
LI
1583 (shr-tag-svg): Respect `shr-inhibit-images'.
1584 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1585
e2a67bd0
DG
15862014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1587
1588 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1589 (ruby-smie-grammar): Make "." right-associative. Make its priority
1590 lower than the ternary and all binary operators.
1591 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1592 parent, or the first "." parent at indentation.
1593 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1594 (Bug#16593)
1595
bd21bf41
JL
15962014-01-31 Juri Linkov <juri@jurta.org>
1597
1598 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1599 from `make-hash-table'.
1600
1601 * textmodes/ispell.el (ispell-init-process): Change message format
1602 to be consistent with other messages.
1603
b7e615b9
GM
16042014-01-31 Glenn Morris <rgm@gnu.org>
1605
a69ecd19
GM
1606 * delsel.el (delete-selection-mode): Doc fix.
1607
9997d7e3
GM
1608 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1609 (trace-function-background): Doc fixes.
1610
fbb764b8
GM
1611 * ido.el (ido-use-virtual-buffers): Doc fix.
1612 Reset :version, since the default value has not changed.
1613
da942af1
GM
1614 * register.el (register-preview-delay, register-read-with-preview):
1615 Doc fixes.
1616
b7e615b9
GM
1617 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1618 do not mess with mail-buffer position (fixes 2009-11-03 change).
1619 * progmodes/cc-mode.el (c-submit-bug-report):
1620 Check auto-fill-mode is bound. (Bug#16592)
1621
0a25002d
DH
16222014-01-31 Darren Hoo <darren.hoo@gmail.com>
1623
1624 * startup.el (fancy-splash-image-file): New function,
1625 split from fancy-splash-head.
1626 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1627 so that we are both using the same image. (Bug#16574)
1628
ad78f432
GM
16292014-01-30 Glenn Morris <rgm@gnu.org>
1630
6bbc0c84
GM
1631 * simple.el (eval-expression): Doc fix.
1632
ad78f432
GM
1633 * hexl.el (hexl-mode-hook):
1634 * ielm.el (ielm-mode-hook):
1635 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1636 (lisp-interaction-mode-hook):
1637 * progmodes/cfengine.e (cfengine3-documentation-function):
1638 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1639
7b2f049c
SM
16402014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1641
1642 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1643 is a symbol (bug#16584).
1644
0c633f13
GM
16452014-01-30 Glenn Morris <rgm@gnu.org>
1646
1647 * help.el (help-for-help-internal): Add "P" to text.
1648
5e61c1ef
GM
16492014-01-29 Glenn Morris <rgm@gnu.org>
1650
1651 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1652
1dcb169c
MR
16532014-01-28 Martin Rudalics <rudalics@gmx.at>
1654
1655 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1656 height constraints.
1657
a9128931
LL
16582014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1659
1660 * progmodes/hideif.el: Extend to full CPP expression syntax.
1661 (hif-token-alist): Add missing tokens.
1662 (hif-token-regexp): Add support for float/octal/hex immediates.
1663 (hif-string-literal-regexp): New const.
1664 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1665 (hif-exprlist): New function.
1666 (hif-parse-if-exp): Use it.
1667 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1668 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1669 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1670 (hif-logxor, hif-comma): New functions.
1671
a22359a7
GM
16722014-01-28 Glenn Morris <rgm@gnu.org>
1673
793ffe81
GM
1674 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1675
e3bd7eed
GM
1676 * indent.el (tab-stop-list): Doc fix. Add :version.
1677
a22359a7
GM
1678 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1679 (cvs-append-to-ignore): Add compatibility alias.
1680
52695556 16812014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1682
bac524e0
GM
1683 * dired.el (dired-hide-details-mode): Don't autoload it,
1684 since it cannot be used outside Dired buffers anyway.
1685
52695556 1686 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1687
52695556
GM
1688 * dired.el (dired-hide-details-hide-symlink-targets)
1689 (dired-hide-details-hide-information-lines)
1690 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1691
1692 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1693 * strokes.el (strokes-file): Doc fix. Bump :version.
1694 (strokes-help): Doc fix.
1695 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1696 * emulation/viper.el (viper): Doc fix for custom group.
1697 (top-level): Remove oh-so-no-longer-relevant text about vip.
1698 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1699
1700 * ido.el (ido-save-directory-list-file):
1701 * saveplace.el (save-place-file):
1702 * calendar/timeclock.el (timeclock-file):
1703 * net/quickurl.el (quickurl-url-file):
1704 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1705 * progmodes/idlwave.el (idlwave-config-directory):
1706 * textmodes/remember.el (remember-data-file):
1707 Bump :version.
1708
169d6004
GM
17092014-01-26 Glenn Morris <rgm@gnu.org>
1710
de6a923b
GM
1711 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1712 Doc fix. Make obsolete.
1713 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1714
169d6004
GM
1715 * sort.el (delete-duplicate-lines): Doc fix.
1716
ed85dee6
RS
17172014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1718
1719 * progmodes/ada-mode.el (ada):
1720 * woman.el (woman): Link to info manual and Commentary section.
1721
1722 * progmodes/flymake.el (flymake):
1723 * nxml/nxml-mode.el (nxml):
1724 * net/eww.el (eww):
1725 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1726 * htmlfontify.el (htmlfontify):
1727 * ses.el (ses):
1728 * epa.el (epa):
1729 * ido.el (ido): Link to info manual.
1730
e0c67e1d
LL
17312014-01-25 Leo Liu <sdl.web@gmail.com>
1732
1733 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1734
35408b1a
AS
17352014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1736
1737 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1738 (bug#16537).
1739
11eff3ae 1740>>>>>>> MERGE-SOURCE
76c3fa95
JB
17412014-01-24 Juanma Barranquero <lekktu@gmail.com>
1742
f77c7a99
JB
1743 * net/eww.el (eww-download-callback):
1744 Fix reference to eww-download-directory.
1745
76c3fa95
JB
1746 * emacs-lisp/bytecomp.el (byte-compile-file):
1747 Remove unused local variable `file-name'.
1748
1e548e40
GM
17492014-01-24 Glenn Morris <rgm@gnu.org>
1750
03f3b318
GM
1751 * woman.el (woman-default-faces, woman-monochrome-faces):
1752 Fix obsolescence specification.
1753
1e548e40
GM
1754 * subr.el (with-demoted-errors): Doc fix.
1755
d4f0427b
SM
17562014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1759 (cl--macroexp-fboundp): New function.
1760 (cl--make-type-test): Use it.
1761
1670e27f
GM
17622014-01-23 Glenn Morris <rgm@gnu.org>
1763
1764 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1765 * simple.el (eval-expression): Doc fixes.
1766
80efa207
GM
17672014-01-22 Glenn Morris <rgm@gnu.org>
1768
1769 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1770
29afcbab
SM
17712014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * emacs-lisp/package.el: Write files silently.
1774 (package-autoload-ensure-default-file, package--write-file-no-coding)
1775 (package-generate-description-file, package--download-one-archive)
1776 (package-install-from-archive): Tell `write-region' to stay quiet.
1777 (package-menu-mode, package-menu--print-info): Omit the Archive column
1778 if there's only one archive.
1779 (package-all-keywords, package--has-keyword-p): Remove dead code.
1780
2a5bce4f
GM
17812014-01-22 Glenn Morris <rgm@gnu.org>
1782
edace89f
GM
1783 * version.el (emacs-bzr-version-bzr): Fix typo.
1784
2a5bce4f
GM
1785 * version.el (emacs-repository-get-version):
1786 Check either .bzr or .git, but not both.
1787 Make the git case actually use the DIR argument, and return nil
1788 rather than the empty string.
983664c0 1789 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1790
6cb4da45
MR
17912014-01-22 Martin Rudalics <rudalics@gmx.at>
1792
1793 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1794 * window.el (window-total-size, window-size): New argument ROUND.
1795 (window--min-delta-1, window-min-delta, window--max-delta-1):
1796 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1797 columns a window can shrink (Bug#16430).
1798 (fit-window-to-buffer): Simplify code.
1799 * term.el (term-window-width): Call window-body-width again.
1800
cc0f2ece
GM
18012014-01-22 Glenn Morris <rgm@gnu.org>
1802
7b997b14
GM
1803 * image.el (image-format-suffixes): Doc fix.
1804
44e76f9d
GM
1805 * international/quail.el (quail-define-package): Doc fix.
1806
35e951cd 1807 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 1808 (authors-renamed-files-alist): Additions.
7bfc1caa 1809
85a5f61f
GM
1810 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1811 reverts 2014-01-09 change. (Bug#16422)
1812
cc0f2ece
GM
1813 * calc/calc-embed.el (thing-at-point-looking-at):
1814 * emacs-lisp/map-ynp.el (x-popup-dialog):
1815 * obsolete/lmenu.el (x-popup-dialog):
1816 * emacs-lisp/package.el (url-recreate-url):
1817 * mail/mailclient.el (clipboard-kill-ring-save):
1818 * subr.el (x-popup-dialog): Update declaration.
1819 * mail/rmail.el (rmail-mime-message-p):
1820 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1821
00d2a6bb
DC
18222014-01-21 Daniel Colascione <dancol@dancol.org>
1823
1824 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1825 Correctly detect when we're inside an arithmetic expansion form
1826 containing nested parenthesis.
c295fc18 1827 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1828 to detect cases where we shouldn't expand "<<" to a heredoc
1829 skeleton.
1830
dd9d2e9d
SM
18312014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1834 (eldoc--message-command-p): New function.
1835 (eldoc-display-message-p): Use it.
1836 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1837 message is not automatically erased for us.
1838 (eldoc-print-current-symbol-info): Erase previous message, if any.
1839
e7d807ca
TH
18402014-01-21 Tassilo Horn <tsdh@gnu.org>
1841
4ff0a0e5
TH
1842 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1843 specify it's an interactive function.
1844
dd9d2e9d
SM
1845 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1846 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1847 citations with optional arguments.
1848
87503791
LL
18492014-01-21 Leo Liu <sdl.web@gmail.com>
1850
1851 * simple.el (read--expression): Don't enable eldoc-mode.
1852
6cc750ee
SM
18532014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * simple.el (move-beginning-of-line): Make sure we don't move forward
1856 (bug#16497).
1857
71f16bda
JL
18582014-01-20 Juri Linkov <juri@jurta.org>
1859
1860 * saveplace.el (toggle-save-place, save-place-to-alist)
1861 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1862 'dired-mode) before checking for dired-directory. (Bug#16477)
1863
3c5a4839
JL
18642014-01-20 Juri Linkov <juri@jurta.org>
1865
1866 * indent.el (indent-line-to): Use backward-to-indentation
1867 instead of back-to-indentation. (Bug#16461)
1868
f952002e
PE
18692014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1870
1871 Revert some of the CANNOT_DUMP fix (Bug#16494).
1872 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1873 but fixing this can wait until after the next release.
1874 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1875
93675500
MA
18762014-01-19 Michael Albinus <michael.albinus@gmx.de>
1877
1878 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1879 Use `password-word-equivalents'.
1880 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1881 to t. (Bug#5664, Bug#13124)
1882
e3af763f
AM
18832014-01-19 Alan Mackenzie <acm@muc.de>
1884
1885 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1886 points.
1887 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1888 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1889 * progmodes/cc-mode.el (c-before-change, c-after-change)
1890 (c-font-lock-fontify-region): Bind it here.
1891
4ff6d92d
MR
18922014-01-19 Martin Rudalics <rudalics@gmx.at>
1893
1894 * term.el (term-window-width): Call window-text-width instead of
1895 window-width (Bug#16470).
1896
9a685cf6
PE
18972014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1898
1899 * simple.el (password-word-equivalents): Remove duplicates.
1900 Sort, to make this easier next time.
1901 Downcase. Omit ": " after "jelszó".
1902
5aa78c2d
JD
19032014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1904
1905 * term/common-win.el (saved-region-selection): Defvar it.
1906 (x-select-text): Set saved-region-selection (Bug#16382).
1907
cabb250c
GM
19082014-01-18 Glenn Morris <rgm@gnu.org>
1909
1910 * emacs-lisp/authors.el (authors-aliases)
1911 (authors-renamed-files-alist): Add some entries.
1912
a1340440
MA
19132014-01-17 Michael Albinus <michael.albinus@gmx.de>
1914
93675500
MA
1915 * net/tramp.el (tramp-password-prompt-regexp):
1916 Use `password-word-equivalents' if available.
a1340440
MA
1917 (tramp-action-password, tramp-process-one-action)
1918 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1919
681ce5d2
CY
19202014-01-17 Chong Yidong <cyd@gnu.org>
1921
1922 * simple.el (password-word-equivalents): New defcustom.
1923 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1924 to 24.4.
1925 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1926 to t. (Bug#13124)
1927
fb3d479c
DG
19282014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1929
1930 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1931 (ruby-align-to-stmt-keywords): Change the default value.
1932 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1933 choices.
1934 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1935 keywords, check against the value of `ruby-alignable-keywords'
1936 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1937
0d613483
GM
19382014-01-17 Glenn Morris <rgm@gnu.org>
1939
fc23fe2d
GM
1940 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1941
0d613483 1942 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 1943 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
1944 (authors-ignored-files): Add some entries, remove others.
1945 (authors-ambiguous-files, authors-valid-file-names):
1946 Add some entries.
1947 (authors-renamed-files-alist): Add, remove, and adjust entries.
1948 (authors-renamed-files-regexps): Add some entries.
1949 Remove some very broad ones. Make some entries `lax'.
1950 (authors-lax-changelogs): New constant.
1951 (authors-disambiguate-file-name): Treat top-level specially.
1952 (authors-lax-changelog-p): New function.
1953 (authors-canonical-file-name): Check file as written against
1954 authors-valid-file-names. Do not special-case etc/.
1955 Handle `lax' logs and authors-renamed-files-regexps elements.
1956
2dbf4ffd
DG
19572014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1958
1959 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1960 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1961 callers.
2dbf4ffd 1962
87b2a7f2
SM
19632014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1966 Assume we're already in the proper buffer.
1967 Inspired by Anders Lindgren <andlind@gmail.com>.
1968 (follow-post-command-hook): Call it from the right buffer.
1969 (follow-comint-scroll-to-bottom): Adjust call.
1970 (follow-all-followers): Use get-buffer-window-list.
1971
93acfb0e
DC
19722014-01-15 Daniel Colascione <dancol@dancol.org>
1973
1974 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1975 `buffer-file-name' in interactive-form so that we don't leave
1976 pathless file names in `file-name-history'.
1977
ccc6b208
JL
19782014-01-15 Juri Linkov <juri@jurta.org>
1979
1980 * indent.el (indent-rigidly): Set deactivate-mark to nil
1981 in transient indentation mode. (Bug#16438)
1982
5c92e00d
DG
19832014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1984
1985 * emacs-lisp/package.el (package-desc-keywords): New function
1986 (Bug#16222).
1987 (describe-package-1, package-all-keywords)
1988 (package--has-keyword-p): Use it.
1989
dac69660
NR
19902014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1991
1992 * simple.el (define-alternatives): When creating the
1993 COMMAND-alternatives variable, assign COMMAND as its definition
1994 name so that `describe-variable' can relocate it.
1995
8b63edf8
ML
19962014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1997
1998 * font-lock.el (font-lock-keywords): Fix typo in docstring
1999 (bug#16307).
2000
c6a0b8eb
AM
20012014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2002
2003 * ispell.el (ispell-region): Reset `in-comment' for new line
2004 instead of wrongly reset `add-coment' (bug#13577).
2005
02bf443d
DU
20062014-01-14 Daiki Ueno <ueno@gnu.org>
2007
2008 * epa-file.el (epa-file-write-region): Encode the region according
2009 to `buffer-file-format'. Problem reported at:
2010 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2011
fd7fde15
SM
20122014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2015 so it applies in the right buffer (bug#16410).
2016
c176054f
DC
20172014-01-13 Daniel Colascione <dancol@dancol.org>
2018
2019 * textmodes/rst.el (rst-define-key): Provide deprecated
2020 keybindings through named functions instead of anonymous ones so
2021 that "??" doesn't appear in describe-mode output.
2022
e3f33e5d
BG
20232014-01-13 Bastien Guerry <bzg@gnu.org>
2024
2025 * simple.el (define-alternatives): Call the selected command
2026 interactively. When setting `COMMAND--implementation' for the
2027 first time, tell the user how to chose another implementation.
2028 Enhance the docstring.
2029
c055d654
SM
20302014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2033 (log-edit--match-first-line): New function.
2034 (log-edit-font-lock-keywords): Use it.
2035 (log-edit-mode): Make jit-lock-defer-multiline work.
2036
d791cc3b
BG
20372014-01-13 Bastien Guerry <bzg@gnu.org>
2038
2039 * rect.el (rectangle-mark-mode): When the region is not active,
2040 display a message saying that the mark as been set and that
2041 rectangle mode is in use.
2042 (rectangle--highlight-for-redisplay): Only put an overlay with a
2043 visible vertical bar when (display-graphic-p) is non-nil.
2044 This partially fixes Bug#16403.
2045
3c0c4562
JL
20462014-01-13 Juri Linkov <juri@jurta.org>
2047
2048 * info.el (Info-find-file): Go to DIR before displaying the error
2049 about a nonexistent file if no previous Info file is visited.
2050 Use `user-error' instead of `error' for "Info file %s does not exist".
2051 (Info-find-node-2): In case of a nonexistent node in unwind forms
2052 go to the Top node if there is no previous node to revert to.
2053 (Bug#16405)
2054
25a700d0
MR
20552014-01-13 Martin Rudalics <rudalics@gmx.at>
2056
2057 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2058 * window.el (fit-frame-to-buffer): Fix doc-string.
2059 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2060 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2061 when avoiding that frame goes partially off-screen.
2062 (fit-window-to-buffer): Respect window-min-height/-width
2063 (Bug#14096).
2064
6ae948d8
SM
20652014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2068 after an empty line.
2069
6137cb82
SM
20702014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * net/shr.el (shr-render-region): Autoload.
2073
e6344e17
XF
20742014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2075
2076 * net/eww.el (eww-download-directory): Rename from
2077 `eww-download-path' (Bug#16419).
2078
3b922c70
LL
20792014-01-12 Leo Liu <sdl.web@gmail.com>
2080
2081 * dired-x.el (dired-mode-map): Fix last change.
2082
2083 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2084
4fa51741
PE
20852014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2086
2087 Spelling fixes.
2088 * emacs-lisp/generic.el (generic--normalize-comments):
2089 Rename from generic--normalise-comments. All uses changed.
35e951cd 2090 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2091 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2092 (bubbles--neighborhood-available)
2093 (bubbles--update-neighborhood-score):
2094 Rename from names with 'neighbourhood'. All uses changed.
2095
9b335362
LL
20962014-01-12 Leo Liu <sdl.web@gmail.com>
2097
2098 Re-implement the feature of showing eldoc info after editing.
2099 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2100 (eldoc-edit-message-commands): New function.
2101 (eldoc-print-after-edit): New variable.
2102 (eldoc-pre-command-refresh-echo-area): Emit message only by
2103 eldoc-message-commands.
2104 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2105 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2106 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2107 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2108
e2a095b1
GM
21092014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2110 Eric S. Raymond <esr@thyrsus.com>
9685190b 2111
841a6d0c 2112 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2113 function works correctly in either a Bazaar or Git repo.
0abf4134 2114
e2a095b1
GM
21152014-01-11 Eric S. Raymond <esr@thyrsus.com>
2116
6137cb82
SM
2117 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2118 Goes with removal of the joke manpages from /etc.
9685190b 2119
c295fc18 21202014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2121
6137cb82
SM
2122 * mail/rmail.el (rmail-get-coding-system):
2123 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2124
d2f16e93
GM
21252014-01-10 Glenn Morris <rgm@gnu.org>
2126
2127 * emacs-lisp/authors.el (authors-fixed-entries):
2128 Update for files that no longer exist.
2129
7e03bb32
ER
21302014-01-10 Eric S. Raymond <esr@thyrsus.com>
2131
2132 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2133 24.3 (Tested).
7e03bb32 2134
dd806710
BB
21352014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2136
2137 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2138 and Podfile.
2139
ed6ec139
EZ
21402014-01-10 Eli Zaretskii <eliz@gnu.org>
2141
2142 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2143
cc33cac9
CY
21442014-01-10 Chong Yidong <cyd@gnu.org>
2145
6137cb82 2146 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2147
d9d836b5
AL
21482014-01-10 Anders Lindgren <andlind@gmail.com>
2149
2150 * follow.el (follow-cache-command-list): Include right-char and
2151 left-char.
2152
06827ec8
PE
21532014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2154
2155 Spelling fixes.
2156 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2157 * woman.el (woman-mark-horizontal-position):
2158 Rename from woman-mark-horizonal-position. Use changed.
2159
458dbf5e
GM
21602014-01-10 Glenn Morris <rgm@gnu.org>
2161
dad6fae7
GM
2162 * info.el (info-initialize): If running uninstalled, ensure our
2163 own info files are always found first, even if INFOPATH is set.
2164
458dbf5e
GM
2165 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2166
05e0afce
DE
21672014-01-09 David Engster <deng@randomsample.de>
2168
2169 * emacs-lisp/eieio-custom.el:
2170 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2171 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2172 * emacs-lisp/eieio.el: Regenerate autoloads.
2173
f29778b3
ER
21742014-01-09 Eric S. Raymond <esr@thyrsus.com>
2175
2176 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2177 following renames. (Bug#8756)
f29778b3 2178
684d44ef
SM
21792014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2182 (bug#16382).
2183 (activate-mark): Add `no-tmm' argument.
2184 (set-mark, push-mark-command): Use it instead of running
2185 activate-mark-hook by hand.
2186
9475054f
ER
21872014-01-08 Eric S. Raymond <esr@thyrsus.com>
2188
2189 In preparation for the move to git, sanitize out some
2190 Bazaar-specific names.
2191
38942b9c
GM
2192 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2193
9475054f 2194 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2195 emacs-repository-version. Obsolete-variable alias made.
9475054f 2196 * loadup.el: Follow through on this name change.
a12bf61e 2197 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2198 assumption about the version control system in use.
2199
0f918d96 22002014-01-08 David Engster <deng@randomsample.de>
abb82152 2201
684d44ef
SM
2202 * help-fns.el (help-fns-describe-function-functions):
2203 New variable to call functions for augmenting help buffers.
abb82152
DE
2204 (describe-function-1): Remove explicit calls to
2205 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2206 `help-fns--obsolete'. Put them in above new variable instead, and
2207 call them through `run-hook-with-args'.
2208 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2209 `eieio-describe-class'. Not meant for interactive use anymore,
2210 but to augment existing help buffers. Remove optional second
684d44ef
SM
2211 argument. Create proper button for file location.
2212 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2213 possible.
2214 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2215 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2216 (describe-method, describe-generic, eieio-describe-method):
2217 Remove aliases.
0f918d96
DE
2218 (eieio-help-constructor, eieio-help-generic): Rename from
2219 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2220 Rewrite to use `insert' in the current buffer and use proper help
2221 buttons.
2222 (eieio-help-find-method-definition)
2223 (eieio-help-find-class-definition): Also accept symbols as
2224 arguments.
2225 (eieio-help-mode-augmentation-maybee): Remove.
2226 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2227 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2228 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2229
136b74c5
PE
22302014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2231
2232 Spelling fixes.
2233 * language/china-util.el (hz-ascii-designation):
2234 Rename from hz-ascii-designnation.
2235 (hz-ascii-designation): Rename from hz-ascii-designnation.
2236 All uses changed.
2237
ec6c7de2
SM
22382014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2241 package-alist.
2242
d6262c7c
BG
22432014-01-08 Bastien Guerry <bzg@gnu.org>
2244
4b9e6087
GM
2245 * emacs-lisp/package.el (package-delete):
2246 Correctly delete the package from package-alist.
d6262c7c 2247
0a3eec32
DU
22482014-01-08 Daiki Ueno <ueno@gnu.org>
2249
2250 * emacs-lisp/package.el (url-recreate-url): Declare.
2251 (url-http-target-url): Declare.
4b9e6087 2252 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2253 (package--check-signature): Don't re-signal errors from
2254 package--with-work-buffer. Suggested by Stefan Monnier.
2255
68f0bb97
BG
22562014-01-07 Bastien Guerry <bzg@gnu.org>
2257
2258 * minibuffer.el (completion--try-word-completion): When both a
2259 hyphen and a space are possible candidates for the character
2260 following a word, display both candidates. (Bug#15980)
2261
7e1899d7
MR
22622014-01-07 Martin Rudalics <rudalics@gmx.at>
2263
2264 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2265 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2266
0030ec15
GM
22672014-01-07 Glenn Morris <rgm@gnu.org>
2268
2269 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2270 (menu-bar-help-menu): Use view-external-packages instead.
2271
2b6b4f20
BG
22722014-01-07 Bastien Guerry <bzg@gnu.org>
2273
2274 * emacs-lisp/package.el (package-delete): Also delete the package
2275 name from `package-alist', not its description only.
2276
e9be0a13
GM
22772014-01-07 Glenn Morris <rgm@gnu.org>
2278
2279 * help.el (view-external-packages):
2280 * menu-bar.el (menu-bar-help-extra-packages):
2281 Visit efaq.info rather than etc/MORE.STUFF.
2282
e4f74da9
JL
22832014-01-07 Juri Linkov <juri@jurta.org>
2284
2285 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2286 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2287
2288 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2289 that shadows RET. (Bug#16342)
2290
de7ce2d1
CY
22912014-01-07 Chong Yidong <cyd@gnu.org>
2292
2293 * isearch.el (isearch-yank-char, isearch-yank-word)
2294 (isearch-yank-line): Doc fix.
2295
6bdd9204
SM
22962014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2299 * emacs-lisp/elint.el (elint-find-builtins):
2300 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2301 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2302 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2303 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2304 * apropos.el (apropos-safe-documentation):
2305 * subr.el (symbol-file): Remove redundant fboundp.
2306 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2307
daccca97
BG
23082014-01-06 Bastien Guerry <bzg@gnu.org>
2309
2310 * hl-line.el (global-hl-line-overlay): Make a local variable.
2311 (global-hl-line-overlays): New variable to store all overlays.
2312 (global-hl-line-mode): Don't delete overlays from the current
2313 buffer when `global-hl-line-sticky-flag' is non-nil.
2314 (global-hl-line-highlight): Add new overlays to
2315 `global-hl-line-overlays'.
2316 (global-hl-line-unhighlight-all): New function to delete all
2317 overlays when turning off `global-hl-line-mode'.
2318 This fixes Bug#16183.
2319
ec00f20f
SM
23202014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * subr.el (set-transient-map): Fix nested case and docstring.
2323
a0031f97
TH
23242014-01-06 Tassilo Horn <tsdh@gnu.org>
2325
2326 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2327 `Texinfo' entry.
2328
bf6a77f3
DC
23292014-01-06 Daniel Colascione <dancol@dancol.org>
2330
2331 Fix defun navigation in vc log view.
2332
2333 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2334 like `beginning-of-defun'.
c295fc18 2335 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2336 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2337 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2338 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2339 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2340
d5081c1e
PE
23412014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2342
2343 Spelling fixes.
2344 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2345 * emacs-lisp/debug.el (cancel-debug-on-entry):
2346 * epg.el (epg-error-to-string):
2347 * files.el (recover-file):
2348 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2349 * mail/emacsbug.el (report-emacs-bug-hook):
2350 * mail/sendmail.el (mail-recover):
2351 * ses.el (ses-yank-resize):
2352 * term/ns-win.el (ns-print-buffer):
2353 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2354 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2355 All uses changed.
2356 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2357
53f6b148
LL
23582014-01-06 Leo Liu <sdl.web@gmail.com>
2359
2360 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2361 to avoid shadowing global key. (Bug#16354)
53f6b148 2362
b82ace2f
DC
23632014-01-06 Daniel Colascione <dancol@dancol.org>
2364
2365 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2366 rst-mode.
2367
3669b636
MR
23682014-01-05 Martin Rudalics <rudalics@gmx.at>
2369
2370 * window.el (balance-windows): Add mising t to fix Bug#16351.
2371
1a29adc2
LMI
23722014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2373
2374 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2375 (bug#16285).
3d95a0f4
LMI
2376 (shr-insert): If we have a word that's longer than `shr-width',
2377 break after it anyway. Otherwise we'll do no breaking once we get
2378 such a long word.
1a29adc2 2379
f4018140
KN
23802014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2381
3fcfc4ee 2382 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2383 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2384 (eww-history-quit): Delete and use quit-window.
2385 (eww-history-kill): Delete, because it doesn't work well and
2386 not necessary.
2387 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2388
4e619754
PE
23892014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2390
73dbf960
PE
2391 Fix misspelling of 'chinese' in rx (Bug#16237).
2392 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2393 chinese-two-byte.
2394
4e619754
PE
2395 Change subword regexps back to vars (Bug#16296).
2396 * progmodes/subword.el (subword-forward-regexp)
2397 (subword-backward-regexp): Change these back to variables.
2398
e18b70fc
SM
23992014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2402 syntax-begin-function (bug#16247).
2403
0d53f628
CY
24042014-01-03 Chong Yidong <cyd@gnu.org>
2405
2406 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2407 (advice--docstring): Delete variable.
2408 (advice--make-1): Leave the docstring empty.
2409 (advice-add): Use function-documentation for advised docstring.
2410
2411 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2412 Ignore function-documentation property when getting documentation.
2413 (ad-activate-advised-definition): Use function-documentation
2414 generate the docstring.
2415 (ad-make-advised-definition): Don't call
2416 ad-make-advised-definition-docstring.
2417 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2418 Delete functions.
2419
2420 * progmodes/sql.el (sql-help): Use function-documentation instead
2421 of dynamic-docstring-function property. No need to autoload now.
2422 (sql--help-docstring): New variable.
2423 (sql--make-help-docstring): Use it.
2424
6f547583
SM
24252014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2426
6ef9aed8
SM
2427 * ielm.el (ielm-tab): Retarget.
2428 (ielm-map): Use ielm-tab for tab.
2429 (ielm-complete-filename): Use comint-filename-completion.
2430 (ielm-complete-symbol): Remove.
2431 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2432 remove ielm-tab from completion-at-point-functions (bug#16224).
2433
6f547583
SM
2434 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2435 Beware signals raised by predicates (bug#16201).
2436
a574edbe
RS
24372014-01-02 Richard Stallman <rms@gnu.org>
2438
e831604d
RS
2439 * dired-aux.el (dired-do-print): Handle printer-name.
2440
6f547583
SM
2441 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2442 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2443 (rmail-epa-decrypt): Turn off mime processing.
2444
3fcfc4ee 2445 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2446 Add parens in message-id.
2447
2448 * mail/rmail.el (rmail-get-coding-function): Variable.
2449 (rmail-get-coding-system): Use it.
2450
04311a16
KH
24512013-12-31 Eli Zaretskii <eliz@gnu.org>
2452
2453 * international/mule-conf.el: Unify the charset indian-is13194.
2454 (indian-is13194): Specify unify-map.
2455
c8d89778
LL
24562013-12-31 Leo Liu <sdl.web@gmail.com>
2457
2458 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2459
e63ace37
DC
24602013-12-30 Daniel Colascione <dancol@dancol.org>
2461
9e0bf19a
DC
2462 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2463 of printing a useless when we resume from sleep.
2464
e63ace37 2465 * progmodes/sh-script.el
c295fc18 2466 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2467 in indentation code. (Bug#16233)
2468
e9d6c46a
JT
24692013-12-28 João Távora <joaotavora@gmail.com>
2470
6f547583
SM
2471 * elec-pair.el (electric-pair-post-self-insert-function):
2472 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2473
bf7bea5d
EZ
24742013-12-28 Eli Zaretskii <eliz@gnu.org>
2475
2476 * frame.el (window-system-for-display): Don't allow to create a
2477 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2478
8449dd1f
GM
24792013-12-28 Glenn Morris <rgm@gnu.org>
2480
9c5a5c77
GM
2481 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2482 Update callers.
2483
2484 * apropos.el (apropos-match-face):
2485 * calculator.el (calculator-displayer):
2486 * dabbrev.el (dabbrev-search-these-buffers-only):
2487 * face-remap.el (buffer-face-mode-face):
2488 * simple.el (yank-handled-properties):
2489 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2490 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2491 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2492 (hashcash-double-spend-database):
2493 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2494 (ruby-deep-indent-paren-style):
2495 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2496 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2497 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2498 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2499 Specify custom types.
2500
bb098075
GM
2501 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2502 * bookmark.el (bookmark-bmenu-use-header-line):
2503 * doc-view.el (doc-view-scale-internally):
2504 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2505 * register.el (register-preview-delay):
2506 * net/shr.el (shr-bullet):
2507 * progmodes/cfengine.el (cfengine-cf-promises)
2508 (cfengine-parameters-indent):
2509 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2510 * textmodes/reftex-vars.el (reftex-label-regexps):
2511 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2512
9c61f806
GM
2513 * net/tls.el (tls-certtool-program): Fix default value.
2514
2515 * desktop.el (desktop-restore-in-current-display):
2516 * newcomment.el (comment-empty-lines):
2517 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2518 (idlwave-pad-keyword):
2519 * progmodes/tcl.el (tcl-tab-always-indent):
2520 * textmodes/reftex-vars.el (reftex-index-default-tag):
2521 * elec-pair.el (electric-pair-skip-whitespace):
2522 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2523
8449dd1f
GM
2524 * emacs-lisp/authors.el (authors-ignored-files)
2525 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2526
fdadeb49
JC
25272013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2528
72140a0f
GM
2529 * shell.el (shell-dynamic-complete-command): Doc fix.
2530 (shell--command-completion-data): Shell completion now matches
2531 executable filenames from the current buffer's directory, on
da5ecfa9 2532 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2533
e572a7d8
LI
25342013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2535
2536 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2537
7514d3f8
SM
25382013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2539
a4151f3b
SM
2540 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2541 (bug#16251).
2542
7514d3f8
SM
2543 * electric.el: Move all electric-pair-* to elec-pair.el.
2544 * elec-pair.el: New file, split from electric.el.
2545
ac5758d1
LI
25462013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2547
2548 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2549 indentation level is larger than the width, because that will
2550 infloop.
2551 (shr-insert): Fill repeatedly long texts, so that Japanese is
2552 formatted correctly (bug#16263).
24a6b65e
LI
2553 (shr-find-fill-point): Off by one error in comparison with the
2554 indentation.
ac5758d1 2555
7514d3f8 25562013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2557
2558 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2559 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2560 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2561 if that keeps or improves their balance in buffers.
2562 (electric-pair-delete-adjacent-pairs): Delete the pair when
2563 backspacing over adjacent matched delimiters.
2564 (electric-pair-open-extra-newline): Open extra newline when
2565 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2566 (electric--sort-post-self-insertion-hook):
2567 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2568 minor-modes are activated.
2569 * simple.el (newline-and-indent): Call newline with interactive
2570 set to t.
2571 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2572 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2573 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2574 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2575 electric-pair-open-newline-between-pairs to nil.
2576
fbcc63a3
FEG
25772013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2578
2579 * progmodes/python.el: Use lexical-binding.
2580 (python-nav-beginning-of-defun): Stop searching ASAP.
2581
ed78d16c
XF
25822013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2583
2584 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2585 Fix interactive spec. Doc fix. (Bug#15754)
2586
38b2c142
KY
25872013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2588
2589 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2590 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2591 Fix edebug spec (bug#16184).
2592
3c856c14
LI
25932013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2594
83fa295c 2595 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2596 (shr-insert): Don't infloop if we can't find a good place to break
2597 the line (bug#16256).
3c856c14 2598
01379221
FEG
25992013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2600
35e951cd 2601 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2602 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2603 python-nav-lisp-forward-sexp-safe.
2604 (python-nav--forward-sexp): New argument SAFE allows switching
2605 forward sexp movement behavior for parens.
2606 (python-nav-forward-sexp): Throw errors on unterminated parens
2607 (Bug#16191).
2608 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2609 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2610 (python-shell-buffer-substring):
2611 Use `python-nav-forward-sexp-safe'.
01379221 2612
99e4926f
LI
26132013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2614
2615 * net/shr.el (shr-find-fill-point): Don't break lines before a
2616 quotation mark.
c6c20584
LI
2617 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2618 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2619 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2620
fec0e828
KN
26212013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2622
2623 * net/eww.el (eww-form-textarea): Use a different face for
2624 textareas than text input since they have different keymaps
2625 (bug#16142).
2626
89c868ad
FEG
26272013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2628
7514d3f8
SM
2629 * progmodes/python.el (python-nav-beginning-of-statement):
2630 Speed up (Bug#15295).
89c868ad 2631
eeef121a
LI
26322013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2633
2634 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2635 the window configuration.
2636
121ea65f
EZ
26372013-12-24 Eli Zaretskii <eliz@gnu.org>
2638
2639 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2640 we run on MS-Windows or MS-DOS.
2641
18cee9ec
MR
26422013-12-24 Martin Rudalics <rudalics@gmx.at>
2643
2644 * window.el (balance-windows-area): Call window-size instead of
2645 window-height and window-width. Bug#16241.
2646
58f2b9a5
LI
26472013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2648
2649 * net/eww.el (eww-bookmark-quit): Remove.
2650 (eww-bookmark-browse): Restore the window configuration when you
2651 choose a bookmark (bug#16144).
2652
d64b6308
DC
26532013-12-24 Daniel Colascione <dancol@dancol.org>
2654
2655 * icomplete.el: Remove redundant :group arguments to `defcustom'
2656 throughout.
2657 (icomplete-show-matches-on-no-input): New customizable variable.
2658 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2659 we have something to show.
7514d3f8 2660 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2661
0da54898
DC
26622013-12-23 Daniel Colascione <dancol@dancol.org>
2663
2664 * icomplete.el: Move `provide' to end of file.
2665
b90aa4f4
TZ
26662013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2667
2668 * net/gnutls.el (gnutls-verify-error): Add version tag.
2669
8cd22a08
CY
26702013-12-23 Chong Yidong <cyd@gnu.org>
2671
2672 * subr.el (set-transient-map): Rename from
2673 set-temporary-overlay-map. Doc fix.
2674
2675 * face-remap.el (text-scale-adjust):
2676 * indent.el (indent-rigidly):
2677 * kmacro.el (kmacro-call-macro):
2678 * minibuffer.el (minibuffer-force-complete):
2679 * repeat.el (repeat):
2680 * simple.el (universal-argument--mode):
2681 * calendar/todo-mode.el (todo-insert-item--next-param):
2682 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2683
7510b021
CY
2684 * indent.el (indent-rigidly): Use substitute-command-keys.
2685
72140a0f 26862013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2687
2688 * net/eww.el (eww-tag-select): Add text-property to jump to next
2689 select field.
e9dc713d 2690 (eww): Add non-supported ftp error.
56890ecd 2691
1f87a56c
DG
26922013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2693
2694 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2695 comments. Handle electric indent after typing `?' and `!'.
2696
dca38cf9
CY
26972013-12-22 Chong Yidong <cyd@gnu.org>
2698
2699 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
2700 applicable to a frame, fall back on the defface spec.
2701 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 2702
f2351498
DG
27032013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2704
2705 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2706 after `{'. We need it after block openers, and it doesn't seem
2707 to hurt after hash openers.
2708
6cddebc1
DG
27092013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2710
2711 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2712 extracted from `ruby-smie-rules'.
2713 (ruby--electric-indent-chars): New variable.
2714 (ruby--electric-indent-p): New function.
2715 (ruby-mode): Use `electric-indent-functions' instead of
2716 `electric-indent-chars'.
2717
65a1da00
DG
27182013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2719
2720 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2721 docstring.
2722 (ruby-smie-rules): Indent plus one level after `=>'.
2723
b51ad4cf
RS
27242013-12-21 Richard Stallman <rms@gnu.org>
2725
2726 * simple.el (newline): Doc fix.
2727
72140a0f 27282013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 2729
e9dc713d 2730 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
2731 (eww-history-browse, eww-history-quit, eww-history-kill)
2732 (eww-history-mode-map, eww-history-mode): New command and
2733 functions to list browser histories.
e9dc713d
JB
2734 (eww-form-text): Support text form with disabled
2735 and readonly attributes.
2736 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 2737
5e1901c1
RS
27382013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2739
2740 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2741 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2742 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2743 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2744 Use `user-error'.
2745 (eww-bookmark-mode-map): Add menu.
2746 (eww-render, eww-mode): Use `setq-local'.
2747 (eww-tool-bar-map): New variable.
2748 (eww-mode): Set `tool-bar-map'.
2749 (eww-view-source): Check for `html-mode' with `fboundp'.
2750
073d5cfd
LMI
27512013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2752
2753 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2754 elements with text inside. Also remove debugging.
2755
41cf3d11
JD
27562013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2757
2758 * cus-start.el (all): Add ns-use-srgb-colorspace.
2759
aac2b673
CY
27602013-12-21 Chong Yidong <cyd@gnu.org>
2761
2762 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2763 undefined. Thus, theme settings for undefined faces do not take
2764 effect until the faces are defined with defface, the same as with
2765 theme variables.
2766
2767 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2768 (face-spec-reset-face): Don't assign extra properties in temacs.
2769 (face-spec-recalc): Apply X resources too.
2770
bacb0e77
CY
27712013-12-21 Chong Yidong <cyd@gnu.org>
2772
2773 * faces.el (face-spec-set):
2774 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2775 * custom.el (defface): Doc fixes (Bug#16203).
2776
77221051
CY
2777 * indent.el (indent-rigidly-map): Add docstring, and move commands
2778 into named functions.
2779 (indent-rigidly-left, indent-rigidly-right)
2780 (indent-rigidly-left-to-tab-stop)
2781 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2782 indentation direction based on bidi direction, and accumulate
2783 sequential commands in a single undo boundary.
2784 (indent-rigidly--pop-undo): New utility function.
2785
e0eb0550
JB
27862013-12-20 Juanma Barranquero <lekktu@gmail.com>
2787
2788 * faces.el (read-face-name): Require crm.el when using crm-separator.
2789
3282bd2e
DC
27902013-12-20 Daniel Colascione <dancol@dancol.org>
2791
2792 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2793 so that we don't reflow comments into the shebang line.
2794
1d42e5b6
JL
27952013-12-20 Juri Linkov <juri@jurta.org>
2796
2797 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2798 a position when `dired-directory' is non-nil. Check integer
2799 positions with `integerp'.
2800 (toggle-save-place, save-places-to-alist): Add check for
2801 `dired-directory'.
2802 (save-place-find-file-hook): Check integer positions with
2803 `integerp'.
2804 (save-place-dired-hook): Use `dired-goto-file' when
2805 `dired-filename' is found in the assoc list. Check integer
2806 positions with `integerp'.
2807 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2808
2809 * dired.el (dired-initial-position-hook): Rename back from
2810 `dired-initial-point-hook'.
2811 (dired-initial-position): Rename `dired-initial-point-hook' to
2812 `dired-initial-position-hook'.
2813 (dired-file-name-at-point): Doc fix. (Bug#15329)
2814
24da7273
JL
28152013-12-20 Juri Linkov <juri@jurta.org>
2816
2817 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2818 (read-regexp-suggestions): New function.
2819 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2820 Use `read-regexp-suggestions'. Add non-empty default to history
2821 for empty input.
2822 (occur-read-regexp-defaults-function): Remove function.
2823 (occur-read-primary-args): Use `regexp-history-last' instead of
2824 `occur-read-regexp-defaults-function'.
2825
2826 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2827 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2828 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2829 `hi-lock-read-regexp-defaults-function'. Doc fix.
2830 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2831 with `find-tag-default-as-symbol-regexp'. Doc fix.
2832 (hi-lock-read-regexp-defaults): Remove function.
2833 (hi-lock-regexp-okay): Add check for null.
2834
2835 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2836 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2837
2838 * subr.el (find-tag-default-as-symbol-regexp): New function.
2839 (find-tag-default-as-regexp): Move symbol regexp formatting to
2840 `find-tag-default-as-symbol-regexp'.
2841
137f57c8
S
28422013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2843
2844 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2845 (Bug#14179)
2846
f3a66082
SB
28472013-12-20 Stephen Berman <stephen.berman@gmx.net>
2848
2849 * calendar/todo-mode.el: New implementation of item insertion
2850 commands and key bindings.
2851 (todo-key-prompt): New face.
2852 (todo-insert-item): New command.
2853 (todo-insert-item--parameters): New defconst, replacing defvar
2854 todo-insertion-commands-args-genlist.
2855 (todo-insert-item--param-key-alist): New defconst, replacing
2856 defvar todo-insertion-commands-arg-key-list.
2857 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2858 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2859 (todo-insert-item--next-param): New functions.
2860 (todo-insert-item--args, todo-insert-item--argleft)
2861 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2862 New variables.
2863 (todo-key-bindings-t): Change binding of "i" from
2864 todo-insertion-map to todo-insert-item.
2865 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2866 (todo-insertion-command-name, todo-insertion-commands-names)
2867 (todo-define-insertion-command, todo-insertion-commands)
2868 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2869
2f99433b
SB
28702013-12-20 Stephen Berman <stephen.berman@gmx.net>
2871
2872 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2873 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2874 eval-when-compile.
2875 (todo-move-category): Allow choosing a non-existing todo file to
2876 move the category to, and create that file.
2877 (todo-default-priority): New user option.
2878 (todo-set-item-priority): Use it.
2879 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2880 (desktop-restore-file-buffer): Declare.
2881 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2882 (todo-modes-set-2): Locally set desktop-save-buffer to
2883 todo-desktop-save-buffer.
2884 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2885 (auto-mode-alist): Add autoload cookie.
2886
131e4695
BB
28872013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2888
2889 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2890 helpers.el was a poor choice of name.
3cbfb935
BB
2891 (string-remove-prefix): New function.
2892 (string-remove-suffix): New function.
131e4695 2893
c44de18d
MR
28942013-12-20 Martin Rudalics <rudalics@gmx.at>
2895
2896 Fix assignment for new window total sizes.
2897 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2898 (window--pixel-to-total-1, window--pixel-to-total):
2899 Fix calculation of new total sizes.
c44de18d 2900
ca65efcc
VS
29012013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2902
2903 * comint.el (comint-output-filter): Fix rear-nonsticky property
2904 placement (Bug#16010).
2905
a9574eb7
CY
29062013-12-20 Chong Yidong <cyd@gnu.org>
2907
2908 * faces.el (read-color): Minor fix for completion function.
2909
b520f210
DG
29102013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2911
e0eb0550
JB
2912 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2913 New option. (Bug#16182)
b520f210
DG
2914 (ruby-smie--indent-to-stmt-p): Use it.
2915 (ruby-smie-rules): Revert the logic in the handling of `when'.
2916 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2917 (ruby-deep-arglist, ruby-deep-indent-paren)
2918 (ruby-deep-indent-paren-style): Update docstrings to note that the
2919 vars don't have any effect with SMIE.
2920
26b75b45
JB
29212013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2922
2923 * calc/calc.el (calc-enter, calc-pop): Use the variable
2924 `calc-context-sensitive-enter'.
2925
cf91cee7
LMI
29262013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2927
2928 * net/shr.el (shr-insert): Protect against infloops in degenerate
2929 tables.
2930
51d971b4
RS
29312013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2932
2933 * progmodes/octave.el (octave): Add link to manual and octave
2934 homepage.
2935 (octave-mode-menu): Link to octave-mode manual.
2936
8c2e462a
LL
29372013-12-20 Leo Liu <sdl.web@gmail.com>
2938
2939 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2940 insertion using skeleton-end-newline. (Bug#16138)
2941
501158bc
JL
29422013-12-20 Juri Linkov <juri@jurta.org>
2943
2944 * replace.el (occur-engine): Use `add-face-text-property'
2945 to add the face property to matches and titles. (Bug#14645)
2946
2947 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2948 the palette of other hi-lock colors.
2949 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2950
50ab1da6
JL
29512013-12-19 Juri Linkov <juri@jurta.org>
2952
2953 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2954 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2955 (minibuffer-history-symbol): Move variable declaration closer to
2956 its usage.
2957
2958 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2959 (Bug#14785)
2960
3d6e95e7
JL
29612013-12-19 Juri Linkov <juri@jurta.org>
2962
2963 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2964 New function.
2965 (log-edit-hook): Add it to :options. (Bug#16170)
2966
b41594fd
JL
29672013-12-19 Juri Linkov <juri@jurta.org>
2968
2969 * simple.el (eval-expression-print-format): Don't check for
2970 command names and the last command. Always display additional
2971 formats of the integer result in the echo area, and insert them
2972 to the current buffer only with a zero prefix arg.
2973 Display character when char-displayable-p is non-nil.
2974 (eval-expression): With a zero prefix arg, set `print-length' and
2975 `print-level' to nil, and insert the integer values from
2976 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2977
2978 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2979 `eval-last-sexp-arg-internal'. Doc fix.
2980 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2981 `eval-last-sexp-print-value'. Doc fix.
2982 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2983 Set `print-length' and `print-level' to nil when arg is zero.
2984 (eval-last-sexp): Doc fix.
2985 (eval-defun-2): Print the integer values from
2986 `eval-expression-print-format' at the end.
2987
2988 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2989 values from `eval-expression-print-format' at the end.
2990
2991 * ielm.el (ielm-eval-input): Print the integer
2992 values from `eval-expression-print-format' at the end.
2993
8f2be364
TZ
29942013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2995
2996 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2997 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2998
2230a6e3
SM
29992013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3002 (hl-line-highlight, global-hl-line-highlight): Use it.
3003 (hl-line-overlay): Use defvar-local.
3004
1269a680
JD
30052013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3006
3007 * term/ns-win.el: Require dnd.
3008 (global-map): Remove drag items.
3009 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3010 (ns-set-background-at-mouse):
3011 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3012 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3013 New functions.
1269a680 3014
049638ad
GM
30152013-12-19 Glenn Morris <rgm@gnu.org>
3016
3017 * emacs-lisp/ert.el (ert-select-tests):
3018 Fix string/symbol mixup. (Bug#16121)
3019
ce41edb4
DG
30202013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3021
3022 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3023 keywords to their parent.
3024
7e1549c9
DG
30252013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3026
3027 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3028 first arg to be a string (fixed dead code), or an operator symbol.
3029 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3030 operator symbols.
3031 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3032 did nothing. Don't respond to `(:after ".")', it will be called
3033 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3034 change anything. Only return indentation for binary operators
3035 when they are hanging. De-dent opening paren when its parent is
3036 `.', otherwise it looks bad when the dot is not at bol or eol
3037 (bug#16182).
3038
3ee4cd64
JL
30392013-12-19 Juri Linkov <juri@jurta.org>
3040
3041 * replace.el (query-replace-read-args): Split a non-negative arg
3042 and a negative arg into separate elements.
3043 (query-replace, query-replace-regexp, replace-string)
3044 (replace-regexp): Add arg `backward'. Doc fix.
3045 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3046 move point to the beginning of the match.
3047 (replace-search, replace-highlight): Use new arg `backward'
3048 to set the value of `isearch-forward'.
3049 (perform-replace): Add arg `backward' and use it to perform
3050 replacement backward. (Bug#14979)
3051
3052 * isearch.el (isearch-query-replace): Use a negative prefix arg
3053 to call `perform-replace' with a non-nil arg `backward'.
3054
0cda6b7b
JL
30552013-12-18 Juri Linkov <juri@jurta.org>
3056
3057 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3058 to the default list. Move `log-edit-show-files' to the end.
3059 Add more available functions to options.
3060 (log-edit): Move default specific settings to
3061 `log-edit-insert-message-template'. Don't move point.
3062 (log-edit-insert-message-template): New function.
3063 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3064 (Bug#16170)
3065
b216f0a6
JL
30662013-12-18 Juri Linkov <juri@jurta.org>
3067
3068 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3069 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3070
1d1c55dc
LL
30712013-12-18 Leo Liu <sdl.web@gmail.com>
3072
e9dc713d
JB
3073 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3074 (Bug#16186)
1d1c55dc 3075
64e4c76e
EZ
30762013-12-18 Eli Zaretskii <eliz@gnu.org>
3077
3078 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3079 formats for displaying file sizes when the -s switch is given.
3080 Instead, compute a separate format for displaying the size in
3081 blocks, which is displayed in addition to the "regular" size.
3082 When -h is given in addition to -s, produce size in blocks in
3083 human-readable form as well. (Bug#16179)
3084
b2984e39
TH
30852013-12-18 Tassilo Horn <tsdh@gnu.org>
3086
2230a6e3
SM
3087 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3088 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3089
50ff2e06
CY
30902013-12-18 Chong Yidong <cyd@gnu.org>
3091
0081bc84
CY
3092 * cus-edit.el (custom-magic-alist): Fix "themed" description
3093 (Bug#14348).
3094
a7ee9424
CY
3095 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3096 is non-nil, do not create a new entry in the symbol's theme-value
3097 or theme-face property; update theme-settings only (Bug#14664).
18874304 3098 (custom-available-themes): Doc fix.
a7ee9424 3099
8f942537
CY
3100 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3101 (Bug#15674).
3102
50ff2e06
CY
3103 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3104
83c60f60
KI
31052013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3106
3107 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3108 (Bug#13914).
3109
e0eb0550 31102013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3111
3112 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3113
1f41ee56
GM
31142013-12-18 Glenn Morris <rgm@gnu.org>
3115
3116 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3117 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3118
e82134b1
LW
31192013-12-18 Le Wang <l26wang@gmail.com>
3120
2230a6e3
SM
3121 * comint.el (comint-previous-matching-input-from-input):
3122 Retain point (Bug#13404).
e82134b1 3123
33f5d4c1
CY
31242013-12-18 Chong Yidong <cyd@gnu.org>
3125
3126 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3127
ccc9f6dc
GM
31282013-12-18 Glenn Morris <rgm@gnu.org>
3129
3130 * mail/emacsbug.el (report-emacs-bug):
3131 Only mention enable-multibyte-characters if non-standard.
3132
33dd8e95
JL
31332013-12-17 Juri Linkov <juri@jurta.org>
3134
3135 * arc-mode.el (archive-extract-by-file): Check if directory exists
3136 before deletion to not show irrelevant errors if it doesn't exist.
3137
7a409b30
JL
31382013-12-17 Juri Linkov <juri@jurta.org>
3139
3140 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3141 (Bug#14751)
3142
3143 * net/eww.el (browse-web): Add alias to `eww'.
3144 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3145 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3146
3147 * net/browse-url.el (browse-url-browser-function): Move `eww'
3148 closer to similar functions.
3149
3150 * startup.el (fancy-startup-screen, fancy-about-screen):
3151 Set browse-url-browser-function to eww-browse-url locally.
3152 (Bug#14751)
3153
2d6b6005
SM
31542013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * window.el (window--pixel-to-total): Remove unused `mini' var.
3157 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3158 (split-window): Remove unused `new' var.
3159 (window--display-buffer): Remove unused `frame' and `delta' vars.
3160 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3161 and display-width'.
3162
cf2b7efc
MR
31632013-12-17 Martin Rudalics <rudalics@gmx.at>
3164
3165 * dired.el (dired-mark-pop-up):
3166 * register.el (register-preview): Don't bind
3167 split-height-threshold here since it's now done in
3168 display-buffer-below-selected.
3169
ed3af8a7 31702013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3171
3172 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3173 xterm-rgb-convert-to-16bit.
3174 (rxvt-register-default-colors): Standardize with
3175 xterm-register-default-colors (Bug#14078).
3176
76da3455
DK
31772013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3178
3179 * simple.el (kill-region): Pass mark first, then point, so that
3180 kill-append works right (Bug#12819).
3181 (copy-region-as-kill, kill-ring-save): Likewise.
3182
2b84d763
LL
31832013-12-17 Leo Liu <sdl.web@gmail.com>
3184
3185 * net/rcirc.el (rcirc-add-face):
3186 * eshell/em-prompt.el (eshell-emit-prompt):
3187 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3188 (Bug#16167)
3189
e2f6a0bc
CY
31902013-12-17 Chong Yidong <cyd@gnu.org>
3191
3192 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3193 Suggested by Xue Fuqiao.
3194
35b249a6
DG
31952013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3196
3197 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3198
e9145444
SM
31992013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * net/shr.el (shr-insert-document): Remove unused var
3202 `shr-preliminary-table-render'.
3203 (shr-rescale-image): Remove unused arg `force'.
3204 (shr-put-image): Update calls accordingly.
3205 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3206
5556c0ce
DG
32072013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3208
3209 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3210 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3211 :close-all, to see which indentation method to use (Bug#16116).
3212 (smie-rules-function): Document the method :close-all.
3213
11bade0a
LMI
32142013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3215
1c4b1e61
LMI
3216 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3217
11bade0a
LMI
3218 * net/eww.el (eww-display-html): If we can't find the anchor we're
3219 looking for, then go to point-min.
3220
8fb8c4f3
PE
32212013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3222
3223 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3224 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3225 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3226 Expand dir too, in case it's relative.
3227
6c8e0ae6
JL
32282013-12-16 Juri Linkov <juri@jurta.org>
3229
3230 * desktop.el (desktop-auto-save-timeout): Change default to
3231 `auto-save-timeout'. Doc fix.
3232 (desktop-save): Skip the timestamp in desktop-saved-frameset
3233 when checking for auto-save changes.
3234 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3235 `desktop-auto-save' is called repeatedly by the idle timer.
3236 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3237 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3238 (Bug#15331)
3239
2178e858
JL
32402013-12-16 Juri Linkov <juri@jurta.org>
3241
3242 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3243 (Bug#16035)
3244 (isearch-pre-command-hook): Check `this-command' for symbolp.
3245
39cb42c6
SM
32462013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3249
5b9b750a
TZ
32502013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3251
3252 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3253 (cfengine3--current-function): Bring in the current-function
3254 functionality from `cfengine3--current-word'.
3255 (cfengine3-completion-function): Bring in the
3256 bounds-of-current-word functionality from
3257 `cfengine3--current-word'.
3258
d144ef06
MR
32592013-12-16 Martin Rudalics <rudalics@gmx.at>
3260
39cb42c6
SM
3261 * window.el (display-buffer-below-selected):
3262 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3263
a8bbe298
LL
32642013-12-16 Leo Liu <sdl.web@gmail.com>
3265
3266 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3267 Remove NOMSG arg and all uses changed.
3268
2013a2f9
SM
32692013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3272 (cua--deactivate-rectangle): Don't deactivate the mark.
3273 (cua-set-rectangle-mark): Don't set mark-active since
3274 cua--activate-rectangle already does it for us.
3275 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3276 non-rectangular region.
3277
3278 * emulation/cua-base.el (cua-repeat-replace-region):
3279 Use with-current-buffer.
3280
3281 * net/gnutls.el: Use cl-lib.
3282 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3283
5ae811dd
TZ
32842013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3285
3286 * emacs-lisp/package.el (package-built-in-p): Support both
3287 built-in and the package.el converted package descriptions.
3288 (package-show-package-list): Allow keywords.
3289 (package-keyword-button-action): Use it instead of
3290 `finder-list-matches'.
3291 (package-menu-filter-interactive): Interactive filtering (by
3292 keyword) function.
3293 (package-menu--generate): Support keywords and change keymappings
3294 and headers when they are given.
3295 (package--has-keyword-p): Helper function.
3296 (package-menu--refresh): Use it.
3297 (package--mapc): Helper function.
3298 (package-all-keywords): Use it.
3299 (package-menu-mode-map): Set up menu items and keybindings to
3300 provide a filtering UI.
3301
31b4827e
TZ
33022013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3303
3304 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3305 the behavior when a certificate fails validation. Defaults to
3306 old behavior: never abort, just warn.
3307 (gnutls-negotiate): Use it.
3308
f93cc74f
MR
33092013-12-14 Martin Rudalics <rudalics@gmx.at>
3310
3311 * window.el (display-buffer-below-selected): Never split window
3312 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3313
f77d7d17
TW
33142013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3315
3316 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3317 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3318
7514d3f8
SM
33192013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3320
aa2bddd7 3321 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3322 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3323
276bc333
DG
33242013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3325
3326 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3327 open-paren tokens when preceded by a open-paren, too.
3328 (ruby-smie-rules): Handle virtual indentation after open-paren
3329 tokens specially. If there is code between it and eol, return the
3330 column where is starts (Bug#16118).
3331
d43957f3
TZ
33322013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3333
a5c1ac0c 3334 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3335 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3336 (cfengine3--current-word): Fix parameters.
3337 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3338 (cfengine3-completion-function, cfengine3--current-function):
3339 Use `assq' for symbols.
d43957f3
TZ
3340 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3341
06a4f110
GM
33422013-12-13 Glenn Morris <rgm@gnu.org>
3343
3344 * loadup.el (load-path): Warn if site-load or site-init changes it.
3345 No more need to reset it when bootstrapping.
3346
978a5fda
TZ
33472013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3348
3349 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3350 locations for cf-promises.
3351 (cfengine-mode-syntax-functions-regex): New caching variable.
3352 (cfengine3-fallback-syntax): Fallback syntax for cases where
3353 cf-promises doesn't run.
3354 (cfengine3--current-word): Reimplement using
3355 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3356 (cfengine3-completion-function, cfengine3--current-function):
3357 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3358 (cfengine3-clear-syntax-cache): New function.
3359 (cfengine3-make-syntax-cache): Simplify and create
3360 `cfengine-mode-syntax-functions-regex' on demand.
3361 (cfengine3-format-function-docstring): Don't call
3362 `cfengine3-make-syntax-cache' explicitly.
3363
71e6691e
MR
33642013-12-13 Martin Rudalics <rudalics@gmx.at>
3365
3366 Fix windmove-find-other-window broken after pixelwise resizing
3367 (Bug#16017).
3368 * windmove.el (windmove-other-window-loc): Revert change from
3369 2013-12-04.
3370 (windmove-find-other-window): Call window-in-direction.
3371 * window.el (window-in-direction): New arguments SIGN, WRAP and
3372 MINI to emulate original windmove-find-other-window behavior.
3373
84c73ba0
DG
33742013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3375
3376 * simple.el (blink-matching--overlay): New variable.
3377 (blink-matching-open): Instead of moving point, highlight the
3378 matching paren with an overlay
3379 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3380
3381 * faces.el (paren-showing-faces, show-paren-match)
3382 (show-paren-mismatch): Move from paren.el.
3383
b9e20952
LL
33842013-12-13 Leo Liu <sdl.web@gmail.com>
3385
3386 * indent.el (indent-region): Disable progress reporter in
3387 minibuffer. (Bug#16108)
3388
3389 * bindings.el (visual-order-cursor-movement): Fix version.
3390
ce030451
FEG
33912013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3392
3393 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3394 Also match after beginning of line.
3395 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3396 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3397
4a9c6865
JL
33982013-12-13 Juri Linkov <juri@jurta.org>
3399
3400 * simple.el <Keypad support>: Remove key bindings duplicated
3401 with bindings.el. (Bug#14397)
3402
2bc170c3
JL
34032013-12-13 Juri Linkov <juri@jurta.org>
3404
3405 * comint.el (comint-mode-map): Replace `delete-char' with
3406 `delete-forward-char'. (Bug#16109)
3407
bc9222c9
FEG
34082013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3409
aa2bddd7 3410 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3411 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3412
cb3a1380
SM
34132013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3414
3415 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3416 (advice--make): Pay attention to `depth'.
3417 (advice--make-1): Don't autoload commands eagerly.
3418 * emacs-lisp/elp.el (elp-instrument-function):
3419 * emacs-lisp/trace.el (trace-function-internal):
3420 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3421
3422 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3423
01633a17
EZ
34242013-12-12 Eli Zaretskii <eliz@gnu.org>
3425
3426 * term/w32-win.el (w32-handle-dropped-file):
3427 * startup.el (normal-top-level):
3428 * net/browse-url.el (browse-url-file-url):
3429 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3430 decode file names using 'utf-8' rather than
3431 file-name-coding-system.
3432
09faee72
FEG
34332013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3434
3435 * progmodes/python.el (python-indent-context)
3436 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3437 behavior for comment blocks. (Bug#15916)
09faee72 3438
f4f84024 34392013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3440
cb3a1380
SM
3441 * progmodes/python.el (python-indent-calculate-indentation):
3442 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3443 operators when they are just string constituents. (Bug#15812)
3444
d5ccb7be
JL
34452013-12-12 Juri Linkov <juri@jurta.org>
3446
3447 * uniquify.el (uniquify-buffer-name-style): Change default to
3448 `post-forward-angle-brackets'.
3449
3450 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3451 `uniquify'. Change default to `post-forward-angle-brackets'.
3452
7b3f5679
GM
34532013-12-11 Glenn Morris <rgm@gnu.org>
3454
3455 * emacs-lisp/package.el (finder-list-matches):
3456 Autoload rather than falsely declaring.
3457
f4fe8fdd
TZ
34582013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3459
3460 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3461 (eww-mode-map): Use them.
3462
3c29190f
MR
34632013-12-11 Martin Rudalics <rudalics@gmx.at>
3464
3465 * window.el (display-buffer-in-side-window): Fix doc-string
3466 (Bug#16115).
3467
0cd616a2
JB
34682013-12-11 Juanma Barranquero <lekktu@gmail.com>
3469
3470 * vc/vc-git.el: Silence byte-compiler warnings.
3471 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3472 (log-edit-set-header): Declare.
3473
3ef8e0d1
EZ
34742013-12-11 Eli Zaretskii <eliz@gnu.org>
3475
3476 * Makefile.in (custom-deps, finder-data): Run output file names
3477 through unmsys--file-name. (Bug#16099)
3478
afdadaf7
SM
34792013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3480
7ae3ae39 3481 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3482 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3483
5b4f37ab
SM
3484 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3485 instead of deleting the selection "by hand" (bug#16098).
3486 Rely on insert-for-yank to yank rectangles.
3487 (cua-highlight-region-shift-only): Mark obsolete.
3488 (cua-mode): Don't enable/disable transient-mark-mode,
3489 shift-select-mode (cua-mode works both with and without them), and
3490 pc-selection-mode (obsolete).
3491 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3492 (cua--deactivate-rectangle): Deactivate it.
3493
4b72c12b
SM
3494 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3495 (delete-selection-helper): Make sure yank starts at the top of the
3496 deleted region.
3497 (minibuffer-keyboard-quit): Use region-active-p.
3498
e82af72d
SM
3499 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3500
afdadaf7
SM
3501 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3502 to `delete' (bug#16109).
3503
ed4bc201
RS
35042013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3505
3506 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3507 info manual and show keybindings and set `:group' keyword.
3508
bb8097b9
JL
35092013-12-11 Juri Linkov <juri@jurta.org>
3510
3511 * delsel.el (delete-active-region): Let-bind `this-command'
3512 to prevent `kill-region' from changing its original value.
3513 (delete-selection-helper): Handle `overwrite-mode' for the type
3514 `kill' exactly the same way as for the type `t'.
3515 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3516 Support more commands. (Bug#13312)
3517
c1916ff5
JL
35182013-12-11 Juri Linkov <juri@jurta.org>
3519
3520 * bindings.el: Map kp keys to non-kp keys systematically
3521 with basic modifiers control, meta and shift. (Bug#14397)
3522
7514d3f8 35232013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3524
3525 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3526 "Close browser" menu items. Fix wrong function of "List
3527 bookmarks".
3528
4cc51eaf
JL
35292013-12-11 Juri Linkov <juri@jurta.org>
3530
3531 * misearch.el (multi-isearch-buffers): Set the value of
3532 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3533 arg of isearch-forward to t.
3534 (multi-isearch-buffers-regexp): Set the value of
3535 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3536 arg of isearch-forward-regexp to t.
3537 (multi-isearch-files): Set the value of
3538 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3539 arg of isearch-forward to t.
3540 (multi-isearch-files-regexp): Set the value of
c295fc18 3541 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3542 arg of isearch-forward-regexp to t. (Bug#16035)
3543
3544 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3545 arg of isearch-forward to t.
3546 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3547 arg of isearch-forward-regexp to t.
3548 (dired-isearch-filter-filenames): Remove unnecessary check for
3549 `dired-isearch-filenames'.
3550
3551 * comint.el (comint-history-isearch-backward):
3552 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3553 (comint-history-isearch-backward-regexp):
3554 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3555
ceac12b7
EZ
35562013-12-10 Eli Zaretskii <eliz@gnu.org>
3557
3558 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3559 unmsys--file-name. (Bug#16099)
3560
5a565782
TZ
35612013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3562
cb3a1380
SM
3563 * emacs-lisp/package.el (package-keyword-button-action):
3564 Remove finder.el require dependency.
5a565782 3565
a81fc7ba
TZ
35662013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3567
3568 * emacs-lisp/package.el: Require finder.el.
3569 (describe-package-1): Add keyword buttons.
3570 (package-make-button): New convenience function.
3571 (package-keyword-button-action): Keyword button action using
e0eb0550 3572 `finder-list-matches'.
a81fc7ba 3573
6aaca951
EZ
35742013-12-09 Eli Zaretskii <eliz@gnu.org>
3575
3576 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3577 last commit.
3578
a1099a91
MA
35792013-12-09 Michael Albinus <michael.albinus@gmx.de>
3580
3581 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3582 symlinked files.
3583
8212d9c0
DG
35842013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3585
3586 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3587 after the end of a percent literal.
3588
8f48d131
CD
35892013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3590
cb3a1380
SM
3591 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3592 Handle caret-delimited strings (Bug#16079).
8f48d131 3593
ff8c9764
DG
35942013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3595
cb3a1380
SM
3596 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3597 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3598 `ruby-parse-partial' (Bug#16078).
3599
d64643b4
LL
36002013-12-09 Leo Liu <sdl.web@gmail.com>
3601
3602 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3603
47e59c66
DG
36042013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3605
3606 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3607 (js-switch-indent-offset): New option.
3608 (js--proper-indentation): Use it. And handle the case when
3609 "default" is actually a key in an object literal.
3610 (js--same-line): New function.
3611 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3612 (js--indent-in-array-comp, js--array-comp-indentation):
3613 New functions.
47e59c66
DG
3614 (js--proper-indentation): Use them, to handle array comprehension
3615 continuations.
3616
974ebc9c
LL
36172013-12-08 Leo Liu <sdl.web@gmail.com>
3618
3619 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3620 (flymake-make-overlay): Remove arg MOUSE-FACE.
3621 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3622
27262e39
SM
36232013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3626 New function.
3627 (redisplay-highlight-region-function): Use it.
3628
3629 * emulation/cua-base.el (cua--explicit-region-start)
3630 (cua--last-region-shifted): Remove.
3631 (cua--deactivate): Use deactivate-mark.
3632 (cua--pre-command-handler-1): Don't handle shift-selection.
3633 (cua--post-command-handler-1): Don't change transient-mark-mode.
3634 (cua--select-keymaps): Use region-active-p rather than
3635 cua--explicit-region-start or cua--last-region-shifted.
3636 (cua-mode): Enable shift-select-mode.
3637
6407822c
LL
36382013-12-08 Leo Liu <sdl.web@gmail.com>
3639
27262e39
SM
3640 * progmodes/flymake.el (flymake-popup-current-error-menu):
3641 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3642 (flymake-posn-at-point-as-event, flymake-popup-menu)
3643 (flymake-make-emacs-menu): Remove. (Bug#16077)
3644
00a2b823
SM
36452013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3646
02033d49
SM
3647 * rect.el (rectangle-mark-mode): Activate mark even if
3648 transient-mark-mode is off (bug#16066).
3649 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3650 is > mark and at bolp.
3651
6f8dfccf
SM
3652 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3653 (region-extract-function): Use it.
3654 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3655 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3656 Delete functions.
3657 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3658 kill-ring-save, kill-region, delete-char, delete-forward-char.
3659 Ignore self-insert-iso.
3660
3661 * emulation/cua-gmrk.el (cua--init-global-mark):
3662 Ignore `self-insert-iso'.
3663
3664 * emulation/cua-base.el (cua--prefix-copy-handler)
3665 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3666 checking cua--rectangle.
3667 (cua-delete-region): Use region-extract-function.
3668 (cua-replace-region): Delete function.
3669 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3670 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3671 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3672 (cua--init-keymaps): Don't remap delete-selection commands.
3673 (cua-mode): Use delete-selection-mode instead of rolling our own
3674 (bug#16085).
3675
3676 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3677 Obey region-extract-function.
3678
00a2b823
SM
3679 Make registers and delete-selection-mode work on rectangles.
3680 * register.el (describe-register-1): Don't modify the register's value.
3681 (copy-to-register): Obey region-extract-function.
3682 * delsel.el (delete-active-region): Obey region-extract-function.
3683
a92fa5f1
LL
36842013-12-08 Leo Liu <sdl.web@gmail.com>
3685
3686 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3687 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3688 (flymake-compilation-prevents-syntax-check)
3689 (flymake-start-syntax-check-on-newline)
3690 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3691 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3692 (flymake-xml-program, flymake-master-file-dirs)
3693 (flymake-master-file-count-limit)
3694 (flymake-allowed-file-name-masks): Relocate.
3695 (flymake-makehash, flymake-float-time)
3696 (flymake-replace-regexp-in-string, flymake-split-string)
3697 (flymake-get-temp-dir): Remove.
3698 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3699 (flymake-current-row, flymake-selected-frame)
3700 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3701 related functions. (Bug#16077)
3702
73c8ceea
BB
37032013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3704
3705 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3706
faec28d9
TH
37072013-12-07 Tassilo Horn <tsdh@gnu.org>
3708
3709 * help-fns.el (describe-function-1): Use new advice-* functions
3710 rather than old ad-* functions. Fix function type description and
3711 source links for advised functions and subrs.
3712
e330b646
LMI
37132013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3714
00a2b823 3715 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 3716
4803595d
MA
37172013-12-06 Michael Albinus <michael.albinus@gmx.de>
3718
3719 * progmodes/compile.el (compilation-start):
3720 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3721
3722 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3723 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3724
fa834a93
DG
37252013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3726
00a2b823
SM
3727 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3728 Touch up the last change.
fa834a93 3729
b2856a6f
LL
37302013-12-06 Leo Liu <sdl.web@gmail.com>
3731
3732 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3733 (inferior-octave-startup): Always use "octave> " for prompt.
3734 (octave-goto-function-definition)
3735 (octave-sync-function-file-names)
3736 (octave-find-definition-default-filename): Remove redundant backquotes.
3737
af67e79a
DG
37382013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3739
3740 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3741 syntax for `?'.
3742 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3743 where appropriate already.
3744 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3745 end of method names (Bug#15874).
3746
bf093209
JL
37472013-12-06 Juri Linkov <juri@jurta.org>
3748
3749 * isearch.el (isearch--saved-overriding-local-map):
3750 New internal variable.
3751 (isearch-mode): Set it to the initial value of
3752 `overriding-terminal-local-map'.
3753 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3754 with `isearch--saved-overriding-local-map'. (Bug#16035)
3755
16588fad
DG
37562013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3757
00a2b823
SM
3758 * progmodes/octave.el (inferior-octave-completion-table):
3759 Turn back into function, use `completion-table-with-cache'
16588fad
DG
3760 (Bug#11906). Update all references.
3761
3762 * minibuffer.el (completion-table-with-cache): New function.
3763
bf4906d7
CD
37642013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3765
3766 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3767
ff69c18f
TZ
37682013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3769
3770 * net/eww.el (eww-current-source): New variable to store page
3771 source.
3772 (eww-display-html, eww-mode, eww-save-history)
3773 (eww-restore-history): Use it.
3774 (eww-view-source): New command to view page source.
3775 Opportunistically uses `html-mode' to highlight the buffer.
3776 (eww-mode-map): Install it.
3777
b85eff45
MA
37782013-12-05 Michael Albinus <michael.albinus@gmx.de>
3779
3780 * net/dbus.el (dbus-unregister-service)
3781 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3782 Fix docstring.
3783 (dbus-unregister-service): Skip :serial entries in
3784 `dbus-registered-objects-table'.
3785 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3786
39eb0899
TZ
37872013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3788
3789 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3790 around keywords with extra `split-string' argument.
3791
456760a5
MR
37922013-12-04 Martin Rudalics <rudalics@gmx.at>
3793
3794 * windmove.el (windmove-other-window-loc): Handle navigation
3795 between windows (excluding the minibuffer window - Bug#16017).
3796
81961e4c
MA
37972013-12-04 Michael Albinus <michael.albinus@gmx.de>
3798
3799 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3800 in D-Bus type syntax.
3801 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3802 preserve unibyte strings. (Bug#16048)
3803
8497f938
SM
38042013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3807 Call force-mode-line-update is the proper buffer (bug#16042).
3808
dda61916
DG
38092013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3810
3811 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3812 `log-edit-remember-comment', make argument optional. Adjust all
3813 callers.
3814 (log-edit-mode): Add `log-edit-remember-comment' to
3815 `kill-buffer-hook' locally.
3816 (log-edit-kill-buffer): Don't remember comment explicitly since
3817 the buffer is killed anyway.
3818
c085e5b9
JL
38192013-12-04 Juri Linkov <juri@jurta.org>
3820
3821 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3822 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3823
e0eb0550 38242013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3825
3826 * notifications.el (notifications-close-notification): Call the
81961e4c 3827 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3828
39fa32d6
KY
38292013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3830
3831 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3832
9139632a
JL
38332013-12-03 Juri Linkov <juri@jurta.org>
3834
3835 * progmodes/compile.el (compilation-start): Rename window alist
3836 entry `no-display-ok' to `allow-no-window'.
3837
3838 * simple.el (shell-command): Add window alist entry
3839 `allow-no-window' to `display-buffer'.
3840 (async-shell-command): Doc fix.
3841
3842 * window.el (display-buffer-no-window): New action function.
3843 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3844
0f457a37
DG
38452013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3846
3847 * vc/log-edit.el (log-edit-set-header): Extract from
3848 `log-edit-toggle-header'.
3849 (log-edit-extract-headers): Separate the summary, when extracted
3850 from header, from the rest of the message with an empty line.
3851
3852 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3853 line, if present, to the Summary header.
3854
0962f376
SM
38552013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3858 in current-buffer (bug#16029).
3859
f345395c
HE
38602013-12-02 Helmut Eller <eller.helmut@gmail.com>
3861
3862 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3863 (debugger-mode-map): Bind it.
3864 (debugger--backtrace-base): New function.
3865 (debugger-eval-expression): Use it.
3866 (debugger-frame-number): Skip local vars when present.
3867 (debugger--locals-visible-p, debugger--insert-locals)
3868 (debugger--show-locals, debugger--hide-locals): New functions.
3869
a8a15d9d
MA
38702013-12-02 Michael Albinus <michael.albinus@gmx.de>
3871
3872 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3873 "LC_ALL".
3874 (tramp-get-remote-locale): New defun.
3875 (tramp-open-connection-setup-interactive-shell): Use it.
3876
0518b057
LL
38772013-12-02 Leo Liu <sdl.web@gmail.com>
3878
3879 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3880
3881 * progmodes/sh-script.el (sh-shell-process):
3882 * progmodes/octave.el (inferior-octave-process-live-p):
3883 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3884 (gdb-inferior-io-sentinel):
3885 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3886
3adc9c6d
DG
38872013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3888
3889 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3890 `save-selected-window' to `log-edit-hide-buf'. This makes
3891 `log-edit-show-files' idempotent.
3892 (log-edit-show-files): Mark the new window as dedicated.
3893
47e8b74e
DG
38942013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3895
3896 * vc/log-edit.el (log-edit-mode-map): Add binding for
3897 `log-edit-kill-biffer'.
3898 (log-edit-hide-buf): Add a FIXME comment.
3899 (log-edit-add-new-comment): New function, extracted from
3900 `log-edit-done'.
3901 (log-edit-done, log-edit-add-to-changelog): Use it.
3902 (log-edit-kill-buffer): New command.
3903
1f6e1bb0
LMI
39042013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3905
3906 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3907 instead of killing the buffer.
3908
fb651d15
SM
39092013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3912
8feacce0
RS
39132013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3914
fb651d15 3915 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3916 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3917 (eww-form-checkbox, eww-toggle-checkbox):
3918 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3919
e0eb0550 3920 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3921 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3922 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3923 no :src tag was specified.
3924
fb651d15 3925 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3926 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3927 Use \\` to match beginning of string instead of ^.
3928 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3929 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3930
177948a5
RS
3931 * net/shr.el (shr-tag-video): Display content for video if no
3932 poster is available.
eb2dd24d 3933 (shr-tag-audio): Add support for <audio> tag.
177948a5 3934
e0eb0550 3935 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3936 (eww-process-text-input): Treat input types in
3937 `eww-text-input-types' as text.
3938
8feacce0
RS
3939 * net/shr.el (shr-tag-table): Fix comment typo.
3940
513562a1
LMI
39412013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3942
3943 * net/eww.el (eww-follow-link): New command to avoid reloading
3944 pages when we follow #target links (bug#15243).
de8a5633 3945 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3946
9dd99753
KN
39472013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3948
3949 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3950 forms.
3951
3e9876de
LMI
39522013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3953
3954 * net/eww.el (eww-restore-history): Update the window title after
3955 moving in the history.
ab6dea82 3956 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3957
52789f7f
DG
39582013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3959
3960 * vc/log-edit.el (log-edit-mode-map): Add binding for
3961 `log-edit-beginning-of-line'.
3962 (log-edit-setup-add-author): New user option.
3963 (log-edit-beginning-of-line): New command.
3964 (log-edit): Move major mode call above the contents setup so that
3965 the local variable values are already applied.
3966 (log-edit): Only insert "Author: " when
3967 `log-edit-setup-add-author' is non-nil.
3968 (log-edit): When SETUP is non-nil, position point after ": "
3969 instead of point-min.
3970
2e6710c3
GM
39712013-12-01 Glenn Morris <rgm@gnu.org>
3972
3973 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3974
fadec31f
EZ
39752013-11-30 Eli Zaretskii <eliz@gnu.org>
3976
3977 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3978 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3979 visible. (Bug#16014)
3980
10634b40 39812013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3982
3983 Support resizing frames and windows pixelwise.
3984 * cus-start.el (frame-resize-pixelwise)
3985 (window-resize-pixelwise): New entries.
3986 * emacs-lisp/debug.el (debug): Use window-total-height instead
3987 of window-total-size.
3988 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
3989 * help.el (describe-bindings-internal): Use help-buffer as
3990 argument for with-help-window.
880e6158
MR
3991 (temp-buffer-max-width): New option.
3992 (resize-temp-buffer-window, help-window-setup)
3993 (with-help-window): Rewrite.
3994 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3995 dragging dividers.
3996 * window.el (frame-char-size, window-min-pixel-height)
3997 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3998 (window-min-pixel-width, window-safe-min-pixel-size)
3999 (window-combination-p, window-safe-min-size)
4000 (window-resizable-p, window--size-to-pixel)
4001 (window--pixel-to-size, window--resize-apply-p): New functions.
4002 (window-safe-min-height): Fix doc-string.
4003 (window-size, window-min-size, window--min-size-1)
4004 (window-sizable, window-sizable-p, window--min-delta-1)
4005 (window-min-delta, window--max-delta-1, window-max-delta)
4006 (window--resizable, window--resizable-p, window-resizable)
4007 (window-full-height-p, window-full-width-p, window-at-side-p)
4008 (window--in-direction-2, window-in-direction)
4009 (window--resize-reset-1, window--resize-mini-window)
4010 (window-resize, window-resize-no-error)
4011 (window--resize-child-windows-normal)
4012 (window--resize-child-windows, window--resize-siblings)
4013 (window--resize-this-window, window--resize-root-window)
4014 (window--resize-root-window-vertically)
4015 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4016 (maximize-window, minimize-window, delete-window)
4017 (quit-restore-window, window-split-min-size, split-window)
4018 (balance-windows-2, balance-windows)
4019 (balance-windows-area-adjust, balance-windows-area)
4020 (window--state-get-1, window-state-get, window--state-put-1)
4021 (window--state-put-2, window-state-put)
fb651d15
SM
4022 (display-buffer-record-window, window--display-buffer):
4023 Make functions handle pixelwise sizing of windows.
880e6158 4024 (display-buffer--action-function-custom-type)
fb651d15
SM
4025 (display-buffer-fallback-action):
4026 Add display-buffer-in-previous-window.
880e6158
MR
4027 (display-buffer-use-some-window): Resize window to height it had
4028 before.
4029 (fit-window-to-buffer-horizontally): New option.
4030 (fit-frame-to-buffer): Describe new values.
4031 (fit-frame-to-buffer-bottom-margin): Replace with
4032 fit-frame-to-buffer-margins.
4033 (window--sanitize-margin): New function.
4034 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4035 using window-text-pixel-size.
4036
f9b697dd
GM
40372013-11-30 Glenn Morris <rgm@gnu.org>
4038
3e2fb4db
GM
4039 * emacs-lisp/bytecomp.el (byte-compile-form):
4040 Make the `interactive-only' warning like the `obsolete' one.
4041 * comint.el (comint-run):
4042 * files.el (insert-file-literally, insert-file):
4043 * replace.el (replace-string, replace-regexp):
4044 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4045 (goto-line, insert-buffer, next-line, previous-line):
4046 Tweak `interactive-only' spec.
4047
f9b697dd
GM
4048 Stop keeping (most) generated cedet grammar files in the repository.
4049 * Makefile.in (semantic): New.
4050 (compile-main): Depend on semantic.
4051
da048127
SM
40522013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4053
7784b779
SM
4054 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4055 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4056
4e36a6a6
SM
4057 * uniquify.el (uniquify-buffer-name-style): Change default.
4058
4059 * loadup.el: Preload "uniquify".
4060
e0ba1308
SM
4061 * time.el (display-time-update): Update all mode lines (bug#15999).
4062
da048127
SM
4063 * electric.el (electric-indent-mode): Enable by default.
4064 * loadup.el: Preload "electric".
4065
015b3b3e
BB
40662013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4067
4068 * emacs-lisp/helpers.el (string-empty-p): New function.
4069 (string-blank-p): New function.
4070
7efb806d
AP
40712013-11-29 Andreas Politz <politza@hochschule-trier.de>
4072
4073 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4074 (Bug#14029).
4075
c8f0efc2
AP
40762013-11-29 Andreas Politz <politza@fh-trier.de>
4077 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4078 allow non-lambda lists as functions.
4079 (imenu--in-alist): Don't recurse into non-subalists.
4080 (imenu): Don't pass function itself as an argument (Bug#14029).
4081
bd15d9d1
SM
40822013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * progmodes/python.el (python-mode-map): Remove binding for ":".
4085 (python-indent-electric-colon): Remove command.
4086 (python-indent-post-self-insert-function): Integrate the previous code
4087 of python-indent-electric-colon. Make it conditional on
4088 electric-indent-mode.
4089 (python-mode): Add ?: to electric-indent-chars.
4090 Move python-indent-post-self-insert-function to the end of
4091 post-self-insert-hook.
4092
1b10adb6
SM
40932013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4094
655ab9a3
SM
4095 * doc-view.el (doc-view-goto-page): Update mode-line.
4096
1b10adb6
SM
4097 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4098
7e3bf78c
GM
40992013-11-27 Glenn Morris <rgm@gnu.org>
4100
4101 * international/charprop.el, international/uni-bidi.el:
4102 * international/uni-category.el, international/uni-combining.el:
4103 * international/uni-comment.el, international/uni-decimal.el:
4104 * international/uni-decomposition.el, international/uni-digit.el:
4105 * international/uni-lowercase.el, international/uni-mirrored.el:
4106 * international/uni-name.el, international/uni-numeric.el:
4107 * international/uni-old-name.el, international/uni-titlecase.el:
4108 * international/uni-uppercase.el:
4109 Remove generated files from VCS repository.
4110
fb6a5d68
EZ
41112013-11-27 Eli Zaretskii <eliz@gnu.org>
4112
4113 * filenotify.el (file-notify-add-watch): Don't special-case
4114 w32notify when computing the directory to watch.
4115
cb6c95a3
GM
41162013-11-27 Glenn Morris <rgm@gnu.org>
4117
20372d0c
GM
4118 Make bootstrap without generated uni-*.el files possible again.
4119 * loadup.el: Update command-line-args checking for unidata-gen.
4120 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4121 * composite.el, international/characters.el:
4122 Handle unicode tables being undefined.
4123
52d6635f 4124 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4125 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4126 (compile-main): Depend on leim rule.
4127 (leim): New rule.
4128 * loadup.el: Move leim-list.el to leim/ subdirectory.
4129 * startup.el (normal-top-level): No more leim directory.
4130 * international/ja-dic-cnv.el (skkdic-convert):
4131 Disable version-control and autoloads in output files.
4132 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4133 Disable version-control and autoloads in output files.
4134 * leim/quail: Move here from ../leim.
4135 * leim/quail/hangul.el (hangul-input-method-activate):
4136 Add autoload cookie.
4137 (generated-autoload-load-name): Set file-local value.
4138 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4139 (generated-autoload-load-name): Set file-local value.
4140
7514d3f8 41412013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4142
e0eb0550 4143 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4144 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4145 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4146
0e2c793f
EZ
41472013-11-26 Eli Zaretskii <eliz@gnu.org>
4148
4149 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4150 reading output from Diff on MS-Windows and MS-DOS.
4151
447bdcb8
BB
41522013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4153
4154 * emacs-lisp/helpers.el (string-reverse): New function.
4155
5fbf6856
MA
41562013-11-26 Michael Albinus <michael.albinus@gmx.de>
4157
4158 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4159 names on MS Windows, like "/[::1]:".
4160
4161 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4162 SWITCHES.
4163
624780f0
GM
41642013-11-26 Glenn Morris <rgm@gnu.org>
4165
0bf3f0fa
GM
4166 * progmodes/python.el (python-indent-guess-indent-offset):
4167 Avoid corner-case error. (Bug#15975)
4168
624780f0
GM
4169 Preload leim-list.el. (Bug#4789)
4170 * loadup.el: Load leim-list.el when found.
4171 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4172
4301875e 41732013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4174
4175 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4176
4301875e
BB
4177 * emacs-lisp/helpers.el (string-join): New function.
4178
1633a815 41792013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4180
4181 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4182 Mark as obsolete and replace it with a symbol property.
4183 (byte-compile-form): Use new 'interactive-only property.
4184 * comint.el, files.el, replace.el, simple.el:
4185 Apply new 'interactive-only properly.
4186
00139435
MR
41872013-11-25 Martin Rudalics <rudalics@gmx.at>
4188
4189 * window.el (display-buffer-at-bottom): Make sure that
4190 split-window-sensibly creates the new window on bottom
4191 (Bug#15961).
4192
5f5b128d
DK
41932013-11-23 David Kastrup <dak@gnu.org>
4194
4195 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4196 on the conflict markers when available.
4197 (smerge--get-marker): New function.
4198 (smerge-end-re, smerge-base-re): Add subgroup.
4199
623891e5
SM
42002013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * frame.el (handle-focus-in, handle-focus-out): Add missing
4203 interactive spec.
4204
05ca27d8
MA
42052013-11-25 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4208 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4209
511fa0d3
SM
42102013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4211
e82ad66c
SM
4212 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4213 (gomoku--last-pos): New var.
4214 (gomoku--intangible-chars): New const.
4215 (gomoku--intangible): New function.
4216 (gomoku-mode): Use it. Derive from special-mode.
4217 (gomoku-move-up): Adjust line count.
4218 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4219 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4220 Simplify accordingly.
4221
511fa0d3
SM
4222 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4223 Remove blink-cursor code.
4224 (blink-cursor-timer-function, blink-cursor-suspend):
4225 Don't special-case GUIs.
4226 (blink-cursor-mode): Use focus-in/out-hook.
4227
6f20dd03
DG
42282013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4229
4230 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4231 work when annotation is invisible (Bug#13886).
4232
431dec31 42332013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4234
4235 * json.el (json-alist-p): Only return non-nil if the alist has
4236 simple keys (Bug#13518).
4237
431dec31 42382013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4239
4240 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4241 when control-statement is the first statement in a buffer (Bug#15956).
4242
ee4f0261
DG
42432013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4244
4245 * imenu.el (imenu-generic-skip-comments-and-strings):
4246 New option (Bug#15560).
4247 (imenu--generic-function): Use it.
4248
c484f866
JS
42492013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4250
e9dc713d
JB
4251 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4252 (Bug#13898)
c484f866 4253
41ce6f70
BB
42542013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4255
b55aea38
BB
4256 * emacs-lisp/helpers.el: Add some string helpers.
4257 (string-trim-left): Removes leading whitespace.
4258 (string-trim-right): Removes trailing whitespace.
4259 (string-trim): Removes leading and trailing whitespace.
4260
41ce6f70
BB
4261 * subr.el (string-suffix-p): New function.
4262
3cfb6af3
GM
42632013-11-23 Glenn Morris <rgm@gnu.org>
4264
4265 * progmodes/python.el (python-shell-send-file):
4266 Add option to delete file when done. (Bug#15647)
4267 (python-shell-send-string, python-shell-send-region): Use it.
4268
c27924b7
IS
42692013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4270
e1b01c7f
IS
4271 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4272 to set buffer-read-only to t, never to nil. (Bug#15938)
4273
c27924b7
IS
4274 * textmodes/tex-mode.el (latex-noindent-environments):
4275 Add safe-local-variable property. (Bug#15936)
4276
17e0445b
GM
42772013-11-23 Glenn Morris <rgm@gnu.org>
4278
92f78ea3
GM
4279 * textmodes/enriched.el (enriched-mode): Doc fix.
4280 * emacs-lisp/authors.el (authors-renamed-files-alist):
4281 Add enriched.doc -> enriched.txt.
4282
17e0445b
GM
4283 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4284
965bb23a
LL
42852013-11-22 Leo Liu <sdl.web@gmail.com>
4286
4287 * progmodes/octave.el (inferior-octave-startup): Spit out error
4288 message.
4289
d19ffd64
BB
42902013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4291
4292 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4293 Improve docstring.
15ba2182
BB
4294 Add :version.
4295 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4296
7a7567d2
LL
42972013-11-22 Leo Liu <sdl.web@gmail.com>
4298
4299 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4300 (Bug#15076)
8c09f64b
LL
4301 (octave-help-mode): Adapt to change to help-mode-finish to use
4302 derived-mode-p on 2013-09-17.
4303 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4304 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4305
724bc265
LL
43062013-11-22 Leo Liu <sdl.web@gmail.com>
4307
4308 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4309 (inferior-octave-startup, inferior-octave-check-process)
4310 (inferior-octave-track-window-width-change)
4311 (octave-completion-at-point, octave-eldoc-function): Use it.
4312 (octave-kill-process): Provide confirmation. (Bug#10564)
4313
38637cca
LL
43142013-11-21 Leo Liu <sdl.web@gmail.com>
4315
511fa0d3
SM
4316 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4317 Fix obsolete variable comment-use-global-state.
38637cca 4318
06e752b4
RS
43192013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4320
511fa0d3
SM
4321 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4322 Add `octave-source-file'.
06e752b4
RS
4323 (octave-source-file): New function. (Bug#15935)
4324
7514d3f8 43252013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4326
4327 * net/eww.el (eww-local-regex): New variable.
4328 (eww): Use it to detect localhost and similar.
4329
b6ffa04a
LL
43302013-11-21 Leo Liu <sdl.web@gmail.com>
4331
4332 Add completion for command `ag'.
2021a200
LL
4333 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4334 (pcomplete/ag): New function.
e9dc713d 4335 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4336
d1a6bccc
SM
43372013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4340 (bug#14646).
4341 (make-obsolete): Remove interactive spec.
4342
2df10228
GM
43432013-11-21 Glenn Morris <rgm@gnu.org>
4344
4345 * startup.el (command-line-1): Use path-separator with -L.
4346
86fd16b6
TZ
43472013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4348
4349 * emacs-lisp/package.el (describe-package-1): Add package archive
4350 to shown fields.
4351
0449d6cd 43522013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4353
4354 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4355 Change default to "# encoding: %s" to differentiate it from the
4356 default Ruby encoding comment template.
4357
dc7e8c17 43582013-11-20 era eriksson <era+emacsbugs@iki.fi>
4359
4360 * ses.el (ses-mode): Doc fix. (Bug#14748)
4361
f0cfa5fe
LL
43622013-11-20 Leo Liu <sdl.web@gmail.com>
4363
4364 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4365
826dc7b6
DN
43662013-11-19 Dan Nicolaescu <dann@gnu.org>
4367
4368 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4369 when rebase or bisect are in progress.
4370
a6e3a5d5
XF
43712013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4372
4373 * filenotify.el (file-notify-add-watch): Doc fix.
4374
f130cb76
LL
43752013-11-19 Leo Liu <sdl.web@gmail.com>
4376
e0855d7d
LL
4377 * obsolete/rcompile.el: Mark obsolete.
4378
f130cb76 4379 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4380 (compilation-goto-locus, compilation-find-file):
4381 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4382 (Bug#13594)
4383
4384 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4385 new parameter no-display-ok. Return either a window or nil
4386 but never a non-window value.
f130cb76 4387
1f35d401
SM
43882013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4389
25158c76
SM
4390 * electric.el (electric-indent-mode-map): Remove.
4391 (electric-indent-mode): Change the global-map instead (bug#15915).
4392
4393 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4394 Use add-function.
1f35d401 4395
9bc67baa
SM
43962013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4397
986545b5
SM
4398 * emacs-lisp/nadvice.el (remove-function): Align with
4399 add-function's behavior.
4400
9bc67baa
SM
4401 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4402 (gdb--string-regexp): New constant.
4403 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4404 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4405 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4406 submatch 1.
4407 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4408 Adjust use accordingly.
4409 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4410
56cd894e
AS
44112013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4412
4413 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4414 interpolation curlies (Bug#15914).
4415
014690de
JB
44162013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4417
4418 * calc/calc.el (calc-context-sensitive-enter): New variable.
4419 (calc-enter): Use `calc-context-sensitive-enter'.
4420
7e26a6c3
TZ
44212013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4422
4423 * progmodes/cfengine.el: Version bump.
4424 (cfengine-cf-promises): New defcustom to locate cf-promises.
4425 (cfengine3-vartypes): Add new "data" type.
4426 (cfengine3--current-word): New function to get current name-like
4427 word or its bounds.
4428 (cfengine3--current-function): New function to look up a CFEngine
4429 function's definition.
4430 (cfengine3-format-function-docstring): New function.
4431 (cfengine3-make-syntax-cache): New function.
4432 (cfengine3-documentation-function): New function: ElDoc glue.
4433 (cfengine3-completion-function): New function: completion glue.
4434 (cfengine3-mode): Set `compile-command',
4435 `eldoc-documentation-function', and add to
4436 `completion-at-point-functions'.
4437
355204dd
MA
44382013-11-16 Michael Albinus <michael.albinus@gmx.de>
4439
4440 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4441 `tramp-current-connection'.
4442
43cebc23
DG
44432013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4444
4445 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4446 nil/self/true/false with "end of symbol".
4447
a3fed6ff
BB
44482013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4449
4450 * subr.el (version-regexp-alist): Fix a typo.
4451
e675b3e4
MA
44522013-11-15 Michael Albinus <michael.albinus@gmx.de>
4453
4454 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4455 "en_US.utf8" and "LC_CTYPE" to "".
4456 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4457 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4458
a1f03e89
LL
44592013-11-15 Leo Liu <sdl.web@gmail.com>
4460
4461 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4462
5d9d9451
SM
44632013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4464
58362662
CS
4465 * progmodes/gud.el (ctl-x-map):
4466 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4467 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4468
6c1bf086
BB
44692013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4470
0d5363c4
BB
4471 * subr.el (version-regexp-alist):
4472 Recognize hg, svn and darcs versions as snapshot versions.
4473
4e9fc48c
BB
4474 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4475 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4476 (ruby--encoding-comment-required-p): Extract from
4477 `ruby-mode-set-encoding'.
4478 (ruby-mode-set-encoding): Add the ability to always insert an
4479 utf-8 encoding comment. Fix and simplify coding comment update
4480 logic.
6c1bf086 4481
2f7e72f8
MA
44822013-11-14 Michael Albinus <michael.albinus@gmx.de>
4483
4484 * net/tramp-gvfs.el (top): Run init code only when
4485 `tramp-gvfs-enabled' is not nil.
4486 (tramp-gvfs-enabled): Check also :system bus.
4487
0f137a73
SM
44882013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 Sync with upstream verilog-mode revision 78e66ba.
4491 * progmodes/verilog-mode.el (verilog-end-of-defun)
4492 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4493 (verilog-get-end-of-defun): Remove unused argument.
4494 (verilog-comment-depth): Remove unused local `e'.
4495 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4496 Don't pass arg to verilog-get-end-of-defun.
4497
1c276bdd
GM
44982013-11-14 Glenn Morris <rgm@gnu.org>
4499
4500 * obsolete/assoc.el (aget): Prefix dynamic variable.
4501
4502 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4503
ff6ec81d
SM
45042013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * widget.el, hfy-cmap.el: Remove bogus package version number.
4507
75f777b6
GM
45082013-11-13 Glenn Morris <rgm@gnu.org>
4509
1d43dba1
GM
4510 * replace.el (replace-eval-replacement):
4511 Try to give more helpful error message. (Bug#15836)
4512
ff4b7bd5
GM
4513 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4514 (archive-7z-update): Avoid custom type mismatches.
4515
75f777b6
GM
4516 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4517
11151a06
MA
45182013-11-13 Michael Albinus <michael.albinus@gmx.de>
4519
e675b3e4 4520 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4521 address can be empty.
4522
4523 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4524 Accept nil SWITCHES.
4525 (tramp-gvfs-handle-write-region): Implement APPEND.
4526
7b08f97e
DG
45272013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4528
4529 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4530 binary "|" operator and closing block args delimiter.
4531 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4532 (ruby-smie--implicit-semi-p): Not after "|" operator.
4533 (ruby-smie--closing-pipe-p): New function.
4534 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4535 (ruby-smie-rules): Indent after "|".
4536
f201cf3a
GM
45372013-11-12 Glenn Morris <rgm@gnu.org>
4538
4539 * ps-print.el (ps-face-attribute-list):
4540 Handle anonymous faces. (Bug#15827)
4541
e6f759f9
MR
45422013-11-12 Martin Rudalics <rudalics@gmx.at>
4543
4544 * window.el (display-buffer-other-frame): Fix doc-string.
4545 (Bug#15868)
4546
ecda65d4
SM
45472013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4550
7ce8fcc3
MA
45512013-11-11 Michael Albinus <michael.albinus@gmx.de>
4552
4553 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4554 (tramp-sh-handle-file-local-copy): Don't write a message when
4555 saving temporary files.
4556
4557 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4558 both directories are remote.
4559 (tramp-smb-handle-directory-files): Do not return double entries.
4560 Do not expand full file names.
4561 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4562 (tramp-smb-handle-write-region): Implement APPEND.
4563 (tramp-smb-get-stat-capability): Fix a stupid bug.
4564
7818df11
SM
45652013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4568
608c2085
NT
45692013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4570
4571 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4572 throwing error over malformed let/let* (bug#15814).
4573
122a7e46
SM
45742013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * iswitchb.el (iswitchb-mode): Mark obsolete.
4577
766284d9
GM
45782013-11-11 Glenn Morris <rgm@gnu.org>
4579
4580 * international/uni-bidi.el, international/uni-category.el:
4581 * international/uni-name.el, international/uni-numeric.el:
4582 Regenerate for Unicode 6.3.0.
4583
7072a4e9
MA
45842013-11-10 Michael Albinus <michael.albinus@gmx.de>
4585
4586 * net/tramp.el (tramp-methods):
4587 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4588 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4589
c9df215b
AS
45902013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4591
608c2085
NT
4592 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4593 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4594
fa47d796
DG
45952013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4596
4597 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4598 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4599 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4600 (ispell-complete-word): Call `ispell-lookup-words' with the value
4601 independent of `ispell-look-p'.
4602
1629a329
DG
46032013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4604
4605 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4606 Not after "||".
4607 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4608 their parent.
4609
ad16897c
SM
46102013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4613 (ruby-font-lock-keywords): Use backquote.
4614
ffa2df72
DG
46152013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4616
4617 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4618 (ruby-smie--backward-token): Only consider full-string matches.
4619
5b97b4c0
JD
46202013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4621
4622 * faces.el (describe-face): Add distant-foreground.
4623
71731c03
BB
46242013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4625
4e9fc48c
BB
4626 * progmodes/ruby-mode.el: Improve encoding comment handling.
4627 (ruby-encoding-magic-comment-style): New option.
4628 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4629 (ruby--insert-coding-comment, ruby--detect-encoding):
4630 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4631 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4632 to control the style of the auto-inserted encoding comment.
71731c03 4633
da3b328d
DG
46342013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4635
ad16897c
SM
4636 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4637 Use `smie-backward-sexp' with token argument.
da3b328d 4638
1606c2d3
MA
46392013-11-08 Michael Albinus <michael.albinus@gmx.de>
4640
4641 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4642 Remove instrumentation code.
4643
b0f4c320
GM
46442013-11-08 Glenn Morris <rgm@gnu.org>
4645
4646 * progmodes/autoconf.el (autoconf-mode):
4647 Tweak comment-start-skip. (Bug#15822)
4648
43668fb1
SM
46492013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4652 at bobp (bug#15826).
4653 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4654
daddb3fd
DH
46552013-11-08 Darren Hoo <darren.hoo@gmail.com>
4656
4657 * man.el (Man-start-calling): New macro, extracted from
4658 Man-getpage-in-background.
4659 (Man-getpage-in-background): Use it.
4660 (Man-update-manpage): New command.
4661 (Man-mode-map): Bind it.
4662
1f923923
DG
46632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4664
4665 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4666 of "and", "or", "&&" and "||".
4667 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4668 argument. Prohibit opening curly brace because it could only be a
4669 block opener in that position.
daddb3fd
DH
4670 (ruby-smie--forward-token, ruby-smie--backward-token):
4671 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4672 arguments.
4673 (ruby-smie--indent-to-stmt): New function, seeks the end of
4674 previous statement or beginning of buffer.
4675 (ruby-smie-rules): Use it.
4676 (ruby-smie-rules): Check if there's a ":" before a curly block
4677 opener candidate; if there is, it's a hash.
4678
3220d527
SM
46792013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4682 (cl--block-wrapper): Fix last accidental change.
4683
1eb1f9e0
MA
46842013-11-07 Michael Albinus <michael.albinus@gmx.de>
4685
4686 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4687 Instrument, in order to hunt failure on hydra.
4688
e6e4db3c
NT
46892013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4690
4691 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4692 malformed bindings form (bug#15814).
4693
b420ccfc
DG
46942013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4695
4696 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
4697 "." compared to " @ ". This incidentally fixes some indentation
4698 examples with "do".
e6e4db3c 4699 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
4700 (ruby-smie-grammar): New tokens: "and" and "or".
4701 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4702 Exclude "and" and "or". Remove "do" in order to work around token
4703 priorities.
4704 (ruby-smie-rules): Add all infix tokens. Handle the case of
4705 beginning-of-buffer.
b420ccfc 4706
6b4ac03e
GM
47072013-11-06 Glenn Morris <rgm@gnu.org>
4708
4709 * Makefile.in (setwins_almost, setwins_for_subdirs):
4710 Avoid accidental matches.
4711
5ca114d1
SM
47122013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * menu-bar.el (popup-menu): Use key-binding.
4715
f72552bd
EZ
47162013-11-06 Eli Zaretskii <eliz@gnu.org>
4717
4718 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4719 menus, support also the menus produced by minor modes.
4720 (Bug#15817)
4721
5d5c701e
LL
47222013-11-06 Leo Liu <sdl.web@gmail.com>
4723
4724 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 4725 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 4726
0a8b75e2
GM
47272013-11-06 Glenn Morris <rgm@gnu.org>
4728
4729 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
4730 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4731 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 4732
a35287ea
SM
47332013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4734
feca4e2d
SM
4735 * electric.el (electric-indent-just-newline): New command.
4736 (electric-indent-mode-map): New keymap.
4737 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4738 Re-add :group which weren't redundant.
4739
a35287ea
SM
4740 * electric.el (electric-indent-local-mode): New minor mode.
4741 (electric-indent-functions-without-reindent): New var.
4742 (electric-indent-post-self-insert-function): Use it.
4743 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4744
375761b2
EZ
47452013-11-05 Eli Zaretskii <eliz@gnu.org>
4746
9a6ad735
EZ
4747 * international/quail.el (quail-help): Be more explicit about the
4748 meaning of the labels shown on the keys. (Bug#15800)
4749
375761b2
EZ
4750 * startup.el (normal-top-level): Load the subdirs.el files before
4751 setting the locale environment. (Bug#15805)
4752
520a6e4a
SM
47532013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4754
0acfafef
SM
4755 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4756 via arguments so as to get the right ones (bug#15418).
4757
520a6e4a
SM
4758 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4759
15826261
MA
47602013-11-05 Michael Albinus <michael.albinus@gmx.de>
4761
4762 Fix problems found while writing a test suite.
4763
4764 * net/tramp-compat.el (tramp-compat-load): New defun.
4765 * net/tramp.el (tramp-handle-load): Use it.
4766
4767 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4768 "(numberp ok-if-already-exists)" correctly.
4769
d35f31a4
XF
47702013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4771
4772 * international/characters.el (glyphless-char-display-control):
4773 Add usage note.
4774
ae93bc74
BB
47752013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4776
520a6e4a
SM
4777 * progmodes/python.el (python-mode):
4778 * progmodes/scheme.el (scheme-mode):
4779 * progmodes/prolog.el (prolog-mode):
4780 * progmodes/ruby-mode.el (ruby-mode):
4781 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4782 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4783
0ade65b5
SM
47842013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4785
a0d5f7a4
SM
4786 * rect.el (rectangle--highlight-for-redisplay):
4787 * emacs-lisp/smie.el (smie--next-indent-change):
4788 Use buffer-chars-modified-tick.
4789
c93f3f5c
SM
4790 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4791
0ade65b5
SM
4792 * electric.el (electric-indent-post-self-insert-function):
4793 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4794
ef9dd188
HE
47952013-11-04 Helmut Eller <eller.helmut@gmail.com>
4796
4797 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4798
306e7308
NT
47992013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4800
4801 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4802 (bug#15786).
4803
e5afbcac
SM
48042013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4805
1d01ad41
SM
4806 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4807
e5afbcac
SM
4808 * progmodes/python.el: Fix up last change.
4809 (python-shell--save-temp-file): New function.
4810 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4811 `string' comes from the current buffer.
4812 (python-shell-send-string-no-output): Remove `msg' arg.
4813 (python--use-fake-loc): New var.
4814 (python-shell-buffer-substring): Obey it. Try to compensate for the
4815 extra coding line added by python-shell--save-temp-file.
4816 (python-shell-send-region): Use python-shell--save-temp-file and
4817 python-shell-send-file directly. Add `nomain' argument.
4818 (python-shell-send-buffer): Use python-shell-send-region.
4819 (python-electric-pair-string-delimiter): New function.
4820 (python-mode): Use it.
4821
d0065ff1
EZ
48222013-11-04 Eli Zaretskii <eliz@gnu.org>
4823
4824 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4825 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4826 environment and decoding all of the default-directory's to here
4827 from command-line.
4828 (command-line): Decode also argv[0].
4829
4830 * loadup.el: Error out if default-directory is a multibyte string
4831 when we are dumping.
4832
4833 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4834
7397c587
TZ
48352013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4836
4837 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4838 (package-menu--print-info, package-menu--archive-predicate):
4839 Add Archive column to package list.
7397c587 4840
b27cc9fc
MA
48412013-11-04 Michael Albinus <michael.albinus@gmx.de>
4842
4843 Fix problems found while writing a test suite.
4844
4845 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4846 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4847 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4848 to nil when running original file name handler. Otherwise,
4849 there are problems with constructs like "$$FOO".
4850
4851 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4852 for `localname'.
4853
d8c4f18a
BB
48542013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4855
7b530552
BB
4856 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4857
4858 * subr.el (version<, version<=, version=):
4859 Update docstrings with information for snapshot versions.
4860
d8c4f18a
BB
4861 * helpers.el: New library for misc helper functions.
4862 (hash-table-keys): New function returning a list of hash keys.
4863 (hash-table-values): New function returning a list of hash values.
4864
dca01b09
DG
48652013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4866
4867 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4868 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4869
0a749fa0
MN
48702013-11-04 Michal Nazarewicz <mina86@mina86.com>
4871
4872 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4873 checking whether point is after a 1-letter word.
4874
48752013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4876
4877 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4878 Don't infloop when expanding region over `multiline' syntax-type that
4879 begins a line (bug#15778).
4880
4aca7145
SM
48812013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4884 Make it into a proper minor mode.
4885 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4886 (rectangle-mark-mode-map): New keymap.
4887 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4888
a0833f62
GM
48892013-11-04 Glenn Morris <rgm@gnu.org>
4890
4891 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4892
e61845c1
SM
48932013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4896 (ruby-smie-rules): Use smie-rule-parent instead.
4897
4898 * emacs-lisp/smie.el (smie-rule-parent): Always call
4899 smie-indent-virtual rather than only for hanging tokens.
4900 (smie--next-indent-change): New helper command.
4901
62942f89
GM
49022013-11-03 Glenn Morris <rgm@gnu.org>
4903
4904 * Makefile.in (abs_srcdir): Remove.
4905 (emacs): Unset EMACSLOADPATH.
4906
b0b9e592
GM
49072013-11-02 Glenn Morris <rgm@gnu.org>
4908
18ba6a33 4909 * Makefile.in (EMACS): Use a relative filename.
8061810d 4910 (abs_top_builddir): Remove.
18ba6a33
GM
4911 (custom-deps, finder-data, autoloads): Use --chdir.
4912
6a8b929e
GM
4913 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4914
c617f3d0
GM
4915 Use relative filenames in TAGS files.
4916 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4917 (lisptagsfiles4, TAGS): Use relative file names.
4918 (TAGS-LISP): Remove.
4919 (maintainer-clean): No more TAGS-LISP file.
4920
b0b9e592
GM
4921 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4922 (lisptagsfiles4): Use absolute filenames again.
4923 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4924 Remove all *loaddefs files, not just the first. Remove esh-groups.
4925 (maintainer-clean): Delete TAGS, TAGS-LISP.
4926
d1c0ea6a
BB
49272013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4928
e61845c1
SM
4929 * emacs-lisp/package.el (package-version-join):
4930 Recognize snapshot versions.
d1c0ea6a 4931
684d71c6
BB
49322013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4933
4934 * subr.el (version-regexp-alist): Add support for snapshot versions.
4935
3d42b968
DG
49362013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4937
e61845c1
SM
4938 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4939 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4940 skip over our direct parent if it's an assignment token..
4941 (ruby-smie-rules): Use it.
4942
7ffd3721
DG
49432013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4944
8449dd1f 4945 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4946 unconditionally. Remove now unnecessary forward declarations.
4947 Remove XEmacs-specific setup.
4948 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4949 (ruby-font-lock-syntactic-keywords)
4950 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4951 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4952 (ruby-here-doc-end-syntax): Remove.
4953 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4954 defined as function.
4955
a3996a2e
BB
49562013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4957
4958 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4959
6f9260e8
BB
49602013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4961
4962 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4963 table and abbrev table, `define-derived-mode' does that for us
4964 anyway.
4965
6014de84
GM
49662013-11-01 Glenn Morris <rgm@gnu.org>
4967
4968 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4969 files is atomic for some time, so no parallel compilation issues).
4970
3c334c14
JD
49712013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4972
4973 * faces.el (face-x-resources): Add :distant-foreground.
4974 (region): Use :distant-foreground for gtk and ns.
4975
9bc236c8
TH
49762013-11-01 Tassilo Horn <tsdh@gnu.org>
4977
5246583b 4978 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4979 BibTeX.
4980 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4981 (reftex-locate-bibliography-files): Us it.
4982
d14c81ee
CB
49832013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4984
0e7690de
CB
4985 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4986 allow comments in pbm files.
4987
d14c81ee
CB
4988 * term/w32-win.el (dynamic-library-alist): Support newer versions
4989 of libjpeg starting with v7: look only for the DLL from the
4990 version against which Emacs was built.
ac1bf374 4991 Support versions of libpng beyond 1.4.x.
019c8218 4992 Support libtiff v4.x.
d14c81ee 4993
983d0df5
BB
49942013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4995
4996 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4997 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4998 Add property :safe.
4999 (ruby-deep-arglist): Add property :type.
5000
47f58d85
GM
50012013-10-31 Glenn Morris <rgm@gnu.org>
5002
5003 * Makefile.in (custom-deps, finder-data): No need to setq the target
5004 variables, we are in the right directory and the defaults work fine.
5005
4f85b479
GM
50062013-10-30 Glenn Morris <rgm@gnu.org>
5007
ca7dd4cd
GM
5008 * Makefile.in (autoloads): Do not use abs_lisp.
5009
4f85b479
GM
5010 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5011 `newline' does not respect `standard-output', so use `princ'.
5012
cf59e41c
AA
50132013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5014
5015 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5016 * buff-menu.el (Buffer-menu--unmark): New function.
5017 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5018
74cf04fb
GM
50192013-10-30 Glenn Morris <rgm@gnu.org>
5020
b040b60e
GM
5021 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5022
f53d3815
GM
5023 * emacs-lisp/package.el (lm-homepage): Declare.
5024
5413d873
GM
5025 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5026 Fix doc typos.
5027
cecedb36
GM
5028 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5029
74cf04fb
GM
5030 * Makefile.in (finder-data, autoloads, update-subdirs)
5031 (compile-main, compile-clean, compile-always, bootstrap-clean):
5032 Check return value of cd.
5033 (compile-calc): Remove.
5034
195ee2f0
SM
50352013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5036
ae4002ce
SM
5037 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5038
5039 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5040 (byte-compile-and-folded): New function.
5041 (=, <, >, <=, >=): Use it.
5042
5043 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5044 (path-separator, null-device, buffer-file-coding-system)
5045 (lpr-headers-switches): Check system-type before modifying them.
5046 (find-buffer-file-type-coding-system): Mark obsolete.
5047 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5048 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5049 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5050 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5051 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5052 (w32-direct-print-region-helper, w32-direct-print-region-function)
5053 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5054 * startup.el (normal-top-level-add-subdirs-to-load-path):
5055 * ps-print.el (ps-print-region-function):
5056 * lpr.el (print-region-function): Use new name.
5057
53b39e89
SM
5058 * subr.el (custom-declare-variable-early): Remove function.
5059 (custom-declare-variable-list): Remove var.
5060 (error, user-error): Remove `while' loop.
5061 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5062 (user-emacs-directory-warning, locate-user-emacs-file):
5063 Move to files.el.
5064 * simple.el (read-quoted-char-radix, read-quoted-char):
5065 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5066 Move from subr.el.
5067 * custom.el (custom-declare-variable-list): Don't process
5068 custom-declare-variable-list.
5069
195ee2f0
SM
5070 * progmodes/python.el (python-shell-get-buffer): New function.
5071 (python-shell-get-process): Use it.
5072 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5073 Python which encoding was used. Don't split-string since we only care
5074 about the first line. Return the temp-file, if applicable.
5075 (python-shell-send-region): Tell compile.el how to turn locations in
5076 the temp-file into locations in the source buffer.
5077
7e3561ee
SM
50782013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5079
4c9797cb
SM
5080 * subr.el (undefined): Add missing behavior from the C code for
5081 unbound keys.
5082
3472b6c6
SM
5083 * rect.el: Use lexical-binding. Add new rectangular region support.
5084 (rectangle-mark): New command.
5085 (rectangle--region): New var.
5086 (deactivate-mark-hook): Reset rectangle--region.
5087 (rectangle--extract-region, rectangle--insert-for-yank)
5088 (rectangle--highlight-for-redisplay)
5089 (rectangle--unhighlight-for-redisplay): New functions.
5090 (region-extract-function, redisplay-unhighlight-region-function)
5091 (redisplay-highlight-region-function): Use them to handle
5092 rectangular region.
5093 * simple.el (region-extract-function): New var.
5094 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5095 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5096 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5097 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5098 (redisplay-unhighlight-region-function)
5099 (redisplay-highlight-region-function): New vars.
5100 (redisplay--update-region-highlight): New function.
5101 (pre-redisplay-function): Use it.
5102 (exchange-point-and-mark): Don't deactivate the mark before
5103 reactivate-it anyway.
5104 * comint.el (comint-kill-region): Remove yank-handler argument.
5105 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5106 (delete-char): Remove property, since it's now part of their
5107 default behavior.
5108 (self-insert-iso): Remove property since this command doesn't exist.
5109
7e3561ee
SM
5110 * emacs-lisp/package.el (package--download-one-archive)
5111 (describe-package-1): Don't query the user about final newline.
5112
b9bef71f
DC
51132013-10-29 Daniel Colascione <dancol@dancol.org>
5114
5115 * net/tramp.el (tramp-methods): Document new functionality.
5116 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5117 tramp-hostname-checker if method provides one instead of scanning
5118 argument list for "%h" to decide hostname acceptability.
5119
4efc33f0
MA
51202013-10-28 Michael Albinus <michael.albinus@gmx.de>
5121
5122 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5123 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5124 Handle COPY-CONTENTS. (Bug#15737)
5125
ed42a877
DU
51262013-10-28 Daiki Ueno <ueno@gnu.org>
5127
5128 * epa-file.el
7e3561ee
SM
5129 (epa-file-cache-passphrase-for-symmetric-encryption):
5130 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5131
18c9f8a2
XF
51322013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5133
35e951cd 5134 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5135
b1e8e010
AM
51362013-10-27 Alan Mackenzie <acm@muc.de>
5137
5138 Indent statements in macros following "##" correctly.
7e3561ee
SM
5139 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5140 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5141
73d40d1e 51422013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5143
5144 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5145
c8c605ac
DG
51462013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5147
5148 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5149 after `=' is probably a new expression.
5150
ca7e59d4
RS
51512013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5152
5153 * man.el (man-imenu-title): New option.
5154 (Man-mode-map): Add menu. (Bug#15722)
5155 (Man-mode): Add imenu to menu.
5156
bae91342
DG
51572013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5158
5159 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5160 specific in what the first arg can be: a non-keyword word,
5161 string/regexp/percent literal opener, opening paren, or unary
5162 operator followed directly by word.
5163
eb89dc14
SM
51642013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5167 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5168 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5169 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5170 Remove vars, they do not apply any more.
5171 (prolog-mode-abbrev-table): Remove redundant declaration.
5172 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5173 (prolog-use-smie): Remove.
5174 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5175 supported by prolog-electric-if-then-else-flag.
5176 (prolog-mode-variables, prolog-menu): Use setq-local.
5177 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5178 Remove binding to `Backspace' since this key doesn't exist anyway.
5179 Remove bindings for electric self-inserting keys.
5180 (prog-mode): Assume it's defined.
5181 (prolog-post-self-insert): New function.
5182 (prolog-mode): Use it.
5183 (prolog-indent-line, prolog-indent-level)
5184 (prolog-find-indent-of-matching-paren)
5185 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5186 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5187 (prolog-goto-next-paren, prolog-in-string-or-comment)
5188 (prolog-tokenize, prolog-inside-mline-comment)
5189 (prolog-find-start-of-mline-comment): Remove functions.
5190 (prolog-find-unmatched-paren, prolog-clause-end)
5191 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5192 (prolog-electric--if-then-else): Rename from
5193 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5194 (prolog-tokenize-searchkey): Remove const.
5195 (prolog-clause-info): Use forward-sexp.
5196 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5197 (prolog-electric-if-then-else): Remove commands.
5198 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5199 for use in post-self-insert-hook.
5200 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5201 for use in post-self-insert-hook.
5202 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5203 for use in post-self-insert-hook.
5204 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5205 adapt it for use in post-self-insert-hook.
5206
3dab0a83
MA
52072013-10-25 Michael Albinus <michael.albinus@gmx.de>
5208
5209 * emacs-lisp/ert.el (ert-run-tests-interactively):
5210 Use `completing-read'. (Bug#9756)
5211
fbfd0e1d
EZ
52122013-10-25 Eli Zaretskii <eliz@gnu.org>
5213
5214 * simple.el (line-move): Call line-move-1 instead of
5215 line-move-visual when the current window hscroll is zero, but
5216 temporary-goal-column indicates we will need to hscroll as result
5217 of the movement. (Bug#15712)
5218
963ce636
DG
52192013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5220
5221 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5222 capitalization. Use :visible instead of :active.
5223 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5224 commands that are used with SMIE.
5225 (ruby-do-end-to-brace): Insert space after `{'.
5226
a0be396a
JA
52272013-10-25 John Anthony <john@jo.hnanthony.com>
5228
f73754c9
JA
5229 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5230
5231 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5232
f5bf77df
GM
52332013-10-25 Glenn Morris <rgm@gnu.org>
5234
5235 * vc/vc.el (vc-print-log): Don't use a working revision unless
5236 one was explicitly specified. (Bug#15322)
5237
37241f62
SM
52382013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * subr.el (add-to-list): Preserve return value in compiler-macro
5241 (bug#15692).
5242
6408a65d
RS
52432013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5244
5245 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5246 result. Ask user to retry using '-all' flag. (Bug#15701)
5247
71e3276b
SM
52482013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5249
5250 * emacs-lisp/smie.el: New smie-config system.
5251 (smie-config): New defcustom.
5252 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5253 (smie-config-guess, smie-config-save): New commands.
5254 (smie-config--mode-local, smie-config--buffer-local)
5255 (smie-config--trace, smie-config--modefuns): New vars.
5256 (smie-config--advice, smie-config--mode-hook)
5257 (smie-config--setter, smie-config-local, smie-config--get-trace)
5258 (smie-config--guess-value, smie-config--guess): New functions.
5259 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5260 text properties. Treat "string fence" syntax like string syntax.
5261
5262 * progmodes/sh-script.el (sh-use-smie): Change default.
5263 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5264 (sh-var-value): Simplify by CSE.
5265 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5266 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5267 is used.
5268 (sh-guess-basic-offset): Use cl-incf.
5269 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5270
60db713e
HE
52712013-10-24 Helmut Eller <eller.helmut@gmail.com>
5272
5273 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5274 (bug#15699).
5275
8b251df6
GM
52762013-10-24 Glenn Morris <rgm@gnu.org>
5277
5278 * Makefile.in (abs_top_srcdir): Remove.
5279 (update-subdirs): Use relative path to update-subdirs.
5280
6be0e22b
EZ
52812013-10-24 Eli Zaretskii <eliz@gnu.org>
5282
5283 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5284 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5285 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5286 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5287
50b5b857
MA
52882013-10-24 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5291 (ert-test-skipped): New error.
5292 (ert-skip, ert-stats-skipped): New defuns.
5293 (ert--skip-unless): New macro.
5294 (ert-test-skipped): New struct.
5295 (ert--run-test-debugger, ert-test-result-type-p)
5296 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5297 (ert--stats-set-test-and-result, ert-char-for-test-result)
5298 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5299 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5300 Handle skipped tests. (Bug#9803)
50b5b857 5301
6f317c2f
GM
53022013-10-24 Glenn Morris <rgm@gnu.org>
5303
e43817c1
GM
5304 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5305
6f317c2f
GM
5306 * Makefile.in (abs_top_srcdir): New, set by configure.
5307 (update-subdirs): Correct build-aux location.
5308
369bbf71
DG
53092013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5310
8297b2cf
DG
5311 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5312 value, whether we could auto-deduce `backend', or not.
5313
369bbf71
DG
5314 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5315 with parameters" example. Simplify the "is it block or is it
5316 hash" check, but also make it more thorough.
5317
d5f1282f
MF
53182013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5319
5320 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5321
bc4aaa31
SM
53222013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5323
03d44565
SM
5324 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5325 { if it is hanging.
5326
bc4aaa31
SM
5327 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5328 :before ";".
5329
f493ff19
JB
53302013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5331
5332 * progmodes/compile.el (compilation-directory-matcher)
5333 (compilation-page-delimiter):
5334 Support GNU Make-4.0 directory quoting. (Bug#15678)
5335
c744a3b9
LL
53362013-10-23 Leo Liu <sdl.web@gmail.com>
5337
5338 * ido.el (ido-tidy): Handle read-only text.
5339
b8e3b0a9
GM
53402013-10-23 Glenn Morris <rgm@gnu.org>
5341
5342 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5343 (emacs, compile, compile-always):
5344 Quote entities that might contain whitespace.
5345 (custom-deps, finder-data, autoloads): Use abs_lisp.
5346 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5347 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5348 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5349
ee4282cd
DG
53502013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5351
bc4aaa31
SM
5352 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5353 Use `following-char'.
7790a270 5354
ee4282cd 53552013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5356
5357 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5358 * progmodes/ruby-mode.el (ruby-smie-rules):
5359 Remove corresponding workaround. Fix indentation rule of ";" so it
5360 also applies when ";" is the parent.
5361
d40a46d7
XF
53622013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5363
5364 * frame.el (display-screens, display-pixel-height)
5365 (display-pixel-width, display-mm-width, display-backing-store)
5366 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5367 (display-visual-class, display-monitor-attributes-list):
5368 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5369
a0f143c9
MG
53702013-10-22 Michael Gauland <mikelygee@amuri.net>
5371
5372 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5373 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5374
18cacc39
DG
53752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5376
5377 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5378 TODO. Add "." after " @ ".
5379 (ruby-smie--at-dot-call): New function. Checks if point at method
5380 call with explicit target.
5381 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5382 to the method name tokens when it precedes them.
5383 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5384 (ruby-smie-rules): Add rule for indentation before and after "."
5385 token.
5386
df74c4be
SM
53872013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5388
c6dab55f
SM
5389 * textmodes/remember.el (remember-diary-extract-entries):
5390 Avoid add-to-list.
5391
df74c4be
SM
5392 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5393 an instruction.
5394
8c1ae481
DG
53952013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5396
e9dc713d
JB
5397 * progmodes/ruby-mode.el (ruby-smie-grammar):
5398 Add (almost) all infix operators.
cfef16c0
DG
5399 (ruby-smie--implicit-semi-p): Add new operator chars.
5400
8c1ae481
DG
5401 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5402 `smie-down-list'.
5403 (ruby-smie--args-separator-p): Check that there's no newline
5404 between method call and its arguments.
5405
87756ca9
AM
54062013-10-20 Alan Mackenzie <acm@muc.de>
5407
5408 Allow comma separated lists after Java "implements".
5409
df74c4be
SM
5410 * progmodes/cc-engine.el (c-backward-over-enum-header):
5411 Parse commas.
87756ca9
AM
5412 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5413 from a "disallowed" list in enum fontification.
5414
c25f8957
JB
54152013-10-20 Johan Bockgård <bojohan@gnu.org>
5416
df74c4be 5417 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5418
c25f8957
JB
5419 * progmodes/verilog-mode.el (verilog-mode): Don't set
5420 comment-indent-function globally.
5421
aca5fcdc
JD
54222013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5423
5f161884
JD
5424 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5425 Move Info menu item creation to ns-win.el.
5426
5427 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5428 in menu bar.
5429
a6c4680a 5430 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5431
5432 * term/ns-win.el (ns-initialize-window-system): ... to here.
5433
914b7f98
SM
54342013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5435
5436 * simple.el (newline): Only run post-self-insert-hook when
5437 called interactively.
5438
846ffe77
JB
54392013-10-19 Johan Bockgård <bojohan@gnu.org>
5440
5441 * icomplete.el (icomplete-with-completion-tables): Add :version.
5442
033f22dd
AM
54432013-10-19 Alan Mackenzie <acm@muc.de>
5444
5445 Fix fontification bugs with constructors and const.
5446
5447 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5448 CASE 2) Remove the check for the absence of a suffix construct
5449 after a function declaration with only types (no identifiers) in
5450 the parentheses. Also, accept a function declaration with just a
5451 type inside the parentheses, if this type can be positively
5452 recognised as such, or if a prefix keyword like "explicit" nails
5453 down the construct as a declaration.
5454
58ce0cfc
EZ
54552013-10-19 Eli Zaretskii <eliz@gnu.org>
5456
5457 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5458 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5459 the problem whereby selecting a menu item that leads to a
5460 minibuffer prompt moves the cursor out of the minibuffer window,
5461 making it hard to type at the prompt. Suggested by Stefan Monnier
5462 <monnier@iro.umontreal.ca>.
5463
50e28e7d
JD
54642013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5465
5466 * menu-bar.el: Don't make Services menu.
5467
7deed4bf
RS
54682013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5469
5470 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5471 (ffap-alist): Use ffap-c++-mode for c++-mode.
5472 (ffap-c++-path): New variable.
5473 (ffap-c++-mode): New function.
5474
7bcb455b
JVJ
54752013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5476
5477 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5478
f0ff1cd5
MA
54792013-10-18 Michael Albinus <michael.albinus@gmx.de>
5480
5481 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5482 introduced on 2013-09-08, which results in an infinite loop
5483 requesting a password.
5484
d64da4b7
GM
54852013-10-18 Glenn Morris <rgm@gnu.org>
5486
5487 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5488
ea89ff08
WS
54892013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5490
5491 Sync with upstream verilog-mode revision 1a6ecec7.
5492 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5493 (verilog-mode-release-date): Remove.
5494 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5495 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5496 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5497 (verilog-auto-tieoff-ignore-regexp)
5498 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5499 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5500 (verilog-signals-with, verilog-dir-cache-preserving)
5501 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5502 Doc fixes.
5503 (verilog-case-fold): New option, to control case folding in
5504 regexp searches, bug597.
5505 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5506 (verilog-string-match-fold, verilog-in-paren-count)
5507 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5508 (verilog-at-close-struct-p): New functions.
5509 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5510 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5511 (verilog-leap-to-case-head): Handle "unique0" case.
5512 (verilog-in-constraint-re): New constant.
5513 (verilog-keywords, verilog-type-font-keywords):
5514 Add some SystemVerilog 1800-2012 keywords.
5515 (verilog-label-be): Remove unimplemented argument, bug669.
5516 (verilog-batch-execute-func): When batch expanding clear
5517 create-lockfiles to prevent spurious user locks when a file ends
5518 up not changing.
5519 (verilog-calculate-indent, verilog-calc-1)
5520 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5521 (verilog-do-indent): Fix indentation of nested constraints
5522 and structures.
5523 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5524 (verilog-auto-inst-param): Use verilog-string-match-fold.
5525 (verilog-read-inst-module-matcher):
5526 Fix AUTOINST on gate primitives with #1.
5527 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5528 Reads all user-defined typed variables.
5529 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5530 (verilog-signals-matching-regexp)
5531 (verilog-signals-not-matching-regexp, verilog-auto):
5532 Respect verilog-case-fold.
5533 (verilog-diff-report): Fix line count.
5534 (verilog-auto-assign-modport): Remove unused local `modi'.
5535 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5536 better handle multidimensional arrays.
5537 Fix packed array ports misadding bit index in AUTOINST, bug637.
5538 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5539 to not double-declare existing outputs and inputs, respectively.
5540 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5541 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5542 (verilog-sk-uvm-component): New skeleton.
5543 (verilog-submit-bug-report): Add verilog-case-fold,
5544 remove verilog-mode-release-date.
5545
ef566920
BR
55462013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5547
a12bf61e 5548 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5549 as before.
5550
29df8a0b
RT
55512013-10-18 Reuben Thomas <rrt@sc3d.org>
5552
e0eb0550 5553 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5554 remember buffers (bug#13566).
5555
04a19a79
DC
55562013-10-18 Daniel Colascione <dancol@dancol.org>
5557
5558 When evaluating forms in ielm, direct standard output to ielm
5559 buffer. Add new ielm-return-for-effect command. Remove trailing
5560 whitespace throughout.
5561
5562 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5563 (ielm-return-for-effect): New command.
5564 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5565 (ielm-eval-input): Accept optional `for-effect' parameter.
5566 Bind `standard-output' to stream we create using
04a19a79
DC
5567 `ielm-standard-output-impl'. Suppress printing result when
5568 `for-effect'.
5569 (ielm-standard-output-impl): New function.
5570 (inferior-emacs-lisp-mode): Explain new features in documentation.
5571
4c1f03ef
MA
55722013-10-17 Michael Albinus <michael.albinus@gmx.de>
5573
5574 Code cleanup.
5575
5576 * net/tramp.el (tramp-debug-message): Do not check for connection
5577 buffer.
5578 (tramp-message): Use "vector" connection property.
5579
5580 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5581 (tramp-equal-remote, tramp-eshell-directory-change)
5582 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5583 (tramp-adb-handle-rename-file)
5584 * net/tramp-cmds.el (tramp-list-remote-buffers)
5585 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5586 * net/tramp-compat.el (tramp-compat-process-running-p)
5587 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5588 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5589 (tramp-gvfs-handle-rename-file)
5590 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5591 (tramp-set-file-uid-gid)
5592 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5593 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5594 of `file-remote-p'.
5595
5596 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5597 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5598 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5599 (tramp-gw-open-network-stream): Suppress unrelated traces.
5600
5601 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5602 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5603 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5604 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5605 connection property.
5606
5607 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5608 persistency file.
4c1f03ef
MA
5609
5610 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5611 Refactor common code. Improve debug message.
5612 (tramp-maybe-open-connection)
5613 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5614 connection buffer too early.
5615
5616 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5617 from `tramp-smb-actions-with-acl'.
5618 (tramp-smb-actions-set-acl): New defconst.
5619 (tramp-smb-handle-copy-directory)
5620 (tramp-smb-action-get-acl): New defun, renamed from
5621 `tramp-smb-action-with-acl'.
5622 (tramp-smb-action-set-acl): New defun.
5623 (tramp-smb-handle-set-file-acl): Rewrite.
5624
642eb8b6
GM
56252013-10-17 Glenn Morris <rgm@gnu.org>
5626
5627 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5628
85527ff3
SM
56292013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5630
921c1d62
SM
5631 * skeleton.el (skeleton-newline): Remove.
5632 (skeleton-internal-1): Use (insert "\n") instead.
5633
e333fb10
SM
5634 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5635 let-bindings.
5636
85527ff3
SM
5637 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5638 forward-sexp-function while we redo its job (bug#15613).
5639
c8722a97
JB
56402013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5641
5642 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5643 represented by lists.
5644
7a550bbb
GM
56452013-10-16 Glenn Morris <rgm@gnu.org>
5646
5647 * tmm.el (tmm--history): New dynamic variable.
5648 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5649
f19da8ad
MA
56502013-10-16 Michael Albinus <michael.albinus@gmx.de>
5651
5652 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5653 (tramp-smb-errors): Add error messages.
5654 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5655 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5656 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5657 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5658 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5659 (tramp-smb-get-stat-capability): Fix tests.
5660
a24b9961
DK
56612013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5662
5663 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5664 (bug#15580).
5665
62ad85e6
GM
56662013-10-16 Glenn Morris <rgm@gnu.org>
5667
0283d6b0
GM
5668 * ansi-color.el (ansi-color-drop-regexp):
5669 Add 1J, 1K, 2K. (Bug#15617)
5670
012e2f9f
GM
5671 * files.el (hack-local-variables--warned-lexical): New.
5672 (hack-local-variables):
5673 Warn about misplaced lexical-binding. (Bug#15616)
5674
62ad85e6
GM
5675 * net/eww.el (eww-render): Always set eww-current-url,
5676 and update header line. (Bug#15622)
5677 (eww-display-html): ... Rather than just doing it here.
5678
6456c0ea
EZ
56792013-10-15 Eli Zaretskii <eliz@gnu.org>
5680
5681 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5682 menu navigations commands.
5683
c2de5588
DK
56842013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5685
5686 * progmodes/subword.el (subword-capitalize): Be careful when
5687 the search for [[:alpha:]] fails (bug#15580).
5688
ccd4a783
EZ
56892013-10-14 Eli Zaretskii <eliz@gnu.org>
5690
5691 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5692 to commands that scroll the menu.
5693
1eda1d8d
DG
56942013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5695
c2de5588
DK
5696 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5697 Handle methods ending with `?' and `!'.
1eda1d8d 5698
e70181b8
AM
56992013-10-14 Akinori MUSHA <knu@iDaemons.org>
5700
5701 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5702 `japanese-cp932' to `cp932' to fix the problem where saving a
5703 source file written in Shift_JIS twice would end up having
5704 `coding: japanese-cp932' which Ruby could not recognize.
5705 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5706 in `ruby-encoding-map'.
5707 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5708 doesn't need to be explicitly declared in magic comment.
5709 (ruby-encoding-map): Add type declaration for better customize UI.
5710
9148ee92
GM
57112013-10-13 Glenn Morris <rgm@gnu.org>
5712
a5d38e34
GM
5713 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5714 Occur buffers are read-only. http://bugs.debian.org/720775
5715
9148ee92
GM
5716 * emacs-lisp/authors.el (authors-fixed-entries):
5717 Comment out old alpha stuff.
5718
a9ba094b
DG
57192013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5720
5721 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5722 to `after-save-hook' instead of `before-save-hook'.
5723 (ruby-mode-set-encoding): Use the value of coding system used to
5724 write the file. Call `basic-save-buffer-1' after modifying the
5725 buffer.
5726
7a068717
AM
57272013-10-13 Alan Mackenzie <acm@muc.de>
5728
5729 Fix indentation/fontification of Java enum with
5730 "implements"/generic.
5731
c2de5588
DK
5732 * progmodes/cc-engine.el (c-backward-over-enum-header):
5733 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
5734 (c-inside-bracelist-p): Uses new function above.
5735 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5736 function above.
5737 (c-font-lock-enum-tail): Uses new function above.
5738
85b64f02
KH
57392013-10-13 Kenichi Handa <handa@gnu.org>
5740
5741 * international/mule-cmds.el (select-safe-coding-system): Remove a
5742 superfluous condition in chekcing whether a coding system is safe
5743 or not.
5744
fc7f501b
OK
57452013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5746
5747 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5748
fdcb2049
AP
57492013-10-13 Andreas Politz <politza@hochschule-trier.de>
5750
5751 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5752
8c106d17
GM
57532013-10-13 Glenn Morris <rgm@gnu.org>
5754
feab892d
GM
5755 * menu-bar.el (menu-bar-update-buffers):
5756 Unify Buffers menu prompt string. (Bug#15576)
5757
b22d0686
GM
5758 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5759
8c106d17
GM
5760 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5761 Add some entries.
5762 (authors-fixed-entries): Use accented form of name.
5763
1b12c797
SM
57642013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5765
650fa7bf 5766 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5767 method calls (bug#15594).
650fa7bf
SM
5768 (ruby-smie--args-separator-p): New function.
5769 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5770 recognize paren-free method calls.
5771
1b12c797
SM
5772 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5773 internals of universal-argument.
5774
029619c8
EZ
57752013-10-11 Eli Zaretskii <eliz@gnu.org>
5776
5777 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5778 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5779 dropped menu on second mouse click on the menu bar.
029619c8 5780
dd070019
SM
57812013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5784 (explicit-shell-file-name): Declare.
5785 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5786 (sh-completion-at-point-function): New function.
5787 (sh-mode): Use it.
5788 (sh-smie--keyword-p): Remove unused argument.
5789 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5790 vars.
5791 (sh-set-shell): Always setup SMIE, even if we use the
5792 old indentation code.
5793
0922b826
DG
57942013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5795
b68e2926
DG
5796 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5797 cases of ? and =.
5798 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5799 predicate would return nil are almost non-existent.
5800 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5801
0922b826
DG
5802 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5803 cache also after commands that modify the buffer but don't move
5804 point.
5805
ee041f2d
SM
58062013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * env.el (substitute-env-in-file-name): New function.
5809 (substitute-env-vars): Extend the meaning of the optional arg.
5810
a5dab159
EZ
58112013-10-10 Eli Zaretskii <eliz@gnu.org>
5812
5813 * term/w32-win.el (dynamic-library-alist): Define separate lists
5814 of GIF DLLs for versions before and after 5.0.0 of giflib.
5815 (Bug#15531)
5816
0449d6cd 58172013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5818
5819 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5820 not locked, use last revision and current source as
5821 defaults. (Bug#15569)
5822
2f6e161e
MY
58232013-10-10 Masatake YAMATO <yamato@redhat.com>
5824
5825 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5826 menu-bar is hidden.
5827
6c8413fc
MR
58282013-10-10 Martin Rudalics <rudalics@gmx.at>
5829
5830 * window.el (pop-to-buffer-same-window): Fix doc-string.
5831 (Bug#15492)
5832
20832de0
SM
58332013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5836
c6e8ae77
AC
58372013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5838
5839 * calendar/icalendar.el (icalendar-import-file):
5840 Fix interactive spec. (Bug#15482)
5841
9db13baf
GM
58422013-10-10 Glenn Morris <rgm@gnu.org>
5843
9271e90e
GM
5844 * desktop.el (desktop-save): Default to saving in .emacs.d,
5845 since PWD is no longer in desktop-path by default. (Bug#15319)
5846
9db13baf
GM
5847 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5848 now that text mode has a menu with the same entry.
5849 (menu-bar-text-mode-auto-fill): Remove now unused func.
5850 * textmodes/text-mode.el (text-mode-map):
5851 Use auto-fill help text from menu-bar.el.
5852
a0be396a 58532013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5854
5855 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5856
2edcd3c7
JL
58572013-10-09 Juri Linkov <juri@jurta.org>
5858
5859 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5860 instead of this-command-keys. Add universal-argument-more and
5861 universal-argument-minus to the list of prefix commands. (Bug#15568)
5862
574411d0
GM
58632013-10-09 Glenn Morris <rgm@gnu.org>
5864
14afa541
GM
5865 * vc/vc-svn.el (vc-svn-create-repo):
5866 Expand paths in file://... url. (Bug#15446)
5867
574411d0
GM
5868 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5869 Add some entries.
5870 (authors): Remove unused local variables.
5871
79804536
SM
58722013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * profiler.el: Create a more coherent calltree from partial backtraces.
5875 (profiler-format): Hide the tail with `invisible' so that C-s can still
5876 find the hidden elements.
5877 (profiler-calltree-depth): Don't recurse so enthusiastically.
5878 (profiler-function-equal): New hash-table-test.
5879 (profiler-calltree-build-unified): New function.
5880 (profiler-calltree-build): Use it.
5881 (profiler-report-make-name-part): Indent the calltree less.
5882 (profiler-report-mode): Add visibility specs for profiler-format.
5883 (profiler-report-expand-entry, profiler-report-toggle-entry):
5884 Expand the whole subtree when provided with a prefix arg.
5885
238150c8
DG
58862013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5887
5888 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5889 iuwu-mod token.
5890 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5891 hanging iuwu-mod token.
5892 (ruby-smie--forward-token): Do not include a dot after a token in
5893 that token.
5894 (ruby-smie--backward-token): Likewise.
5895
b0949cc4
JL
58962013-10-08 Juri Linkov <juri@jurta.org>
5897
5898 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5899 to isearch-other-control-char.
5900 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5901 and isearch-post-command-hook to post-command-hook.
5902 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5903 and isearch-post-command-hook from post-command-hook.
5904 (isearch-unread-key-sequence)
5905 (isearch-reread-key-sequence-naturally)
5906 (isearch-lookup-scroll-key, isearch-other-control-char)
5907 (isearch-other-meta-char): Remove functions.
5908 (isearch-pre-command-hook, isearch-post-command-hook):
5909 New functions based on isearch-other-meta-char rewritten
5910 relying on the new behavior of overriding-terminal-local-map
5911 that does not replace the local keymaps any more. (Bug#15200)
5912
4ed77415
EZ
59132013-10-08 Eli Zaretskii <eliz@gnu.org>
5914
5915 Support menus on text-mode terminals.
5916 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5917 functionality.
5918
5919 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5920
c2de5588
DK
5921 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5922 Move here from mouse.el.
4ed77415
EZ
5923 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5924 and arrow keys.
5925 (tty-menu-navigation-map): New map for TTY menu navigation.
5926
5927 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5928
5929 * frame.el (display-mouse-p): Report text-mode mouse as available
5930 on w32.
5931 (display-popup-menus-p): Report availability if mouse is
5932 available; don't condition on window-system.
5933
5934 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5935 (tty-menu-selected-face): New faces.
5936
b7d5bd82
TL
59372013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5938
06286513
SM
5939 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5940 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5941 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5942 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5943 New constants.
5944 (lisp-mode-variables): New `elisp' argument.
5945 (emacs-lisp-mode): Use it.
5946 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5947 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5948
b7d5bd82
TL
5949 * indent.el: Use lexical-binding.
5950 (indent-region): Add progress reporter.
5951 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5952 last step.
5953 (indent--next-tab-stop): New function to implement this behavior.
5954 (tab-to-tab-stop, move-to-tab-stop): Use it.
5955
59562013-10-08 Teemu Likonen <tlikonen@iki.fi>
5957
5958 * indent.el (indent-rigidly--current-indentation): New function.
5959 (indent-rigidly-map): New var.
5960 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5961
5ea75d23
BG
59622013-10-08 Bastien Guerry <bzg@gnu.org>
5963
f2726fa2 5964 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5965
cc5da1ec
SM
59662013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5967
8ffa1a0b
SM
5968 * progmodes/perl-mode.el: Use lexical-binding.
5969 Remove redundant :group args.
5970 (perl-nochange): Change default to be closer to other major modes's
5971 standard behavior.
5972 (perl-indent-line): Don't consider text on current line as a
5973 valid beginning of function from which to indent.
5974
f2223371
SM
5975 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5976 with more than one argument (bug#15538).
5977
44256060
SM
5978 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5979
cc5da1ec
SM
5980 * vc/pcvs.el: Use lexical-binding.
5981 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5982 environment of `eval'.
5983 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5984 than a list of expressions. Adjust callers.
5985 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5986
0ea1599d
DG
59872013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5988
5989 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5990 case of the dot in a chained method call being on the following line.
0ea1599d 5991
da3e5ebb
SM
59922013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5993
2abb4e65
SM
5994 * electric.el (electric-indent-inhibit): New var.
5995 (electric-indent-post-self-insert-function): Use it.
5996 * progmodes/python.el (python-mode): Set it.
5997
d2e0e795
SM
5998 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5999 open braces.
6000
6001 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6002
bdc6b4c8
SM
6003 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6004 (css-mode): Use electric-indent-chars.
6005
da3e5ebb
SM
6006 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6007 (font-lock-beg, font-lock-end): Move before first use.
6008 (nxml-mode): Use syntax-propertize-function.
6009 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6010 (nxml-extend-after-change-region): Remove.
6011 * nxml/xmltok.el: Use lexical-binding.
6012 (xmltok-save): Use `declare'.
6013 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6014 * nxml/nxml-util.el: Use lexical-binding.
6015 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6016 Use `declare'.
6017 * nxml/nxml-ns.el: Use lexical-binding.
6018 (nxml-ns-save): Use `declare'.
6019 (nxml-ns-prefixes-for): Avoid add-to-list.
6020 * nxml/rng-match.el: Use lexical-binding.
6021 (rng--ipattern): Use cl-defstruct.
6022 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6023 (rng-cons-group-after, rng-subst-group-after)
6024 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6025 Use closures instead of `(lambda...).
6026
f8f91d5d
MA
60272013-10-07 Michael Albinus <michael.albinus@gmx.de>
6028
6029 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6030 of BEG and END.
6031
da3e5ebb
SM
6032 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6033 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6034 (tramp-gvfs-handle-insert-file-contents): Remove function.
6035
da3e5ebb
SM
6036 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6037 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6038
6039 * net/trampver.el: Update release number.
6040
7ccae3b1
SM
60412013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6042
55ca2c0d
SM
6043 * progmodes/compile.el (compilation-parse-errors):
6044 Use compilation--put-prop.
6045 (compilation--ensure-parse): Check compilation-multiline.
6046
731fc3ae
SM
6047 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6048
da3e5ebb
SM
6049 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6050 lexical-binding.
a5833280 6051
2e7ba2c2
SM
6052 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6053
7ccae3b1
SM
6054 * progmodes/ruby-mode.el: Fix recently added tests.
6055 (ruby-smie-grammar): Add - and +.
6056 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6057 (ruby-smie--backward-id): New functions.
6058 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6059 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6060 any more.
6061
85698d63
LL
60622013-10-07 Leo Liu <sdl.web@gmail.com>
6063
6064 * register.el (register-preview-delay)
6065 (register-preview-functions): New variables.
6066 (register-read-with-preview, register-preview)
6067 (register-describe-oneline): New functions.
6068 (point-to-register, window-configuration-to-register)
6069 (frame-configuration-to-register, jump-to-register)
6070 (number-to-register, view-register, insert-register)
6071 (copy-to-register, append-to-register, prepend-to-register)
6072 (copy-rectangle-to-register): Use register-read-with-preview to
6073 read register. (Bug#15525)
6074
3986af6c
DS
60752013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6076
6077 * net/network-stream.el (network-stream-open-starttls): Don't add
6078 --insecure if it's already present, because that gnutls-cli
6079 rejects getting that parameter twice.
6080
5cd9cda9
DG
60812013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6082
6083 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6084 keyword, too.
6085
da9ea6d9
DG
60862013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6087
6088 * newcomment.el (comment-use-global-state): Change default value
6089 to t, mark obsolete (Bug#15251).
6090 (comment-beginning): In addition to `comment-to-syntax', check the
6091 value of `comment-use-global-state'.
6092
34d1a133
SM
60932013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6096 (ruby-comment-column): Follow the global default, by default.
6097 (ruby-smie-grammar): Add assignment syntax.
6098 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6099 open-paren, a comma, or a \.
6100 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6101 and line continuations.
6102 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6103 followed by implicit semi-colons. Add rule for string concatenation
6104 and for indentation at BOB.
27821a89 6105 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6106
6107 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6108 calling next-sexp, since next-token may have skipped chars which
6109 next-sexp doesn't know should be skipped!
6110
6f6ab820
LL
61112013-10-05 Leo Liu <sdl.web@gmail.com>
6112
34d1a133
SM
6113 * progmodes/octave.el (octave-send-region):
6114 Call compilation-forget-errors.
6f6ab820 6115
34ca0f4c
XF
61162013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6117
6118 * vc/vc-svn.el (vc-svn-find-admin-dir):
6119 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6120 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6121 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6122 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6123
a27c1b72
SM
61242013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6127
258ab3bc
SM
61282013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * subr.el (read-passwd): Hide chars even when called within a context
6131 where after-change-functions is disabled (bug#15501).
6132 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6133 until we removed ourself from overriding-terminal-local-map.
6134
939fb29c
LL
61352013-10-04 Leo Liu <sdl.web@gmail.com>
6136
258ab3bc
SM
6137 * progmodes/octave.el (inferior-octave-mode):
6138 Call compilation-forget-errors.
939fb29c 6139
63bd7f35
XF
61402013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6141
6142 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6143
9e6229fa
MA
61442013-10-04 Michael Albinus <michael.albinus@gmx.de>
6145
6146 * net/secrets.el (secrets-create-collection): Add optional
6147 argument ALIAS. Use proper Label keyword. Append ALIAS as
6148 dbus-call-method argument. (Bug#15516)
6149
1dab32a3
LL
61502013-10-04 Leo Liu <sdl.web@gmail.com>
6151
6152 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6153 (inferior-octave-compilation-font-lock-keywords): New variables.
6154 (compilation-error-regexp-alist)
6155 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6156 (inferior-octave-mode): Use compilation-shell-minor-mode.
6157
6cad7ba3
JS
61582013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6159
6160 * minibuffer.el (completion--replace): Be careful that `end' might be
6161 a marker.
6162
acbadd00
DU
61632013-10-03 Daiki Ueno <ueno@gnu.org>
6164
6165 Add support for package signature checking.
6166 * emacs-lisp/package.el (url-http-file-exists-p)
6167 (epg-make-context, epg-context-set-home-directory)
6168 (epg-verify-string, epg-context-result-for)
6169 (epg-signature-status, epg-signature-to-string)
6170 (epg-check-configuration, epg-configuration)
6171 (epg-import-keys-from-file): Declare.
6172 (package-check-signature): New user option.
6173 (package-unsigned-archives): New user option.
6174 (package-desc): Add `signed' field.
6175 (package-load-descriptor): Set `signed' field if .signed file exists.
6176 (package--archive-file-exists-p): New function.
6177 (package--check-signature): New function.
6178 (package-install-from-archive): Check package signature.
6179 (package--download-one-archive): Check archive signature.
6180 (package-delete): Remove .signed file.
6181 (package-import-keyring): New command.
6182 (package-refresh-contents): Import default keyring.
6183 (package-desc-status): Add "unsigned" status.
6184 (describe-package-1, package-menu--print-info)
6185 (package-menu-mark-delete, package-menu--find-upgrades)
6186 (package-menu--status-predicate): Support "unsigned" status.
6187
adf2aa61
SM
61882013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6191 the new compilation scheme using the new byte-codes.
6192
6193 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6194 (byte-pophandler): New byte codes.
6195 (byte-goto-ops): Adjust accordingly.
6196 (byte-compile--use-old-handlers): New var.
6197 (byte-compile-catch): Use new byte codes depending on
6198 byte-compile--use-old-handlers.
6199 (byte-compile-condition-case--old): Rename from
6200 byte-compile-condition-case.
6201 (byte-compile-condition-case--new): New function.
6202 (byte-compile-condition-case): New function that dispatches depending
6203 on byte-compile--use-old-handlers.
6204 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6205 when we can.
6206
6207 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6208 Optimize under `condition-case' and `catch' if
6209 byte-compile--use-old-handlers is nil.
6210 (disassemble-offset): Handle new bytecodes.
6211
328a8179
SM
62122013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6213
6214 * subr.el (error): Use `declare'.
6215 (decode-char, encode-char): Use advertised-calling-convention instead
6216 of the docstring to discourage use of the `restriction' arg.
6217
15a1e936
DU
62182013-10-03 Daiki Ueno <ueno@gnu.org>
6219
6220 * epg.el (epg-verify-file): Add a comment saying that it does not
6221 notify verification error as a return value nor a signal.
6222 (epg-verify-string): Ditto.
6223
376f862a
KR
62242013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6225
6226 * progmodes/compile.el (compilation-start): Try globbing the arg to
6227 `cd' (bug#15417).
6228
a2f93a5f
MA
62292013-10-02 Michael Albinus <michael.albinus@gmx.de>
6230
6231 Sync with Tramp 2.2.8.
6232
6233 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6234 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6235 * net/trampver.el: Update release number.
6236
0daa0804
JD
62372013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6238
6239 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6240 and default-process-coding-system for darwin only.
6241
abd1ae34
SM
62422013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6245
be4e325d
MH
62462013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6247
6248 * vc/vc-git.el (vc-git-grep): Disable pager.
6249
e9155c4a
DG
62502013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6251
494e898b
DG
6252 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6253 Use :url instead of :homepage, as per
6254 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6255
e9155c4a
DG
6256 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6257 non-nil, use `syntax-ppss' (Bug#15251).
6258
481a8e0f
RS
62592013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6260
be4e325d
MH
6261 * progmodes/octave.el (inferior-octave-startup-file):
6262 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6263
056453c6
DG
62642013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6265
be4e325d
MH
6266 * emacs-lisp/package.el (package-desc-from-define):
6267 Accept additional arguments as plist, convert them to an alist and store
6268 them in the `extras' slot.
056453c6
DG
6269 (package-generate-description-file): Convert extras alist back to
6270 plist and append to the `define-package' form arguments.
6271 (package--alist-to-plist): New function.
6272 (package--ac-desc): Add `extras' slot.
6273 (package--add-to-archive-contents): Check if the archive-contents
6274 vector is long enough, and if it is, pass its `extras' slot value
6275 to `package-desc-create'.
6276 (package-buffer-info): Call `lm-homepage', pass the returned value
6277 to `package-desc-from-define'.
6278 (describe-package-1): Render the homepage button (Bug#13291).
6279
be4e325d
MH
6280 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6281 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6282
832966e5
JD
62832013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6284
6285 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6286 and default-process-coding-system to utf-8-unix (Bug#15402).
6287
6cfe977d
XF
62882013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6289
6290 * subr.el (looking-back): Do not recommend using looking-back.
6291
38de11bd
AM
62922013-09-28 Alan Mackenzie <acm@muc.de>
6293
6294 Fix indentation/fontification of Java enum with "implements".
6295
6296 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6297 regexp which matches "implements", etc., in Java.
6298 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6299 specifier clauses coming after "enum".
6300 * progmodes/cc-fonts.el (c-font-lock-declarations)
6301 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6302 after "enum".
6303
1610938f
JD
63042013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6305
6306 * faces.el (region): Change ns_selection_color to
6307 ns_selection_fg_color, add ns_selection_bg_color.
6308
e090f499
LL
63092013-09-28 Leo Liu <sdl.web@gmail.com>
6310
4d2e94d1
LL
6311 * progmodes/octave.el (inferior-octave-completion-table)
6312 (inferior-octave-completion-at-point): Minor tweaks.
6313
e090f499
LL
6314 * textmodes/ispell.el (ispell-lookup-words): Rename from
6315 lookup-words. (Bug#15460)
6316 (lookup-words): Obsolete.
6317 (ispell-complete-word, ispell-command-loop): All uses changed.
6318
7e138a62
RS
63192013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6320
a12bf61e 6321 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6322 (octave-mode-menu): Add octave-send-buffer.
6323 (octave-send-buffer): New function.
6324
5af5ed08
RS
63252013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6326
a12bf61e 6327 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6328 octave-lookfor.
6329 (octave-mode-menu): Add octave-lookfor.
6330 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6331 octave-lookfor.
6332 (octave-lookfor): New function.
6333
3b7b2692
SM
63342013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6335
35e951cd 6336 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6337 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6338 its convention.
6339 (cl--loop-set-iterator-function): New function.
6340 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6341 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6342 Bind `it' with `let' instead of substituting it with `cl-subst'.
6343 (cl--unused-var-p): New function.
6344 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6345 Eliminate some unused variable warnings (bug#15326).
6346
529fb53f
TH
63472013-09-27 Tassilo Horn <tsdh@gnu.org>
6348
6349 * doc-view.el (doc-view-scale-reset): Rename from
6350 `doc-view-reset-zoom-level'.
6351 (doc-view-scale-adjust): New command.
6352 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6353 `doc-view-scale-adjust'.
6354
0550c95a
TH
63552013-09-26 Tassilo Horn <tsdh@gnu.org>
6356
6357 * doc-view.el (doc-view-reset-zoom-level): New command.
6358 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6359 zoom commands (bug#15466).
6360
6950f152
KH
63612013-09-26 Kenichi Handa <handa@gnu.org>
6362
6363 * international/quail.el (quail-help): Make it not a command.
6364
39587580
LL
63652013-09-26 Leo Liu <sdl.web@gmail.com>
6366
6367 * minibuffer.el (completion-all-sorted-completions): Make args
6368 optional as they are.
6369
00578659
DC
63702013-09-25 Daniel Colascione <dancol@dancol.org>
6371
6372 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6373 specs are and that they're not evaluated.
6374
0c173878
SS
63752013-09-24 Sam Steingold <sds@gnu.org>
6376
6377 * midnight.el (clean-buffer-list-kill-regexps)
6378 (clean-buffer-list-kill-buffer-names): Update for the new Man
6379 buffer naming which includes the object name.
6380
84998447
SM
63812013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6384 (eshell-parse-command, eshell-parse-pipeline): Use it since
6385 eshell-separate-commands requires a dynamic scoped var.
6386 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6387
33215353
LL
63882013-09-23 Leo Liu <sdl.web@gmail.com>
6389
6390 * autoinsert.el (auto-insert-alist): Make the value of
6391 lexical-binding match its file setting.
6392
57b16162
JB
63932013-09-23 Juanma Barranquero <lekktu@gmail.com>
6394
c8af4e67
JB
6395 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6396
57b16162
JB
6397 * autoarg.el (autoarg-kp-digit-argument):
6398 * electric.el (Electric-command-loop):
6399 * kmacro.el (kmacro-step-edit-insert):
6400 Do not set universal-argument-num-events.
6401
7186ba60
LL
64022013-09-22 Leo Liu <sdl.web@gmail.com>
6403
6404 * files.el (interpreter-mode-alist): Add octave.
6405
ece15004
AM
64062013-09-21 Alan Mackenzie <acm@muc.de>
6407
6408 C++: fontify identifier in declaration following "public:" correctly.
6409 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6410 to match "public", etc.
6411 (c-decl-prefix-re): Add ":" into the C++ value.
6412 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6413 bit. Add a check for a ":" preceded by "public", etc.
6414
75d83e22
EZ
64152013-09-21 Eli Zaretskii <eliz@gnu.org>
6416
6417 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6418 recognized by GDB 7.5 and later.
6419
d052d3bd
XF
64202013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6421
6422 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6423
31dca772
R
64242013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * subr.el (internal--call-interactively): New const.
6427 (called-interactively-p): Use it (bug#3984).
6428
98ccf24e
XF
64292013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6430
6431 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6432 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6433 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6434
c39cc7d1
SM
64352013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6438 (eshell-ls-orig-insert-directory): Remove.
6439 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6440 (eshell-ls-use-in-dired): Use advice-add/remove.
6441 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6442 Add `orig-fun' arg for use in :around advice.
6443 Make it check (redundantly) eshell-ls-use-in-dired.
6444
9a0289a2
GM
64452013-09-19 Glenn Morris <rgm@gnu.org>
6446
a2c501b8
GM
6447 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6448
c440407a
GM
6449 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6450
9a0289a2
GM
6451 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6452
85e05915
MA
64532013-09-19 Michael Albinus <michael.albinus@gmx.de>
6454
6455 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6456 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6457 (tramp-get-remote-python): New defuns.
6458 (tramp-get-remote-uid-with-perl)
6459 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6460 contributed by yary <not.com@gmail.com> (tiny change).
6461 (tramp-get-remote-uid-with-python)
6462 (tramp-get-remote-gid-with-python): New defuns. Python code
6463 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6464 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6465
ce503312
GM
64662013-09-19 Glenn Morris <rgm@gnu.org>
6467
f7544773
GM
6468 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6469
72fd2877
GM
6470 * eshell/em-unix.el (eshell-remove-entries):
6471 Rename argument to avoid name-clash with global `top-level'.
6472
336b5a56
GM
6473 * eshell/esh-proc.el (eshell-kill-process-function):
6474 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6475 (eshell-reset-after-proc): Remove unused arg `proc'.
6476
57a3a53d
GM
6477 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6478 (directory-files-and-attributes): Mark unused arg.
6479
3261d4af
GM
6480 * eshell/em-unix.el (eshell-remove-entries):
6481 Remove unused arg `path'. Update callers.
6482
8e51b5d0
GM
6483 * eshell/em-hist.el (eshell-hist-parse-arguments):
6484 Remove unused arg `silent'. Update callers.
6485
ce503312
GM
6486 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6487 Fix (f)boundp mix-up.
6488
6489 * eshell/em-smart.el (eshell-smart-scroll-window)
6490 (eshell-disable-after-change):
336b5a56 6491 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6492
ee3ce8a7
AM
64932013-09-18 Alan Mackenzie <acm@muc.de>
6494
6495 Fix fontification of type when followed by "const".
6496 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6497 "known" types from fontification.
6498
ec9177ba
GM
64992013-09-18 Glenn Morris <rgm@gnu.org>
6500
7bb3e768
GM
6501 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6502 (chart-face-list): Drop Emacsen without display-color-p.
6503
5148da15
GM
6504 * net/eww.el (libxml-parse-html-region): Declare.
6505 (eww-display-html): Explicit error if no libxml2 support.
6506
2f68e157
GM
6507 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6508
9019d095
GM
6509 * image.el (image-type-from-buffer, image-multi-frame-p):
6510 Remove --without-x warning/error.
67645389 6511
5f30349b 6512 * mouse.el (mouse-yank-primary):
45069b2e 6513 * term.el (term-mouse-paste):
5f30349b
GM
6514 Reorder to silence --without-x compilation.
6515
cd8edbbe
GM
6516 * mpc.el (doc-view-mode): Silence --without-x compilation.
6517
8a78544e
GM
6518 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6519 Silence --without-x compilation.
6520
12679bfd
GM
6521 * progmodes/gud.el (gud-find-file, gud-mode):
6522 Silence --without-x compilation.
6523 (tooltip-mode): Declare.
30810a05 6524
f0047cb9
GM
6525 * wdired.el (dired-backup-overwrite): Remove declaration.
6526 (wdired-mode-map): Add doc string.
6527
e740f9d2
GM
6528 * custom.el (x-get-resource): Declare.
6529
92d77c89
GM
6530 * eshell/em-glob.el (ange-cache):
6531 * eshell/em-unix.el (ange-cache): Declare.
6532
76e69577
GM
6533 * faces.el (x-display-list, x-open-connection, x-get-resource):
6534 Declare.
7e58af4b
GM
6535
6536 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6537 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6538 Declare.
76e69577 6539
4bd4c0af 6540 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6541
ffb82dbd
GM
6542 * net/gnutls.el (gnutls-log-level): Declare.
6543
986ed135
GM
6544 * net/shr.el (image-size, image-animate): Declare.
6545
e740f9d2
GM
6546 * simple.el (font-info): Declare.
6547
d2f3e9f8
GM
6548 * subr.el (x-popup-dialog): Declare.
6549
047a1a4c
GM
6550 * term/common-win.el (x-select-enable-primary)
6551 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6552 Declare.
6553
f4a1d572
GM
6554 * term/ns-win.el (x-handle-args): Declare.
6555
e843de77
GM
6556 * term/x-win.el (x-select-enable-clipboard): Declare.
6557
5fa89513
GM
6558 * term/w32-win.el (create-default-fontset): Declare.
6559
38702b5b
GM
6560 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6561 Declare.
6562
e740f9d2
GM
6563 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6564 (fit-frame-to-buffer): Explicit error if --without-x.
6565 (mouse-autoselect-window-select): Silence compiler.
6566
49a053fc
GM
6567 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6568
6569 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6570 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6571 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6572 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6573 Remove unused local variables.
6574
6575 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6576
ec9177ba
GM
6577 * textmodes/two-column.el: Make 2C-split work for --without-x.
6578 (scroll-bar-columns): Autoload.
6579 (top-level): Require fringe when compiling.
6580
9f25cb77
LL
65812013-09-18 Leo Liu <sdl.web@gmail.com>
6582
6583 * subr.el (add-hook): Robustify to handle closure as well.
6584
2b42da98
GM
65852013-09-17 Glenn Morris <rgm@gnu.org>
6586
6587 * simple.el (messages-buffer-mode-map): Unbind "g".
6588
e8b66a6a
SM
65892013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6590
9c0ad4f7
SM
6591 * help-mode.el (help-mode-finish): Use derived-mode-p.
6592 Remove obsolete highlighting.
6593
7a806dfb
SM
6594 * play/life.el (life-mode): Use define-derived-mode. Derive from
6595 special-mode.
6596 (life): Let-bind inhibit-read-only.
6597 (life-setup): Avoid `setq'. Use `life-mode'.
6598
96dbf5a8
SM
6599 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6600 which should not be needed any more.
6601 (package-menu-refresh, package-menu-describe-package): Use user-error.
6602
e8b66a6a
SM
6603 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6604 (eshell-post-rewrite-command-hook): Make obsolete.
6605 (eshell-parse-command): Simplify.
6606 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6607 (eshell--cmd): Declare.
6608 (eshell-parse-pipeline): Remove unused var `final-p'.
6609 Pass a dynvar to eshell-post-rewrite-command-hook.
6610 Implement the new eshell-post-rewrite-command-function.
6611 (eshell-invoke-directly): Remove unused arg `input'.
6612 * eshell/esh-io.el (eshell-io-initialize):
6613 Use eshell-post-rewrite-command-function (bug#15399).
6614 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6615 adjust to new calling convention.
6616 (eshell-create-handles): Rename args to avoid clashing with dynvar
6617 `standard-output'.
6618
90582f05
GM
66192013-09-17 Glenn Morris <rgm@gnu.org>
6620
6621 * simple.el (messages-buffer-mode): New major mode.
6622 (messages-buffer): New function.
6623 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6624 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6625 (ert-run-test): Use `messages-buffer' function.
90582f05 6626 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6627 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6628 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6629
39eb0cb5 66302013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6631
6632 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6633
1d42e5b6 6634 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6635
70568a90
SM
66362013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6637
504a0381
SM
6638 * icomplete.el (icomplete-in-buffer): New var.
6639 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6640 vars and replace them with functions.
6641 (icomplete-minibuffer-setup): Adjust accordingly.
6642 (icomplete--completion-table, icomplete--completion-predicate)
6643 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6644 New functions.
6645 (icomplete-forward-completions, icomplete-backward-completions)
6646 (icomplete-simple-completing-p, icomplete-exhibit)
6647 (icomplete-completions): Use them.
6648 (icomplete--in-region-buffer): New var.
6649 (icomplete--in-region-setup): New function.
6650 (icomplete-mode): Use it.
6651
70568a90
SM
6652 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6653 (bug#15379).
6654 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6655 return args and options.
6656 (eshell-eval-using-options): Use the new return value of
6657 eshell--do-opts to set the options's vars in their scope.
6658 (eshell--set-option): Rename from eshell-set-option.
6659 Add arg `opt-vals'.
6660 (eshell--process-option): Rename from eshell-process-option.
6661 Add arg `opt-vals'.
6662 (eshell--process-args): Use an `opt-vals' alist to store the options's
6663 values during their processing and return them additionally to the
6664 remaining args.
6665
578c21bc
DG
66662013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6667
6668 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6669 continuation character an operator, as far as indentation is
6670 concerned (Bug#15369).
6671
c089653d
MR
66722013-09-15 Martin Rudalics <rudalics@gmx.at>
6673
6674 * window.el (window--state-put-2): Don't process buffer state
6675 when buffer doesn't exist any more (Bug#15382).
6676
1e53bb4b
GM
66772013-09-15 Glenn Morris <rgm@gnu.org>
6678
30753242
GM
6679 * eshell/em-unix.el (eshell/rm):
6680 Make -f ignore missing files. (Bug#15373)
6681
1e53bb4b
GM
6682 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6683 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6684 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6685
0d8863b3
GM
66862013-09-14 Glenn Morris <rgm@gnu.org>
6687
6688 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6689
d3fc6549
GM
66902013-09-13 Glenn Morris <rgm@gnu.org>
6691
6692 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6693 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6694
fcd42c11
DA
66952013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6696
6697 * frame.el (x-focus-frame): Mark as declared in frame.c.
6698
7830899f
SM
66992013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * ls-lisp.el: Use advice-add.
6702 (original-insert-directory): Remove.
6703 (ls-lisp--insert-directory): Rename from insert-directory; add
6704 `orig-fun' argument.
6705 (insert-directory): Advise.
6706
84387cd2
EZ
67072013-09-13 Eli Zaretskii <eliz@gnu.org>
6708
6709 * term.el (term-emulate-terminal): Decode the command string
6710 before passing it to term-command-hook. (Bug#15337)
6711
35ffc6ba
GM
67122013-09-13 Glenn Morris <rgm@gnu.org>
6713
5c3f9bcc
GM
6714 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6715
2ada368a
GM
6716 * eshell/esh-ext.el (eshell-search-path): Declare.
6717
fcef2e13
GM
6718 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6719 Otherwise an error occurs if eshell-dirs module not loaded.
6720
35ffc6ba
GM
6721 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6722
35c3d36e
MA
67232013-09-13 Michael Albinus <michael.albinus@gmx.de>
6724
6725 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6726 `tramp-check-proper-host'. Check for a valid method name.
6727
6728 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6729 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6730 * net/tramp-sh.el (tramp-maybe-open-connection):
6731 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6732
6733 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6734 also for hash values.
6735
ae5e4c48
SM
67362013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6737
379add74
SM
6738 * term/ns-win.el (parameters): Don't declare as dynamic.
6739 (before-make-frame-hook): Don't add ineffective function.
6740
ae5e4c48
SM
6741 * eshell/*.el: Use lexical-binding (bug#15231).
6742
b5623270
KH
67432013-09-12 Kenichi Handa <handa@gnu.org>
6744
ae5e4c48 6745 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 6746
30213927
GM
67472013-09-12 Glenn Morris <rgm@gnu.org>
6748
be94d713 6749 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 6750 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 6751
44915370
GM
6752 * subr.el (do-after-load-evaluation): Also give compiler warnings
6753 when obsolete files are used (except by obsolete files).
6754
a6ae021f
GM
6755 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6756 in the status output, assume `filename' is the first. (Bug#15322)
6757
40e64f0c
GM
6758 * vc/vc.el (vc-deduce-fileset): Doc fix.
6759
16d9f896
GM
6760 * calc/calc-help.el (Info-goto-node):
6761 * progmodes/cperl-mode.el (Info-find-node):
6762 * vc/ediff.el (Info-goto-node): Update declarations.
6763
dea01c6e
GM
6764 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6765
759880bf 6766 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6767 (vc-bzr-pull): Require vc-dispatcher.
6768 * vc/vc-git.el (vc-compilation-mode): Declare.
6769 (vc-git-pull): Require vc-dispatcher.
6770
08d66420
GM
6771 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6772
30b626e9
GM
6773 * progmodes/octave.el (help-button-action): Declare.
6774
8c05cb10
GM
6775 * shell.el (shell-directory-tracker): Output error as a message
6776 rather than just returning it as a string.
6777 (shell-process-pushd): Remove useless use of message.
6778
30213927
GM
6779 * dframe.el (dframe-timer-fn):
6780 * files.el (dir-locals-read-from-file):
6781 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6782 (mpc-format):
6783 * reveal.el (reveal-post-command):
6784 * saveplace.el (load-save-place-alist-from-file):
6785 * shell.el (shell-resync-dirs):
6786 * w32-common-fns.el (x-get-selection-value):
6787 * emacs-lisp/copyright.el (copyright-find-copyright):
6788 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6789 * emulation/tpu-edt.el (tpu-copy-keyfile):
6790 * play/bubbles.el (bubbles--mark-neighbourhood):
6791 * progmodes/executable.el
6792 (executable-make-buffer-file-executable-if-script-p):
6793 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6794
d3b049e6
SM
67952013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6796
170266d0
SM
6797 Cleanup Eshell to rely less on dynamic scoping.
6798 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6799 last-value, and ext-command here. Bind `args' closer to `body'.
6800 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6801 (eshell--args): Declare new dynamic var.
6802 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6803 last-value, and ext-command. Pass `args' to `body'.
6804 (eshell-process-args): Bind eshell--args.
6805 (eshell-set-option): Use eshell--args.
6806 * eshell/eshell.el (eshell): Use derived-mode-p.
6807 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6808 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6809 (eshell-glob-function): Declare.
6810 * eshell/esh-util.el: Require cl-lib.
6811 (eshell-read-hosts-file): Avoid add-to-list.
6812 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6813 `err'.
6814 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6815 Declare.
6816 (eshell/diff): Remove unused var `err'.
6817 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6818 `killflag'.
6819 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6820 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6821 first use.
6822 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6823 Move declaration before first use.
6824 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6825 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6826 rely on cl-return.
6827
56834f3b
GM
68282013-09-12 Glenn Morris <rgm@gnu.org>
6829
6830 * term/ns-win.el (global-map): Remove binding for ispell-next,
6831 deleted 1999-05-29. (Bug#15357)
6832
5c91a2b8
GM
68332013-09-11 Glenn Morris <rgm@gnu.org>
6834
da712f22
GM
6835 * echistory.el (electric-command-history): Remove call to deleted func.
6836
512e4cdc
GM
6837 * play/landmark.el (landmark-mode): Fix typos.
6838
d3506ca5
GM
6839 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6840 Check cvs-sort-ignore-file is bound.
6841
5c91a2b8
GM
6842 * savehist.el: No need for cl when compiling on Emacs.
6843
feeff482
SM
68442013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6845
656bd483
SM
6846 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6847 (bug#15338).
d3b049e6
SM
6848 (eshell-self-insert-command, eshell-send-invisible):
6849 Remove unused argument.
656bd483
SM
6850 (eshell-handle-control-codes): Remove unused var `orig'.
6851 Avoid delete-backward-char.
6852
feeff482
SM
6853 * files.el (set-auto-mode): Simplify a bit further.
6854
2a08047a
GM
68552013-09-11 Glenn Morris <rgm@gnu.org>
6856
6857 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6858 (set-auto-mode): Don't regexp-quote elements.
6859 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6860 * progmodes/cc-mode.el (interpreter-mode-alist):
6861 * progmodes/ruby-mode.el (interpreter-mode-alist):
6862 Revert previous change.
6863
34675540
SM
68642013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6865
1b3b87df
SM
6866 * play/snake.el (snake-mode):
6867 * play/mpuz.el (mpuz-mode):
6868 * play/landmark.el (lm-mode):
6869 * play/blackbox.el (blackbox-mode):
6870 * play/5x5.el (5x5-mode):
6871 * obsolete/options.el (Edit-options-mode):
6872 * net/quickurl.el (quickurl-list-mode):
6873 * net/newst-treeview.el (newsticker-treeview-mode):
6874 * mail/rmailsum.el (rmail-summary-mode):
6875 * mail/mspools.el (mspools-mode):
6876 * locate.el (locate-mode):
6877 * ibuffer.el (ibuffer-mode):
6878 * emulation/ws-mode.el (wordstar-mode):
6879 * emacs-lisp/debug.el (debugger-mode):
6880 * array.el (array-mode):
6881 * net/eudc.el (eudc-mode): Use define-derived-mode.
6882 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6883 Move initialization into declaration.
6884 (mairix-searches-mode): Use define-derived-mode.
6885 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6886 (eudc-edit-hotlist): Use dolist.
6887 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6888 (Man-mode): Use define-derived-mode.
6889 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6890 (Info-edit-mode): Use define-derived-mode.
6891 (Info-cease-edit): Use Info-mode.
6892 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6893 into declaration.
6894 (eshell-mode): Use define-derived-mode.
6895 * chistory.el (command-history-mode-map): Rename from
6896 command-history-map.
6897 (command-history-mode): Use define-derived-mode.
da712f22 6898 (Command-history-setup): Remove function.
1b3b87df
SM
6899 * calc/calc.el (calc-trail-mode-map): New var.
6900 (calc-trail-mode): Use define-derived-mode.
6901 (calc-trail-buffer): Set calc-main-buffer manually.
6902 * bookmark.el (bookmark-insert-annotation): New function.
6903 (bookmark-edit-annotation): Use it.
6904 (bookmark-edit-annotation-mode): Make it a proper major mode.
6905 (bookmark-send-edited-annotation): Use derived-mode-p.
6906 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6907 closer to its ideal place. Use \' to match EOS.
6908
34675540
SM
6909 * profiler.el (profiler-calltree-find): Use function-equal.
6910
6a5c15d9
GM
69112013-09-10 Glenn Morris <rgm@gnu.org>
6912
1af4c220
GM
6913 * files.el (interpreter-mode-alist): Convert to regexps.
6914 (set-auto-mode): Adapt for this. (Bug#15306)
6915 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6916 Comment out unused variable.
6917 * progmodes/cc-mode.el (interpreter-mode-alist):
6918 * progmodes/python.el (interpreter-mode-alist):
6919 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6920 * progmodes/sh-script.el (sh-set-shell):
6921 No longer use interpreter-mode-alist to get list of shells.
6922
6a5c15d9
GM
6923 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6924
8c27f5ff
SM
69252013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6926
02ef6c1a 6927 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6928 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6929 Bind switch-frame explicitly. Replace universal-argument-minus with
6930 a conditional binding.
6931 (universal-argument-num-events, saved-overriding-map): Remove.
6932 (restore-overriding-map): Remove.
6933 (universal-argument--mode): Rename from save&set-overriding-map,
6934 and rewrite.
6935 (universal-argument, universal-argument-more, negative-argument)
6936 (digit-argument): Adjust accordingly.
6937 (universal-argument-minus): Remove.
6938 (universal-argument-other-key): Remove.
6939
8c27f5ff
SM
6940 * subr.el (with-demoted-errors): Add `format' argument.
6941
6480194c
MA
69422013-09-10 Michael Albinus <michael.albinus@gmx.de>
6943
6944 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6945 `tramp-cleanup-connection'.
6946
6947 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6948 parameters KEEP-DEBUG and KEEP-PASSWORD.
6949
6950 * net/tramp.el (tramp-file-name-handler):
6951 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6952 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6953 (tramp-maybe-open-connection):
8c27f5ff
SM
6954 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6955 Use `tramp-cleanup-connection'.
6480194c 6956
8c27f5ff
SM
6957 * net/tramp-sh.el (tramp-maybe-open-connection):
6958 Catch 'uname-changed inside the progress reporter.
6480194c 6959
e5e916d8
GM
69602013-09-10 Glenn Morris <rgm@gnu.org>
6961
9a2c9b47
GM
6962 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6963
e5e916d8
GM
6964 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6965 returns "alternate access method" in mode (eg "-rw-r--r--.").
6966
144e38fe
GM
69672013-09-08 Glenn Morris <rgm@gnu.org>
6968
6969 * saveplace.el (load-save-place-alist-from-file):
6970 Demote errors. (Bug#15305)
6971
af9ff9e8
MA
69722013-09-08 Michael Albinus <michael.albinus@gmx.de>
6973
6974 Improve compatibility with older Emacsen, and XEmacs.
6975
6976 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6977 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6978 (with-tramp-progress-reporter): Do not let-bind `result'.
6979 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6980 (tramp-handle-make-auto-save-file-name): New function, moved from
6981 tramp-sh.el.
6982
6983 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6984 for `make-auto-save-file-name'.
8c27f5ff
SM
6985 (tramp-adb--gnu-switches-to-ash):
6986 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6987
6988 * net/tramp-cache.el (tramp-cache-print): Call
6989 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6990
6991 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6992 bound. It isn't for XEmacs.
6993
8c27f5ff
SM
6994 * net/tramp-compat.el (tramp-compat-copy-file):
6995 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6996 (tramp-compat-replace-regexp-in-string): New defun.
6997
6998 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6999 for `make-auto-save-file-name'.
7000 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7001 `copy-file'.
7002 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7003 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7004 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7005
8c27f5ff
SM
7006 * net/tramp-gw.el (tramp-gw-open-network-stream):
7007 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7008
8c27f5ff
SM
7009 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7010 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7011 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7012 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7013 (tramp-sh-file-inotifywait-process-filter):
7014 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7015 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7016
7017 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7018 for `make-auto-save-file-name'.
8c27f5ff
SM
7019 (tramp-smb-handle-copy-directory):
7020 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7021 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7022 (tramp-smb-handle-copy-file): Improve error message.
7023 (tramp-smb-handle-rename-file): Rename directly only in case
7024 `newname' does not exist yet. This is a restriction of smbclient.
7025 (tramp-smb-maybe-open-connection): Rerun the function only when
7026 `auth-sources' is non-nil.
7027
0ca754d0
KH
70282013-09-08 Kenichi Handa <handa@gnu.org>
7029
e0eb0550 7030 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7031 more characters.
7032
e8dd0787
AM
70332013-09-07 Alan Mackenzie <acm@muc.de>
7034
7035 Correctly fontify Java class constructors.
7036 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7037 in Java Mode.
7038 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7039 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7040 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7041 "typeless" declaration there.
7042
f2f248e7
RW
70432013-09-07 Roland Winkler <winkler@gnu.org>
7044
7045 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7046 field subtitle for entry type book.
7047
67982e2b
SM
70482013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * minibuffer.el: Make minibuffer-complete call completion-in-region
7051 rather than other way around.
7052 (completion--some, completion-pcm--find-all-completions):
7053 Don't delay signals when debugging.
7054 (minibuffer-completion-contents): Beware fields within the
7055 minibuffer contents.
7056 (completion-all-sorted-completions): Use defvar-local.
7057 (completion--do-completion, completion--cache-all-sorted-completions)
7058 (completion-all-sorted-completions, minibuffer-force-complete):
7059 Add args `beg' and `end'.
7060 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7061 (minibuffer-complete): Use completion-in-region.
7062 (completion-complete-and-exit): New fun, extracted from
7063 minibuffer-complete-and-exit.
7064 (minibuffer-complete-and-exit): Use it.
7065 (completion--complete-and-exit): Rename from
7066 minibuffer--complete-and-exit.
7067 (completion-in-region--single-word): New function, extracted from
7068 minibuffer-complete-word.
7069 (minibuffer-complete-word): Use it.
7070 (display-completion-list): Make `common-substring' argument obsolete.
7071 (completion--in-region): Call completion--in-region-1 instead of
7072 minibuffer-complete.
7073 (completion-help-at-point): Pass boundaries to
7074 minibuffer-completion-help as args rather than via an overlay.
7075 (completion-pcm--string->pattern): Use `any-delim'.
7076 (completion-pcm--optimize-pattern): New function.
7077 (completion-pcm--pattern->regex): Handle `any-delim'.
7078 * icomplete.el (icomplete-forward-completions)
7079 (icomplete-backward-completions, icomplete-completions):
7080 Adjust calls to completion-all-sorted-completions and
7081 completion--cache-all-sorted-completions.
7082 (icomplete-with-completion-tables): Default to t.
7083 * emacs-lisp/crm.el (crm--current-element): Rename from
7084 crm--select-current-element. Don't put an overlay but return the
7085 boundaries instead.
7086 (crm--completion-command): Take two new args to bind to the boundaries.
7087 (crm-completion-help): Adjust accordingly.
7088 (crm-complete): Use completion-in-region.
7089 (crm-complete-word): Use completion-in-region--single-word.
7090 (crm-complete-and-exit): Use completion-complete-and-exit.
7091
e17d94a5
SM
70922013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7095 than dynamically.
7096
96727100
JL
70972013-09-06 Juri Linkov <juri@jurta.org>
7098
7099 * info.el (Info-display-images-node): When image file doesn't exist
7100 display text version of the image if it's provided in the Info file.
7101 Otherwise, display the location of missing image from SRC attribute.
7102 Add help-echo text property from ALT attribute. (Bug#15279)
7103
86cf7329
SM
71042013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7107 (edit-abbrevs-mode): Use define-derived-mode.
7108
7109 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7110 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7111 that it's defined.
7112 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7113 Use define-derived-mode.
7114
7115 * epg.el (epg-start-encrypt): Minor CSE simplification.
7116
816244a2
WX
71172013-09-06 William Xu <william.xwl@gmail.com>
7118
7119 * arc-mode.el: Add support for 7za (bug#15264).
7120 (archive-7z-program): New var.
7121 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7122 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7123 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7124
1486fa31
MA
71252013-09-06 Michael Albinus <michael.albinus@gmx.de>
7126
7127 Remove URL syntax.
7128
7129 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7130 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7131 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7132 (tramp-postfix-host-format, tramp-file-name-regexp)
7133 (tramp-completion-file-name-regexp)
7134 (tramp-completion-dissect-file-name)
7135 (tramp-handle-substitute-in-file-name): Remove 'url case.
7136 (tramp-file-name-regexp-url)
7137 (tramp-completion-file-name-regexp-url): Remove constants.
7138
39785324
GM
71392013-09-06 Glenn Morris <rgm@gnu.org>
7140
7141 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7142
1f896cb7
DG
71432013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7144
7145 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7146 keywords" below "here-doc beginnings" (Bug#15270).
7147
c0458e0b
SM
71482013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7149
7150 * subr.el (pop): Use `car-safe'.
7151 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7152 to detect unused `pop' return value.
7153
7154 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7155 var `block-regexp'.
7156 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7157 (python-fill-string): Remove unused var `marker'.
7158 (python-skeleton-add-menu-items): Remove unused var `items'.
7159
7160 * international/mule-cmds.el: Require CL.
7161 (find-coding-systems-for-charsets): Avoid add-to-list.
7162 (sanitize-coding-system-list): New function, extracted from
7163 select-safe-coding-system-interactively.
7164 (select-safe-coding-system-interactively): Use it.
7165 (read-input-method-name): Accept symbols for `default'.
7166
7167 * emacs-lisp/advice.el (defadvice): Add indent rule.
7168
6c42fc3e
DH
71692013-09-05 Daniel Hackney <dan@haxney.org>
7170
7171 * dired-x.el:
7172 * net/ange-ftp.el:
7173 * net/browse-url.el:
7174 * net/dbus.el:
7175 * net/eudc.el:
7176 * net/eudcb-ldap.el:
7177 * net/eww.el:
7178 * net/imap.el:
7179 * printing.el:
7180 * vc/ediff-diff.el:
7181 * vc/ediff-init.el:
7182 * vc/ediff-merg.el:
7183 * vc/ediff-mult.el:
7184 * vc/ediff-util.el:
7185 * vc/ediff-wind.el:
7186 * vc/ediff.el:
7187 * vc/emerge.el:
7188 * vc/pcvs.el:
7189 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7190 byte compiler. Remove some unused let-bound variables.
7191
4c528aab
SM
71922013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7195 a "ref-cell", since it gets better optimized (bug#14883).
7196
bd15c390
GM
71972013-09-05 Glenn Morris <rgm@gnu.org>
7198
7199 * progmodes/cc-awk.el (c-forward-sws): Declare.
7200
1c3ac2e5
GM
72012013-09-04 Glenn Morris <rgm@gnu.org>
7202
7203 * generic-x.el [rul-generic-mode]: Require cc-mode.
7204 (c++-mode-syntax-table): Declare.
7205 (rul-generic-mode-syntax-table): Init in the defvar.
7206
52b1cc79
SM
72072013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7208
c828af56
SM
7209 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7210 (vc-do-command, vc-set-async-update):
7211 * vc/vc-mtn.el (vc-mtn-dir-status):
7212 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7213 (vc-hg-pull, vc-hg-merge-branch):
7214 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7215 (vc-git-merge-branch):
7216 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7217 (vc-cvs-dir-status-files):
7218 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7219 (vc-bzr-dir-status-files):
7220 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7221 * vc/vc-annotate.el: Use lexical-binding.
7222 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7223 (vc-sentinel-movepoint): Declare.
7224 (vc-annotate): Don't use `goto-line'.
7225 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7226 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7227 (vc-sentinel-movepoint): Declare.
7228 * vc/vc-svn.el: Use lexical-binding.
7229 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7230 * vc/vc-sccs.el:
7231 * vc/vc-rcs.el: Use lexical-binding.
7232
abae272c
SM
7233 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7234 `deleted'. Don't drop errors silently.
7235
52b1cc79
SM
7236 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7237
63191d9f
XF
72382013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7239
7240 * vc/vc.el (vc-ignore): Rewrite.
7241 (vc-default-ignore): New function.
7242 (vc-default-ignore-completion-table): Use find-ignore-file.
7243
7244 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7245 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7246 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7247 Remove. Most code moved to vc.el.
7248
9d3f707c
SM
72492013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7250
abae272c 7251 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7252 * net/tramp-smb.el (tramp-smb-get-file-entries):
7253 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7254 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7255
fde38d49
SM
7256 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7257 Update call to it.
7258 (eww-change-select): Remove unused var `properties'.
7259 (eww-make-unique-file-name): Remove unused var `base'.
7260
7261 * finder.el (finder-compile-keywords): Don't mess with windows.
7262
84032db7
SM
7263 * calculator.el (calculator-funcall): Fix typo in last change.
7264
724f5e41
SM
7265 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7266
14b511d4
SM
7267 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7268 <pkg>-autoloads.el file stop us.
7269
9d3f707c 7270 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7271 warnings, and factor out common code.
9d3f707c 7272
88527bc0
DG
72732013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7274
7275 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7276 two-character operators and whether the character preceding them
7277 changes their meaning (Bug#15208).
7278
96edb677
FEG
72792013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7280
7281 Format code sent to Python shell for robustness.
9d3f707c
SM
7282 * progmodes/python.el (python-shell-buffer-substring):
7283 New function.
96edb677
FEG
7284 (python-shell-send-region, python-shell-send-buffer): Use it.
7285
95beaef3
MA
72862013-09-02 Michael Albinus <michael.albinus@gmx.de>
7287
7288 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7289 * net/tramp.el (tramp-user-error): ... here.
7290 (tramp-find-method, tramp-check-proper-host)
7291 (tramp-dissect-file-name, tramp-debug-message)
7292 (tramp-handle-shell-command):
7293 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7294 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7295
7296 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7297
f167c27b
MR
72982013-09-02 Martin Rudalics <rudalics@gmx.at>
7299
7300 * avoid.el (mouse-avoidance-point-position)
7301 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7302 returns nil.
7303
cd16c5f1
FEG
73042013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7305
7306 * progmodes/python.el (python-shell-completion-get-completions):
7307 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7308 (python-nav-if-name-main): New command.
cd16c5f1 7309
e73c3a0d
GM
73102013-09-01 Glenn Morris <rgm@gnu.org>
7311
f8ccce03
GM
7312 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7313 Avoid leading space in $wins. Otherwise the sed command used by
7314 eg compile-main ends up containing "/*.el". (Bug#15170)
7315
e73c3a0d
GM
7316 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7317
415f808e
GM
73182013-08-30 Glenn Morris <rgm@gnu.org>
7319
7320 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7321 Fix is-this-a-directory logic. (Bug#15220)
7322
f069bba8
SM
73232013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7324
112798c1
SM
7325 * textmodes/css-mode.el: Use SMIE.
7326 (css-smie-grammar): New var.
7327 (css-smie--forward-token, css-smie--backward-token)
7328 (css-smie-rules): New functions.
7329 (css-mode): Use them.
7330 (css-navigation-syntax-table): Remove var.
7331 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7332 (css-indent-calculate, css-indent-line): Remove functions.
7333
7334 Misc changes to reduce use of `(lambda...); and other cleanups.
7335 * cus-edit.el: Use lexical-binding.
7336 (customize-push-and-save, customize-apropos)
7337 (custom-buffer-create-internal): Use closures.
7338 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7339 * progmodes/ada-xref.el: Use setq.
7340 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7341 * dframe.el: Use lexical-binding.
7342 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7343 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7344 * descr-text.el: Use lexical-binding.
7345 (describe-text-widget, describe-text-sexp, describe-property-list):
7346 Use closures.
7347 * comint.el (comint-history-isearch-push-state): Use a closure.
7348 * calculator.el: Use lexical-binding.
7349 (calculator-number-to-string): Make it work with lexical-binding.
7350 (calculator-funcall): Same and use cl-letf.
7351
2da4c3ab
SM
7352 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7353 (lisp--company-doc-string, lisp--company-location): New functions.
7354 (lisp-completion-at-point): Use them to improve Company support.
7355
f069bba8
SM
7356 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7357 params of lambda expressions.
7358 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7359 (ruby-smie--opening-pipe-p): New function.
7360 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7361 symbols and matched |...| for formal params.
7362 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7363 from being treated as hanging. Handle "rescue".
7364
6758b6a8
GM
73652013-08-29 Glenn Morris <rgm@gnu.org>
7366
7367 * progmodes/cc-engine.el (c-pull-open-brace):
7368 Move definition before use.
7369
e8dfd197
SM
73702013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7371
7372 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7373 are immutable. Don't use `unsafe' any more.
7374 (cl--defsubst-expand): Don't substitute at the same time as keeping
7375 a residual unused let-binding. Don't use `unsafe' any more.
7376
cc585c96
GM
73772013-08-29 Glenn Morris <rgm@gnu.org>
7378
ba579ea6
GM
7379 * calendar/cal-china.el (calendar-chinese-year-cache):
7380 Recenter on 2015.
7381
8201a87e
GM
7382 * nxml/nxml-util.el (nxml-debug-clear-inside):
7383 Use cl-loop rather than loop.
7384
6ee877c7
GM
7385 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7386
cc585c96
GM
7387 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7388
27be8d39
GM
73892013-08-28 Glenn Morris <rgm@gnu.org>
7390
397440a1
GM
7391 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7392
2bb762d4
GM
7393 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7394
27be8d39
GM
7395 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7396
2d69b99e
SM
73972013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7398
f663baa7
SM
7399 * simple.el (repeat-complex-command--called-interactively-skip):
7400 New function.
7401 (repeat-complex-command): Use it (bug#14136).
7402
dd4f8b74
SM
7403 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7404 (c-define-abbrev-table): Add `doc' argument.
7405 (c-mode-abbrev-table, c++-mode-abbrev-table)
7406 (objc-mode-abbrev-table, java-mode-abbrev-table)
7407 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7408 (awk-mode-abbrev-table): Use it.
7409 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7410 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7411 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7412 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7413 Move initialization into the declaration; and remove any
7414 autoload cookie.
7415
b58969f7
SM
7416 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7417 and dynamic let binding.
7418
4021d6a6
SM
7419 * vc/smerge-mode.el: Remove redundant :group args.
7420
2d69b99e
SM
7421 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7422 to load-path.
7423
274919fd
JL
74242013-08-28 Juri Linkov <juri@jurta.org>
7425
7426 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7427 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7428 (isearch-other-meta-char): Handle an undefined shifted printing
7429 character by downshifting it. (Bug#15200)
7430
121f8c95
JL
74312013-08-28 Juri Linkov <juri@jurta.org>
7432
7433 * isearch.el (isearch-search): Change regexp error message for
7434 non-regexp searches. (Bug#15166)
7435
50b13cde
PE
74362013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7437
7438 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7439 for portability to hosts where /bin/sh has problems.
7440
95888bca
SM
74412013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7444
bbe558f1
JL
74452013-08-27 Juri Linkov <juri@jurta.org>
7446
7447 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7448 in the keyboard macro. (Bug#15126)
7449
26f98a7d
JL
74502013-08-27 Juri Linkov <juri@jurta.org>
7451
7452 * isearch.el (isearch-quote-char): Comment out converting unibyte
7453 to multibyte, thus syncing with its `quoted-insert' counterpart.
7454 (Bug#15166)
7455
7c97d35e
MR
74562013-08-27 Martin Rudalics <rudalics@gmx.at>
7457
7458 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7459 argument in call of get-largest-window (Bug#15185).
7460 Reported by Stephen Leake.
7c97d35e 7461
a0b5606e 74622013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7463
7464 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7465
9e89d835
SM
74662013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7469 from a matcher-function unless there's no more matches (bug#15161).
7470
78fc2530
MA
74712013-08-26 Michael Albinus <michael.albinus@gmx.de>
7472
7473 * minibuffer.el: Revert change from 2013-08-20.
7474
7475 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7476 with text property `tramp-default', if appropriate.
7477 (tramp-check-proper-host): New defun.
7478 (tramp-dissect-file-name): Do not check hostname. Revert change
7479 of 2013-03-18.
7480 (tramp-backtrace): Make VEC-OR-PROC optional.
7481
7482 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7483 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7484 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7485 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7486 Apply `tramp-check-proper-host'.
78fc2530 7487
edca97cd
TH
74882013-08-26 Tassilo Horn <tsdh@gnu.org>
7489
7490 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7491 lambda expression in order to have `describe-variable' display it.
7492
df54bcbd
MA
74932013-08-26 Michael Albinus <michael.albinus@gmx.de>
7494
7495 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7496 BUF can be optional. (Bug#15186)
7497
eed99101
XF
74982013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7499
7500 * progmodes/flymake.el (flymake-get-real-file-name-function):
7501 Fix broken customization. (Bug#15184)
7502
b5eb9035
AM
75032013-08-25 Alan Mackenzie <acm@muc.de>
7504
8a51e842
AM
7505 Improve indentation of bracelists defined by macros (without "=").
7506
7507 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7508 expansion begins with "{", regard it as bracelist when it doesn't
7509 contain a ";".
7510
869455d4
AM
7511 Parse C++ inher-intro when there's a template split over 2 lines.
7512
7513 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7514 rigorously the search for "class" etc. followed by ":".
7515
7516 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7517 random languages a regexp which never matches rather than nil.
7518
b5eb9035
AM
7519 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7520
7521 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7522 (c-awk-regexp-one-line-possibly-open-char-list-re)
7523 (c-awk-one-line-possibly-open-regexp-re)
7524 (c-awk-one-line-non-syn-ws*-re): Remove.
7525 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7526 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7527 (c-awk-space*-unclosed-regexp-/-re): New constants.
7528 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7529 aren't regexp delimiters.
7530
7531 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7532 handling for a rare situation in AWK Mode involving unterminated
7533 strings/regexps.
7534
61611d54
GM
75352013-08-23 Glenn Morris <rgm@gnu.org>
7536
2d85dc34
GM
7537 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7538
cb8d2612
GM
7539 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7540
bb35f42f
GM
7541 * files.el (create-file-buffer): If the result would begin with
7542 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7543
b9808e77
SM
75442013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7545
e3a66363
SM
7546 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7547 text-properties (bug#15155).
7548
b9808e77
SM
7549 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7550 exist any more.
7551 (calc-keypad-redraw): Remove unused var `pad'.
7552 (calc-keypad-press): Remove unused var `menu'.
7553
7fd5f65e
MR
75542013-08-23 Martin Rudalics <rudalics@gmx.at>
7555
b9808e77
SM
7556 * window.el (display-buffer-pop-up-frame):
7557 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7558 use it as the new frame's buffer (Bug#15133).
7559
8352b530
SM
75602013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * calendar/timeclock.el: Minor cleanups.
7563 (timeclock-ask-before-exiting, timeclock-use-display-time):
7564 Use `symbol'.
7565 (timeclock-modeline-display): Define as alias before the
7566 actual definition.
7567 (timeclock-mode-line-display): Use define-minor-mode.
7568 (timeclock-day-list-template): Make it a function, add an argument.
7569 (timeclock-day-list-required, timeclock-day-list-length)
7570 (timeclock-day-list-debt, timeclock-day-list-span)
7571 (timeclock-day-list-break): Adjust calls accordingly.
7572
9f7b1925
SM
75732013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7574
7575 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7576 Use read--expression so that completion works again.
7577
6e50e983
SS
75782013-08-21 Sam Steingold <sds@gnu.org>
7579
7580 Add rudimentary inferior shell interaction
7581 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7582 (sh-set-shell): Reset it.
9f7b1925
SM
7583 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7584 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7585
dbb0d350
SM
75862013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * align.el: Use lexical-binding.
7589 (align-region): Simplify accordingly.
7590
c88586a9
MA
75912013-08-20 Michael Albinus <michael.albinus@gmx.de>
7592
7593 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7594
7595 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7596 `non-essential' up.
7597
f95527c8
MA
75982013-08-17 Michael Albinus <michael.albinus@gmx.de>
7599
7600 * net/tramp.el:
7601 * net/tramp-adb.el:
7602 * net/tramp-cmds.el:
7603 * net/tramp-ftp.el:
7604 * net/tramp-gvfs.el:
7605 * net/tramp-gw.el:
7606 * net/tramp-sh.el: Don't wrap external variable declarations by
7607 `eval-when-compile'.
7608
4b5fe4ee
LMI
76092013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7610
7611 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7612 now that Emacs supports ImageMagick animations.
7613
13c366c9
MA
76142013-08-16 Michael Albinus <michael.albinus@gmx.de>
7615
7616 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7617 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7618
3dfc5cd6
MR
76192013-08-16 Martin Rudalics <rudalics@gmx.at>
7620
7621 * window.el (mouse-autoselect-window-select): Do autoselect when
7622 mouse pointer is on margin.
7623
4bbb4381
WP
76242013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7625
7626 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7627
3a2ddc2d
GM
76282013-08-16 Glenn Morris <rgm@gnu.org>
7629
e8bedf5a
GM
7630 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7631 Handle "Remote Directory" response of some clients. (Bug#15058)
7632
58c4682f
GM
7633 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7634 Tweak warning. (Bug#14926)
7635
57953f49
GM
7636 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7637 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7638
3a2ddc2d
GM
7639 * image-mode.el (image-mode-map): Add menu items to reverse,
7640 increase, decrease, reset animation speed.
7641 (image--set-speed, image-increase-speed, image-decrease-speed)
7642 (image-reverse-speed, image-reset-speed): New functions.
7643 (image-mode-map): Add bindings for speed commands.
7644
7645 * image.el (image-animate-get-speed, image-animate-set-speed):
7646 New functions.
7647 (image-animate-timeout): Respect image :speed property.
7648
10fa0ed3
SM
76492013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7652 previous line (bug#15101).
7653 (debugger-eval-expression, debugger-record-expression):
7654 Use read--expression (bug#15102).
7655
5d89d9d2
MA
76562013-08-15 Michael Albinus <michael.albinus@gmx.de>
7657
7658 Remove byte compiler warnings, visible when compiling with
7659 `byte-compile-force-lexical-warnings' set to t.
7660
7661 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7662 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7663 (tramp-handle-unhandled-file-name-directory)
7664 (tramp-handle-file-notify-add-watch, tramp-action-login)
7665 (tramp-action-succeed, tramp-action-permission-denied)
7666 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7667 arguments with "_".
7668
7669 * net/tramp-adb.el (tramp-adb-parse-device-names)
7670 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7671 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7672 (tramp-adb-handle-file-truename): Remove unused arguments.
7673
7674 * net/tramp-cache.el (tramp-flush-directory-property)
7675 (tramp-flush-connection-property, tramp-list-connections)
7676 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7677
10fa0ed3
SM
7678 * net/tramp-compat.el (tramp-compat-make-temp-file):
7679 Rename FILENAME to F.
5d89d9d2
MA
7680
7681 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7682 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7683 (tramp-zeroconf-parse-workstation-device-names)
7684 (tramp-zeroconf-parse-webdav-device-names)
7685 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7686
7687 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7688 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7689
7690 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7691 arguments.
7692 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7693 (tramp-sh-handle-insert-file-contents-literally)
7694 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7695 with "_".
7696 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7697 Remove unused variables.
7698
7699 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7700 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7701 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7702
7703 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7704 Make them a defconst.
7705 (tramp-uuencode-region): Remove unused variable.
7706
62f33bae
JB
77072013-08-14 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * frameset.el (frameset--prop-setter): New function.
7710 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
7711 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7712 parameter was already set in FILTERED. Doc fix.
7713 (frameset--record-minibuffer-relationships): Allow saving a
7714 minibufferless frame without its corresponding minibuffer frame.
7715 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7716 frame, if the frame id matches.
7717 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7718 frames before orphaned ones.
7719 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 7720
c660a885
MR
77212013-08-14 Martin Rudalics <rudalics@gmx.at>
7722
7723 * window.el (window-make-atom): Don't overwrite parameter
7724 already present.
7725 (display-buffer-in-atom-window): Handle special case where we
7726 split an already atomic window.
7727 (window--major-non-side-window, display-buffer-in-side-window)
7728 (window--side-check): Ignore minibuffer window when walking
7729 window tree.
7730 (window-deletable-p): Return 'frame only if no other frame uses
7731 our minibuffer window.
7732 (record-window-buffer): Run buffer-list-update-hook.
7733 (split-window): Make sure window--check-frame won't destroy an
7734 existing atomic window in case the new window gets nested
7735 inside.
7736 (display-buffer-at-bottom): Ignore minibuffer window when
7737 walking window tree. Don't split a side window.
7738 (pop-to-buffer): Don't set-buffer here, the select-window call
7739 should do that.
7740 (mouse-autoselect-window-select): Autoselect only if we are in the
7741 text portion of the window.
7742
8259030d
LMI
77432013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7744
21c58ae2
LMI
7745 * net/shr.el (shr-parse-image-data): New function to grab both the
7746 data itself and the Content-Type.
7747 (shr-put-image): Use it.
7748
7749 * net/eww.el (eww-display-image): Ditto.
7750
8259030d
LMI
7751 * image.el (image-content-type-suffixes): New variable.
7752
ad756449
FEG
77532013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7754
7755 * progmodes/python.el (python-imenu--build-tree)
7756 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7757
f73f4ce6
XF
77582013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7759
7760 * simple.el (backward-word): Mention the optional argument.
7761
1f585e65
SM
77622013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * frameset.el (frameset--make): Rename constructor from make-frameset.
7765 (frameset-p, frameset-valid-p): Don't autoload.
7766 (frameset-valid-p): Use normal accessors.
7767
af1c6c84
GM
77682013-08-13 Glenn Morris <rgm@gnu.org>
7769
55e47f95
GM
7770 * progmodes/compile.el (compile-command): Tweak example in doc.
7771 * obsolete/scribe.el (scribe-mode):
7772 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7773
f0024d8c
GM
7774 * mail/feedmail.el (feedmail-confirm-outgoing)
7775 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7776
7777 * cus-start.el (truncate-partial-width-windows): Fix type.
7778
7779 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7780
af1c6c84
GM
7781 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7782
5514cc4c
SM
77832013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * emacs-lisp/timer.el (timer--time-setter): New function.
7786 (timer--time): Use it as gv-setter.
7787
7788 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7789 setter is not a symbol.
7790
7997a2f1
GJ
77912013-08-12 Grégoire Jadi <daimrod@gmail.com>
7792
7793 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7794 if sending fails. This makes debugging easier.
7795
01f1a9ab
JB
77962013-08-12 Juanma Barranquero <lekktu@gmail.com>
7797
7798 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7799 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7800 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7801
594a4307
EZ
78022013-08-12 Eli Zaretskii <eliz@gnu.org>
7803
7804 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7805
7a22490f 78062013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7807
7808 * format.el (format-annotate-function):
7809 Handle read-only text properties in the source. (Bug#14887)
7810
3e41a054
LMI
78112013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7812
5514cc4c
SM
7813 * net/eww.el (eww-display-html): Ignore coding system errors.
7814 One web site uses "utf-8lias" as the coding system.
3e41a054 7815
7ec326db
JB
78162013-08-11 Juanma Barranquero <lekktu@gmail.com>
7817
7818 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7819
5660113b
JB
78202013-08-10 Juanma Barranquero <lekktu@gmail.com>
7821
9a4ebc74
JB
7822 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7823 (tutorial--detailed-help): Remove unused local variables.
7824 (tutorial--save-tutorial-to): Use ignore-errors.
7825 (help-with-tutorial): Use looking-at-p.
7826
7827 * view.el (view-buffer-other-window, view-buffer-other-frame):
7828 Mark unused arguments.
7829
7830 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7831 (woman-select-symbol-fonts, woman, woman-find-file)
7832 (woman-insert-file-contents, woman-non-underline-faces):
7833 Use string-match-p.
7834 (woman1-unquote): Move declaration.
7835
7836 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7837 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7838 argument. Remove unused local variable.
7839 (xml-parse-elem-type): Use string-match-p.
7840 (xml-substitute-numeric-entities): Use ignore-errors.
7841
45fdb482
JB
7842 * calculator.el (calculator): Mark unused argument.
7843 (calculator-paste, calculator-quit, calculator-integer-p):
7844 Use ignore-errors.
7845 (calculator-string-to-number, calculator-decimal, calculator-exp)
7846 (calculator-op-or-exp): Use string-match-p.
7847
7848 * dired.el (dired-buffer-more-recently-used-p): Declare.
7849 (dired-insert-set-properties, dired-insert-old-subdirs):
7850 Use ignore-errors.
7851
7852 * dired-aux.el (dired-compress): Use ignore-errors.
7853 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7854 (dired-do-async-shell-command, dired-do-shell-command)
7855 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7856 (dired-insert-subdir-validate): Use string-match-p.
7857 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7858 (dired-add-entry): Use string-match-p, looking-at-p.
7859 (dired-insert-subdir-newpos): Remove unused local variable.
7860
7861 * filenotify.el (file-notify-callback): Remove unused local variable.
7862
7863 * filesets.el (filesets-error): Mark unused argument.
7864 (filesets-which-command-p, filesets-filter-dir-names)
7865 (filesets-directory-files, filesets-get-external-viewer)
7866 (filesets-ingroup-get-data): Use string-match-p.
7867
7868 * find-file.el (ff-other-file-name, ff-other-file-name)
7869 (ff-find-the-other-file, ff-cc-hh-converter):
7870 Remove unused local variables.
7871 (ff-get-file-name): Use string-match-p.
7872 (ff-all-dirs-under): Use ignore-errors.
7873
7874 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7875 (follow-select-if-visible): Remove unused local variable.
7876
7877 * forms.el (read-file-filter): Move declaration.
7878 (forms--make-format, forms--make-parser, forms-insert-record):
7879 Quote function with #'.
7880 (forms--update): Use string-match-p. Quote function with #'.
7881
7882 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7883 (help-make-xrefs): Use looking-at-p.
7884 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7885
7886 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7887 (ibuffer-confirm-operation-on): Use string-match-p.
7888
7889 * msb.el (msb-item-handler, msb-dired-item-handler):
7890 Mark unused arguments.
7891
7892 * ses.el (ses-decode-cell-symbol)
7893 (ses-kill-override): Remove unused local variable.
7894 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7895 (ses-load): Use ignore-errors, looking-at-p.
7896 (ses-jump-safe): Use ignore-errors.
7897 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7898
7899 * tabify.el (untabify, tabify): Mark unused arguments.
7900
7901 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7902 Mark unused argument.
7903 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7904 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7905
c880af52
JB
7906 * emacs-lisp/timer.el (timer--time): Define setter with
7907 gv-define-setter to avoid deprecation warning.
7908
5660113b 7909 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7910 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7911 (cmpl-statistics-block): Remove (body was commented out).
7912 All callers changed.
7913 (add-completions-from-buffer, load-completions-from-file):
7914 Remove unused variables.
7915
156aab80
JB
79162013-08-09 Juanma Barranquero <lekktu@gmail.com>
7917
5c5dee78
JB
7918 * filecache.el (file-cache-delete-file-list):
7919 Print message only when told so.
7920 (file-cache-files-matching): Use #' in mapconcat argument.
7921
156aab80
JB
7922 * ffap.el (ffap-url-at-point): Fix reference to variable
7923 thing-at-point-default-mail-uri-scheme.
7924
ad9dcd70
SM
79252013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7926
54bd972f
SM
7927 * subr.el (define-error): New function.
7928 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7929 error-file-not-found and define with define-error.
7930 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7931 and define with define-error.
7932 * userlock.el (file-locked, file-supersession):
7933 * simple.el (mark-inactive):
7934 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7935 * progmodes/ada-mode.el (ada-mode-errors):
7936 * play/life.el (life-extinct):
7937 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7938 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7939 * nxml/rng-util.el (rng-error):
7940 * nxml/rng-uri.el (rng-uri-error):
7941 * nxml/rng-match.el (rng-compile-error):
7942 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7943 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7944 * nxml/nxml-rap.el (nxml-scan-error):
7945 * nxml/nxml-outln.el (nxml-outline-error):
7946 * net/soap-client.el (soap-error):
7947 * net/gnutls.el (gnutls-error):
7948 * net/ange-ftp.el (ftp-error):
7949 * mpc.el (mpc-proc-error):
7950 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7951 (json-number-format, json-string-escape, json-string-format)
7952 (json-key-format, json-object-format):
7953 * jka-compr.el (compression-error):
7954 * international/quail.el (quail-error):
7955 * international/kkc.el (kkc-error):
7956 * emacs-lisp/ert.el (ert-test-failed):
7957 * calc/calc.el (calc-error, inexact-result, math-overflow)
7958 (math-underflow):
7959 * bookmark.el (bookmark-error-no-filename):
7960 * epg.el (epg-error): Define with define-error.
7961
0ea9e53a
SM
7962 * time.el (display-time-event-handler)
7963 (display-time-next-load-average): Don't call sit-for since it seems
7964 unnecessary (bug#15045).
7965
b0429158
SM
7966 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7967 Use #' instead of ' to quote functions.
7968 (checkdoc-output-mode): Use setq-local.
7969 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7970 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7971 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7972 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7973 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7974 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7975 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7976 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7977
ad9dcd70
SM
7978 * ido.el (ido-completion-help): Fix up compiler warning.
7979
77187e6f
JB
79802013-08-09 Juanma Barranquero <lekktu@gmail.com>
7981
7982 * frameset.el (frameset-p): Add autoload cookie.
7983 (frameset--jump-to-register): New function, based on code moved from
7984 register.el.
7985 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7986
7987 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7988 (frameset-restore, frameset-save, frameset-session-filter-alist):
7989 Remove declarations.
7990 (register-alist): Doc fix.
7991 (frameset-to-register): Move to frameset.el.
7992 (jump-to-register, describe-register-1): Remove frameset-specific code.
7993
9d3aa82c
JB
79942013-08-08 Juanma Barranquero <lekktu@gmail.com>
7995
7996 * allout-widgets.el (allout-widgets-pre-command-business)
7997 (allout-widgets-post-command-business)
7998 (allout-widgets-after-change-handler)
7999 (allout-decorate-item-and-context, allout-set-boundary-marker)
8000 (allout-body-modification-handler)
8001 (allout-graphics-modification-handler): Mark ignored arguments.
8002 (allout-widgets-post-command-business)
8003 (allout-widgets-exposure-change-processor)
8004 (allout-widgets-exposure-undo-processor)
8005 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8006 (allout-parse-item-at-point, allout-decorate-item-guides)
8007 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8008 * allout.el (epa-passphrase-callback-function): Declare.
8009 (allout-overlay-insert-in-front-handler)
8010 (allout-overlay-interior-modification-handler)
8011 (allout-isearch-end-handler, allout-chart-siblings)
8012 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8013 (allout-yank-processing, allout-process-exposed)
8014 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8015 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8016 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8017 (lisp-indent-defform): Mark ignored arguments.
8018 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8019 (calculate-lisp-indent): Remove unused variables.
8020 * international/characters.el (indian-2-column, arabic-2-column)
8021 (tibetan): Mark ignored arguments.
8022 (use-cjk-char-width-table): Mark ignored arguments.
8023 Remove unused variables.
8024 * international/fontset.el (build-default-fontset-data)
8025 (x-compose-font-name, create-fontset-from-fontset-spec):
8026 Mark ignored arguments.
8027 (fontset-plain-name): Remove unused variables.
8028 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8029 (keyboard-coding-system): Mark ignored arguments.
8030 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8031 * help.el (resize-temp-buffer-window):
8032 * window.el (display-buffer-in-major-side-window)
8033 (display-buffer-in-side-window, display-buffer-in-previous-window):
8034 Remove unused variables.
8035 * isearch.el (isearch-forward-symbol):
8036 * version.el (emacs-bzr-version-bzr):
8037 * international/mule-cmds.el (current-language-environment):
8038 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8039 (x-handle-display):
8040 * term/pc-win.el (x-list-fonts, x-display-planes)
8041 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8042 (x-server-version, x-display-screens, x-display-mm-height)
8043 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8044 (x-selection-owner-p, x-own-selection-internal)
8045 (x-disown-selection-internal, x-get-selection-internal)
8046 (msdos-initialize-window-system):
8047 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8048 * term/x-win.el (x-handle-no-bitmap-icon):
8049 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8050 (vc-default-find-file-hook, vc-default-extra-menu):
8051 Mark ignored arguments.
8052
0ca3f70e
SM
80532013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8056 break-condition in the context of the debugged code (bug#12685).
8057
74c5d24c
CS
80582013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8059
8060 * comint.el:
8061 Do not use an overlay to highlight the last prompt. (Bug#14744)
8062 (comint-mode): Make comint-last-prompt buffer local.
8063 (comint-last-prompt): New variable.
8064 (comint-last-prompt-overlay): Remove. Superseded by
8065 comint-last-prompt.
0ca3f70e
SM
8066 (comint-snapshot-last-prompt, comint-output-filter):
8067 Use comint-last-prompt.
74c5d24c 8068
c03c02ee
JB
80692013-08-08 Juanma Barranquero <lekktu@gmail.com>
8070
a3738d20 8071 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8072 (frameset-save): Check validity of the resulting frameset.
8073
04263d23
XF
80742013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8075
8076 * ido.el (ido-record-command): Add doc string.
8077
76c5e5ab
JB
80782013-08-08 Juanma Barranquero <lekktu@gmail.com>
8079
8080 * frameset.el (frameset): Do not disable creation of the default
8081 frameset-p predicate. Doc fix.
8082 (frameset-valid-p): New function, copied from the old predicate-p.
8083 Add additional checks.
8084 (frameset-restore): Check with frameset-valid-p.
8085 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8086 (frameset-name, frameset-description, frameset-properties)
8087 (frameset-states): Add docstring.
f9dbf1cb
JB
8088 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8089 (frameset-filter-alist): Doc fixes.
76c5e5ab 8090
bd0c3c0b
JB
80912013-08-08 Juanma Barranquero <lekktu@gmail.com>
8092
8093 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8094
c735544c
SM
80952013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8098 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8099 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8100 (byte-compile-normal-call): Remove obsolescence check.
8101
2805a651
JB
81022013-08-08 Juanma Barranquero <lekktu@gmail.com>
8103
3677ffeb
JB
8104 * frameset.el (frameset-restore): Doc fix.
8105
2805a651
JB
8106 * register.el (frameset-frame-id, frameset-frame-with-id)
8107 (frameset-p, frameset-restore, frameset-save): Declare.
8108 (register-alist): Document framesets.
8109 (frameset-session-filter-alist): Declare.
8110 (frameset-to-register): New function.
8111 (jump-to-register): Implement jumping to framesets. Doc fix.
8112 (describe-register-1): Describe framesets.
8113
8114 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8115
a912c016
JB
81162013-08-07 Juanma Barranquero <lekktu@gmail.com>
8117
8118 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8119 Use lexical-binding.
8120
8121 * frameset.el (frameset): Use type vector, not list (incompatible
8122 change). Do not declare a new constructor, use the default one.
8123 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8124 `name' and `description', respectively, and add read-only slot
8125 `timestamp'. Doc fixes.
8126 (frameset-copy, frameset-persistent-filter-alist)
8127 (frameset-filter-alist, frameset-switch-to-gui-p)
8128 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8129 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8130 (frameset-filter-iconified, frameset-keep-original-display-p):
8131 Doc fixes.
8132 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8133 Rename from frameset-filter-(save|restore)-param. All callers changed.
8134 Doc fix.
8135 (frameset-p): Adapt to change to vector and be more thorough.
8136 Change arg name to OBJECT. Doc fix.
8137 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8138 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8139 All callers changed.
8140 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8141 All callers changed.
8142 (frameset--record-minibuffer-relationships): Rename from
8143 frameset--process-minibuffer-frames. All callers changed.
8144 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8145 Use new default constructor (again). Doc fix.
c295fc18 8146 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8147 All callers changed.
8148 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8149 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8150 Doc fix.
8151 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8152 PARAMETERS and WINDOW-STATE, respectively.
8153 (frameset-restore): Add new keyword argument PREDICATE.
8154 Reset frameset--target-display to nil. Doc fix.
8155
bb41480a
SM
81562013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8157
f001e98e
SM
8158 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8159 (bat-mode): Use it.
8160 (bat-mode-syntax-table): Mark \n as end-of-comment.
8161 (bat-font-lock-keywords): Remove comment rule.
8162
7679edb1
SM
8163 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8164 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8165
bb41480a
SM
8166 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8167 (byte-compile-callargs-warn): Use `push'.
8168 (byte-compile-arglist-warn): Ignore higher-order "calls".
8169 (byte-compile-file-form-autoload): Use `pcase'.
8170 (byte-compile-function-form): If quoting a symbol, check that it exists.
8171
cdc1ebb9
EZ
81722013-08-07 Eli Zaretskii <eliz@gnu.org>
8173
8174 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8175 and add a few popular commands found in batch files.
8176 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8177 (dos-mode): Doc fixes.
8178
312b1740
SM
81792013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8182 (dos-mode): Use setq-local. Add space after "rem".
8183 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8184 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8185
400a3178
AM
81862013-08-07 Arni Magnusson <arnima@hafro.is>
8187
8188 * progmodes/dos.el: New file.
8189 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8190 dos-mode.
8191
3b5c03d3
GM
81922013-08-06 Glenn Morris <rgm@gnu.org>
8193
8194 * calendar/calendar.el: Add new faces, and day-header-array.
8195 (calendar-weekday-header, calendar-weekend-header)
8196 (calendar-month-header): New faces.
8197 (calendar-day-header-construct): New function.
8198 (calendar-day-header-width): Also :set calendar-day-header-array.
8199 (calendar-american-month-header, calendar-european-month-header)
8200 (calendar-iso-month-header): Use calendar- faces.
8201 (calendar-generate-month):
8202 Use calendar-day-header-array for day headers; apply faces to them.
8203 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8204 (calendar-abbrev-construct): Add optional maxlen argument.
8205 (calendar-day-name-array): Doc fix.
8206 (calendar-day-name-array, calendar-abbrev-length)
8207 (calendar-day-abbrev-array):
8208 Also :set calendar-day-header-array, and maybe redraw.
8209 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8210 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8211 (calendar-day-name): Add option to use header array.
8212
ec6a2d7a
LMI
82132013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8214
8215 * net/shr.el (shr-render-td): Remove debugging.
8216 (shr-render-td): Make width computation consistent by defaulting
8217 all zero-width columns to 10 characters. This may not be optimal,
8218 but it's at least consistent.
2122cb6d
LMI
8219 (shr-make-table-1): Redo last change to fix the real problem in
8220 colspan handling.
ec6a2d7a 8221
ed4fd9c5
DA
82222013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8223
0ca3f70e
SM
8224 * files.el (cache-long-line-scans):
8225 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8226
64e22afe
JB
82272013-08-06 Juanma Barranquero <lekktu@gmail.com>
8228
024b38fc
JB
8229 * frameset.el (frameset, frameset-filter-alist)
8230 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8231 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8232 (frameset-compute-pos): Rename from frameset--compute-pos,
8233 and add docstring.
8234 (frameset-move-onscreen): Use frameset-compute-pos.
8235 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8236
64e22afe
JB
8237 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8238 Fix typos in docstrings.
8239
c8c2aca8
DA
82402013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8241
8242 * frame.el (get-other-frame): Tiny cleanup.
8243
1d237bba
JB
82442013-08-06 Juanma Barranquero <lekktu@gmail.com>
8245
8951efef
JB
8246 * vc/vc.el (vc-default-ignore-completion-table):
8247 Silence byte-compiler warning.
8248
307764cc 8249 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8250 slot, which can indeed be nil.
307764cc
JB
8251 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8252 Move entry for `left' from persistent to live filter alist.
8253 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8254 Doc fixes.
8255 (frameset-filter-params): When restoring a frame, copy items added to
8256 `filtered', to avoid unwittingly modifying the original parameters.
8257 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8258 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8259
1d237bba
JB
8260 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8261 to use looking-at-p instead of looking-at. (Bug#15028)
8262
dc6c0eda
SM
82632013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 Revert introduction of isearch-filter-predicates (bug#14714).
8266 Rely on add-function instead.
8267 * isearch.el (isearch-filter-predicates): Rename it back to
8268 isearch-filter-predicate.
8269 (isearch-message-prefix): Use advice-function-mapc and advice
8270 properties to get the isearch-message-prefix.
8271 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8272 instead of run-hook-with-args-until-failure.
8273 (isearch-filter-visible): Not obsolete any more.
8274 * loadup.el: Preload nadvice.
8275 * replace.el (perform-replace): Revert to funcall
8276 instead of run-hook-with-args-until-failure.
8277 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8278 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8279 dired-isearch-filenames-toggle; make it into a proper minor mode.
8280 Use add/remove-function.
8281 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8282 Call the minor-mode rather than add/remove-hook.
8283 (dired-isearch-filter-filenames):
8284 Remove isearch-message-prefix property.
8285 * info.el (Info--search-loop): New function, extracted from Info-search.
8286 Funcall isearch-filter-predicate instead of
8287 run-hook-with-args-until-failure isearch-filter-predicates.
8288 (Info-search): Use it.
8289 (Info-mode): Use isearch-filter-predicate instead of
8290 isearch-filter-predicates.
8291
290d5b58
DA
82922013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8293
8294 Do not call to `selected-window' where it is assumed by default.
8295 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8296 `window-hscroll', `window-width', `window-height', `window-buffer',
8297 `window-frame', `window-start', `window-point', `next-window'
8298 and `window-display-table'.
8299 * abbrev.el (abbrev--default-expand):
8300 * bs.el (bs--show-with-configuration):
8301 * buff-menu.el (Buffer-menu-mouse-select):
8302 * calc/calc.el (calc):
8303 * calendar/calendar.el (calendar-generate-window):
8304 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8305 (diary-make-entry):
8306 * comint.el (send-invisible, comint-dynamic-complete-filename)
8307 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8308 * completion.el (complete):
8309 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8310 * disp-table.el (describe-current-display-table):
8311 * doc-view.el (doc-view-insert-image):
8312 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8313 * ehelp.el (with-electric-help):
8314 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8315 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8316 * emacs-lisp/helper.el (Helper-help-scroller):
8317 * emulation/cua-base.el (cua--post-command-handler-1):
8318 * eshell/esh-mode.el (eshell-output-filter):
8319 * ffap.el (ffap-gnus-wrapper):
8320 * help-macro.el (make-help-screen):
8321 * hilit-chg.el (highlight-compare-buffers):
8322 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8323 * hl-line.el (global-hl-line-highlight):
8324 * icomplete.el (icomplete-simple-completing-p):
8325 * isearch.el (isearch-done):
8326 * jit-lock.el (jit-lock-stealth-fontify):
8327 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8328 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8329 * mpc.el (mpc-tagbrowser, mpc):
8330 * net/rcirc.el (rcirc-any-buffer):
8331 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8332 * play/landmark.el (landmark-max-width, landmark-max-height):
8333 * play/zone.el (zone):
8334 * progmodes/compile.el (compilation-goto-locus):
8335 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8336 * progmodes/etags.el (find-tag-other-window):
8337 * progmodes/fortran.el (fortran-column-ruler):
8338 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8339 * progmodes/verilog-mode.el (verilog-point-text):
8340 * reposition.el (reposition-window):
8341 * rot13.el (toggle-rot13-mode):
8342 * server.el (server-switch-buffer):
8343 * shell.el (shell-dynamic-complete-command)
8344 (shell-dynamic-complete-environment-variable):
8345 * simple.el (insert-buffer, set-selective-display)
8346 (delete-completion-window):
8347 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8348 (speedbar-recenter):
8349 * startup.el (fancy-splash-head):
8350 * textmodes/ispell.el (ispell-command-loop):
8351 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8352 * tutorial.el (help-with-tutorial):
8353 * vc/add-log.el (add-change-log-entry):
8354 * vc/compare-w.el (compare-windows):
8355 * vc/ediff-help.el (ediff-indent-help-message):
8356 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8357 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8358 (ediff-setup-control-frame):
8359 * vc/emerge.el (emerge-position-region):
8360 * vc/pcvs-util.el (cvs-bury-buffer):
8361 * window.el (walk-windows, mouse-autoselect-window-select):
8362 * winner.el (winner-set-conf, winner-undo): Related users changed.
8363
38276e01
JB
83642013-08-05 Juanma Barranquero <lekktu@gmail.com>
8365
8366 * frameset.el (frameset--set-id): Doc fix.
8367 (frameset-frame-id, frameset-frame-id-equal-p)
8368 (frameset-locate-frame-id): New functions.
8369 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8370 (frameset-restore): Use them.
8371
12b4c0ea
DA
83722013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8373
8374 Do not call to `selected-frame' where it is assumed by default.
8375 Affected functions are `raise-frame', `redraw-frame',
8376 `frame-first-window', `frame-terminal' and `delete-frame'.
8377 * calendar/appt.el (appt-disp-window):
8378 * epg.el (epg-wait-for-completion):
8379 * follow.el (follow-delete-other-windows-and-split)
8380 (follow-avoid-tail-recenter):
8381 * international/mule.el (set-terminal-coding-system):
8382 * mail/rmail.el (rmail-mail-return):
8383 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8384 * progmodes/f90.el (f90-add-imenu-menu):
8385 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8386 * server.el (server-switch-buffer):
8387 * simple.el (delete-completion-window):
8388 * talk.el (talk):
8389 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8390 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8391 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8392 * vc/ediff.el (ediff-documentation): Related users changed.
8393 * frame.el (selected-terminal): Remove the leftover.
8394
17f25e76
GM
83952013-08-05 Glenn Morris <rgm@gnu.org>
8396
8397 * calendar/calendar.el (calendar-generate-month):
8398 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8399 (calendar-generate-month, calendar-font-lock-keywords):
8400 Fix for calendar-day-header-width > length of any day name.
17f25e76 8401
063233c3
JB
84022013-08-05 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * desktop.el (desktop-clear): Use new name of sort predicate.
8405
8406 * frameset.el (frameset): Add docstring. Move :version property to its
8407 own `version' slot.
8408 (frameset-copy): Rename from copy-frameset.
8409 (frameset-p): Check more thoroughly.
8410 (frameset-prop): Do not check for :version, which is no longer a prop.
8411 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8412 Use new :never value instead of t.
8413 (frameset-filter-alist): Expand and clarify docstring.
8414 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8415 (frameset-filter-minibuffer, frameset-filter-save-param)
8416 (frameset-filter-restore-param, frameset-filter-iconified):
8417 Add pointer to docstring of frameset-filter-alist.
8418 (frameset-filter-params): Rename filter values to be more meaningful:
8419 :never instead of t, and reverse the meanings of :save and :restore.
8420 (frameset--process-minibuffer-frames): Clarify error message.
8421 (frameset-save): Avoid unnecessary and confusing call to framep.
8422 Use new BOA constructor for framesets.
8423 (frameset--reuse-list): Doc fix.
8424 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8425 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8426 (frameset-minibufferless-first-p): Doc fix.
8427 Rename from frameset-sort-frames-for-deletion.
8428 (frameset-restore): Doc fixes. Use new function names.
8429 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8430
d5671a82
JB
84312013-08-04 Juanma Barranquero <lekktu@gmail.com>
8432
8433 * desktop.el (desktop-restore-forces-onscreen)
8434 (desktop-restore-reuses-frames): Document :keyword constant values.
8435 (desktop-filter-parameters-alist): Remove, now identical to
8436 frameset-filter-alist.
8437 (desktop--filter-tty*): Remove, moved to frameset.el.
8438 (desktop-save-frameset, desktop-restore-frameset):
8439 Do not pass :filters argument.
8440
8441 * frameset.el (frameset-live-filter-alist)
8442 (frameset-persistent-filter-alist): New variables.
8443 (frameset-filter-alist): Use them. Add autoload cookie.
8444 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8445 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8446 `frameset--id' (it's supposed to be internal to frameset.el).
8447 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8448 (frameset--initial-params): New function.
8449 (frameset--get-frame): Use it. Doc fix.
8450 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8451 Accept :all, not 'all.
8452 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8453 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8454 with fbound symbols. Fix frame id matching, and remove matching ids if
8455 the frame being restored is deleted. Obey :delete.
8456
671d5c16
SM
84572013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * subr.el (macrop): New function.
8460 (text-clone--maintaining): New var.
8461 (text-clone--maintain): Rename from text-clone-maintain. Use it
8462 instead of inhibit-modification-hooks.
8463
8464 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8465 a proxy, so as handle autoloads and redefinitions of the target.
8466 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8467
8468 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8469 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8470 (pcase--mutually-exclusive-p): New function.
8471 (pcase--split-consp): Use it.
8472 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8473 mutually exclusive with the current predicate.
8474
8475 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8476 (edebug-macrop): Remove. Use `macrop' instead.
8477 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8478 (ad-macro-p):
8479 * eshell/esh-cmd.el (eshell-macrop):
8480 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8481
1d44e9dc
SM
84822013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8485 (advice-mapc): New function, using it.
8486 (advice-function-member-p): New function.
8487 (advice--normalize): Store the cdr in advice--saved-rewrite since
8488 that's the part that will be changed.
8489 (advice--symbol-function): New function.
8490 (advice-remove): Handle removal before the function is defined.
8491 Adjust to new advice--saved-rewrite.
8492 (advice-member-p): Use advice-function-member-p and
8493 advice--symbol-function.
8494
5414a283
JB
84952013-08-04 Juanma Barranquero <lekktu@gmail.com>
8496
51d30f2c
JB
8497 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8498 (frameset-filter-minibuffer): Doc fix.
8499 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8500 (frameset--set-id, frameset--process-minibuffer-frames)
8501 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8502 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8503
5414a283
JB
8504 * desktop.el (desktop-clear): Only delete frames when called
8505 interactively and desktop-restore-frames is non-nil. Doc fix.
8506 (desktop-read): Set desktop-saved-frameset to nil.
8507
ab419665
XF
85082013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8509
8510 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8511 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8512 (vc--add-line, vc--remove-regexp): New functions.
8513
8514 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8515 (vc-svn-ignore-completion-table): New function.
8516
8517 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8518 (vc-hg-ignore-completion-table)
ab419665
XF
8519 (vc-hg-find-ignore-file): New functions.
8520
8521 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8522 (vc-git-ignore-completion-table)
ab419665
XF
8523 (vc-git-find-ignore-file): New functions.
8524
8525 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8526
8527 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8528 (vc-bzr-ignore-completion-table)
ab419665
XF
8529 (vc-bzr-find-ignore-file): New functions.
8530
2613dea2
JB
85312013-08-03 Juanma Barranquero <lekktu@gmail.com>
8532
8533 * frameset.el (frameset-prop): New function and setter.
8534 (frameset-save): Do not modify frame list passed by the caller.
8535
9c959872
SM
85362013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8539
a104f656
SM
85402013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8541
70122acf
SM
8542 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8543 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8544
a104f656
SM
8545 * custom.el (custom-initialize-default, custom-initialize-set)
8546 (custom-initialize-reset, custom-initialize-changed): Affect the
8547 toplevel-default-value (bug#6275, bug#14586).
8548 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8549 for bug#6275.
8550
f078d570
JB
85512013-08-02 Juanma Barranquero <lekktu@gmail.com>
8552
185e3b5a
JB
8553 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8554 Add cl-def* expressions.
8555
f078d570
JB
8556 * frameset.el (frameset-filter-params): Fix order of arguments.
8557
9421876d
JB
85582013-08-02 Juanma Barranquero <lekktu@gmail.com>
8559
8560 Move code related to saving frames to frameset.el.
8561 * desktop.el: Require frameset.
8562 (desktop-restore-frames): Doc fix.
8563 (desktop-restore-reuses-frames): Rename from
8564 desktop-restoring-reuses-frames.
8565 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8566 (desktop-clear): Clear frames too.
8567 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8568 (desktop--filter-tty*, desktop-save, desktop-read):
8569 Use frameset functions.
8570 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8571 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8572 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8573 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8574 (desktop--process-minibuffer-frames, desktop-save-frames)
8575 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8576 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8577 (desktop--sort-states, desktop-restoring-frames-p)
8578 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8579 (desktop-restoring-frameset-p, desktop-restore-frameset)
8580 (desktop--check-dont-save, desktop-save-frameset): New functions.
8581 (desktop--app-id): New constant.
8582 (desktop-first-buffer, desktop-buffer-ok-count)
8583 (desktop-buffer-fail-count): Move before first use.
8584 * frameset.el: New file.
8585
76dc5996
SM
85862013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * files.el: Use lexical-binding.
8589 (dir-locals-read-from-file): Remove unused `err' variable.
8590 (hack-dir-local-variables--warned-coding): New var.
8591 (hack-dir-local-variables): Use it to avoid repeated warnings.
8592 (make-backup-file-name--default-function): New function.
8593 (make-backup-file-name-function): Use it as default.
8594 (buffer-stale--default-function): New function.
8595 (buffer-stale-function): Use it as default.
8596 (revert-buffer-insert-file-contents--default-function): New function.
8597 (revert-buffer-insert-file-contents-function): Use it as default.
8598 (insert-directory): Avoid add-to-list.
8599
8600 * autorevert.el (auto-revert-handler): Simplify.
8601 Use buffer-stale--default-function.
8602
06d36e2b
TH
86032013-08-01 Tassilo Horn <tsdh@gnu.org>
8604
5f648ab4
TH
8605 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8606
06d36e2b
TH
8607 * whitespace.el (whitespace-ensure-local-variables): New function.
8608 (whitespace-cleanup-region): Call it.
8609 (whitespace-turn-on): Call it.
8610
a43dc424
MA
86112013-08-01 Michael Albinus <michael.albinus@gmx.de>
8612
8613 Complete file name handlers.
8614
8615 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8616 (tramp-handle-verify-visited-file-modtime)
8617 (tramp-handle-file-notify-rm-watch): New functions.
8618 (tramp-call-process): Do not bind `default-directory'.
8619
44e18199
JB
8620 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8621 Order alphabetically.
afe1e4c8
GM
8622 <access-file, add-name-to-file, dired-call-process>:
8623 <dired-compress-file, file-acl, file-notify-rm-watch>:
8624 <file-ownership-preserved-p, file-selinux-context>:
8625 <make-directory-internal, make-symbolic-link, set-file-acl>:
8626 <set-file-selinux-context, set-visited-file-modtime>:
8627 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8628 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8629
8630 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8631 <file-notify-add-watch, file-notify-rm-watch>:
8632 <set-file-times, set-visited-file-modtime>:
8633 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8634 (with-tramp-gvfs-error-message)
8635 (tramp-gvfs-handle-set-visited-file-modtime)
8636 (tramp-gvfs-fuse-file-name): Remove.
8637 (tramp-gvfs-handle-file-notify-add-watch)
8638 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8639 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8640
44e18199
JB
8641 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8642 Order alphabetically.
afe1e4c8
GM
8643 <file-notify-rm-watch>: Use default Tramp handler.
8644 <executable-find>: Remove private handler.
a43dc424
MA
8645 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8646 `default-directory'.
8647 (tramp-sh-handle-executable-find)
8648 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8649 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8650 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8651 Do not use `format' in `tramp-message'.
8652
8653 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8654 <file-notify-rm-watch, set-visited-file-modtime>:
8655 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8656 (tramp-smb-call-winexe): Do not bind `default-directory'.
8657
7188b515
XF
86582013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8659
8660 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8661
2412ee1a
DG
86622013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8663
8664 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8665 use it.
8666 (log-view-diff-changeset): Same.
8667 (log-view-diff-common): Call backend command `previous-revision'
8668 to find out the previous revision, in both cases. Swap the
8669 variables `to' and `fr', so that `fr' usually refers to the
8670 earlier revision (Bug#14989).
8671
5002a754
KRC
86722013-07-31 Kan-Ru Chen <kanru@kanru.info>
8673
8674 * ibuf-ext.el (ibuffer-filter-by-filename):
8675 Make it work with dired buffers too.
8676
44e18199 86772013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8678
8679 * emacs-lisp/re-builder.el (reb-color-display-p):
8680 * files.el (save-buffers-kill-terminal):
8681 * net/browse-url.el (browse-url):
8682 * server.el (server-save-buffers-kill-terminal):
8683 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8684 Prefer nil to selected-frame for the first arg of frame-parameter.
8685
aeca3fbb
XF
86862013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8687
8688 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8689
158bc55c
SB
86902013-07-30 Stephen Berman <stephen.berman@gmx.net>
8691
8692 * minibuffer.el (completion--twq-all): Try and preserve each
8693 completion's case choice (bug#14907).
8694
d50fceab
LMI
86952013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8696
ac38e731
LMI
8697 * net/network-stream.el (open-network-stream): Mention the new
8698 :nogreeting parameter.
8699 (network-stream-open-starttls): Use the :nogreeting parameter
8700 (bug#14938).
8701
1211de50
LMI
8702 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8703
997798bf
LMI
8704 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8705 more natural than popping.
8706
d50fceab 8707 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 8708 (shr-urlify): Highlight under mouse.
d50fceab 8709
5c09de04
XF
87102013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8711
207d1d04
XF
8712 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8713
8714 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8715
5c09de04
XF
8716 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8717 buffer for output.
8718
3cd51eaa
XF
8719 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8720 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 8721
44e18199 8722 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 8723 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
8724
8725 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8726
8727 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8728 buffer for output.
8729
35a89bdd
EZ
87302013-07-29 Eli Zaretskii <eliz@gnu.org>
8731
8732 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8733 initial frame is minibuffer-less. (Bug#14841)
8734
78822e94
MA
87352013-07-29 Michael Albinus <michael.albinus@gmx.de>
8736
8737 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8738 option.
8739
8740 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8741 (tramp-maybe-open-connection): Use it.
8742
9503c190
JB
87432013-07-28 Juanma Barranquero <lekktu@gmail.com>
8744
8745 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8746 minimal set of parameters passed when creating a frame, because
8747 the minibuffer status of a frame cannot be changed later.
8748
d5a845b4
SB
87492013-07-28 Stephen Berman <stephen.berman@gmx.net>
8750
8751 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8752 replace-regexp-in-string and inadvertent omissions in previous change.
8753 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 8754 name of filtered items buffer.
d5a845b4 8755
ddeffb17
JB
87562013-07-28 Juanma Barranquero <lekktu@gmail.com>
8757
8758 * desktop.el: Optionally force offscreen frames back onscreen.
8759 (desktop-restoring-reuses-frames): New option.
8760 (desktop--compute-pos, desktop--move-onscreen): New functions.
8761 (desktop--make-frame): Use desktop--move-onscreen.
8762
f5950f7a
AM
87632013-07-27 Alan Mackenzie <acm@muc.de>
8764
8765 Fontify a Java generic method as a function.
8766 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8767 value to t.
8768
ae43b66a
SB
87692013-07-27 Stephen Berman <stephen.berman@gmx.net>
8770
8771 * calendar/todo-mode.el: Add command to rename todo files.
8772 (todo-rename-file): New command.
8773 (todo-key-bindings-t): Add key binding for it. Change the
8774 bindings of todo-filter-regexp-items(-multifile) to use `x'
8775 instead of `r', since the latter is better suited to the new
8776 renaming command.
8777
5ab78d3d
AM
87782013-07-27 Alan Mackenzie <acm@muc.de>
8779
8780 Make Java try-with-resources statement parse properly.
8781 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8782 (c-block-stmt-1-2-key): New language constants/variables.
8783 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8784 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8785 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8786 with c-block-stmt-1-2-key.
5ab78d3d 8787
d85c4d50
JB
87882013-07-27 Juanma Barranquero <lekktu@gmail.com>
8789
8790 * desktop.el (desktop--make-frame): Apply most frame parameters after
8791 creating the frame to force (partially or totally) offscreen frames to
8792 be restored as such.
8793
e4c467f9
XF
87942013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8795
8796 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8797 (Bug#14948)
e4c467f9 8798
7ced0d04
SM
87992013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8800
8801 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8802 `base' arg of backtrace-frame.
8803
fec92060
EZ
88042013-07-26 Eli Zaretskii <eliz@gnu.org>
8805
8806 * simple.el (list-processes): Doc fix.
8807
d58d31fb
JB
88082013-07-26 Juanma Barranquero <lekktu@gmail.com>
8809
8810 * desktop.el (desktop--select-frame):
d85c4d50 8811 Try harder to reuse existing frames.
d58d31fb 8812
53ff3e77
SM
88132013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8816 (edebug-eval): Use backtrace-eval.
8817 (edebug--display, edebug--recursive-edit): Don't let-bind the
8818 edebug-outer-* vars that keep track of variables we locally let-bind.
8819 (edebug-outside-excursion): Don't restore outside values of locally
8820 let-bound vars.
8821 (edebug--display): Use user-error.
8822 (cl-lexical-debug, cl-debug-env): Remove.
8823
045f7a53
JB
88242013-07-26 Juanma Barranquero <lekktu@gmail.com>
8825
8826 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8827 are restored to be sure that they are visible before deleting any
8828 remaining ones.
8829
59070b32
MM
88302013-07-26 Matthias Meulien <orontee@gmail.com>
8831
742a3501
XF
8832 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8833 vc-print-root-log. (Bug#14948)
59070b32 8834
b1fb3596
RS
88352013-07-26 Richard Stallman <rms@gnu.org>
8836
8837 Add aliases for encrypting mail.
8838 * epa.el (epa-mail-aliases): New option.
8839 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8840 Bind inhibit-read-only so read-only text doesn't ruin everything.
8841 (epa-mail-default-recipients): New subroutine broken out.
8842 Handle epa-mail-aliases.
8843
56ea7291
SM
88442013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 Add support for lexical variables to the debugger's `e' command.
8847 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8848 vars, except for debugger-outer-match-data.
8849 (debugger-frame-number): Move check for "on a function call" from
8850 callers into it. Add `skip-base' argument.
8851 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8852 (debugger-env-macro): Only reset the state stored in non-variables,
8853 i.e. current-buffer and match-data.
8854 (debugger-eval-expression): Rewrite using backtrace-eval.
8855 * subr.el (internal--called-interactively-p--get-frame): Remove.
8856 (called-interactively-p):
8857 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8858 `base' arg of backtrace-frame instead.
8859
15ac32d5
GM
88602013-07-26 Glenn Morris <rgm@gnu.org>
8861
8358a09d
GM
8862 * align.el (align-regexp): Doc fix. (Bug#14857)
8863 (align-region): Explicit error if subexpression missing/does not match.
8864
15ac32d5
GM
8865 * simple.el (global-visual-line-mode):
8866 Do not duplicate the mode lighter. (Bug#14858)
8867
f47ad11b
MR
88682013-07-25 Martin Rudalics <rudalics@gmx.at>
8869
8870 * window.el (display-buffer): In display-buffer bind
8871 split-window-keep-point to t, bug#14829.
8872
02530987
JB
88732013-07-25 Juanma Barranquero <lekktu@gmail.com>
8874
8875 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8876 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8877 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8878 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8879 Change accordingly.
f63ebeb5
JB
8880 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8881 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8882
6ccb9cab 88832013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8884
6ccb9cab 8885 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8886
cb3a56d2
JB
88872013-07-25 Juanma Barranquero <lekktu@gmail.com>
8888
8889 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8890 parameter to modify-frame-parameters if the value has not changed;
8891 this is a workaround for bug#14949.
8892 (desktop--make-frame): On cl-delete-if call, check parameter name,
8893 not full parameter.
8894
7aa7fff0
XF
88952013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8896
8897 * vc/vc.el (vc-ignore): New function.
8898
8899 * vc/vc-svn.el (vc-svn-ignore): New function.
8900
8901 * vc/vc-hg.el (vc-hg-ignore): New function.
8902
8903 * vc/vc-git.el (vc-git-ignore): New function.
8904
8905 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8906 (vc-dir-ignore): New function.
8907
8908 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8909 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8910
8911 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8912
8913 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8914
889acc5c
JB
89152013-07-24 Juanma Barranquero <lekktu@gmail.com>
8916
8917 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8918 (desktop-restore-frames): Warn when deleting an existing frame failed.
8919
86c40970
GM
89202013-07-24 Glenn Morris <rgm@gnu.org>
8921
8922 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8923
d5d3c58a
MA
89242013-07-24 Michael Albinus <michael.albinus@gmx.de>
8925
8926 * filenotify.el (file-notify-supported-p):
8927 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8928 Remove functions.
8929
35e951cd 8930 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
8931 (auto-revert-notify-add-watch):
8932 * net/tramp.el (tramp-file-name-for-operation):
8933 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8934 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8935 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8936 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8937 Remove `file-notify-supported-p' entry.
8938
d100084b
GM
89392013-07-24 Glenn Morris <rgm@gnu.org>
8940
8941 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8942 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8943
ac93e56b
SM
89442013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8945
249eea30
SM
8946 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8947 checked with memq (bug#14935).
8948
ac93e56b
SM
8949 * files.el (revert-buffer-function): Use a non-nil default.
8950 (revert-buffer-preserve-modes): Declare var to
8951 provide access to the `preserve-modes' argument.
8952 (revert-buffer): Let-bind it.
8953 (revert-buffer--default): New function, extracted from revert-buffer.
8954
2cdeb903
SM
89552013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 * lpr.el: Signal print errors more prominently.
8958 (print-region-function): Don't default to nil.
8959 (lpr-print-region): New function, extracted from print-region-1.
8960 Check lpr's return value and signal an error in case of problem.
8961 (print-region-1): Use it.
8962 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8963 versions instead.
8964 (ps-printer-name): Default to nil.
8965 (ps-printer-name-option): Default to lpr-printer-switch.
8966 (ps-print-region-function): Don't default to nil.
8967 (ps-postscript-code-directory): Simplify default.
8968 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8969 (ps-string-list, ps-eval-switch, ps-flatten-list)
8970 (ps-flatten-list-1): Remove.
8971 (ps-multibyte-buffer): Avoid setq.
8972 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8973 (print-region-function, ps-print-region-function): Don't set them here.
8974
73600831
XF
89752013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8976
35e951cd
JB
8977 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8978 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8979 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
8980 (ido-decorations): Doc fix.
8981
73600831
XF
8982 * ansi-color.el: Fix old URL.
8983
3d012865
MM
89842013-07-23 Michael R. Mauger <michael@mauger.com>
8985
e903c210 8986 * progmodes/sql.el: Version 3.3
3d012865
MM
8987 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8988 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8989 (sql-interactive-remove-continuation-prompt): Rewrite, use
8990 functions above. Fix continuation prompt and complete output line
8991 handling.
8992 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8993 redirected output buffer.
8994 (sql-mode): Restore deleted code (Bug#13591).
8995
da77a2e2
JB
89962013-07-23 Juanma Barranquero <lekktu@gmail.com>
8997
8998 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8999
80ff0c71
MA
90002013-07-23 Michael Albinus <michael.albinus@gmx.de>
9001
9002 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9003
9004 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9005 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9006 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9007
b61d71e4
JB
90082013-07-23 Juanma Barranquero <lekktu@gmail.com>
9009
9010 * desktop.el (desktop-clear): Simplify; remove useless checks
9011 against invalid buffer names.
9012 (desktop-list*): Use cl-list*.
9013 (desktop-buffer-info, desktop-create-buffer): Simplify.
9014
c3512092
LL
90152013-07-23 Leo Liu <sdl.web@gmail.com>
9016
9017 * bookmark.el (bookmark-make-record): Restore NAME as a default
9018 value. (Bug#14933)
9019
0ac26976
SM
90202013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9021
7d22ce18
SM
9022 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9023 extracted from autoload--insert-text.
9024 (autoload--insert-text): Remove.
9025 (autoload--print-cookie-text): New function, extracted from
9026 autoload--insert-cookie-text.
9027 (autoload--insert-cookie-text): Remove.
9028 (autoload-generate-file-autoloads): Adjust calls accordingly.
9029
9b2607e8
SM
9030 * winner.el (winner-hook-installed-p): Remove.
9031 (winner-mode): Simplify accordingly.
9032
c43a8618
SM
9033 * subr.el (add-to-list): Fix compiler-macro when `append' is
9034 not constant. Don't use `cl-member' for the base case.
9035
0ac26976
SM
9036 * progmodes/subword.el: Fix boundary case (bug#13758).
9037 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9038 own group.
9039 (subword-backward-regexp): Make it a constant.
9040 (subword-forward-internal): Don't treat a trailing capital as the
9041 beginning of a word.
9042
6874724a
AR
90432013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9044
9045 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9046 global value of tabulated-list-revert-hook (bug#14930).
9047
70f1b5e8
JB
90482013-07-22 Juanma Barranquero <lekktu@gmail.com>
9049
a1c80d9d
JB
9050 * desktop.el: Require 'cl-lib.
9051 (desktop-before-saving-frames-functions): New hook.
9052 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9053 for frames being saved. Rename from desktop--save-minibuffer-frames.
9054 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9055 Do not save frames with non-nil `desktop-dont-save' parameter.
9056 Filter out deleted frames.
a1c80d9d
JB
9057 (desktop--find-frame): Use cl-find-if.
9058 (desktop--select-frame): Use cl-(first|second|third) to access values
9059 of desktop-mini.
9060 (desktop--make-frame): Use cl-delete-if.
9061 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9062 (desktop-restore-frames): Use cl-(first|second|third) to access values
9063 of desktop-mini. Look for visible frame at the end, not while
9064 restoring frames.
9065
70f1b5e8
JB
9066 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9067 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9068 Use string-match-p, looking-at-p (bug#14927).
9069
728dc3cc
JB
90702013-07-21 Juanma Barranquero <lekktu@gmail.com>
9071
56bc453c
JB
9072 * desktop.el (desktop-saved-frame-states):
9073 Rename from desktop--saved-states; all users changed.
9074 (desktop-save-frames): Rename from desktop--save-frames.
9075 Do not save state to desktop file.
9076 (desktop-save): Save desktop-saved-frame-states to desktop file
9077 and reset to nil.
9078 (desktop-restoring-frames-p): New function.
9079 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9080 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9081 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9082
728dc3cc
JB
9083 * desktop.el: Correctly restore iconified frames.
9084 (desktop--filter-iconified-position): New function.
9085 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9086
862f1c9c
GM
90872013-07-20 Glenn Morris <rgm@gnu.org>
9088
c4074c9f
GM
9089 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9090 Let `message' do the formatting.
9091 (def-gdb-preempt-display-buffer): Add explicit format.
9092
d828e5f9
GM
9093 * image-dired.el (image-dired-track-original-file):
9094 Use with-current-buffer.
9095 (image-dired-track-thumbnail): Use with-current-buffer.
9096 Avoid changing point of wrong window.
9097
862f1c9c
GM
9098 * image-dired.el (image-dired-track-original-file):
9099 Avoid changing point of wrong window. (Bug#14909)
9100
f0398ec1 91012013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9102
9103 * progmodes/gdb-mi.el (gdb-done-or-error):
9104 Guard against "%" in gdb output. (Bug#14127)
9105
1451928f
AS
91062013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9107
763a086d
JB
9108 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9109 (Bug#14826)
f7a03897 9110
1451928f
AS
9111 * international/mule.el (coding-system-iso-2022-flags): Fix last
9112 change.
9113
99107004
KH
91142013-07-20 Kenichi Handa <handa@gnu.org>
9115
763a086d
JB
9116 * international/mule.el (coding-system-iso-2022-flags):
9117 Add `8-bit-level-4'. (Bug#8522)
99107004 9118
48494e06
LMI
91192013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9120
8ba8eec5
LMI
9121 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9122 (bug#14815).
9123
dfbc66e3
LMI
9124 * net/eww.el (eww-process-text-input): Allow inputting when the
9125 point is at the start of the line, as the properties aren't
9126 front-sticky.
9127
48494e06
LMI
9128 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9129 degenerate widths.
9130
77c92cb9
RS
91312013-07-19 Richard Stallman <rms@gnu.org>
9132
aec7da77
RS
9133 * epa.el (epa-popup-info-window): Doc fix.
9134
77c92cb9
RS
9135 * subr.el (split-string): New arg TRIM.
9136
945c5bb1
JB
91372013-07-18 Juanma Barranquero <lekktu@gmail.com>
9138
9139 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9140 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9141
e06ec67f
MA
91422013-07-18 Michael Albinus <michael.albinus@gmx.de>
9143
c7064f05 9144 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9145 `file-notify-support'. Do not autoload. Adapt all uses.
9146 (file-notify-supported-p): New defun.
9147
c7064f05
JB
9148 * autorevert.el (auto-revert-use-notify):
9149 Use `file-notify-supported-p' instead of `file-notify-support'.
9150 Adapt docstring.
e06ec67f
MA
9151 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9152
9153 * net/tramp.el (tramp-file-name-for-operation):
9154 Add `file-notify-supported-p'.
9155
9156 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9157 New defun.
9158 (tramp-sh-file-name-handler-alist): Add it as handler for
9159 `file-notify-supported-p '.
9160
9161 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9162 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9163 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9164 Add `ignore' as handler for `file-notify-*' functions.
9165
5dc8a629
EZ
91662013-07-17 Eli Zaretskii <eliz@gnu.org>
9167
9168 * simple.el (line-move-partial, line-move): Don't start vscroll or
9169 scroll-up if the current line is not taller than the window.
9170 (Bug#14881)
9171
77aea2fb
DG
91722013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9173
9174 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9175 highlight question marks in the method names as strings.
ac72c08d
DG
9176 (ruby-block-beg-keywords): Inline.
9177 (ruby-font-lock-keyword-beg-re): Extract from
9178 `ruby-font-lock-keywords'.
77aea2fb 9179
18c26d81
JD
91802013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9181
9182 * frame.el (blink-cursor-blinks): New defcustom.
9183 (blink-cursor-blinks-done): New defvar.
9184 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9185 (blink-cursor-timer-function): Check if number of blinks has been
9186 done on X and NS.
9187 (blink-cursor-suspend, blink-cursor-check): New defuns.
9188
da48522e
GM
91892013-07-15 Glenn Morris <rgm@gnu.org>
9190
9191 * edmacro.el (edmacro-format-keys): Fix previous change.
9192
0463c1ef
PE
91932013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9194
9195 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9196 The hack didn't work outside English locales anyway.
9197
b43f6451
JB
91982013-07-15 Juanma Barranquero <lekktu@gmail.com>
9199
9200 * simple.el (define-alternatives): Rename from alternatives-define,
9201 per RMS' suggestion.
9202
b958c0ad
JB
92032013-07-14 Juanma Barranquero <lekktu@gmail.com>
9204
9205 * desktop.el (desktop-restore-frames): Change default to t.
9206 (desktop-restore-in-current-display): Now offer more options.
9207 (desktop-restoring-reuses-frames): New customization option.
9208 (desktop--saved-states): Doc fix.
9209 (desktop-filter-parameters-alist): New variable, renamed and expanded
9210 from desktop--excluded-frame-parameters.
9211 (desktop--target-display): New variable.
9212 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9213 (desktop--filter-tty*, desktop--filter-*-color)
9214 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9215 (desktop--filter-save-desktop-parm)
9216 (desktop-restore-in-original-display-p): New functions.
9217 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9218 (desktop--save-minibuffer-frames): New function, inspired by a similar
9219 function from Martin Rudalics.
9220 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9221 (desktop--restore-in-this-display-p): Remove.
9222 (desktop--find-frame): Rename from desktop--find-frame-in-display
9223 and add predicate argument.
9224 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9225 (desktop--reuse-list): New variable.
9226 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9227 New functions.
9228 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9229
f6dd8b36
MA
92302013-07-14 Michael Albinus <michael.albinus@gmx.de>
9231
9232 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9233
2ce3c565
DG
92342013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9235
763a086d
JB
9236 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9237 Highlight conversion methods on Kernel.
2ce3c565 9238
2cdb7698
AM
92392013-07-13 Alan Mackenzie <acm@muc.de>
9240
9241 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9242 and comment it out. This out-commenting enables certain C++
9243 declarations to be parsed correctly.
9244
1a67b811
EZ
92452013-07-13 Eli Zaretskii <eliz@gnu.org>
9246
1b796d6b
EZ
9247 * international/mule.el (define-coding-system): Doc fix.
9248
1a67b811
EZ
9249 * simple.el (default-font-height): Don't call font-info if the
9250 frame's default font didn't change since the frame was created.
9251 (Bug#14838)
9252
58fbe886
LL
92532013-07-13 Leo Liu <sdl.web@gmail.com>
9254
9255 * ido.el (ido-read-file-name): Guard against non-symbol value.
9256
1f0480d4
FEG
92572013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9258
9259 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9260 in nested defuns.
9261
97ead0e5
LL
92622013-07-13 Leo Liu <sdl.web@gmail.com>
9263
9264 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9265 ido-set-matches call. (Bug#6852)
9266
0880a952
DG
92672013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9268
35e951cd 9269 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9270 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9271 Ruby 2.0.
9272 (ruby-font-lock-keywords): Distinguish calls to functions with
9273 module-like names from module references. Highlight character
9274 literals.
9275
a7d8babb
SDJ
92762013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9277
9278 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9279 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9280
acfcc8c5
JB
92812013-07-12 Juanma Barranquero <lekktu@gmail.com>
9282
9283 * desktop.el (desktop--v2s): Remove unused local variable.
9284 (desktop-save-buffer): Make defvar-local; adjust docstring.
9285 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9286 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9287
051f2775
AS
92882013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9289
9290 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9291
f24e7572
GM
92922013-07-12 Eli Zaretskii <eliz@gnu.org>
9293
9294 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9295 (Bug#14842)
9296
539a920c
GM
92972013-07-12 Glenn Morris <rgm@gnu.org>
9298
9299 * doc-view.el: Require cl-lib at runtime too.
9300 (doc-view-remove-if): Remove.
9301 (doc-view-search-next-match, doc-view-search-previous-match):
9302 Use cl-remove-if.
9303
9304 * edmacro.el: Require cl-lib at runtime too.
9305 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9306 (edmacro-mismatch, edmacro-subseq): Remove.
9307
9308 * shadowfile.el: Require cl-lib.
9309 (shadow-remove-if): Remove.
9310 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9311 Use cl-remove-if.
9312
9313 * wid-edit.el: Require cl-lib.
9314 (widget-choose): Use cl-remove-if.
9315 (widget-remove-if): Remove.
9316
9317 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9318 (ebrowse-delete-if-not): Remove.
9319 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9320 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9321 Use cl-delete-if-not.
9322
1048af7c
JB
93232013-07-12 Juanma Barranquero <lekktu@gmail.com>
9324
9325 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9326 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9327
6c0674ee
LL
93282013-07-12 Leo Liu <sdl.web@gmail.com>
9329
9330 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9331
a19b3c2d
GM
93322013-07-11 Glenn Morris <rgm@gnu.org>
9333
4582a01c
GM
9334 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9335 (edebug-gensym-index, edebug-gensym):
9336 Remove reimplementation of cl-gensym.
9337 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9338
9339 * thumbs.el: Require cl-lib at run-time too.
9340 (thumbs-gensym-counter, thumbs-gensym):
9341 Remove reimplementation of cl-gensym.
9342 (thumbs-temp-file): Use cl-gensym.
9343
a19b3c2d
GM
9344 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9345 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9346 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9347 (ert--union, ert--gensym-counter, ert--gensym-counter)
9348 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9349 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9350 (ert-make-test-unbound, ert--expand-should-1)
9351 (ert--expand-should, ert--should-error-handle-error)
9352 (should-error, ert--explain-equal-rec)
9353 (ert--plist-difference-explanation, ert-select-tests)
9354 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9355 Use cl-lib functions rather than reimplementations.
9356
88f6a933
MA
93572013-07-11 Michael Albinus <michael.albinus@gmx.de>
9358
9359 * net/tramp.el (tramp-methods): Extend docstring.
9360 (tramp-connection-timeout): New defcustom.
9361 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9362 (with-tramp-progress-reporter): Simplify.
9363 (tramp-process-actions): Improve messages.
9364
9365 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9366 * net/tramp-sh.el (tramp-maybe-open-connection):
9367 Use `tramp-connection-timeout'.
afe1e4c8 9368 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9369 (Bug#14808)
9370
a43d577e
LL
93712013-07-11 Leo Liu <sdl.web@gmail.com>
9372
9373 * ido.el (ido-read-file-name): Conform to the requirements of
9374 read-file-name. (Bug#11861)
9375 (ido-read-directory-name): Conform to the requirements of
9376 read-directory-name.
9377
d77974bf
JB
93782013-07-11 Juanma Barranquero <lekktu@gmail.com>
9379
9380 * subr.el (delay-warning): New function.
9381
35cb8a3e
EZ
93822013-07-10 Eli Zaretskii <eliz@gnu.org>
9383
9384 * simple.el (default-line-height): New function.
9385 (line-move-partial, line-move): Use it instead of computing the
9386 line height inline.
9387 (line-move-partial): Always compute ROWH. If the last line is
9388 partially-visible, but its text is completely visible, allow
9389 cursor to enter such a partially-visible line.
9390
525c5c77
MA
93912013-07-10 Michael Albinus <michael.albinus@gmx.de>
9392
9393 Improve error messages. (Bug#14808)
9394
9395 * net/tramp.el (tramp-current-connection): New defvar, moved from
9396 tramp-sh.el.
0ac26976 9397 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9398 needed anymore.
0ac26976
SM
9399 (tramp-error-with-buffer): Show message in minibuffer.
9400 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9401 (with-tramp-progress-reporter): Improve messages.
9402 (tramp-process-actions): Use progress reporter. Delete process in
9403 case of error. Improve messages.
9404
763a086d
JB
9405 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9406 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9407 (tramp-current-connection): Remove.
525c5c77
MA
9408 (tramp-maybe-open-connection): The car of
9409 `tramp-current-connection' are the first 3 slots of the vector.
9410
c7a4d368
TZ
94112013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9412
9413 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9414 inside continued strings.
9415
954b166e
PE
94162013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9417
9418 Timestamp fixes for undo (Bug#14824).
9419 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9420
56973319
LL
94212013-07-10 Leo Liu <sdl.web@gmail.com>
9422
9423 * files.el (require-final-newline): Allow safe local value.
9424 (Bug#14834)
9425
5550a72c
LL
94262013-07-09 Leo Liu <sdl.web@gmail.com>
9427
9428 * ido.el (ido-read-directory-name): Handle fallback.
9429 (ido-read-file-name): Update DIR to ido-current-directory.
9430 (Bug#1516)
c28b9050 9431 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9432
70c46b28
DG
94332013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9434
9435 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9436 "autoload". Remove "warn lower camel case" section, previously
9437 commented out. Highlight negation char. Do not highlight the
9438 target in singleton method definitions.
9439
0b64b838
SM
94402013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9441
7fd72e2c
SM
9442 * faces.el (tty-setup-hook): Declare the hook.
9443
0b64b838
SM
9444 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9445 and detect when a guard/pred depends on local vars (bug#14773).
9446 (pcase--u1): Adjust caller.
9447
ab49d60b
EZ
94482013-07-08 Eli Zaretskii <eliz@gnu.org>
9449
9450 * simple.el (line-move-partial, line-move): Account for
9451 line-spacing.
701d79aa
EZ
9452 (line-move-partial): Avoid setting vscroll when the last
9453 partially-visible line in window is of default height.
ab49d60b 9454
2d756ae0
LMI
94552013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9456
9457 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9458 been used a while.
9459
ed095bd7
JB
94602013-07-07 Juanma Barranquero <lekktu@gmail.com>
9461
9462 * subr.el (read-quoted-char): Remove unused local variable `char'.
9463
f1e6674b
MK
94642013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9465
584ee3fc
GM
9466 * ediff.el (ediff-version): Version update.
9467 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9468 (ediff-merge-with-ancestor-command, ediff-directories-command)
9469 (ediff-directories3-command, ediff-merge-directories-command)
9470 (ediff-merge-directories-with-ancestor-command): New functions.
9471 All are command-line interfaces to ediff: to facilitate calling
9472 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9473
9474 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9475 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9476
584ee3fc
GM
9477 * viper.el (viper-version): Version update.
9478 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9479
584ee3fc
GM
94802013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9483 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9484 (viper-intercept-ESC-key): Simplify.
9485 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9486 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9487 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9488 (viper-setup-ESC-to-escape): New functions.
9489 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9490 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9491
9aff9b38
EZ
94922013-07-07 Eli Zaretskii <eliz@gnu.org>
9493
5165d44a
JB
9494 * simple.el (default-font-height, window-screen-lines):
9495 New functions.
9aff9b38
EZ
9496 (line-move, line-move-partial): Use them instead of
9497 frame-char-height and window-text-height. This makes scrolling
9498 text smoother when the buffer's default face uses a font that is
9499 different from the frame's default font.
9500
1afb1d07
JD
95012013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9502
9503 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9504 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9505
23de972a
EZ
95062013-07-06 Eli Zaretskii <eliz@gnu.org>
9507
9508 * simple.el (line-move-partial): Adjust the row returned by
9509 posn-at-point for the current window-vscroll. (Bug#14567)
9510
54a42486
MA
95112013-07-06 Michael Albinus <michael.albinus@gmx.de>
9512
35e951cd 9513 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9514 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9515 spaces.
9516
34ada5f4
MR
95172013-07-06 Martin Rudalics <rudalics@gmx.at>
9518
9519 * window.el (window-state-put-stale-windows): New variable.
9520 (window--state-put-2): Save list of windows without matching buffer.
9521 (window-state-put): Remove "bufferless" windows if possible.
9522
11e03d89
JB
95232013-07-06 Juanma Barranquero <lekktu@gmail.com>
9524
9525 * simple.el (alternatives-define): Remove leftover :group keyword.
9526 Tweak docstring.
9527
3504a4be
LL
95282013-07-06 Leo Liu <sdl.web@gmail.com>
9529
9530 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9531 (ido-enable-virtual-buffers): New variable.
9532 (ido-buffer-internal, ido-toggle-virtual-buffers)
9533 (ido-make-buffer-list): Use it.
9534 (ido-exhibit): Support turning on and off virtual buffers
9535 automatically.
9536
61e56e2c
JB
95372013-07-06 Juanma Barranquero <lekktu@gmail.com>
9538
9539 * simple.el (alternatives-define): New macro.
9540
321e1a9c
SM
95412013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * subr.el (read-quoted-char): Use read-key.
9544 (sit-for): Let read-event decode tty input (bug#14782).
9545
d610f6dd
SB
95462013-07-05 Stephen Berman <stephen.berman@gmx.net>
9547
9548 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9549 mode command and externally. Fix various related bugs.
9550 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9551 (todo-delete-file): New command.
9552 (todo-check-file): New function.
9553 (todo-show): Handle external deletion of the file we're trying to
9554 show (bug#14688). Replace called-interactively-p by an optional
9555 prefix argument to avoid problematic interaction with catch form
9556 when byte compiled (bug#14702).
9557 (todo-quit): Handle external deletion of the archive's todo file.
9558 Make sure the buffer that was visiting the archive file is still
9559 live before trying to bury it.
9560 (todo-category-completions): Handle external deletion of any
9561 category completion files.
9562 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9563 of todo files, in case of external deletion.
9564 (todo-add-file): Replace unnecessary setq by let-binding.
9565 (todo-find-archive): Check whether there are any archives.
9566 Replace unnecessary setq by let-binding.
9567 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9568 archive buffer whether or not the archive already exists.
9569 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9570 check if the archive is new; if it is, update list of archives.
9571 (todo-default-todo-file): Allow nil to be a valid value for when
9572 there are no todo files.
9573 (todo-reevaluate-default-file-defcustom): Use corrected definition
9574 of todo-default-todo-file.
9575 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9576 (todo-delete-category, todo-show-categories-table)
9577 (todo-category-number): Clarify comment.
9578 (todo-filter-items): Clarify documentation string.
9579 (todo-show-current-file, todo-display-as-todo-file)
9580 (todo-reset-and-enable-done-separator): Tweak documentation string.
9581 (todo-done-separator): Make separator length window-width, since
9582 bug#2749 is now fixed.
9583
ddbdfd6f
MA
95842013-07-05 Michael Albinus <michael.albinus@gmx.de>
9585
321e1a9c
SM
9586 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9587 Support both "gvfs-monitor-dir" and "inotifywait".
9588 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9589 `tramp-sh-file-notify-process-filter'.
9590 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9591 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9592
96eb829a
LL
95932013-07-05 Leo Liu <sdl.web@gmail.com>
9594
9595 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9596
cf13177e
YM
95972013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9598
9599 * frame.el (display-pixel-height, display-pixel-width)
9600 (display-mm-height, display-mm-width): Mention behavior on
9601 multi-monitor setups in docstrings.
9602 (w32-display-monitor-attributes-list): Declare function.
9603 (display-monitor-attributes-list): Use it.
9604
864c58ca
MA
96052013-07-04 Michael Albinus <michael.albinus@gmx.de>
9606
9607 * filenotify.el: New package.
9608
9609 * autorevert.el (top): Require filenotify.el.
9610 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9611 instead.
9612 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9613 (auto-revert-notify-handler): Use `file-notify-*' functions.
9614
9615 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9616
321e1a9c
SM
9617 * net/tramp.el (tramp-file-name-for-operation):
9618 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9619
9620 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9621 for `file-notify-add-watch' and `file-notify-rm-watch'.
9622 (tramp-process-sentinel): Improve trace.
9623 (tramp-sh-handle-file-notify-add-watch)
9624 (tramp-sh-file-notify-process-filter)
9625 (tramp-sh-handle-file-notify-rm-watch)
9626 (tramp-get-remote-inotifywait): New defuns.
9627
96673afe
JL
96282013-07-03 Juri Linkov <juri@jurta.org>
9629
9630 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9631 call of `occur-read-primary-args' to interactive spec.
9632
9633 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9634 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9635
924494f4
MM
96362013-07-03 Matthias Meulien <orontee@gmail.com>
9637
9638 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9639 `Buffer-menu-multi-occur'. Add it to the menu.
9640 (Buffer-menu-mode): Document it in docstring.
9641 (Buffer-menu-multi-occur): New command. (Bug#14673)
9642
56f75efc
DG
96432013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9644
9645 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9646 keywords and built-ins.
9647
9b057d61
GM
96482013-07-03 Glenn Morris <rgm@gnu.org>
9649
208dee4d
GM
9650 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9651
9b057d61
GM
9652 Make info-xref checks case-sensitive by default
9653 * info.el (Info-find-node, Info-find-in-tag-table)
9654 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9655 Add option for exact case matching of nodes.
9656 * info-xref.el (info-xref): New custom group.
9657 (info-xref-case-fold): New option.
9658 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9659
e01aa29c
LL
96602013-07-03 Leo Liu <sdl.web@gmail.com>
9661
9662 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9663
3086ca2e
DG
96642013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9665
9666 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9667 middle of block statement initially, lower the depth. Remove
9668 FIXME comment, not longer valid. Remove middle of block statement
9669 detection, no need to do that anymore since we've been using
9670 `ruby-parse-region' here.
9671
a3b49114
JD
96722013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9673
9674 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9675
08e5c823 96762013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9677
9678 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9679
2addf922
JB
96802013-07-01 Juanma Barranquero <lekktu@gmail.com>
9681
9682 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9683 (desktop-restore-in-current-display): New customization option.
9684 (desktop--excluded-frame-parameters): Add `font'.
9685 (desktop--save-frames): Rename from desktop--save-windows.
9686 (desktop--restore-in-this-display-p): New function.
9687 (desktop--make-full-frame): Remove unwanted width/height from
9688 full(width|height) frames.
9689 (desktop--restore-frames): Rename from desktop--restore-windows.
9690 Obey desktop-restore-current-display. Do not delete old frames or
9691 select a new frame unless we were able to restore at least one frame.
9692
ef099a94
MN
96932013-06-30 Michal Nazarewicz <mina86@mina86.com>
9694
9695 * files.el (find-file-noselect): Simplify conditional expression.
9696
a12bf61e 9697 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
9698 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9699
9700 Add `remember-notes' function to store random notes across Emacs
9701 restarts.
3fcfc4ee
JB
9702 * textmodes/remember.el (remember-data-file): Add :set callback to
9703 affect notes buffer (if any).
ef099a94
MN
9704 (remember-notes): New command.
9705 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9706 New defcustoms for the `remember-notes' function.
9707 (remember-notes-save-and-bury-buffer): New command.
9708 (remember-notes-mode-map): New variable.
9709 (remember-mode): New minor mode.
9710 (remember-notes--kill-buffer-query): New function.
9711 * startup.el (initial-buffer-choice): Add notes to custom type.
9712
0865d506
EZ
97132013-06-30 Eli Zaretskii <eliz@gnu.org>
9714
0ba54312
EZ
9715 * bindings.el (right-char, left-char): Don't call sit-for, this is
9716 no longer needed. Use arithmetic comparison only for numerical
9717 arguments.
9718
ef099a94
MN
9719 * international/mule-cmds.el (select-safe-coding-system):
9720 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 9721
2fae38e5
LMI
97222013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9723
9724 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9725 progression on degenerate tables.
ef099a94 9726 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 9727
a47cbd64
JB
97282013-06-30 Juanma Barranquero <lekktu@gmail.com>
9729
9730 Some fixes and improvements for desktop frame restoration.
9731 It is still experimental and disabled by default.
9732 * desktop.el (desktop--save-windows): Put the selected frame at
9733 the head of the list.
9734 (desktop--make-full-frame): New function.
9735 (desktop--restore-windows): Try to re-select the frame that was
9736 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
9737 just show an error message and continue. Set up maximized frames
9738 so they have default non-maximized dimensions.
a47cbd64 9739
6dbafa30
DG
97402013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9741
ef099a94
MN
9742 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9743 Don't start heredoc inside a string or comment.
6dbafa30 9744
4c672a0f
EZ
97452013-06-29 Eli Zaretskii <eliz@gnu.org>
9746
9747 * bindings.el (visual-order-cursor-movement): New defcustom.
9748 (right-char, left-char): Provide visual-order cursor motion by
9749 calling move-point-visually. Update the doc strings.
9750
50960f36
KH
97512013-06-28 Kenichi Handa <handa@gnu.org>
9752
9753 * international/mule.el (define-coding-system): New coding system
9754 properties :inhibit-null-byte-detection,
9755 :inhibit-iso-escape-detection, and :prefer-utf-8.
9756 (set-buffer-file-coding-system): If :charset-list property of
9757 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9758 appropriate for setting.
9759
c1ea3abf
JB
9760 * international/mule-cmds.el (select-safe-coding-system):
9761 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9762 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9763
9764 * international/mule-conf.el (prefer-utf-8): New coding system.
9765 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9766 files.
9767
75dbaf9d
IK
97682013-06-28 Ivan Kanis <ivan@kanis.fr>
9769
eadb6068
IK
9770 * net/shr.el (shr-render-region): New function.
9771
75dbaf9d
IK
9772 * net/eww.el: Autoload `eww-browse-url'.
9773
9ea5cf9f
DG
97742013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9775
c1ea3abf
JB
9776 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9777 Adapt to `package-desc-version' being a list.
9778 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9779 archive element.
9780
39c0e36f
JB
97812013-06-27 Juanma Barranquero <lekktu@gmail.com>
9782
9783 New experimental feature to save&restore window and frame setup.
9784 * desktop.el (desktop-save-windows): New defcustom.
9785 (desktop--saved-states): New var.
9786 (desktop--excluded-frame-parameters): New defconst.
9787 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9788 (desktop--restore-windows, desktop--save-windows): New functions.
9789 (desktop-save): Call `desktop--save-windows'.
9790 (desktop-read): Call `desktop--restore-windows'.
9791
7f13406b
LMI
97922013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9793
ef099a94 9794 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9795
1e072639
SB
97962013-06-27 Stephen Berman <stephen.berman@gmx.net>
9797
9798 * info.el (Info-try-follow-nearest-node): Move search for footnote
9799 above search for node name to prevent missing a footnote (bug#14717).
9800
f3e2cbde
SB
98012013-06-27 Stephen Berman <stephen.berman@gmx.net>
9802
9803 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9804
99906aa0
LL
98052013-06-27 Leo Liu <sdl.web@gmail.com>
9806
9807 * net/eww.el (eww-read-bookmarks): Check file size.
9808
539f75f4
SM
98092013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9812 advice--pending if newdef is nil or an autoload (bug#13820).
9813 (advice-mapc): New function.
9814
843571cb
LMI
98152013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9816
9817 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9818 probably.
23a75d7f 9819 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9820 (eww-add-bookmark): New command.
9821 (eww-bookmark-mode): New mode and commands.
a285ce99 9822 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9823 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9824
f2136e1e
GM
98252013-06-26 Glenn Morris <rgm@gnu.org>
9826
eab35f39
GM
9827 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9828 (hfy-size): Handle ttys. (Bug#14668)
9829
f2136e1e
GM
9830 * info-xref.el: Update for Texinfo 5 change in *note format.
9831 (info-xref-node-re, info-xref-note-re): New constants.
9832 (info-xref-check-buffer): Use info-xref-note-re.
9833
a49ff80c
SM
98342013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9835
a343d218
SM
9836 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9837
a49ff80c
SM
9838 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9839 nil terminate the loop (bug#14718).
9840
8308f184
LMI
98412013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9842
9843 * net/eww.el: Rework history traversal. When going forward/back,
9844 put these actions into the history, too, so that they can be
9845 replayed.
26bf2b82 9846 (eww-render): Move the history reset to the correct buffer.
8308f184 9847
ec64c273
JL
98482013-06-25 Juri Linkov <juri@jurta.org>
9849
9850 * files-x.el (modify-dir-local-variable): Change the header comment
9851 in the file with directory local variables. (Bug#14692)
9852
e080a9d7
JL
9853 * files-x.el (read-file-local-variable-value): Add `default'.
9854 (Bug#14710)
9855
bfbc93a1
IK
98562013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9857
9858 * net/eww.el (eww-make-unique-file-name): Create a unique file
9859 name before saving to entering `y' accidentally asynchronously.
9860
98612013-06-25 Ivan Kanis <ivan@kanis.fr>
9862
9863 * net/eww.el (eww-download): New command and keystroke.
9864
16f74f10
LMI
98652013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9866
a49ff80c 9867 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9868
9869 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9870 be more consistent with Info and dired.
9871
9872 * net/eww.el (eww-mode-map): Ditto.
9873
12059709
SM
98742013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9877 packages from archives.
9878 (package-archive-contents): Change format; include obsolete packages.
9879 (package-desc): Use `dir' to mark builtin packages.
9880 (package--from-builtin): Set the `dir' field to `builtin'.
9881 (generated-autoload-file, version-control): Declare.
9882 (package-compute-transaction): Change first arg and return value to be
9883 lists of package-descs. Adjust to new package-archive-contents format.
9884 (package--add-to-archive-contents): Adjust to new
9885 package-archive-contents format.
9886 (package-download-transaction): Arg is now a list of package-descs.
9887 (package-install): If `pkg' is a package name, pass it as
9888 a requirement, so it is subject to the usual (e.g. disabled) checks.
9889 (describe-package): Accept package-desc as well.
9890 (describe-package-1): Describe a specific package-desc. Add links to
9891 other package-descs for the same package name.
9892 (package-menu-describe-package): Pass the actual package-desc.
9893 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9894 works correctly.
9895 (package-desc-status): New function.
9896 (package-menu--refresh): New function, extracted
9897 from package-menu--generate.
9898 (package-menu--generate): Use it.
9899 (package-delete): Update package-alist.
9900 (package-menu-execute): Don't call package-initialize.
9901
9902 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9903 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9904 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9905 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9906 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9907 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9908
8bbdea0f
MR
99092013-06-25 Martin Rudalics <rudalics@gmx.at>
9910
9911 * window.el (window--state-get-1): Workaround for bug#14527.
9912 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9913
e82b0991
LMI
99142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9915
9916 * net/eww.el (eww-back-url): Implement the history by stashing all
9917 the data into a list.
d3f0f918 9918 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9919
c763842b
SM
99202013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9923 for values and use read--expression for expressions (bug#14710).
9924 (read-file-local-variable): Avoid setq.
9925 (read-file-local-variable-mode): Use minor-mode-list.
9926
bceff189
RW
99272013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9928
864c58ca 9929 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9930 for DOI URLs.
9931
45f431c6
RW
99322013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9933
864c58ca 9934 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9935 Update imenu-support when dialect changes.
9936
f42d8237
LL
99372013-06-25 Leo Liu <sdl.web@gmail.com>
9938
9939 * ido.el (ido-read-internal): Allow forward slash on windows.
9940
be549ce6
LMI
99412013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9942
9943 * net/eww.el (eww): Start of strings is \\`, not ^.
9944
71d4c19d
IK
99452013-06-24 Ivan Kanis <ivan@kanis.fr>
9946
5196f88a
IK
9947 * net/shr.el (shr-browse-url): Fix interactive spec.
9948
71d4c19d
IK
9949 * net/eww.el (eww): Add a trailing slash to domain names.
9950
ae36ca55
JB
99512013-06-24 Juanma Barranquero <lekktu@gmail.com>
9952
9953 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9954
0ebd92a3
LMI
99552013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9956
bdaa086b
LMI
9957 * net/shr.el (shr-browse-url): Use an external browser if given a
9958 prefix.
9959
c763842b 9960 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9961
b89fc156
IK
99622013-06-24 Ivan Kanis <ivan@kanis.fr>
9963
9964 * net/eww.el (eww): Work more correctly for file: URLs.
9965 (eww-detect-charset): Allow quoted charsets.
9966 (eww-yank-page-url): New command and keystroke.
9967
18eb4bca
DU
99682013-06-24 Daiki Ueno <ueno@gnu.org>
9969
9970 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9971 file name of gpg executable.
9972 (epg-context-program): New function.
9973 (epg-context-home-directory): New function.
9974 (epg-context-set-program): New function.
9975 (epg-context-set-home-directory): New function.
9976 (epg--start): Use `epg-context-program' instead of
9977 'epg-gpg-program'.
9978 (epg--list-keys-1): Likewise.
9979
6c6268c8
LL
99802013-06-24 Leo Liu <sdl.web@gmail.com>
9981
9982 * ido.el (ido-read-internal): Fix bug#14620.
9983
5e400cb3
JB
99842013-06-23 Juanma Barranquero <lekktu@gmail.com>
9985
9986 * faces.el (face-documentation): Simplify.
9987 (read-face-attribute, tty-find-type, x-resolve-font-name):
9988 Use `string-match-p'.
9989 (list-faces-display): Use `string-match-p'. Simplify.
9990 (face-spec-recalc): Check face to avoid face alias loops.
9991 (read-color): Use `string-match-p' and non-capturing parenthesis.
9992
f3f9606c
LMI
99932013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9994
9995 * net/shr.el (shr-rescale-image): Use the new
9996 :max-width/:max-height functionality.
9997
a3ca09b9
IK
99982013-06-23 Ivan Kanis <ivan@kanis.fr>
9999
10000 * net/eww.el (eww-search-prefix): New variable.
10001 (eww): Use it.
f865b474
IK
10002 (eww-external-browser): New variable.
10003 (eww-mode-map): New keystroke.
10004 (eww-browse-with-external-browser): New command.
a3ca09b9 10005
e854cfc7
IK
10006 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10007
18bb9e21
JB
100082013-06-23 Juanma Barranquero <lekktu@gmail.com>
10009
10010 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10011 Don't skip aligning the next header field when padding is 0;
10012 otherwise, field width is not respected unless the title is as
10013 wide as the field.
10014
5b165ade
SM
100152013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * emacs-lisp/package.el (package-el-version): Remove.
10018 (package-process-define-package): Fix inf-loop.
10019 (package-install): Allow symbols as arguments again.
10020
12adebe9
DG
100212013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10022
10023 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10024 add some more keyword-like methods.
10025 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10026
388573ee
JB
100272013-06-22 Juanma Barranquero <lekktu@gmail.com>
10028
10029 * bs.el (bs-buffer-show-mark): Make defvar-local.
10030 (bs-mode): Use setq-local.
10031
10032 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10033 (emacs-lock--try-unlocking): Make defvar-local.
10034
4582a01c 100352013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10036
2663dd23
GM
10037 * play/cookie1.el (cookie-apropos): Minor simplification.
10038
3d94f3ad
GM
10039 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10040
f72e2fdb
DG
100412013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10042
10043 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10044 `regexp-opt', it breaks the build during dumping.
10045
73eab938
DG
100462013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10047
c763842b
SM
10048 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10049 Highlight keyword-like methods on Kernel and Module with
73eab938 10050 font-lock-builtin-face.
5cf8176d
DG
10051 (auto-mode-alist): Consolidate different entries into one regexp
10052 and add more *file-s.
73eab938 10053
d26255f6
SB
100542013-06-21 Stephen Berman <stephen.berman@gmx.net>
10055
10056 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10057
10058 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10059 (diary-entry): Use it in the action of this button type instead of
10060 diary-goto-entry.
10061
10062 * calendar/todo-mode.el: New version.
10063 (todo-add-category): Append new category to end of file and give
10064 it the highest number, instead of putting it at the beginning and
10065 giving it 0. Incorporate noninteractive functionality.
10066 (todo-forward-category): Adapt to 1-based category numbering.
10067 Allow skipping over archived categories.
10068 (todo-backward-category): Derive from todo-forward-category.
10069 (todo-backward-item, todo-forward-item): Make noninteractive and
10070 delegate interactive part to new commands. Make sensitive to done items.
10071 (todo-categories): Make value an alist of category names and
10072 vectors of item counts.
10073 (todo-category-beg): Make a defconst.
10074 (todo-category-number): Use 1 instead of 0 as initial value.
10075 (todo-category-select): Make sensitive to overlays, optional item
10076 highlighting and done items.
10077 (todo-delete-item): Make sensitive to overlays and marked and done items.
10078 (todo-edit-item): Make sensitive to overlays and editing of
10079 date/time header optional. Add format checks.
10080 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10081 no-op if point is not on an item. Advertise using todo-edit-quit.
10082 (todo-edit-mode): Make sensitive to new format, font-locking, and
10083 multiple todo files.
10084 (todo-insert-item, todo-insert-item-here): Derive from
10085 todo-basic-insert-item and extend functionality.
10086 (todo-item-end, todo-item-start): Make sensitive to done items.
10087 (todo-item-string): Don't return text properties. Restore point.
10088 (todo-jump-to-category): Make sensitive to multiple todo files and
10089 todo archives. Use extended category completion.
10090 (todo-lower-item, todo-raise-item): Rename to *-priority and
10091 derive from todo-set-item-priority.
10092 (todo-mode): Derive from special-mode. Make sensitive to new
10093 format, font-locking and multiple todo files. Make read-only.
10094 (todo-mode-map): Don't suppress digit keys, so they can supply
10095 prefix arguments. Add many new key bindings.
10096 (todo-prefix): Insert as an overlay instead of file text.
10097 Change semantics from diary date expression to purely visual mark.
10098 (todo-print): Rename to todo-print-buffer. Make buffer display
10099 features printable. Remove option to restrict number of items
10100 printed. Add option to print to file.
10101 (todo-print-function): Rename to todo-print-buffer-function.
10102 (todo-quit): Extend to handle exiting new todo modes.
10103 (todo-remove-item): Make sensitive to overlays.
10104 (todo-save): Extend to buffers of filtered items.
10105 (todo-show): Make sensitive to done items, multiple todo files and
10106 new todo modes. Offer to convert legacy todo file before creating
10107 first new todo file.
10108 (todo-show-priorities): Rename to todo-top-priorities.
10109 Change semantics of value 0.
10110 (todo-top-priorities): Rename to todo-filter-top-priorities,
10111 derive from todo-filter-items and extend functionality.
10112 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10113 and extend functionality to other types of filtered items.
10114 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10115 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10116 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10117 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10118 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10119 (todo-edit-mode-hook, todo-entry-prefix-function)
10120 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10121 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10122 (todo-initials, todo-insert-threshold, todo-item-string-start)
10123 (todo-line-string, todo-menu, todo-mode-hook)
10124 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10125 (todo-print-priorities, todo-remove-separator)
10126 (todo-save-top-priorities-too, todo-string-count-lines)
10127 (todo-string-multiline-p, todo-time-string-format)
10128 (todo-tmp-buffer-name): Remove.
10129 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10130 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10131 (todo-edit-category-diary-inclusion)
10132 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10133 (todo-edit-file, todo-edit-item-date-day)
10134 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10135 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10136 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10137 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10138 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10139 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10140 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10141 (todo-filter-top-priorities-multifile, todo-find-archive)
10142 (todo-find-filtered-items-file, todo-go-to-source-item)
10143 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10144 (todo-jump-to-archive-category, todo-lower-category)
10145 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10146 (todo-move-category, todo-move-item, todo-next-button)
10147 (todo-next-item, todo-padded-string, todo-powerset)
10148 (todo-previous-button, todo-previous-item)
10149 (todo-print-buffer-to-file, todo-raise-category)
10150 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10151 (todo-set-category-number, todo-set-item-priority)
10152 (todo-set-top-priorities-in-category)
10153 (todo-set-top-priorities-in-file, todo-show-categories-table)
10154 (todo-sort-categories-alphabetically-or-numerically)
10155 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10156 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10157 (todo-toggle-item-header, todo-toggle-item-highlighting)
10158 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10159 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10160 (todo-unarchive-items, todo-unmark-category): New commands.
10161 (todo-absolute-file-name, todo-add-to-buffer-list)
10162 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10163 (todo-basic-insert-item, todo-category-completions)
10164 (todo-category-number, todo-category-string-matcher-1)
10165 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10166 (todo-check-format, todo-clear-matches)
10167 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10168 (todo-current-category, todo-date-string-matcher)
10169 (todo-define-insertion-command, todo-diary-expired-matcher)
10170 (todo-diary-goto-entry, todo-diary-item-p)
10171 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10172 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10173 (todo-done-item-section-p, todo-done-separator)
10174 (todo-done-string-matcher, todo-files, todo-filter-items)
10175 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10176 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10177 (todo-insert-category-line, todo-insert-item-from-calendar)
10178 (todo-insert-sort-button, todo-insert-with-overlays)
10179 (todo-insertion-command-name, todo-insertion-key-bindings)
10180 (todo-label-to-key, todo-longest-category-name-length)
10181 (todo-make-categories-list, todo-mode-external-set)
10182 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10183 (todo-modes-set-3, todo-multiple-filter-files)
10184 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10185 (todo-read-category, todo-read-date, todo-read-dayname)
10186 (todo-read-file-name, todo-read-time)
10187 (todo-reevaluate-category-completions-files-defcustom)
10188 (todo-reevaluate-default-file-defcustom)
10189 (todo-reevaluate-filelist-defcustoms)
10190 (todo-reevaluate-filter-files-defcustom)
10191 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10192 (todo-reset-done-separator, todo-reset-done-separator-string)
10193 (todo-reset-done-string, todo-reset-global-current-todo-file)
10194 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10195 (todo-reset-prefix, todo-set-categories)
10196 (todo-set-date-from-calendar, todo-set-show-current-file)
10197 (todo-set-top-priorities, todo-short-file-name)
10198 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10199 (todo-total-item-counts, todo-update-buffer-list)
10200 (todo-update-categories-display, todo-update-categories-sexp)
10201 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10202 New functions.
10203 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10204 New major modes.
10205 (todo-categories, todo-display, todo-edit, todo-faces)
10206 (todo-filtered): New defgroups.
10207 (todo-archived-only, todo-button, todo-category-string, todo-date)
10208 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10209 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10210 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10211 (todo-add-item-if-new-category, todo-always-add-time-string)
10212 (todo-categories-align, todo-categories-archived-label)
10213 (todo-categories-category-label, todo-categories-diary-label)
10214 (todo-categories-done-label, todo-categories-number-separator)
10215 (todo-categories-todo-label, todo-categories-totals-label)
10216 (todo-category-completions-files, todo-completion-ignore-case)
10217 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10218 (todo-done-separator-string, todo-done-string)
10219 (todo-files-function, todo-filter-done-items, todo-filter-files)
10220 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10221 (todo-initial-category, todo-initial-file, todo-item-mark)
10222 (todo-legacy-date-time-regexp, todo-mode-line-function)
10223 (todo-nondiary-marker, todo-number-prefix)
10224 (todo-print-buffer-function, todo-show-current-file)
10225 (todo-show-done-only, todo-show-first, todo-show-with-done)
10226 (todo-skip-archived-categories, todo-top-priorities-overrides)
10227 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10228 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10229 New defcustoms.
10230 (todo-category-done, todo-date-pattern, todo-date-string-start)
10231 (todo-diary-items-buffer, todo-done-string-start)
10232 (todo-filtered-items-buffer, todo-item-start)
10233 (todo-month-abbrev-array, todo-month-name-array)
10234 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10235 (todo-top-priorities-buffer): New defconsts.
10236 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10237 (todo-categories-with-marks, todo-category-string-face)
10238 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10239 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10240 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10241 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10242 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10243 (todo-font-lock-keywords, todo-global-current-todo-file)
10244 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10245 (todo-insertion-commands-args)
10246 (todo-insertion-commands-args-genlist)
10247 (todo-insertion-commands-names, todo-insertion-map)
10248 (todo-key-bindings-t, todo-key-bindings-t+a)
10249 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10250 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10251 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10252 (todo-visited): New variables.
10253
cad5d1cb
GM
102542013-06-21 Glenn Morris <rgm@gnu.org>
10255
10256 * play/cookie1.el (cookie-apropos): Add optional display argument.
10257 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10258 (psychoanalyze-pinhead): Use cookie-doctor.
10259
9e277302
JB
102602013-06-21 Juanma Barranquero <lekktu@gmail.com>
10261
10262 * emacs-lisp/package.el (tar-get-file-descriptor)
10263 (tar--extract): Declare.
10264
c5b0993e
EW
102652013-06-21 Eduard Wiebe <usenet@pusto.de>
10266
10267 Extend flymake's warning predicate to be a function (bug#14217).
10268 * progmodes/flymake.el (flymake-warning-predicate): New.
10269 (flymake-parse-line): Use it.
10270 (flymake-warning-re): Make obsolete alias to
10271 `flymake-warning-predicate'.
10272
a7d2d465
SM
102732013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10274
10275 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10276 (package-obsolete-list): Remove.
10277 (package-activate): Remove min-version argument. Add `force' argument.
10278 Adjust to new package-alist format.
10279 (package-mark-obsolete): Remove.
10280 (package-unpack): Force reload of the package's autoloads.
10281 (package-installed-p): Check builtins if the installed package is not
10282 recent enough.
10283 (package-initialize): Don't reset package-obsolete-list.
10284 Don't specify which package version to activate.
10285 (package-process-define-package, describe-package-1)
10286 (package-menu--generate): Adjust to new package-alist format.
10287
cedf5c9d
JB
102882013-06-21 Juanma Barranquero <lekktu@gmail.com>
10289
10290 * allout-widgets.el (allout-widgets-mode-off)
10291 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10292 (allout-widgets-post-command-business)
10293 (allout-widgets-after-copy-or-kill-function)
10294 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10295 (allout-decorate-item-and-context)
10296 (allout-graphics-modification-handler): Fix typos in docstrings.
10297 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10298
10299 * cmuscheme.el (scheme-start-file): Doc fix.
10300 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10301 (scheme-input-filter): Use `string-match-p'.
10302
10303 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10304
10305 * dired-x.el: Use Dired consistently in docstrings.
10306
10307 * dired.el: Use Dired consistently in docstrings.
10308 (dired-readin, dired-mode): Use `setq-local'.
10309 (dired-switches-alist): Make defvar-local.
10310 (dired-buffers-for-dir): Use `zerop'.
10311 (dired-safe-switches-p, dired-switches-escape-p)
10312 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10313 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10314 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10315 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10316 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10317 (dired-toggle-marks, dired-mark-files-containing-regexp)
10318 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10319 (dired-flag-auto-save-files, dired-flag-backup-files):
10320 Use `looking-at-p'.
10321 (dired-mark-files-regexp, dired-build-subdir-alist):
10322 Use `string-match-p', `looking-at-p'.
10323
10324 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10325 (direct-print-region-helper): Use `string-match-p'.
10326
aed838b5
LL
103272013-06-21 Leo Liu <sdl.web@gmail.com>
10328
cedf5c9d
JB
10329 * comint.el (comint-redirect-results-list-from-process):
10330 Fix infinite loop.
aed838b5 10331
d80a808f
LMI
103322013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10333
10334 * net/eww.el (eww-update-header-line-format): Quote % characters.
10335
e7a526e3
GM
103362013-06-21 Glenn Morris <rgm@gnu.org>
10337
10338 * play/cookie1.el (cookie): New custom group.
10339 (cookie-file): New option.
10340 (cookie-check-file): New function.
10341 (cookie): Make it interactive. Make start and end messages optional.
10342 Interactively, display the result. Default to cookie-file.
10343 (cookie-insert): Default to cookie-file.
10344 (cookie-snarf): Make start and end messages optional.
10345 Default to cookie-file. Use with-temp-buffer.
10346 (cookie-read): Rename from read-cookie.
10347 Make start and end messages optional. Default to cookie-file.
10348 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10349 Do not autoload it.
e7a526e3
GM
10350 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10351 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10352
62efb35e
LL
103532013-06-21 Leo Liu <sdl.web@gmail.com>
10354
10355 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10356
21e3f963
GM
103572013-06-21 Glenn Morris <rgm@gnu.org>
10358
10359 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10360
fd846ab4
SM
103612013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10362 Daniel Hackney <dan@haxney.org>
10363
10364 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10365 Consolidate the single-file vs tarball code.
10366 (package-desc-suffix): New function.
10367 (package-desc-full-name): Don't bother inlining it.
10368 (package-load-descriptor): Return the new package-desc.
10369 (package-mark-obsolete): Remove unused arg `package'.
10370 (package-unpack): Make it work for single files as well.
10371 Make it update package-alist.
10372 (package--make-autoloads-and-stuff): Rename from
10373 package--make-autoloads-and-compile. Don't compile any more.
10374 (package--compile): New function.
10375 (package-generate-description-file): New function, extracted from
10376 package-unpack-single.
10377 (package-unpack-single): Remove.
10378 (package--with-work-buffer): Add indentation and debugging info.
10379 (package-download-single): Remove.
10380 (package-install-from-archive): Rename from package-download-tar, make
10381 it take a pkg-desc, and make it work for single files as well.
10382 (package-download-transaction): Simplify.
10383 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10384 external tar program.
10385 (package-install-from-buffer): Remove `pkg-desc' argument.
10386 Use package-tar-file-info for tar-mode buffers.
10387 (package-install-file): Simplify accordingly.
10388 (package-archive-base): Change to take a pkg-desc.
10389 * tar-mode.el (tar--check-descriptor): New function, extracted from
10390 tar-get-descriptor.
10391 (tar-get-descriptor): Use it.
10392 (tar-get-file-descriptor): New function.
10393 (tar--extract): New function, extracted from tar-extract.
10394 (tar--extract): Use it.
10395 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10396 case the summary uses non-ascii. Adjust to new calling convention of
10397 package-tar-file-info.
10398
b7deae5e
LL
103992013-06-21 Leo Liu <sdl.web@gmail.com>
10400
fd846ab4
SM
10401 * comint.el (comint-redirect-results-list-from-process):
10402 Fix random delay. (Bug#14681)
b7deae5e 10403
7a65a0b2
JB
104042013-06-21 Juanma Barranquero <lekktu@gmail.com>
10405
10406 * profiler.el (profiler-format-number): Use log, not log10.
10407
1493c2af
JB
104082013-06-20 Juanma Barranquero <lekktu@gmail.com>
10409
10410 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10411
aff6371e
SM
104122013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10415 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10416 yet available.
10417 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10418 (AUTOGENEL): ... here.
10419 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10420 (cl--defsubst-expand): Use it.
10421
89561f72
PE
104222013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10423
10424 * subr.el (log10): Move here from C code, and declare as obsolete.
10425 All uses of (log10 X) replaced with (log X 10).
10426
47199123
JB
104272013-06-20 Juanma Barranquero <lekktu@gmail.com>
10428
10429 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10430 Declare with `defvar-local'.
10431 (tabulated-list-use-header-line, tabulated-list-entries)
10432 (tabulated-list-padding, tabulated-list-printer)
10433 (tabulated-list-sort-key): Declare with `defvar-local'.
10434 (tabulated-list-init-header, tabulated-list-print-fake-header):
10435 Use `setq-local'.
10436
4a172eab
MA
104372013-06-20 Michael Albinus <michael.albinus@gmx.de>
10438
47199123
JB
10439 * arc-mode.el (archive-mode): Add `archive-write-file' to
10440 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10441
5fc0acc0
JB
104422013-06-20 Juanma Barranquero <lekktu@gmail.com>
10443
d5b27848
JB
10444 * cus-edit.el (custom-commands): Fix typos.
10445 (custom-display): Fix tooltip text.
10446 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10447 Fix typos in docstrings.
10448 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10449 (custom-unlispify-menu-entry, custom-magic-value-create)
10450 (custom-add-see-also, custom-group-value-create): Use ?\s.
10451 (custom-guess-type, customize-apropos, editable-field)
10452 (custom-face-value-create): Use `string-match-p'.
10453 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10454
10455 * custom.el (custom-load-symbol): Use `string-match-p'.
10456
a5c581d8
JB
10457 * ansi-color.el: Convert to lexical binding.
10458 (ansi-colors): Fix URL.
10459 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10460 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10461 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10462
970ad972
G
104632013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10464
10465 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10466
10467 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10468
104692013-06-19 Tom Tromey <tromey@redhat.com>
10470
10471 * net/eww.el (eww-top-url): Remove.
10472 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10473 (eww-render): Set new variables. Don't set eww-top-url.
10474 (eww-handle-link): Handle "prev", "home", and "contents".
10475 Downcase the rel text.
10476 (eww-top-url): Choose best top URL.
10477
104782013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10479
10480 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10481 relying in widget.el. Using widget.el leads to too many
10482 user interface inconsistencies.
10483 (eww-self-insert): Implement entering commands in text fields.
10484 (eww-process-text-input): New function to make text input field editing
10485 work.
10486 (eww-submit): Rewrite to use the new-style form methods.
10487 (eww-select-display): Display the correct selected item.
10488 (eww-change-select): Implement changing the select value.
10489 (eww-toggle-checkbox): Implement radio/checkboxes.
10490 (eww-update-field): Fix compilation error.
10491 (eww-tag-textarea): Implement <textarea>.
10492
10493 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10494 we don't shadow mode-specific bindings.
10495
10496 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10497 nothing to push.
10498
10499 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10500
4582a01c 105012013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10502
10503 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10504
15b263dc
MA
105052013-06-19 Michael Albinus <michael.albinus@gmx.de>
10506
10507 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10508 not needed.
10509
10510 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10511
8f5297f7
LMI
105122013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10513
10514 * net/browse-url.el (browse-url-browser-function):
10515 `eww-browse-url' has the right calling signature, `eww' does not.
10516
011c4552
GM
105172013-06-19 Glenn Morris <rgm@gnu.org>
10518
2285bd27
GM
10519 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10520 Only eval autoloaded macros.
10521 (byte-compile-autoload): Only give the macro warning for macros.
10522
1d653303
GM
10523 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10524 (ps-underlined-faces): Declare.
10525
bdd779ec
GM
10526 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10527 (speedbar-add-supported-extension): Declare.
10528
011c4552
GM
10529 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10530 Don't include a date stamp in the header of the generated file;
10531 it leads to needless differences between output files.
10532
e59dfb0e
MA
105332013-06-19 Michael Albinus <michael.albinus@gmx.de>
10534
c763842b
SM
10535 * net/secrets.el (secrets-struct-secret-content-type):
10536 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10537 Some servers do not offer introspection.
e59dfb0e 10538
102626e2
SM
105392013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * electric.el (electric-pair-mode): Improve interaction with
10542 electric-layout-mode.
10543 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10544 (electric-pair-syntax): Use text-mode-syntax-table in comments
10545 and strings.
10546 (electric-pair--insert): New function.
10547 (electric-pair-post-self-insert-function): Use it and
10548 electric--after-char-pos.
10549
ad528125
LL
105502013-06-19 Leo Liu <sdl.web@gmail.com>
10551
10552 * progmodes/octave.el (octave-help): Fix regexp.
10553
924d6997
G
105542013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10555
10556 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10557 (shr-table-horizontal-line): Allow nil as a value, and change the
10558 default.
10559 (shr-insert-table-ruler): Respect the nil value.
10560
105612013-06-18 Tom Tromey <tromey@barimba>
10562
10563 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10564 New defvars.
10565 (eww-open-file): New defun.
10566 (eww-render): Initialize new variables.
10567 (eww-display-html): Handle "link" and "a".
10568 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10569 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10570 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10571 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10572 New defuns.
924d6997 10573
d1bbba4f
DG
105742013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10575
10576 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10577 Distinguish ternary operator tokens from slash symbol and slash
10578 char literal.
10579
14dd22d2
JB
105802013-06-18 Juanma Barranquero <lekktu@gmail.com>
10581
10582 Convert symbol prettification into minor mode and global minor mode.
10583
10584 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10585 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10586 (prettify-symbols--keywords): Rename from
10587 `prog-prettify-symbols-alist' and make a local defvar.
10588 (prettify-symbols--compose-symbol): Rename from
10589 `prog--prettify-font-lock-compose-symbol'.
10590 (prettify-symbols--make-keywords): Rename from
10591 `prog-prettify-font-lock-symbols-keywords' and simplify.
10592 (prog-prettify-install): Remove.
10593 (prettify-symbols-mode): New minor mode, based on
10594 `prog-prettify-install'.
10595 (turn-on-prettify-symbols-mode): New function.
10596 (global-prettify-symbols-mode): New globalized minor mode.
10597
10598 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10599 * progmodes/cfengine.el (cfengine3-mode):
10600 * progmodes/perl-mode.el (perl-mode): Don't call
10601 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10602
292c880c
JL
106032013-06-18 Juri Linkov <juri@jurta.org>
10604
10605 * files-x.el (modify-file-local-variable-message): New function.
10606 (modify-file-local-variable)
10607 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10608 and call `modify-file-local-variable-message' when it's non-nil.
10609 (add-file-local-variable, delete-file-local-variable)
10610 (add-file-local-variable-prop-line)
10611 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10612 and use it. (Bug#9820)
10613
0950aa27
JL
106142013-06-18 Juri Linkov <juri@jurta.org>
10615
10616 * emulation/vi.el (vi-shell-op):
10617 * emulation/vip.el (vip-execute-com, ex-command):
10618 * emulation/viper-cmd.el (viper-exec-bang):
10619 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10620 the call of `shell-command-on-region'. (Bug#14637)
10621
10622 * simple.el (shell-command-on-region): Doc fix.
10623
8fbcca16
SM
106242013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10625
10626 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10627 (bug#14633).
10628
dd7426ea
GM
106292013-06-18 Glenn Morris <rgm@gnu.org>
10630
4ba54f7d
GM
10631 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10632
dd7426ea
GM
10633 * newcomment.el (comment-search-forward, comment-search-backward):
10634 Doc fix. (Bug#14376)
10635
58aa805b
JB
106362013-06-18 Juanma Barranquero <lekktu@gmail.com>
10637
10638 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10639 (buffer-face-mode-invoke): Doc fix.
10640
9a08a617
MM
106412013-06-18 Matthias Meulien <orontee@gmail.com>
10642
10643 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10644 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10645
f2f426ca
GM
106462013-06-18 Glenn Morris <rgm@gnu.org>
10647
9445f99b
GM
10648 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10649 Replace obsolete function generic-make-keywords with its expansion.
10650
e0df2d14
GM
10651 * progmodes/python.el (ffap-alist): Declare.
10652
f2f426ca
GM
10653 * textmodes/reftex.el (bibtex-mode-map): Declare.
10654
f7f9a720
SM
106552013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10656
10657 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10658 (package-unpack, package-unpack-single): Return the pkg-dir.
10659 (package-download-transaction): Use it to update package-alist.
10660
57ff04e0
LMI
106612013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10662
10663 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10664 possible choice.
10665
c048c022
JL
106662013-06-17 Juri Linkov <juri@jurta.org>
10667
10668 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10669
b5bcaee5
DG
106702013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10671
a020afb9
JB
10672 * emacs-lisp/package.el (package-load-descriptor):
10673 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10674 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10675
551e07e5
JB
106762013-06-17 Juanma Barranquero <lekktu@gmail.com>
10677
10678 * startup.el (command-line): Expand package name returned by
10679 `package--description-file' (bug#14639).
10680
d363bffb
DG
106812013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10682
10683 * emacs-lisp/package.el (package-load-descriptor): Do not call
10684 `emacs-lisp-mode', just use its syntax table.
10685
f612933b
JB
106862013-06-17 Juanma Barranquero <lekktu@gmail.com>
10687
10688 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10689 `font-lock-extra-managed-props' if any prettifying keyword is added.
10690 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10691 (prog-mode): Use `setq-local'.
10692
db3b7db5
SM
106932013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * international/characters.el (standard-case-table): Set syntax of ?»
10696 and ?« to punctuation.
10697
f3d674df
JB
106982013-06-16 Juanma Barranquero <lekktu@gmail.com>
10699
10700 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10701 Save relevant match data before calling `syntax-ppss' (bug#14595).
10702
31489a32
JL
107032013-06-15 Juri Linkov <juri@jurta.org>
10704
10705 * files-x.el (modify-file-local-variable-prop-line): Add local
10706 variables to the end of the existing comment on the first line.
10707 Use `file-auto-mode-skip' to skip interpreter magic line,
10708 and also skip XML declaration.
10709
66bd25ab
SM
107102013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10711
10712 * startup.el (package--builtin-versions): New var.
10713 (package-subdirectory-regexp): Remove.
10714 (package--description-file): Hard code its value instead.
10715
10716 * emacs-lisp/package.el: Don't activate packages older than builtin.
10717 (package-obsolete-list): Rename from package-obsolete-alist, and make
10718 it into a simple list of package-desc.
10719 (package-strip-version): Remove.
10720 (package-built-in-p): Use package--builtin-versions.
10721 (package-mark-obsolete): Simplify.
10722 (package-process-define-package): Mark it obsolete if older than the
10723 builtin version.
10724 (package-handle-response): Use line-end-position.
10725 (package-read-archive-contents, package--download-one-archive):
10726 Simplify.
10727 (package--add-to-archive-contents): Skip if older than the builtin or
10728 installed version.
10729 (package-menu-describe-package): Fix last change.
10730 (package-list-unversioned): New var.
10731 (package-menu--generate): Use it.
10732
10733 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10734 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10735 (autoload-builtin-package-versions): New variable.
10736 (autoload-generate-file-autoloads): Use them.
10737 Remove the list of autoloaded functions/macros from the
10738 (autoload...) comments.
10739
10740 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10741
9583ec36
EZ
107422013-06-15 Eli Zaretskii <eliz@gnu.org>
10743
10744 * simple.el (line-move-partial): Don't jump to the next screen
10745 line as soon as it becomes visible. Instead, continue enlarging
10746 the vscroll until the portion of a tall screen line that's left on
10747 display is about the height of the frame's default font.
10748 (Bug#14567)
10749
f0100d8a
GM
107502013-06-15 Glenn Morris <rgm@gnu.org>
10751
b86a85ca
GM
10752 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10753 compilation-error-regexp-alist void, or local while let-bound.
10754
f0100d8a
GM
10755 * progmodes/make-mode.el (makefile-mode-syntax-table):
10756 Treat "=" as punctuation. (Bug#14614)
10757
05e7ce90
JB
107582013-06-15 Juanma Barranquero <lekktu@gmail.com>
10759
10760 * help-fns.el (describe-variable):
10761 Add extra line for permanent-local variables.
10762
12e5e86e
SH
107632013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10764
10765 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10766 Add export, import, library. (Bug#9164)
10767 (library): Set indent function.
10768
230dcbaf
GM
107692013-06-14 Glenn Morris <rgm@gnu.org>
10770
10771 * term/xterm.el (xterm--query):
10772 Stop after first matching handler. (Bug#14615)
10773
e36b2d20 107742013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10775
10776 Add support for dired in saveplace.
10777 * dired.el (dired-initial-position-hook): New variable.
10778 (dired-initial-position): Call hook to place cursor position.
10779 * saveplace.el (save-place-to-alist): Add dired position.
10780 (save-place-dired-hook): New function.
10781
0b31660d
SM
107822013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10783
bf1e6ae8
SM
10784 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10785 through a symbol rather than letrec.
10786
1b8dff23
SM
10787 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10788 (package-desc): Add `dir' field.
10789 (package-desc-full-name): New function.
10790 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10791 (package-maybe-load-descriptor): Remove.
10792 (package-load-all-descriptors): Just call package-load-descriptor.
10793 (package--disabled-p): New function.
10794 (package-desc-vers, package-desc-doc): Remove aliases.
10795 (package--dir): Remove function.
10796 (package-activate): Check if a package is disabled.
10797 (package-process-define-package): New function, extracted from
10798 define-package.
10799 (define-package): Turn into a place holder.
10800 (package-unpack-single, package-tar-file-info):
10801 Use package--description-file.
10802 (package-compute-transaction): Use package--disabled-p.
10803 (package-download-transaction): Don't call
10804 package-maybe-load-descriptor since they're all loaded anyway.
10805 (package-install): Change argument to be a pkg-desc.
10806 (package-delete): Use a single pkg-desc argument.
10807 (describe-package-1): Use package-desc-dir instead of package--dir.
10808 Use package-desc property instead of package-symbol.
10809 (package-install-button-action): Adjust accordingly.
10810 (package--push): Rewrite.
10811 (package-menu--print-info): Adjust accordingly. Change the ID format
10812 to be a pkg-desc.
10813 (package-menu-describe-package, package-menu-get-status)
10814 (package-menu--find-upgrades, package-menu-mark-upgrades)
10815 (package-menu-execute, package-menu--name-predicate):
10816 Adjust accordingly.
10817 * startup.el (package--description-file): New function.
10818 (command-line): Use it.
10819 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10820 Use package-desc-version.
10821
0b31660d
SM
10822 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10823 (byte-compile-preprocess): Use it.
10824 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10825 can't quite recognize.
10826 (byte-compile-add-to-list): Remove.
10827 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10828 (cconv-closure-convert): Add assertion.
10829
10830 * emacs-lisp/map-ynp.el: Use lexical-binding.
10831 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10832 Factor out some repeated code.
10833
de0503df
SM
108342013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * subr.el (with-eval-after-load): New macro.
10837 (eval-after-load): Allow form to be a function.
10838 take advantage of lexical-binding.
10839 (do-after-load-evaluation): Use dolist and adjust to new format.
10840 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10841
bc5c8c5a
JL
108422013-06-13 Juri Linkov <juri@jurta.org>
10843
10844 * replace.el (perform-replace): Display "symbol " and other search
10845 modes from `isearch-message-prefix' in the *Help* buffer.
10846
10847 * isearch.el (isearch-query-replace): Add " symbol" and other
10848 possible search modes from `isearch-message-prefix' to the prompt.
10849 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10850 when reading a regexp to collect.
10851
a22289f7
JL
108522013-06-13 Juri Linkov <juri@jurta.org>
10853
10854 * isearch.el (word-search-regexp): Match whitespace if the search
10855 string begins or ends in whitespace. The LAX arg is applied to
10856 both ends of the search string. Use `regexp-quote' and explicit
10857 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10858 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10859 boundaries are replaced with symbol boundaries, and characters
10860 between symbols match non-word non-symbol syntax. (Bug#14602)
10861
cb89acab
JL
108622013-06-13 Juri Linkov <juri@jurta.org>
10863
10864 * isearch.el (isearch-del-char): Don't exceed the length of
10865 `isearch-string' by the prefix arg. (Bug#14563)
10866
6e8cfc81
JL
108672013-06-13 Juri Linkov <juri@jurta.org>
10868
10869 * isearch.el (isearch-yank-word, isearch-yank-line)
10870 (isearch-char-by-name, isearch-quote-char)
10871 (isearch-printing-char, isearch-process-search-char):
10872 Add optional count prefix arg. (Bug#14563)
10873
10874 * international/isearch-x.el
10875 (isearch-process-search-multibyte-characters):
10876 Add optional count prefix arg.
10877
c23d55f4
VS
108782013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10881 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10882 lexical-binding.
10883
108842013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10885
10886 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10887
ba947bc4
GM
108882013-06-13 Glenn Morris <rgm@gnu.org>
10889
8baeb37a
GM
10890 * startup.el (tty-handle-args):
10891 Don't just discard "--" and anything after. (Bug#14608)
10892
ba947bc4
GM
10893 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10894
9abefce4
MA
108952013-06-13 Michael Albinus <michael.albinus@gmx.de>
10896
10897 Implement changes in Secret Service API. Make it backward compatible.
10898 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10899 (secrets-create-item): Use it. Prefix properties with interface.
10900
5755011f
MH
109012013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10902
10903 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10904 (term-emulate-terminal): Respect term-suppress-hard-newline.
10905
1261d2da
S
109062013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10907
10908 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10909 Only remove a `thumb-file' overlay. (Bug#14548)
10910
868490bb
GJ
109112013-06-12 Grégoire Jadi <daimrod@gmail.com>
10912
10913 * mail/reporter.el (reporter-submit-bug-report):
10914 Handle missing package-name. (Bug#14600)
10915
79d7167f
TH
109162013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10917
10918 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10919 (reftex-citation-prompt, reftex-default-bibliography)
10920 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10921 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10922 (reftex-bib-sort-author, reftex-bib-sort-year)
10923 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10924 (reftex-extract-bib-entries-from-thebibliography)
10925 (reftex-get-bibkey-default, reftex-get-bib-names)
10926 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10927 (reftex-format-bib-entry, reftex-parse-bibitem)
10928 (reftex-format-bibitem, reftex-do-citation)
10929 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10930 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10931 (reftex-insert-bib-matches, reftex-format-citation)
10932 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10933 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10934 existing comments into docstrings.
10935
5f9dbd7a
XF
109362013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10937
10938 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10939
94df41ab
AS
109402013-06-12 Andreas Schwab <schwab@suse.de>
10941
10942 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10943 for auto-save files.
10944
a7f3fecc
GM
109452013-06-12 Glenn Morris <rgm@gnu.org>
10946
001809f6
GM
10947 * ido.el (ido-delete-ignored-files): Remove.
10948 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10949 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10950
834b5ded
EL
109512013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10952
08c73ed2
EL
10953 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10954
834b5ded
EL
10955 * ido.el (ido-delete-ignored-files): New function,
10956 split from ido-make-file-list-1.
10957 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10958 (ido-make-file-list-1): Use ido-delete-ignored-files.
10959
daabf15a
LL
109602013-06-12 Leo Liu <sdl.web@gmail.com>
10961
10962 * progmodes/octave.el (inferior-octave-startup)
10963 (inferior-octave-completion-table)
10964 (inferior-octave-track-window-width-change)
10965 (octave-eldoc-function-signatures, octave-help)
10966 (octave-find-definition): Use single quoted strings.
10967 (inferior-octave-startup-args): Change default value.
10968 (inferior-octave-startup): Do not hard code "-i" and
10969 "--no-line-editing".
10970 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10971 (inferior-octave-directory-tracker): Use it.
10972 (octave-goto-function-definition): Robustify.
10973 (octave-help): Support highlighting operators in 'See also'.
10974 (octave-find-definition): Find subfunctions only in Octave mode.
10975
cf4e5178
SM
109762013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * help-fns.el (help-fns--compiler-macro): If the handler function is
10979 named, then put a link to it.
10980 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10981 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10982 (cl-typep): Use it.
10983 (cl-eval-when): Simplify debug spec.
10984 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10985 compiler-macro function instead of setting `compiler-macro-file'.
10986
99c81280 109872013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10988
10989 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10990 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10991
f56be016
SM
109922013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10993 Daniel Hackney <dan@haxney.org>
10994
10995 First part of Daniel Hackney's patch to package.el.
10996 * emacs-lisp/package.el: Use defstruct.
10997 (package-desc): New, main struct.
10998 (package--bi-desc, package--ac-desc): New structs, used to describe the
10999 format in external files.
11000 (package-desc-vers): Replace with package-desc-version accessor.
11001 (package-desc-doc): Replace with package-desc-summary accessor.
11002 (package-activate-1): Remove `package' arg since the pkg-vec now
11003 includes the name.
11004 (define-package): Use package-desc-from-define.
11005 (package-unpack-single): Change file-name arg to be a symbol.
11006 (package--add-to-archive-contents): Use package-desc-create and new
11007 accessor functions to package--ac-desc.
11008 (package-buffer-info, package-tar-file-info): Return a package-desc.
11009 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11010 arg to be a package-desc.
11011 (package-install-file): Adjust accordingly. Use \' to match EOS.
11012 (package--from-builtin): New function.
11013 (describe-package-1, package-menu--generate): Use it.
11014 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11015 (package-generate-autoloads): Idem and return the name of the file.
11016 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11017 Change pkg-info arg to be a package-desc.
11018 Use package-make-ac-desc.
11019 (package-upload-file): Use \' to match EOS.
11020 * finder.el (finder-compile-keywords): Use package-make-builtin.
11021
31119d63
SM
110222013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11023
931a2762
SM
11024 * vc/vc.el (vc-deduce-fileset): Change error message.
11025 (vc-read-backend): New function.
11026 (vc-next-action): Use it.
11027
5a3eb0c6
SM
11028 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11029
e3eb1bb7
SM
11030 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11031 (prolog-font-lock-keywords): Use regexp-opt instead.
11032 Don't manually highlight strings.
11033 (prolog-mode-variables): Simplify comment-start-skip.
11034 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11035
31119d63
SM
11036 * emacs-lisp/generic.el (generic--normalise-comments)
11037 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11038 (generic-mode-set-comments): Use them.
11039 (generic-bracket-support): Use setq-local.
11040 (generic-make-keywords-list): Declare obsolete.
11041
7de135d0
GM
110422013-06-11 Glenn Morris <rgm@gnu.org>
11043
11044 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11045 Prettify after setting font-lock-defaults. (Bug#14574)
11046
fa6bc6fd
JB
110472013-06-11 Juanma Barranquero <lekktu@gmail.com>
11048
11049 * replace.el (query-replace, occur-read-regexp-defaults-function)
11050 (replace-search):
11051 * subr.el (declare-function, number-sequence, local-set-key)
11052 (substitute-key-definition, locate-user-emacs-file)
11053 (with-silent-modifications, split-string, eval-after-load):
11054 Fix typos, remove unneeded backslashes and reflow some docstrings.
11055
cf1f9b9a
SM
110562013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11059 default for Elisp files.
11060
56602a4b
GM
110612013-06-11 Glenn Morris <rgm@gnu.org>
11062
11063 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11064 although define-derived-mode was doing this anyway. (Bug#14583)
11065
30ae0b2c
JB
110662013-06-10 Juanma Barranquero <lekktu@gmail.com>
11067
11068 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11069 Fix make-variable-buffer-local call to refer to the correct variable.
11070
fa472906
AG
110712013-06-10 Aidan Gauland <aidalgol@amuri.net>
11072
11073 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11074 (eshell-visual-subcommands, eshell-visual-options):
11075 Add summary line to docstrings. Add cross-references.
fa472906 11076
ff4871b9
GM
110772013-06-10 Glenn Morris <rgm@gnu.org>
11078
11079 * epa.el (epa-read-file-name): New function. (Bug#14510)
11080 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11081
04fcf1b0
AG
110822013-06-09 Aidan Gauland <aidalgol@amuri.net>
11083
11084 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11085 output redirection to be ignored with visual commands.
11086
88b00caa
AG
110872013-06-09 Aidan Gauland <aidalgol@amuri.net>
11088
11089 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11090 (eshell-term-initialize): Move long lambda to separate function
11091 eshell-visual-command-p.
27821a89 11092 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11093 * eshell/em-script.el (eshell-script-initialize):
11094 Add missing #' to lambda.
88b00caa 11095
fda74125
LL
110962013-06-08 Leo Liu <sdl.web@gmail.com>
11097
11098 * progmodes/octave.el (octave-add-log-current-defun): New function.
11099 (octave-mode): Set add-log-current-defun-function.
11100 (octave-goto-function-definition): Do not move point if not found.
11101 (octave-find-definition): Enhance to try subfunctions first.
11102
467f3b33
GM
111032013-06-08 Glenn Morris <rgm@gnu.org>
11104
11105 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11106 (byte-compile-backward-char, byte-compile-backward-word):
11107 Improve previous change, to handle non-explicit nil.
11108
544badc3
SM
111092013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11112 (smie--opener/closer-at-point): New function.
11113 (smie--matching-block-data): Use it. Don't match from right after an
11114 opener or right before a closer. Obey smie-blink-matching-inners.
11115 Don't signal a mismatch for repeated inners like "switch..case..case".
11116
a175bf33
LL
111172013-06-07 Leo Liu <sdl.web@gmail.com>
11118
11119 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11120 to t. (Bug#14303)
ce8209d4
LL
11121 (octave-function-header-regexp): Fix. (Bug#14570)
11122 (octave-help-mode-finish-hook, octave-help-mode-finish):
11123 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11124
11125 * newcomment.el (comment-search-backward): Revert last change.
11126 (Bug#14434)
11127
11128 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11129
a822acff
EZ
111302013-06-07 Eli Zaretskii <eliz@gnu.org>
11131
11132 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11133 through xargs, to avoid failure due to MS-Windows limitations on
11134 command-line length.
11135
961166f5
GM
111362013-06-06 Glenn Morris <rgm@gnu.org>
11137
d0341459
GM
11138 * font-lock.el (lisp-font-lock-keywords-2):
11139 Treat user-error like error.
11140
961166f5
GM
11141 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11142 (byte-compile-backward-char, byte-compile-backward-word):
11143 Handle explicit nil arguments. (Bug#14565)
11144
80fa505f
AM
111452013-06-05 Alan Mackenzie <acm@muc.de>
11146
11147 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11148 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11149 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11150 (Bug#9706)
80fa505f 11151
fccdc796
SM
111522013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * autorevert.el (auto-revert-notify-handler): Use memq.
11155 Hide assertion failure.
11156
11157 * skeleton.el: Use cl-lib.
11158 (skeleton-further-elements): Use defvar-local.
11159 (skeleton-insert): Use cl-progv.
11160
9bfff84b
TZ
111612013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11162
11163 * progmodes/prog-mode.el (prog-prettify-symbols)
11164 (prog-prettify-install): Update docstrings.
11165
55577e7c
SM
111662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * simple.el: Move all the prog-mode code to prog-mode.el.
11169 * progmodes/prog-mode.el: New file.
11170 * loadup.el: Add prog-mode.el.
11171
8fc57765
TZ
111722013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11173
11174 * simple.el (prog-prettify-symbols): Add version.
11175 (prog-prettify-install): Add convenience function to prettify symbols.
11176
11177 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11178 (perl--augmented-font-lock-keywords-1)
11179 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11180 variables and use it.
11181
11182 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11183 (cfengine3-mode): Remove unneeded variable and use it.
11184
11185 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11186 (lisp--augmented-font-lock-keywords-1)
11187 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11188 Remove unneeded variables and use it.
11189
650645d5 111902013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11191
11192 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11193 to point when opening the connection. (Bug#14380)
28f5da6d 11194
781b4af6
SM
111952013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 * subr.el (load-history-regexp, load-history-filename-element)
11198 (eval-after-load, after-load-functions, do-after-load-evaluation)
11199 (eval-next-after-load, display-delayed-warnings)
11200 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11201 definition of save-match-data.
11202 (overriding-local-map): Remove accidental obsolescence declaration.
11203
11204 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11205
3ca0d0b4
TZ
112062013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11207
11208 Generalize symbol prettify support to prog-mode and implement it
11209 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11210 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11211 (prog--prettify-font-lock-compose-symbol)
11212 (prog-prettify-font-lock-symbols-keywords): New variables and
11213 functions to support symbol prettification.
11214 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11215 (lisp--augmented-font-lock-keywords-1)
11216 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11217 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11218 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11219 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11220 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11221 * progmodes/perl-mode.el (perl-prettify-symbols)
11222 (perl--font-lock-compose-symbol)
11223 (perl--font-lock-symbols-keywords): Move to prog-mode.
11224 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11225 (perl-font-lock-keywords-1)
11226 (perl-font-lock-keywords-2): Remove explicit prettify support.
11227 (perl--augmented-font-lock-keywords)
11228 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11229 (perl--augmented-font-lock-keywords-2, perl-mode):
11230 Implement prettify support.
3ca0d0b4 11231
976cb066
LL
112322013-06-05 Leo Liu <sdl.web@gmail.com>
11233
27821a89 11234 Re-implement SMIE matching block highlight using
976cb066
LL
11235 show-paren-data-function. (Bug#14395)
11236 * emacs-lisp/smie.el (smie-matching-block-highlight)
11237 (smie--highlight-matching-block-overlay)
11238 (smie--highlight-matching-block-lastpos)
11239 (smie-highlight-matching-block)
11240 (smie-highlight-matching-block-mode): Remove.
11241 (smie--matching-block-data-cache): New variable.
11242 (smie--matching-block-data): New function.
11243 (smie-setup): Use smie--matching-block-data for
11244 show-paren-data-function.
11245
11246 * progmodes/octave.el (octave-mode-menu): Fix.
11247 (octave-find-definition): Skip garbage lines.
11248
208d0342
SM
112492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 Fix compilation error with simultaneous dynamic+lexical scoping.
11252 Add warning when a defvar appears after the first let-binding.
11253 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11254 (byte-compile-close-variables): Initialize it.
11255 (byte-compile--declare-var): New function.
11256 (byte-compile-file-form-defvar)
11257 (byte-compile-file-form-define-abbrev-table)
11258 (byte-compile-file-form-custom-declare-variable): Use it.
11259 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11260 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11261 (byte-compile-bind): Handle dynamic bindings that shadow
11262 lexical bindings.
11263 (byte-compile-unbind): Make arg non-optional.
11264 (byte-compile-let): Simplify.
11265 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11266 (cconv--analyse-function, cconv-analyse-form): Populate it.
11267 Protect byte-compile-bound-variables to limit the scope of defvars.
11268 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11269 Remove unneeded rule for `declare'.
11270
11271 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11272 so as to avoid depending on cl-adjoin at run-time.
11273 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11274
11275 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11276 (macroexp--warn-and-return): Use it.
11277
1ac2891e
GM
112782013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11279
a12bf61e 11280 * subr.el: Convert to lexical binding.
1ac2891e
GM
11281 (overriding-local-map): Make obsolete.
11282 (add-to-list): Doc fix. Add compiler macro.
11283 (read-key): Swap values of local maps.
11284
2587b005
LL
112852013-06-05 Leo Liu <sdl.web@gmail.com>
11286
11287 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11288
f1da3c88
LL
112892013-06-04 Leo Liu <sdl.web@gmail.com>
11290
11291 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11292 (compilation-auto-jump): Suppress the "Mark set" message to give
11293 way to exit message.
11294
3caa391f
AM
112952013-06-04 Alan Mackenzie <acm@muc.de>
11296
11297 Remove faulty optimisation from indentation calculation.
11298 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11299 search limit based on 2000 characters back from indent-point.
11300
068922a2
TH
113012013-06-03 Tassilo Horn <tsdh@gnu.org>
11302
11303 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11304
1f8fdd53
SM
113052013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11306
bbcc4d97
SM
11307 * emacs-lisp/lisp.el: Use lexical-binding.
11308 (lisp--local-variables-1, lisp--local-variables): New functions.
11309 (lisp--local-variables-completion-table): New var.
208d0342 11310 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11311
1f8fdd53
SM
11312 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11313 eagerly (bug#14422).
11314
c9628c79
MA
113152013-06-03 Michael Albinus <michael.albinus@gmx.de>
11316
11317 * autorevert.el (auto-revert-notify-enabled)
11318 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11319 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11320 (auto-revert-notify-handler): Handle also gfilenotify.
11321
e7b41c4c 11322 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11323 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11324 Remove.
c9628c79 11325
e5e4a942
JL
113262013-06-03 Juri Linkov <juri@jurta.org>
11327
11328 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11329 `M-s h .'. (Bug#14427)
11330
11331 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11332 command `hi-lock-face-symbol-at-point'.
11333 (hi-lock-face-symbol-at-point): New command.
11334 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11335 (hi-lock-menu): Add `highlight-symbol-at-point'.
11336 (hi-lock-mode): Doc fix.
11337
11338 * isearch.el (isearch-forward-symbol-at-point): New command.
11339 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11340 (isearch-highlight-regexp): Add a regexp which matches
11341 words/symbols for word/symbol mode.
11342
11343 * subr.el (find-tag-default-bounds): New function with the body
11344 mostly moved from `find-tag-default'.
11345 (find-tag-default): Move most code to `find-tag-default-bounds',
11346 call it and apply `buffer-substring-no-properties' afterwards.
11347
26b3353a
TH
113482013-06-03 Tassilo Horn <tsdh@gnu.org>
11349
781b4af6
SM
11350 * eshell/em-term.el (eshell-term-initialize):
11351 Use `cl-intersection' rather than `intersection'.
26b3353a 11352
51b60f53
XF
113532013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11354
fe054b63 11355 * vc/log-view.el: Doc fix.
d3ffe17c 11356 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11357
a0eb10b3 113582013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11359
11360 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11361 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11362 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11363 (eieio-unbound, eieio-default-superclass)
11364 (eieio--define-field-accessors, method-static, method-before)
11365 (method-primary, method-after, method-num-lists)
11366 (method-generic-before, method-generic-primary)
11367 (method-generic-after, method-num-slots)
11368 (eieio-specialized-key-to-generic-key)
11369 (eieio--check-type, class-v, class-p)
11370 (eieio-class-name, define-obsolete-function-alias)
11371 (eieio-class-parents-fast, eieio-class-children-fast)
11372 (same-class-fast-p, class-constructor, generic-p)
11373 (generic-primary-only-p, generic-primary-only-one-p)
11374 (class-option-assoc, class-option, eieio-object-p)
11375 (class-abstract-p, class-method-invocation-order)
11376 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11377 (eieio-class-un-autoload, eieio-defclass)
11378 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11379 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11380 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11381 (eieio-defgeneric-reset-generic-form)
11382 (eieio-defgeneric-form-primary-only)
11383 (eieio-defgeneric-reset-generic-form-primary-only)
11384 (eieio-defgeneric-form-primary-only-one)
11385 (eieio-defgeneric-reset-generic-form-primary-only-one)
11386 (eieio-unbind-method-implementations)
11387 (eieio--defmethod, eieio--typep)
11388 (eieio-perform-slot-validation, eieio-validate-slot-value)
11389 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11390 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11391 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11392 (eieio-slot-name-index, eieio-class-slot-name-index)
11393 (eieio-set-defaults, eieio-initarg-to-attribute)
11394 (eieio-attribute-to-initarg, eieio-c3-candidate)
11395 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11396 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11397 (eieio-class-precedence-list, eieio-generic-call-methodname)
11398 (eieio-generic-call-arglst, eieio-generic-call-key)
11399 (eieio-generic-call-next-method-list)
11400 (eieio-pre-method-execution-functions, eieio-generic-call)
11401 (eieio-generic-call-primary-only, eieiomt-method-list)
11402 (eieiomt-optimizing-obarray, eieiomt-install)
11403 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11404 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11405 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11406 (defclass): Remove `eval-and-compile' from macro.
11407 (call-next-method, shared-initialize): Instead of using
11408 `scoped-class' variable, use new eieio--scoped-class, and
11409 eieio--with-scoped-class.
11410 (initialize-instance): Rename local variable 'scoped-class' to
11411 'this-class' to remove ambiguitity from old global.
11412
11413 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11414 eieio.el.
4f405069
JB
11415 (eieio--scoped-class-stack): New variable.
11416 (eieio--scoped-class): New fcn.
890f7890
DE
11417 (eieio--with-scoped-class): New scoping macro.
11418 (eieio-defclass): Use pushnew instead of add-to-list.
11419 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11420 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11421 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11422 `scoped-class' variable, use new eieio--scoped-class, and
11423 eieio--with-scoped-class.
11424
11425 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11426
d105b0e2
TH
114272013-06-02 Tassilo Horn <tsdh@gnu.org>
11428
11429 * eshell/esh-ext.el (eshell-external-command): Pass args to
11430 `eshell-find-interpreter'.
11431 (eshell-find-interpreter): Add new second parameter ARGS.
11432
11433 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11434 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11435
11436 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11437 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11438
11439 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11440 (eshell-visual-options): New defcustom.
11441 (eshell-escape-control-x): Adapt docstring.
11442 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11443 `eshell-visual-options' in addition to `eshell-visual-commands'.
11444 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11445
f46305c8 114462013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11447
11448 * progmodes/python.el (python-indent-block-enders): Add break,
11449 continue and raise keywords.
11450
d870df21
GM
114512013-06-01 Glenn Morris <rgm@gnu.org>
11452
9133b82e
GM
11453 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11454
02c992ec 11455 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11456 * progmodes/cc-cmds.el (delete-forward-p):
11457 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11458 * progmodes/cc-engine.el (buffer-syntactic-context):
11459 * progmodes/cc-fonts.el (face-property-instance):
11460 * progmodes/cc-mode.el (set-keymap-parents):
11461 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11462 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11463 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11464 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11465 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11466
31e7b090
GM
11467 * progmodes/cc-vars.el (other): Emacs has this widget since
11468 at least 21.1, so don't (re)define it.
11469
d870df21
GM
11470 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11471 Replace the obsolete alias pcomplete-arg-quote-list.
11472
c75c93c7
LL
114732013-06-01 Leo Liu <sdl.web@gmail.com>
11474
11475 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11476 punctuation syntax.
11477 (inferior-octave-minimal-columns)
11478 (inferior-octave-last-column-width): New variables.
11479 (inferior-octave-track-window-width-change): New function.
11480 (inferior-octave-mode): Adjust column width so that Octave output,
11481 for example from 'ls', can fit into the window nicely.
11482
973d1e12
DG
114832013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11484
11485 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11486 Highlight expansions inside regexp literals.
11487
0888c286
GM
114882013-05-31 Glenn Morris <rgm@gnu.org>
11489
e26aac1f
GM
11490 * obsolete/sym-comp.el (symbol-complete):
11491 Replace obsolete completion-annotate-function.
11492
0888c286
GM
11493 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11494
19bb8e62
DG
114952013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11496
781b4af6
SM
11497 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11498 New function, checks if point is inside a literal that allows
19bb8e62
DG
11499 expression expansion.
11500 (ruby-syntax-propertize-expansion): Use it.
11501 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11502 around the body.
11503
01dea85f
JL
115042013-05-30 Juri Linkov <juri@jurta.org>
11505
11506 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11507 to "\M-si".
11508 (isearch-invisible): New variable.
11509 (isearch-forward): Doc fix.
11510 (isearch-mode): Set `isearch-invisible'
11511 to the value of `search-invisible'.
11512 (isearch-toggle-case-fold): Doc fix.
11513 (isearch-toggle-invisible): New command.
11514 (isearch-query-replace): Let-bind `search-invisible'
11515 to the value of `isearch-invisible'.
11516 (isearch-search): Use `isearch-invisible' instead of
11517 `search-invisible'. Let-bind `search-invisible'
11518 to the value of `isearch-invisible'. (Bug#11378)
11519
ab1bdce5
JL
115202013-05-30 Juri Linkov <juri@jurta.org>
11521
11522 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11523 call when `query-flag' is nil and `search-invisible' is non-nil.
11524 (Bug#11746)
11525
d6d236e2
GM
115262013-05-30 Glenn Morris <rgm@gnu.org>
11527
8accd027
GM
11528 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11529
2a8bed1c
GM
11530 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11531 (cc-require): Suppress spurious "noruntime" warnings.
11532 (cc-require-when-compile): Use fboundp, for sake of compiler.
11533
d6d236e2
GM
11534 * progmodes/cc-mode.el: Move load of cc-vars before that of
11535 cc-langs (which in turn loads cc-vars), to quieten compiler.
11536
9190b35b
SM
115372013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 * paren.el: Simplify the code.
11540 (show-paren-mode): Always start the timer.
11541 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11542 (show-paren--overlay, show-paren--overlay-1): Rename from
11543 show-paren-overlay and show-paren-overlay-1, and initialize to an
11544 overlay rather than to nil.
11545 (show-paren-function): Misc cleanup and simplifications.
11546
4f8d1cf6
SM
115472013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11548
11549 * paren.el (show-paren-data-function): New hook.
11550 (show-paren--default): New function, extracted from show-paren-function.
11551 (show-paren-function): Use show-paren-data-function.
11552
02d844b5
GM
115532013-05-30 Glenn Morris <rgm@gnu.org>
11554
d209d4a9
GM
11555 * ielm.el (ielm-map, ielm-complete-symbol):
11556 Use completion-at-point rather than obsolete functions.
11557 (inferior-emacs-lisp-mode): Doc fix.
11558 Set completion-at-point-functions, rather than
11559 comint-dynamic-complete-functions.
11560
2082faa6
GM
11561 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11562 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11563 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11564
dd8620de
GM
11565 * image.el (image-animated-p): Tweak definition.
11566
ceca95b1
GM
11567 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11568 (rlogin-process-connection-type): Tweak default. Add set-after.
11569 (rlogin-host): Doc fix.
11570 (rlogin): Tweak prompt.
11571 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11572
ee9f1acc
GM
11573 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11574 * progmodes/tcl.el (inferior-tcl-mode-map):
11575 Use completion-at-point rather than obsolete alias.
11576
45ce222e
GM
11577 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11578
02d844b5
GM
11579 * minibuffer.el (read-file-name-completion-ignore-case):
11580 Move before completion--in-region, for eager macro expansion.
11581
ac44d6c1
JL
115822013-05-29 Juri Linkov <juri@jurta.org>
11583
11584 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11585 for total count of matching lines. Add `global-matches' for total
11586 count of matches. Rename `matches' to `lines' for count of
11587 matching lines. Add `matches' for count of matches.
11588 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11589 to `prev-line' for line number of prev match endpt.
11590 Increment `matches' for every match. Print the number of
11591 matching lines in the header.
11592 (occur-context-lines): Rename `lines' to `curr-line'.
11593 Rename `prev-lines' to `prev-line'. (Bug#14017)
11594
3c9c9d38
JL
115952013-05-29 Juri Linkov <juri@jurta.org>
11596
11597 * replace.el (perform-replace): Add `skip-read-only-count',
11598 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11599 Increment them for corresponding conditions and report the number
11600 of skipped occurrences in the final message. (Bug#11746)
11601 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11602 (replace-string, replace-regexp): Doc fix.
11603
33e249a2
SM
116042013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11605
8e399682
SM
11606 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11607
33e249a2 11608 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11609 prog-mode-map (bug#14504).
33e249a2 11610
f236dd84
LL
116112013-05-29 Leo Liu <sdl.web@gmail.com>
11612
11613 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11614 (octave-help): Small simplification.
11615
11616 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11617 off the highlight first.
11618
3694d13f
GM
116192013-05-29 Glenn Morris <rgm@gnu.org>
11620
03983bdc
GM
11621 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11622 Handle idlwave-last-system-routine-info-cons-cell being nil.
11623
bc74a74a
GM
11624 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11625 (idlwave-write-paths): Simplify via with-temp-buffer.
11626
8b394200
GM
11627 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11628 * emulation/cua-rect.el: Also load cua-base at run time.
11629
3694d13f
GM
11630 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11631 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11632 (cperl-imenu-on-info): Require imenu.
11633
336d7284
AM
116342013-05-28 Alan Mackenzie <acm@muc.de>
11635
11636 Handle "capitalised keywords" correctly.
33e249a2 11637 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11638
cb29c582
AG
116392013-05-28 Aidan Gauland <aidalgol@amuri.net>
11640
781b4af6 11641 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11642
690e44b2
GM
116432013-05-28 Glenn Morris <rgm@gnu.org>
11644
e658d75c
GM
11645 * vc/vc-arch.el (vc-exec-after): Declare.
11646 (vc-switches): Autoload.
11647 * vc/vc-bzr.el: No need to require vc when compiling.
11648 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11649 (vc-resynch-buffer, vc-dir-refresh): Declare.
11650 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11651 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11652 (vc-resynch-buffer): Declare.
11653 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11654 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11655 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11656 (grep-read-regexp, grep-read-files, grep-expand-template)
11657 (vc-dir-refresh): Declare.
11658 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11659 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11660 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11661 * vc/vc-mtn.el (vc-exec-after): Declare.
11662 (vc-switches): Autoload.
11663 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11664 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11665 (vc-file-tree-walk): Declare.
712b9732
GM
11666 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11667 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11668 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11669 * vc/vc-svn.el (vc-exec-after): Declare.
11670 (vc-switches, vc-setup-buffer): Autoload.
11671 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11672 Autoload.
11673 (vc-resynch-buffer): Declare.
11674
98e87fb3
GM
11675 * obsolete/fast-lock.el (byte-compile-warnings):
11676 Don't warn about obsolete features in this obsolete file.
11677
f5379553
GM
11678 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11679 Move definition before use.
11680
7a20ef83
GM
11681 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11682 (dun-unix-verbs): Remove dun-zippy.
11683 (dun-zippy): Remove function.
11684
690e44b2
GM
11685 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11686
3a52ccf7
JL
116872013-05-27 Juri Linkov <juri@jurta.org>
11688
11689 * replace.el (replace-search): New function with code moved out
11690 from `perform-replace'.
11691 (replace-highlight, replace-dehighlight): Move function definitions
11692 up closer to `replace-search'. (Bug#11746)
11693
d289938a
JL
116942013-05-27 Juri Linkov <juri@jurta.org>
11695
11696 * replace.el (perform-replace): Ignore invisible matches.
11697 In addition to checking `query-replace-skip-read-only', also
11698 filter out matches by calling `run-hook-with-args-until-failure'
11699 on `isearch-filter-predicates', and also check `search-invisible'
11700 for t or call `isearch-range-invisible'.
11701 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11702
66fc57e3
JL
117032013-05-27 Juri Linkov <juri@jurta.org>
11704
11705 * isearch.el (isearch-filter-predicates): Rename from
11706 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11707 (isearch-message-prefix): Display text from the property
11708 `isearch-message-prefix' of the currently active filters.
11709 (isearch-search): Don't compare `isearch-filter-predicate' with
11710 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11711 on `isearch-filter-predicates'. Also check `search-invisible' for t
11712 or call `isearch-range-invisible'.
11713 (isearch-filter-visible): Make obsolete.
11714 (isearch-lazy-highlight-search):
11715 Call `run-hook-with-args-until-failure' on
11716 `isearch-filter-predicates' and use `isearch-range-invisible'.
11717
11718 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11719 `isearch-filter-predicates' instead of `funcall'ing
11720 `isearch-filter-predicate'.
11721 (Info-mode): Set `Info-isearch-filter' to
11722 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11723
11724 * dired-aux.el (dired-isearch-filter-predicate-orig):
11725 Remove variable.
11726 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11727 (dired-isearch-filenames-end): Add and remove
11728 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11729 instead of changing the value of `isearch-filter-predicate'.
11730 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11731 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11732 Put property `isearch-message-prefix' to "filename " on
11733 `dired-isearch-filter-filenames'.
11734
11735 * wdired.el (wdired-change-to-wdired-mode):
11736 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11737 locally instead of changing `isearch-filter-predicate'.
11738 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11739
f1a60a0f
DG
117402013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11741
11742 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11743 return the commit hash (Bug#14459). Also set the
11744 `vc-git-detached' property.
11745 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11746 (vc-git-mode-line-string): Use the same help-echo format whether
11747 in detached mode or not, because we know the actual revision now.
11748 When in detached mode, shorten the revision to 7 chars.
11749
7f17cc40
SM
117502013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * emacs-lisp/easy-mmode.el (define-minor-mode):
11753 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11754 mode hook and provide a docstring.
11755
25c8401c
AM
117562013-05-27 Alan Mackenzie <acm@muc.de>
11757
11758 Remove spurious syntax-table text properties inserted by C-y.
11759 * progmodes/cc-mode.el (c-after-change): Also clear hard
11760 syntax-table property with value nil.
11761
dde84790
MA
117622013-05-27 Michael Albinus <michael.albinus@gmx.de>
11763
11764 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11765 when reading the events; the buffer layout shall not be changed.
11766
837fd9af
LL
117672013-05-27 Leo Liu <sdl.web@gmail.com>
11768
11769 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11770 New variable.
11771 (inferior-octave-directory-tracker): Automatically re-sync
11772 default-directory.
11773 (octave-help): Improve handling of 'See also'.
11774
4fd996b3
SM
117752013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11776
416f1802
SM
11777 * doc-view.el: Minor naming convention tweaks.
11778 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11779
4fd996b3
SM
11780 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11781 even if there's no `display' property yet (bug#14435).
11782
a052ef3b
EZ
117832013-05-25 Eli Zaretskii <eliz@gnu.org>
11784
4fd996b3 11785 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11786
11787 * Makefile.in (custom-deps, finder-data, autoloads)
11788 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11789 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11790 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11791
c9023370
SM
117922013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11795 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11796 Don't burp at EOB.
c9023370 11797
24d699fa
LL
117982013-05-25 Leo Liu <sdl.web@gmail.com>
11799
11800 * comint.el (comint-previous-matching-input): Do not flood the
11801 *Messages* buffer with trivial messages.
11802
17e5c0cc
SM
118032013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * progmodes/flymake.el (flymake-nop): Don't return a string.
11806 (flymake-set-at): Fix typo.
11807
11808 * simple.el (read--expression): New function, extracted from
11809 eval-expression. Set completion-at-point-functions (bug#14465).
11810 (eval-expression, eval-minibuffer): Use it.
11811
5d028165
XF
118122013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11813
11814 * progmodes/flymake.el (flymake-save-buffer-in-file)
11815 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11816 (flymake-selected-frame, flymake-log, flymake-ins-after)
11817 (flymake-set-at, flymake-get-buildfile-from-cache)
11818 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11819 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11820 Refine the doc string.
11821 (flymake-get-file-name-mode-and-masks): Reformat.
11822 (flymake-get-real-file-name-function): Fix a minor bug.
11823
7a1d7ba7
JL
118242013-05-24 Juri Linkov <juri@jurta.org>
11825
11826 * progmodes/grep.el (grep-mode-font-lock-keywords):
11827 Support =linenumber= format used by git-grep for lines with
11828 function names. (Bug#13549)
11829
650cff3d
SM
118302013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11833 0 after a semi-colon; it works better for smie-auto-fill.
11834 (octave--indent-new-comment-line): New function.
11835 (octave-indent-new-comment-line): Use it (indirectly).
11836 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11837 modify comment-line-break-function.
11838
11839 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11840 (smie-setup): Use add-function to set it.
11841
9631677d
SS
118422013-05-24 Sam Steingold <sds@gnu.org>
11843
11844 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11845 argument (before the `interactive' argument).
11846
50105835
SM
118472013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * image-mode.el (image-mode-winprops): Add winprops to
11850 image-mode-winprops-alist before running
11851 image-mode-new-window-functions.
11852 * doc-view.el (doc-view-new-window-function): Don't delay
11853 doc-view-goto-page via timers (bug#14435).
11854
57b9823e
TH
118552013-05-24 Tassilo Horn <tsdh@gnu.org>
11856
11857 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11858 (doc-view-desktop-save-buffer): New function.
11859 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11860 (desktop-buffer-mode-handlers):
11861 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11862 handler.
11863 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11864 `desktop-save-buffer' function.
11865
91aafa16
MA
118662013-05-24 Michael Albinus <michael.albinus@gmx.de>
11867
11868 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11869 (tramp-gvfs-file-name-handler): Raise a user error when
11870 `tramp-gvfs-enabled' is nil.
11871 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11872 Do not raise a user error when loading package. (Bug#14447)
11873
ec076379
MA
11874 * net/xesam.el: Move to obsolete/.
11875
db785726
GM
118762013-05-24 Glenn Morris <rgm@gnu.org>
11877
af5c7606
GM
11878 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11879
e5d1916a
GM
11880 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11881
ded62b08
GM
11882 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11883 (Info-find-node, Man-getpage-in-background): Declare.
11884
9e614a3f
GM
11885 * mail/unrmail.el (unrmail):
11886 Replace obsolete detect-coding-with-priority.
11887
892f8ca3
GM
11888 * net/socks.el (socks-split-string): Use this rather than split-string.
11889 (socks-nslookup-host): Update for above change.
11890 (dynamic-choice, s5-dynamic-choice-match)
11891 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11892 Comment out unused code.
11893
3c291973
GM
11894 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11895 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11896 (gud-tooltip-echo-area): Make obsolete.
11897 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11898
43cc956b
GM
11899 * progmodes/js.el (js--optimize-arglist): Declare.
11900
dab49a3b
GM
11901 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11902
36b9d085
GM
11903 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11904 (ediff-window-C): Declare.
11905
e354ae76
GM
11906 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11907 Tweak requires to silence compiler.
11908
b8e57bf4
GM
11909 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11910 (he-search-string, he-tried-table, he-expand-list)
11911 (he-init-string, he-string-member, he-substitute-string)
11912 (he-reset-string): Declare.
11913
db785726
GM
11914 * obsolete/options.el (list-options): Use custom-variable-p,
11915 rather than obsolete alias.
11916
b3531901
SS
119172013-05-23 Sam Steingold <sds@gnu.org>
11918
11919 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11920 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11921 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11922
bdda4c66
SM
119232013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * emacs-lisp/smie.el (smie-indent-forward-token)
11926 (smie-indent-backward-token): Handle string tokens (bug#14381).
11927
c43d45f9
TH
119282013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11929
fe1eb856
RS
11930 * ielm.el (ielm-menu): New menu.
11931 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11932
fe1eb856
RS
119332013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11934
a12bf61e 11935 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11936 Fix deactivate action.
11937
a12bf61e 11938 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11939 Add cleveref macros.
074dd971 11940
a12bf61e 11941 * textmodes/reftex-parse.el
c43d45f9
TH
11942 (reftex-locate-bibliography-files): Accept options for
11943 bibliography commands.
a12bf61e 11944 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11945 Add addbibresource. Basic Biblatex support.
11946
7764286e
MA
119472013-05-23 Michael Albinus <michael.albinus@gmx.de>
11948
11949 * net/tramp-gvfs.el (top):
11950 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11951 when loading package. (Bug#14447)
11952
d361bc10
GM
119532013-05-23 Glenn Morris <rgm@gnu.org>
11954
8fa23984
GM
11955 * progmodes/js.el: No need to load comint when compiling.
11956 (ring-insert, comint-send-string, comint-send-input)
11957 (comint-last-input-end, ido-chop): Declare.
11958
a5c7df1a
GM
11959 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11960 * vc/ediff-mult.el: Adjust requires.
11961 (ediff-directories-internal, ediff-directory-revisions-internal)
11962 (ediff-patch-file-internal): Declare.
11963 * vc/ediff-ptch.el: Adjust requires.
11964 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11965 (ediff-find-file): Autoload.
11966 * vc/ediff-util.el: No need to load ediff when compiling.
11967 (ediff-regions-internal): Declare.
11968 * vc/ediff-wind.el: Adjust requires.
11969 (ediff-compute-toolbar-width): Define when compiling.
11970 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11971 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11972 (dired-get-filename, dired-get-marked-files)
11973 (ediff-last-dir-patch, ediff-patch-default-directory)
11974 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11975 (ediff-patch-buffer-internal): Declare.
11976
e2aec513
GM
11977 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11978 (ispell-process, ispell-buffer-local-words, lm-summary)
11979 (lm-section-start, lm-section-end): Declare.
11980 (checkdoc-ispell-init): Simplify.
11981
e68bbd7c
GM
11982 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11983 (he-string-member, he-reset-string, he-substitute-string): Declare.
11984
7efe0991
GM
11985 * eshell/em-ls.el: Adjust requires.
11986 (eshell-glob-regexp): Declare.
f87b1284
GM
11987 * eshell/em-tramp.el: Adjust requires.
11988 (eshell-parse-command): Autoload.
11989 * eshell/em-xtra.el: Adjust requires.
11990 (eshell-parse-command): Autoload.
11991 * eshell/esh-ext.el: Adjust requires.
11992 (eshell-parse-command, eshell-close-handles): Autoload.
11993 * eshell/esh-io.el: Adjust requires.
11994 (eshell-output-filter): Autoload.
11995 * eshell/esh-util.el: No need to load tramp when compiling.
11996 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11997 Declare.
11998 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11999 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12000 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12001 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12002 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12003 * eshell/esh-opt.el, eshell/esh-proc.el:
12004 * eshell/esh-var.el: Adjust requires.
12005 * eshell/eshell.el: Do not require esh-util twice.
12006 (eshell-add-input-to-history): Declare.
12007 (eshell-command): Check history module is active before using it.
12008
d361bc10
GM
12009 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12010
85d090a9
LL
120112013-05-22 Leo Liu <sdl.web@gmail.com>
12012
12013 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12014
5d0acd9d
MA
120152013-05-22 Michael Albinus <michael.albinus@gmx.de>
12016
12017 * autorevert.el (auto-revert-notify-add-watch)
12018 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12019 it indicates changes in file modification time.
12020
0cdffd7d
GM
120212013-05-22 Glenn Morris <rgm@gnu.org>
12022
ca5995ec
GM
12023 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12024 Always delete the autoloaded function from the noruntime and
12025 unresolved functions lists.
12026
6450907e
GM
12027 * allout.el: No need to load epa, epg, overlay when compiling.
12028 (epg-context-set-passphrase-callback, epg-list-keys)
12029 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12030 (epg-key-user-id-list): Declare.
12031
9c6906f6
GM
12032 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12033 (viper-set-parsing-style-toggling-macro)
12034 (viper-set-emacs-state-searchstyle-macros):
12035 Use called-interactively-p on Emacs.
12036 (viper-looking-back): Make it an obsolete alias. Update callers.
12037 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12038 Use looking-back rather than viper-looking-back.
12039 (viper-tmp-insert-at-eob, viper-enlarge-region)
12040 (viper-read-string-with-history, viper-register-to-point)
12041 (viper-append-to-register, viper-change-state-to-vi)
12042 (viper-backward-char-carefully, viper-forward-char-carefully)
12043 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12044 (viper-change-state-to-emacs): Declare.
12045 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12046 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12047 * emulation/viper-mous.el: Do not load viper-cmd.
12048 (viper-backward-char-carefully, viper-forward-char-carefully)
12049 (viper-forward-word, viper-adjust-window): Declare.
12050
5f70c169
GM
12051 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12052
b1b7f300
GM
12053 * progmodes/idlw-help.el (idlwave-help-fontify):
12054 Use called-interactively-p.
12055
f6ebbb46
GM
12056 * term/w32console.el (w32-get-console-codepage)
12057 (w32-get-console-output-codepage): Declare.
12058
0cdffd7d
GM
12059 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12060 Remove unnecessary declarations.
12061 (dframe-message): Doc fix.
12062
12063 * info.el (dframe-select-attached-frame, dframe-current-frame):
12064 Declare.
12065
12066 * speedbar.el (speedbar-message): Make it an obsolete alias.
12067 Update all callers.
12068 (speedbar-with-attached-buffer)
12069 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12070 (speedbar-with-writable): Use backquote.
12071 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12072 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12073 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12074 rather than speedbar- aliases.
12075 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12076 (speedbar-make-specialized-keymap, speedbar-insert-button)
12077 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12078 (speedbar-do-function-pointer): Declare.
12079 (rmail-speedbar-button, rmail-speedbar-find-file)
12080 (rmail-speedbar-move-message):
12081 Use dframe-with-attached-buffer rather than speedbar- alias.
12082 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12083 (dframe-message, speedbar-make-specialized-keymap)
12084 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12085 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12086 (speedbar-insert-button, dframe-select-attached-frame)
12087 (dframe-maybee-jump-to-attached-frame)
12088 (speedbar-change-initial-expansion-list)
12089 (speedbar-previously-used-expansion-list-name): Declare.
12090 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12091 Use dframe-message, dframe-with-attached-buffer rather than
12092 speedbar- aliases.
12093 (gud-sentinel): Silence compiler.
12094 * progmodes/vhdl-mode.el (speedbar-refresh)
12095 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12096 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12097 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12098 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12099 (speedbar-file-lists, speedbar-make-tag-line)
12100 (speedbar-line-directory, speedbar-goto-this-file)
12101 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12102 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12103 (speedbar-make-button, speedbar-reset-scanners)
12104 (speedbar-files-item-info, speedbar-line-text)
12105 (speedbar-find-file-in-frame, speedbar-set-timer)
12106 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12107 (speedbar-with-writable): Do not (re)define it.
12108 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12109 rather than speedbar- alias.
12110
ee44b62a
LL
121112013-05-21 Leo Liu <sdl.web@gmail.com>
12112
12113 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12114 menu items.
12115 (octave-mode): Tweak fill-nobreak-predicate.
12116 (inferior-octave-startup): Check process to avoid infinite loop.
12117 (inferior-octave): Pop to buffer first to show abornmal process
12118 exit information.
12119
640f050f
GM
121202013-05-21 Glenn Morris <rgm@gnu.org>
12121
79458038
GM
12122 * printing.el (pr-menu-bar): Define when compiling.
12123
9cc3e83f
LL
121242013-05-21 Leo Liu <sdl.web@gmail.com>
12125
12126 * progmodes/octave.el (octave-auto-fill): Remove.
12127 (octave-indent-new-comment-line): Improve.
12128 (octave-mode): Use auto fill mode through
4f405069 12129 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12130 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12131 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12132 (octave-help): Show parent directory.
12133
f440830d
GM
121342013-05-21 Glenn Morris <rgm@gnu.org>
12135
12136 * files.el (dired-unmark):
12137 * progmodes/gud.el (gdb-input): Update declarations.
12138
12139 * calculator.el (electric, ehelp): No need to load when compiling.
12140 (Electric-command-loop, electric-describe-mode): Declare.
12141
12142 * doc-view.el (doc-view-current-converter-processes): Move before use.
12143
12144 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12145 Move MODE-set-explicitly definition before use.
12146
12147 * international/mule-diag.el (mule-diag):
12148 Don't use obsolete window-system-version.
12149
12150 * mail/feedmail.el (smtpmail): No need to load when compiling.
12151 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12152
12153 * mail/mail-utils.el (rfc822): No need to load when compiling.
12154 (rfc822-addresses): Autoload it.
12155 (mail-strip-quoted-names): Trivial simplification.
12156
12157 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12158 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12159
12160 * net/snmp-mode.el (tempo): Don't duplicate requires.
12161
12162 * progmodes/prolog.el (info): No need to load when compiling.
12163 (comint): Require before shell requires it.
12164 (Info-goto-node): Autoload it.
12165 (Info-follow-nearest-node): Declare.
12166 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12167
12168 * textmodes/artist.el (picture-mode-exit): Declare.
12169
12170 * textmodes/reftex-parse.el (reftex-parse-from-file):
12171 Trivial rewrite so the compiler can parse it better.
12172
b4da2cbb
LL
121732013-05-20 Leo Liu <sdl.web@gmail.com>
12174
12175 * progmodes/octave.el (octave-help-mode-map)
12176 (octave-help-mode-finish-hook): New variables.
12177 (octave-help-mode, octave-help-mode-finish): New functions.
12178 (octave-help): Use octave-help-mode.
12179
33c0f65b
GM
121802013-05-20 Glenn Morris <rgm@gnu.org>
12181
12182 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12183
1a0a0a8a
DG
121842013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12185
12186 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12187 start at point, so that expansion starting right after opening
12188 slash in a regexp is recognized.
12189 (ruby-syntax-before-regexp-re): New defvar, extracted from
12190 ruby-syntax-propertize-function. Since the value of this regexp
12191 is looked up at runtime now, we should be able to turn
12192 `ruby-syntax-methods-before-regexp' into a defcustom later.
12193 (ruby-syntax-propertize-function): Split regexp matching into two
12194 parts, for opening and closing slashes. That allows us to skip
12195 over string interpolations and support multiline regexps.
12196 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12197 for them, which calls `ruby-syntax-propertize-expansion'.
12198 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12199 call to `ruby-syntax-propertize-function'.
12200 (ruby-syntax-propertize-expansion): Extracted from
12201 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12202 (ruby-syntax-propertize-percent-literal): Leave point right after
12203 the percent symbol, so that the expression expansion rule can
12204 propertize the contents.
462388b6
DG
12205 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12206 heredoc openers.
12207 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12208
c1a6c0a4
JL
122092013-05-18 Juri Linkov <juri@jurta.org>
12210
12211 * man.el (Man-default-man-entry): Remove `-' from the end
12212 of the default value. (Bug#14400)
12213
8051fccd
GM
122142013-05-18 Glenn Morris <rgm@gnu.org>
12215
12216 * comint.el (comint-password-prompt-regexp):
12217 Allow "password for XXX" where XXX contains colons (eg https://...).
12218
5e80b74f
LL
122192013-05-18 Leo Liu <sdl.web@gmail.com>
12220
12221 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12222 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12223 (octave-source-directories): Don't check process.
12224 (octave-source-directories, octave-find-definition): Doc fix.
12225
521a54c5
GM
122262013-05-18 Glenn Morris <rgm@gnu.org>
12227
86a94b05
GM
12228 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12229 Remove backspace/delete bindings. (Bug#14392)
12230
521a54c5
GM
12231 * cus-dep.el (custom-make-dependencies): Sort the output.
12232 (custom-versions-load-alist): Convert comment to doc.
12233
42caeb89
LL
122342013-05-17 Leo Liu <sdl.web@gmail.com>
12235
12236 * newcomment.el (comment-search-backward): Stricter in finding
12237 comment start. (Bug#14303)
12238
12239 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12240 (octave-comment-start-skip): Properly anchored.
12241
e219dd97
LL
122422013-05-17 Leo Liu <sdl.web@gmail.com>
12243
fe1eb856
RS
12244 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12245 Clean up when turned off. (Bug#14395)
e219dd97
LL
12246 (smie--highlight-matching-block-overlay): No longer buffer-local.
12247 (smie-highlight-matching-block): Adjust.
12248
dc5dcb4b
PE
122492013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12250
12251 Doc string fix for "nanoseconds" (Bug#14406).
12252 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12253 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12254
1db165f0
JB
122552013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12256
12257 * calc/calc-units.el (math-extract-units): Preserve powers
12258 of units.
12259
c7a8fcac
LL
122602013-05-17 Leo Liu <sdl.web@gmail.com>
12261
12262 * subr.el (delete-consecutive-dups): New function.
12263 * ido.el (ido-set-matches-1): Use it.
12264 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12265 * ido.el (ido-remove-consecutive-dups): Remove.
12266
f678b18a
SM
122672013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12268
12269 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12270 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12271 regexp-opt's `words'.
12272
ebfe68e8
LL
122732013-05-16 Leo Liu <sdl.web@gmail.com>
12274
12275 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12276 (smie--highlight-matching-block-overlay)
12277 (smie--highlight-matching-block-lastpos)
12278 (smie--highlight-matching-block-timer): New variables.
12279 (smie-highlight-matching-block): New function.
12280 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12281 (smie-setup): Conditionally enable smie-blink-matching-open.
12282
bc8bc17d
WS
122832013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12284
12285 Sync with upstream verilog-mode r840.
12286 * progmodes/verilog-mode.el (verilog-mode-version)
12287 (verilog-mode-release-date): Update.
12288 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12289 (verilog-sig-tieoff): Fix string error on
12290 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12291 (verilog-read-decls): Fix parameters confusing
12292 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12293
df065a0b
EZ
122942013-05-16 Eli Zaretskii <eliz@gnu.org>
12295
12296 * subr.el (reveal-filename): New function.
12297
12298 * loadup.el: Compute Emacs executable versions on MS-Windows,
12299 where executables have the .exe extension. Add a hard link
12300 emacs-XX.YY.ZZ.exe on MS-Windows.
12301
12302 * Makefile.in (XARGS_LIMIT): New variable.
12303 (custom-deps, finder-data, autoloads)
12304 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12305 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12306 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12307 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12308
2d4bf34b
LL
123092013-05-16 Leo Liu <sdl.web@gmail.com>
12310
12311 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12312 (octave-mode-menu, octave-mode-map): Remove its uses.
12313
6b9c2d85
RZ
123142013-05-16 Reto Zimmermann <reto@gnu.org>
12315
12316 Sync with upstream vhdl mode v3.34.2.
12317 * progmodes/vhdl-mode.el: Use `push' throughout.
12318 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12319 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12320 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12321 (vhdl-actual-generic-name): New option to derive actual generic name.
12322 (vhdl-port-paste-signals): Replace formal by actual generics.
12323 (vhdl-beautify): New name for old group vhdl-align. Update users.
12324 (vhdl-beautify-options): New option.
12325 (vhdl-last-input-event): New compat alias. Use throughout.
12326 (vhdl-goto-line): Replace user level function `goto-line'.
12327 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12328 vhdl-fix-statement-buffer.
12329 (vhdl-create-mode-menu): Add some entries.
12330 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12331 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12332 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12333 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12334 to force statements on one line.
12335 (vhdl-remove-trailing-spaces-region):
12336 New, split from vhdl-remove-trailing-spaces.
12337 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12338 Respect vhdl-beautify-options.
12339 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12340 (vhdl-update-sensitivity-list): Not add with index if exists without.
12341 Not include array index with signal. Ignore keywords in comments.
12342 (vhdl-get-visible-signals): Regexp tweaks.
12343 (vhdl-template-component-inst): Handle empty library.
12344 (vhdl-template-type): Add template for 'enum' type.
12345 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12346 Use vhdl-replace-string.
12347 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12348 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12349 (vhdl-speedbar-initialize): Update for above name change.
12350 (vhdl-compose-wire-components): Fix in handling of constants.
12351 (vhdl-error-regexp-emacs-alist): New variable.
12352 (vhdl-error-regexp-add-emacs): New function;
12353 adds support for new compile.el (Emacs 22+)
12354 (vhdl-generate-makefile-1): Change target order for single lib. units.
12355 Allow use of absolute file names.
12356
9df4ec5e
LL
123572013-05-16 Leo Liu <sdl.web@gmail.com>
12358
12359 * simple.el (prog-indent-sexp): Indent enclosing defun.
12360
f5ba00a6
GM
123612013-05-15 Glenn Morris <rgm@gnu.org>
12362
ed8be7ff
GM
12363 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12364 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12365 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12366 (whitespace-highlight): Move to whitespace group.
12367
12368 * comint.el (comint-source):
12369 * pcmpl-linux.el (pcmpl-linux):
12370 * shell.el (shell-faces):
12371 * eshell/esh-opt.el (eshell-opt):
12372 * international/ccl.el (ccl): Remove empty custom groups.
12373
12374 * completion.el (dynamic-completion-mode):
12375 * jit-lock.el (jit-lock-debug-mode):
12376 * minibuffer.el (completion-in-region-mode):
12377 * type-break.el (type-break-mode-line-message-mode)
12378 (type-break-query-mode):
12379 * emulation/tpu-edt.el (tpu-edt-mode):
12380 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12381 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12382 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12383
12384 * term/xterm.el (xterm): Change parent group to terminals.
12385
12386 * master.el (master): Remove empty custom group.
12387 (master-mode): Remove unused :group argument.
12388 * textmodes/refill.el (refill): Remove empty custom group.
12389 (refill-mode): Remove unused :group argument.
12390
12391 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12392
82a7c41b
GM
12393 * cus-dep.el: Provide a feature.
12394 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12395 Don't mistakenly ignore files whose basenames match a basename
12396 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12397 Add a fallback method for getting :group.
f5ba00a6 12398
6d65486d
JL
123992013-05-15 Juri Linkov <juri@jurta.org>
12400
da547b32
JL
12401 * isearch.el (isearch-char-by-name): Rename from
12402 `isearch-insert-char-by-name'. Doc fix.
12403 (isearch-forward): Mention `isearch-char-by-name' in
12404 the docstring. (Bug#13348)
12405
6d65486d
JL
12406 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12407 `exit-minibuffer' instead of
12408 `isearch-nonincremental-exit-minibuffer'.
12409 (isearch-edit-string): Remove mention of
12410 `isearch-nonincremental-exit-minibuffer' from docstring.
12411 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12412 (isearch-forward-exit-minibuffer)
12413 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12414
c9990474
SM
124152013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12416
6e911150
SM
12417 * loadup.el: Just use unversioned DOC.
12418
c9990474
SM
12419 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12420 literals as extending to EOB.
12421 (nxml-last-fontify-end): Remove unused variable.
12422 (nxml-after-change1): Use with-silent-modifications.
12423 (nxml-extend-after-change-region): Simplify.
12424 (nxml-extend-after-change-region1): Remove function.
12425 (nxml-after-change1): Don't adjust for dependent regions.
12426 (nxml-fontify-matcher): Simplify.
12427 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12428 (xmltok-add-dependent): Remove function.
12429 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12430 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12431 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12432 unclosed <[[, <?, comment, and other literals as extending to EOB.
12433 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12434 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12435 Remove functions.
12436 (rng-do-some-validation-1): Don't mark dependent regions.
12437 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12438 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12439 (nxml-clear-dependent-regions): Remove functions.
12440 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12441 (nxml-ensure-scan-up-to-date):
12442 Don't clear&mark dependent regions.
12443
e3772e98
LL
124442013-05-15 Leo Liu <sdl.web@gmail.com>
12445
c9990474
SM
12446 * progmodes/octave.el (octave-goto-function-definition):
12447 Improve and fix callers.
e3772e98 12448
5ac2eb34
SM
124492013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12450
c46c57b0
SM
12451 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12452 the setter (bug#14387).
12453
5ac2eb34
SM
12454 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12455 surrounding group (bug#14402).
12456
180ed218
JL
124572013-05-14 Juri Linkov <juri@jurta.org>
12458
12459 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12460 (Bug#14390)
12461
0ac0fecb
GM
124622013-05-14 Glenn Morris <rgm@gnu.org>
12463
12464 * progmodes/f90.el (f90-imenu-generic-expression):
12465 Fix typo in 2013-05-08 change. (Bug#14402)
12466
2e78e6a7
JPG
124672013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12468
5ac2eb34
SM
12469 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12470 Remove signals for which replies are never received.
2e78e6a7 12471
53267cca
JPG
124722013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12473
12474 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12475 (gdb-handler-alist, gdb-handler-number): Remove variables.
12476 (gdb-handler-list): New variable.
12477 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12478 (gdb-pending-handler-p, gdb-handle-reply)
12479 (gdb-remove-all-pending-triggers): New functions.
12480 (gdb-discard-unordered-replies): New defcustom.
12481 (gdb-handler): New defstruct.
12482 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12483 instead of gdb-pending-triggers. Update docstring.
12484 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12485 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12486 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12487 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12488 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12489 (gdb-frame-handler): Pending triggers are now automatically managed.
12490 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12491 Remove argument.
12492 (gdb-input): Automatically handles pending triggers. Update docstring.
12493 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12494 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12495 Update comments.
12496 (gdb-done-or-error): Now use gdb-handle-reply.
12497
d04ce803
JPG
124982013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12499
12500 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12501 gdb-debug-log.
12502
0114073a
GM
125032013-05-14 Glenn Morris <rgm@gnu.org>
12504
12505 * subr.el (user-emacs-directory-warning): New option.
12506 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12507
4d25fd7e
LL
125082013-05-14 Leo Liu <sdl.web@gmail.com>
12509
12510 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12511 during redisplay.
12512 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12513 (octave-font-lock-texinfo-comment): Fix invalid search bound
12514 error: wrong side of point.
4d25fd7e 12515
27c8b6eb
GM
125162013-05-14 Glenn Morris <rgm@gnu.org>
12517
61aaeb01
GM
12518 * progmodes/flymake.el (flymake-xml-program): New option.
12519 (flymake-xml-init): Use it.
12520
5bf90bc5
GM
12521 * term/xterm.el: Provide a feature.
12522
12523 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12524
f4c7dfd2
GM
125252013-05-13 Glenn Morris <rgm@gnu.org>
12526
12527 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12528 Add compat aliases as a hack workaround. (Bug#14384)
12529
2aeb3a1d
LL
125302013-05-13 Leo Liu <sdl.web@gmail.com>
12531
b0e069c2
LL
12532 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12533 ###, and %!.
f5a9432f
LL
12534 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12535 C-M-q.
b0e069c2
LL
12536 (octave-comment-start-skip): Include %!.
12537 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12538
30ea8374
LL
125392013-05-12 Leo Liu <sdl.web@gmail.com>
12540
12541 * progmodes/octave.el (inferior-octave-startup): Store the value
12542 of __octave_srcdir__ for octave-source-directories.
12543 (inferior-octave-check-process): New function refactored out of
12544 inferior-octave-send-list-and-digest.
12545 (octave-source-directories)
12546 (octave-find-definition-filename-function): New variables.
12547 (octave-source-directories)
12548 (octave-find-definition-default-filename): New functions.
12549 (octave-find-definition): Improve to find functions implemented in C++.
12550
472a3834
GM
125512013-05-12 Glenn Morris <rgm@gnu.org>
12552
12553 * calendar/diary-lib.el (diary-outlook-format-1):
12554 Don't include dayname in the output. (Bug#14349)
12555
3191b52f
GM
125562013-05-11 Glenn Morris <rgm@gnu.org>
12557
0060ac73
GM
12558 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12559
3191b52f
GM
12560 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12561 Treat cc-provide like provide.
12562
e065ba74
KR
125632013-05-11 Kevin Ryde <user42@zip.com.au>
12564
12565 * cus-dep.el (custom-make-dependencies):
12566 Use generated-autoload-load-name for the sake of files such
12567 such cedet/semantic/bovine/c.el, where the base file name
12568 is not in load-path. (Bug#5277)
12569
36f84c37
GM
125702013-05-11 Glenn Morris <rgm@gnu.org>
12571
12572 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12573 Provide features.
12574
c8730c3a
LL
125752013-05-11 Leo Liu <sdl.web@gmail.com>
12576
12577 * progmodes/octave.el (octave-indent-comment): Improve.
12578 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12579 (octave-eldoc-function-signatures, octave-eldoc-function):
12580 New functions.
c8730c3a
LL
12581 (octave-mode, inferior-octave-mode): Add eldoc support.
12582
212e29f2
RS
125832013-05-11 Richard Stallman <rms@gnu.org>
12584
12585 * epa.el (epa-decrypt-file): Take output file name as argument
12586 and read it using `interactive'.
12587
083fe0d7
LL
125882013-05-11 Leo Liu <sdl.web@gmail.com>
12589
12590 * progmodes/octave.el (octave-beginning-of-line)
12591 (octave-end-of-line): Check before using up-list because it jumps
12592 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12593 (octave-indent-comment): New function.
12594 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12595 (octave-begin-keywords, octave-end-keywords)
12596 (octave-reserved-words, octave-smie-bnf-table)
12597 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12598
8582e4c4
GM
125992013-05-11 Glenn Morris <rgm@gnu.org>
12600
f20def1f
GM
12601 * faces.el (internal-face-x-get-resource):
12602 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12603 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12604 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12605 Fix declarations.
f20def1f 12606
445f95e2
GM
12607 * calc/calc-menu.el: Make it loadable in isolation.
12608
12609 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12610 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12611 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12612 (eudc-bbdb-query-internal): Require 'bbdb.
12613
99fb2756
GM
12614 * lpr.el (lpr-headers-switches):
12615 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12616
12617 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12618
0da7ad96
GM
12619 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12620
8582e4c4
GM
12621 * term.el (term-set-escape-char): Make it idempotent.
12622
f71c50d0
LL
126232013-05-10 Leo Liu <sdl.web@gmail.com>
12624
5ac2eb34
SM
12625 * progmodes/octave.el (inferior-octave-completion-table):
12626 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12627 completion due to bug#11906.
12628 (octave-beginning-of-defun): Re-write to be more general.
12629
d5837773
GM
126302013-05-10 Glenn Morris <rgm@gnu.org>
12631
12632 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12633
027c0f75
SM
126342013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12635
12636 * comint.el (comint-redirect-send-command-to-process): Use :around
12637 rather than :override for comint-redirect-filter.
12638 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12639 Call it instead of comint-redirect-original-filter-function (which
12640 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12641
4465bfb4
JD
126422013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12643
12644 * frame.el (display-monitor-attributes-list): Add NS case.
12645 (ns-display-monitor-attributes-list): Declare.
12646
2d809ffa 126472013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12648
12649 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12650
e54eeb9b
GM
126512013-05-09 Glenn Morris <rgm@gnu.org>
12652
56cd351d
GM
12653 * international/fontset.el (vertical-centering-font-regexp):
12654 Set standard-value.
12655
d84b6108
GM
12656 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12657
a931698a
GM
12658 * bookmark.el (bookmark-search-delay):
12659 * cus-start.el (vertical-centering-font-regexp):
12660 * ps-mule.el (ps-mule-font-info-database-default):
12661 * ps-print.el (ps-default-fg, ps-default-bg):
12662 * type-break.el (type-break-good-break-interval):
12663 * whitespace.el (whitespace-indentation-regexp)
12664 (whitespace-space-after-tab-regexp):
12665 * emacs-lisp/testcover.el (testcover-1value-functions)
12666 (testcover-noreturn-functions, testcover-progn-functions)
12667 (testcover-prog1-functions):
12668 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12669 * eshell/em-glob.el (eshell-glob-translate-alist):
12670 * play/tetris.el (tetris-tty-colors):
12671 * progmodes/cpp.el (cpp-face-default-list):
12672 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12673 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12674 (idlwave-help-browser-generic-args):
12675 * progmodes/make-mode.el (makefile-special-targets-list):
12676 * progmodes/python.el (python-shell-virtualenv-path):
12677 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12678 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12679 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12680 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12681 * textmodes/reftex-vars.el (reftex-format-label-function):
12682 * textmodes/remember.el (remember-diary-file): Fix custom types.
12683
e54eeb9b
GM
12684 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12685 Add :version.
12686
455851dd
LL
126872013-05-09 Leo Liu <sdl.web@gmail.com>
12688
12689 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12690 Restore file completion. (Bug#14300)
455851dd
LL
12691 (inferior-octave-startup): Fix incorrect highlighting for the
12692 first prompt.
12693
a9e4425b
SM
126942013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * progmodes/ruby-mode.el: First cut at SMIE support.
12697 (ruby-use-smie): New var.
12698 (ruby-smie-grammar): New constant.
12699 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12700 (ruby-smie--forward-token, ruby-smie--backward-token)
12701 (ruby-smie-rules): New functions.
12702 (ruby-mode-variables): Setup SMIE if applicable.
12703
060ca408
EZ
127042013-05-08 Eli Zaretskii <eliz@gnu.org>
12705
12706 * simple.el (line-move-visual): Signal beginning/end of buffer
12707 only if vertical-motion moved less than it was requested. Avoids
12708 silly incorrect error messages when there are display strings with
12709 multiple newlines at EOL.
12710
1d5963cc
SM
127112013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12714 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12715 (prolog-char-quote-workaround):
12716 * progmodes/cperl-mode.el (cperl-under-as-char):
12717 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
12718 Mark as obsolete.
12719 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
12720 their declaration.
12721 (vhdl-mode-syntax-table-init): Remove.
12722
c9990474
SM
12723 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12724 last change.
1d5963cc
SM
12725
12726 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12727 syntax for "_".
12728 (ld-script-font-lock-keywords):
12729 Change regexps to use things like \_< and \_>.
12730
12731 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12732 Change all regexps to use things like \_< and \_>.
12733
12734 * progmodes/autoconf.el (autoconf-definition-regexp)
12735 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12736 Handle a _ with symbol syntax.
12737 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12738
c9990474
SM
12739 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12740 Consolidate declaration.
1d5963cc
SM
12741 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12742 the declaration.
12743 (ada-create-syntax-table): Remove.
12744 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12745 already has the right syntax nowadays.
12746 (ada-goto-next-word): Don't change the syntax of "_".
12747
12748 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12749 with-wrapper-hook.
12750
72d3cfca
SS
127512013-05-08 Sam Steingold <sds@gnu.org>
12752
12753 * thingatpt.el (thing-at-point): Accept optional second argument
12754 NO-PROPERTIES to strip the text properties from the return value.
12755 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12756 to `thing-at-point' instead of stripping the properties ourselves.
12757 Also, when `thing-at-point' fails to find a url, prepend "http://"
12758 to the filename at point on the assumption that the user is
12759 pointing at something like gnu.org/gnu.
12760
5cb15713
JB
127612013-05-08 Juanma Barranquero <lekktu@gmail.com>
12762
12763 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12764 * faces.el (crm-separator):
12765 Silence byte-compiler.
12766
12767 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12768 (tool-bar-map): Remove unneeded defvars.
12769
ea78b95b
LL
127702013-05-08 Leo Liu <sdl.web@gmail.com>
12771
12772 Re-work a fix for bug#10994 based on Le Wang's patch.
12773 * ido.el (ido-remove-consecutive-dups): New helper.
12774 (ido-completing-read): Use it.
12775 (ido-chop): Revert fix for bug#10994.
12776
dc7466df
AS
127772013-05-08 Adam Spiers <emacs@adamspiers.org>
12778
12779 * cus-edit.el (custom-save-variables):
12780 Pretty-print long values. (Bug#14187)
12781
9ecf672a
GM
127822013-05-08 Glenn Morris <rgm@gnu.org>
12783
12784 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12785 (m4-mode-syntax-table): Init in the defvar.
12786 (m4-mode-abbrev-table): Let define-derived-mode define it.
12787
3f555be8
TT
127882013-05-08 Tom Tromey <tromey@redhat.com>
12789
12790 * progmodes/m4-mode.el (m4-mode-syntax-table):
12791 Do not treat "_" as word constituent. (Bug#14167)
12792
7cc8ae06
GM
127932013-05-07 Glenn Morris <rgm@gnu.org>
12794
4f58bc06
GM
12795 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12796 Remove explicit eshell-isearch-cancel-map.
12797
7cc8ae06
GM
12798 * progmodes/f90.el (f90-smart-end-names): New option.
12799 (f90-smart-end): Doc fix.
12800 (f90-end-block-optional-name): New constant.
12801 (f90-block-match): Respect f90-smart-end-names.
12802
ceb57e59
SM
128032013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12806 about implicit semi-colons (bug#14218).
12807
4e3f9230
YM
128082013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12809
12810 * frame.el (display-monitor-attributes-list)
12811 (frame-monitor-attributes): New functions.
12812
203a5572
LL
128132013-05-06 Leo Liu <sdl.web@gmail.com>
12814
12815 * progmodes/octave.el (octave-syntax-propertize-function): Change
12816 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12817 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12818 (octave-completion-at-point): Rename from
203a5572
LL
12819 octave-completion-at-point-function.
12820 (inferior-octave-directory-tracker): Robustify.
12821 (octave-text-functions): Remove and fix its uses. No such things
12822 any more.
12823
ee6cff99
SM
128242013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 * emacs-lisp/trace.el (trace--display-buffer): New function.
12827 (trace-make-advice): Use it.
12828
32985194
JL
128292013-05-06 Juri Linkov <juri@jurta.org>
12830
12831 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12832 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12833 Doc fix.
12834 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12835 in the help string. (Bug#12985)
12836
a1c700de
KD
128372013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12838
12839 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12840
c67c0839
SM
128412013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12842
323885fd
SM
12843 * progmodes/perl-mode.el: Add support for here documents.
12844 (perl-syntax-propertize-function): Match here-doc markers.
12845 (perl-syntax-propertize-special-constructs): Find their end.
12846 (perl-imenu-generic-expression): Use [:alnum:].
12847
c67c0839
SM
12848 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12849 (advice--add-function): Refresh the advice if already present
12850 (bug#14317).
12851
d491e7a8
IA
128522013-05-06 Ivan Andrus <darthandrus@gmail.com>
12853
12854 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12855
ddf9925e
GM
128562013-05-06 Glenn Morris <rgm@gnu.org>
12857
7cc3af27
GM
12858 * w32-fns.el (w32-charset-info-alist): Declare.
12859
16e343d6
GM
12860 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12861 of its defcustom properties.
12862 (eshell-cmpl-initialize): No need to load pcomplete.
12863
7d889a47
GM
12864 * generic-x.el: No need to require comint when compiling.
12865
ddf9925e
GM
12866 * net/eudc-export.el: Make it loadable without bbdb.
12867 (top-level): Use require rather than load-library.
12868 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12869 (eudc-batch-export-records-to-bbdb)
12870 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12871 Require bbdb.
12872
1e2c18df
SM
128732013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12876 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12877 some tweaks, instead.
12878
02502a5f
LL
128792013-05-05 Leo Liu <sdl.web@gmail.com>
12880
12881 * progmodes/octave.el (octave-font-lock-keywords)
12882 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12883 (inferior-octave-send-list-and-digest): Improve error message.
12884 (octave-mode, inferior-octave-mode): Use setq-local.
12885 (octave-help): Set info-lookup-mode.
12886
0dc04f42
RS
128872013-05-05 Richard Stallman <rms@gnu.org>
12888
6c54491c
RS
12889 * vc/compare-w.el (compare-windows-whitespace):
12890 Treat no-break space as whitespace.
12891
0dc04f42
RS
12892 * mail/rmailsum.el (rmail-summary-rmail-update):
12893 Detect empty summary and don't change selected message.
12894 (rmail-summary-goto-msg): Likewise.
12895
df8f35df
RS
12896 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12897 Doc fixes, rename args.
12898
5356e1a3
AM
128992013-05-05 Alan Mackenzie <acm@muc.de>
12900
12901 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12902
d44014cb
JL
129032013-05-05 Juri Linkov <juri@jurta.org>
12904
12905 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12906 to not add the length of the summary segment to the return value.
12907 (Bug#14125)
12908
c129b51f
LL
129092013-05-05 Leo Liu <sdl.web@gmail.com>
12910
12911 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12912 (inferior-octave-output-filter): Remove.
12913 (octave-send-region, inferior-octave-startup): Fix callers.
12914 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12915 (octave-binary-file-extensions): New user variable.
12916 (octave-find-definition): Confirm if opening binary files.
12917 (octave-help-file): Use octave-find-definition to get the binary
12918 confirmation.
12919 (octave-help): Adjust for octave-help-file change.
12920
aa7dab97
SM
129212013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12924 Merge the two entries that handle function definitions.
12925 (pascal--syntax-propertize): New const.
12926 (pascal-mode): Use it. Use setq-local.
12927
fd3a9a6b
GM
129282013-05-04 Glenn Morris <rgm@gnu.org>
12929
12930 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12931 (diary-from-outlook): Respect diary-from-outlook-function.
12932
30c7e542
SM
129332013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12934
12935 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12936 Move the declaration from C.
12937 (read-minibuffer, eval-minibuffer): Move from C.
12938 (completion-setup-function): Avoid minibuffer-completion-contents.
12939
b54f978b
LL
129402013-05-03 Leo Liu <sdl.web@gmail.com>
12941
12942 * progmodes/octave.el (octave-font-lock-keywords): Do not
12943 dehighlight 'end' in comments or strings.
30c7e542
SM
12944 (octave-completing-read, octave-goto-function-definition):
12945 New helpers.
d4d0f9b3
LL
12946 (octave-help-buffer): New user variable.
12947 (octave-help-file, octave-help-function): New button types.
12948 (octave-help): New command and bind it to C-h ;.
12949 (octave-find-definition): New command and bind it to M-.
d74a1581 12950 (user-error): Alias to error if not defined.
b54f978b 12951
27135018
LL
129522013-05-02 Leo Liu <sdl.web@gmail.com>
12953
12954 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12955 for \. (bug#14332)
12956 (octave-font-lock-keywords): Include [ and {.
12957
0d634d3a
LL
129582013-05-02 Leo Liu <sdl.web@gmail.com>
12959
12960 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12961 (inferior-octave): Remove calling comint-mode and return the buffer.
12962 (inferior-octave-startup): Cosmetic changes.
12963
b4c8295e
LL
129642013-05-02 Leo Liu <sdl.web@gmail.com>
12965
30c7e542
SM
12966 * progmodes/octave.el (octave-syntax-propertize-function):
12967 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12968
f12ad6ec
GM
129692013-05-02 Glenn Morris <rgm@gnu.org>
12970
12971 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12972 * desktop.el (vc-dir-mode): Just autoload it here.
12973
30cac1e0
AM
129742013-05-02 Alan Mackenzie <acm@muc.de>
12975
12976 Eliminate variable c-standard-font-lock-fontify-region-function.
12977 * progmodes/cc-mode.el
12978 (c-standard-font-lock-fontify-region-function): Remove.
12979 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12980
d8ef28b1
LL
129812013-05-01 Leo Liu <sdl.web@gmail.com>
12982
2640d52e 12983 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12984 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12985 variables were removed from Octave in 2007.
d8ef28b1
LL
12986 (inferior-octave-startup): Fix uses.
12987 (comint-line-beginning-position): Remove compatibility code for
12988 emacs 21.
12989
ac63ec89
JL
129902013-05-01 Juri Linkov <juri@jurta.org>
12991
12992 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12993
9e9be37c
JL
129942013-05-01 Juri Linkov <juri@jurta.org>
12995
12996 * comint.el (comint-previous-matching-input): Don't print message
12997 "History item: %d" when `isearch-mode' is active.
12998 (comint-history-isearch-message): Print message "History item: %d"
12999 when `comint-input-ring-index' is not empty and this function is
13000 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13001
9b92c13b
LL
130022013-05-01 Leo Liu <sdl.web@gmail.com>
13003
13004 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13005 definitions. Use completion-at-point to insert keywords.
13006 (octave-abbrev-start): Remove.
13007 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13008
b12d33d7
LL
130092013-04-30 Leo Liu <sdl.web@gmail.com>
13010
13011 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13012 change.
13013
3d1c39fa
AM
130142013-04-30 Alan Mackenzie <acm@muc.de>
13015
13016 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13017 * progmodes/cc-engine.el (c-back-over-member-initializers):
13018 new function.
3d1c39fa
AM
13019 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13020 (most) member init lists.
13021
5147fc17
RS
130222013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13023
13024 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13025 variable.
13026
5b78d7fc
LL
130272013-04-30 Leo Liu <sdl.web@gmail.com>
13028
13029 * progmodes/octave.el (octave-variables): Remove. No builtin
13030 variables any more. All converted to functions.
13031 (octave-font-lock-keywords, octave-completion-at-point-function):
13032 Fix uses.
13033 (octave-font-lock-texinfo-comment): New user variable.
13034 (octave-texinfo-font-lock-keywords): New variable for texinfo
13035 comment block.
13036 (octave-function-comment-block): New face.
13037 (octave-font-lock-texinfo-comment): New function.
13038 (octave-mode): Font lock texinfo comment block.
13039
38d8527b
LL
130402013-04-29 Leo Liu <sdl.web@gmail.com>
13041
13042 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13043 indexing expression.
13044 (octave-continuation-string): Do not use \.
13045 (inferior-octave-complete-impossible): Remove.
13046 (inferior-octave-completion-table)
13047 (inferior-octave-completion-at-point): Remove its uses.
13048 (inferior-octave-startup): completion_matches was introduced to
13049 Octave in 1996 so safe to assume it.
13050 (octave-function-file-comment): Improve to follow how Octave does it.
13051 (octave-update-function-file-comment): Tweak.
13052
2ec12cb0
LL
130532013-04-29 Leo Liu <sdl.web@gmail.com>
13054
13055 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13056 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13057 (octave-function-file-comment): Fix typo.
13058 (octave-sync-function-file-names): Use read-char-choice.
13059
6eaed048
JB
130602013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13061
13062 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13063 to t for the less important warnings.
13064
3ffa2d4f
DH
130652013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13066
13067 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13068
685c9501
GM
130692013-04-27 Glenn Morris <rgm@gnu.org>
13070
13071 * vc/log-view.el (log-view-current-entry):
13072 Treat "---" separator lines as part of the following rev. (Bug#14169)
13073
0208ede7
JL
130742013-04-27 Juri Linkov <juri@jurta.org>
13075
13076 * subr.el (read-number): Doc fix about using it by interactive
13077 code letter `n'. (Bug#14254)
13078
5db9dace
JL
130792013-04-27 Juri Linkov <juri@jurta.org>
13080
13081 * desktop.el (desktop-auto-save-timeout): New option.
13082 (desktop-file-checksum): New variable.
13083 (desktop-save): Add optional arg `auto-save' and don't auto-save
13084 if nothing changed.
13085 (desktop-auto-save-timer): New variable.
13086 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13087 (after-init-hook): Call `desktop-auto-save-set-timer'.
13088 Suggested by Reuben Thomas <rrt@sc3d.org> in
13089 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13090
b7260dd4
LL
130912013-04-27 Leo Liu <sdl.web@gmail.com>
13092
13093 * progmodes/octave.el (octave-function-file-p)
13094 (octave-skip-comment-forward, octave-function-file-comment)
13095 (octave-update-function-file-comment): New functions.
13096 (octave-mode-map): Bind C-c ; to
13097 octave-update-function-file-comment.
13098 (octave-mode-menu): Add octave-update-function-file-comment.
13099 (octave-mode, inferior-octave-mode): Fix doc-string.
13100 (octave-insert-defun): Conform to Octave's coding convention.
13101 (Bug#14285)
13102
13103 * files.el (basic-save-buffer): Don't let errors in
13104 before-save-hook prevent saving buffer.
13105
c46da669
RW
131062013-04-20 Roland Winkler <winkler@gnu.org>
13107
13108 * faces.el (read-face-name): Use completing-read if arg multiple
13109 is nil.
13110
a81ee1eb
IL
131112013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13112
13113 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13114 displayed, move point to after the totals line.
13115 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13116 for the details.
13117
4fac34ce
SM
131182013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13121 Add current dir to the load-path.
13122 (package-generate-autoloads): Don't rely on
13123 autoload-ensure-default-file.
13124
f6bfc063
RT
131252013-04-26 Reuben Thomas <rrt@sc3d.org>
13126
d40ab5cf
BG
13127 * textmodes/remember.el (remember-store-in-files): Document that
13128 the file name format is passed to `format-time-string'.
f6bfc063 13129
e55d3b04
LL
131302013-04-26 Leo Liu <sdl.web@gmail.com>
13131
13132 * progmodes/octave.el (octave-sync-function-file-names): New function.
13133 (octave-mode): Use it in before-save-hook.
13134
e53052d3
SM
131352013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13136
140ef50c
SM
13137 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13138 (bug#14274).
13139
e53052d3
SM
13140 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13141 \n and comment, even if it's not an implicit ; (bug#14218).
13142
af80458d 131432013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13144
13145 * subr.el (read-number): Once more use `read' rather than
13146 `string-to-number', to trap non-numeric input. (Bug#14254)
13147
af80458d 131482013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13149
13150 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13151 Use `syntax-multiline' text property consistently instead of
8a621d53 13152 `font-lock-multiline'. (Bug#14237)
70203c2e 13153
e6ea1f6c
GM
131542013-04-26 Glenn Morris <rgm@gnu.org>
13155
13156 * emacs-lisp/shadow.el (list-load-path-shadows):
13157 No longer necessary to check for duplicate simple.el, since
13158 2012-07-07 change to init_lread to not include installation lisp
13159 directories in load-path when running uninstalled. (Bug#14270)
13160
070ccca4
LL
131612013-04-26 Leo Liu <sdl.web@gmail.com>
13162
13163 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13164 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13165 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13166 octave-in-string-or-comment-p.
13167 (octave-in-comment-p, octave-in-string-p)
13168 (octave-in-string-or-comment-p): Replace defsubst with defun.
13169
9d1c5fb6
PE
131702013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13171
13172 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13173
c034abda
BG
131742013-04-25 Bastien Guerry <bzg@gnu.org>
13175
13176 * textmodes/remember.el (remember-data-directory)
13177 (remember-directory-file-name-format): Fix custom types.
13178
584ea277
LL
131792013-04-25 Leo Liu <sdl.web@gmail.com>
13180
e53052d3
SM
13181 * progmodes/octave.el (octave-completion-at-point-function):
13182 Make use of inferior octave process.
584ea277
LL
13183 (octave-initialize-completions): Remove.
13184 (inferior-octave-completion-table): New function.
13185 (inferior-octave-completion-at-point): Use it.
13186 (octave-completion-alist): Remove.
13187
1693b06a
SM
131882013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13191 (opascal-mode-syntax-table): New var.
13192 (opascal-literal-kind, opascal-is-literal-end)
13193 (opascal-literal-token-at): Rewrite.
13194 (opascal--literal-start-re, opascal-font-lock-keywords)
13195 (opascal--syntax-propertize): New constants.
13196 (opascal-font-lock-defaults): Adjust.
13197 (opascal-mode): Use them. Set comment-<foo> variables as well.
13198 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13199 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13200 (delphi-other-face, opascal-other-face): Remove face variables.
13201 (opascal-save-state): Remove macro.
13202 (opascal-fontifying-progress-step): Remove constant.
13203 (opascal--ignore-changes): Remove var.
13204 (opascal-set-token-property, opascal-parse-next-literal)
13205 (opascal-is-stable-literal, opascal-complete-literal)
13206 (opascal-is-literal-start, opascal-face-of)
13207 (opascal-parse-region, opascal-parse-region-until-stable)
13208 (opascal-fontify-region, opascal-after-change)
13209 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13210 (opascal-debug-parse-region, opascal-debug-parse-window)
13211 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13212 (opascal-debug-fontify-buffer): Remove.
13213 (opascal-debug-mode-map): Adjust accordingly.
13214
be64c05d
LL
132152013-04-25 Leo Liu <sdl.web@gmail.com>
13216
13217 Merge octave-mod.el and octave-inf.el into octave.el with some
13218 cleanups.
13219 * progmodes/octave.el: New file renamed from octave-mod.el.
13220 * progmodes/octave-inf.el: Merged into octave.el.
13221 * progmodes/octave-mod.el: Renamed to octave.el.
13222
d79d37bd
TH
132232013-04-25 Tassilo Horn <tsdh@gnu.org>
13224
13225 * textmodes/reftex-vars.el
13226 (reftex-label-ignored-macros-and-environments): New defcustom.
13227
13228 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13229
ced3fc5d
SM
132302013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13231
13232 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13233 (smie-indent-keyword): Improve the check to ensure that the next
13234 comment is really on the same line.
13235 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13236
13237 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13238 semi-colons if the line is not otherwise empty (bug#14218).
13239
1c141dad
GM
132402013-04-25 Glenn Morris <rgm@gnu.org>
13241
13242 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13243
5058062a
SM
132442013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13245
13246 * progmodes/opascal.el (opascal-set-token-property): Rename from
13247 opascal-set-text-properties and only set `token' (bug#14134).
13248 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13249 (opascal-literal-text-properties): Remove.
13250 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13251 Adjust callers.
13252
5db9dace 132532013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13254
13255 * textmodes/remember.el (remember-handler-functions): Add an
13256 option for a new handler `remember-store-in-files'.
13257 (remember-data-directory, remember-directory-file-name-format):
13258 New options.
13259 (remember-store-in-files): New function to store remember notes
13260 as separate files within a directory.
13261
4391916c
MH
132622013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13263
13264 * progmodes/compile.el (compilation-next-error-function):
13265 Pass "formats" to compilation-find-file (bug#11777).
13266
bb7cdf58
GM
132672013-04-24 Glenn Morris <rgm@gnu.org>
13268
3b8fe752 13269 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13270 * vc/vc-hg.el (vc-hg-print-log):
13271 * vc/vc-svn.el (vc-svn-print-log):
13272 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13273
bb7cdf58
GM
13274 * vc/vc-bzr.el (vc-bzr-print-log):
13275 * vc/vc-cvs.el (vc-cvs-print-log):
13276 * vc/vc-git.el (vc-git-print-log):
13277 * vc/vc-hg.el (vc-hg-print-log):
13278 * vc/vc-mtn.el (vc-mtn-print-log):
13279 * vc/vc-rcs.el (vc-rcs-print-log):
13280 * vc/vc-sccs.el (vc-sccs-print-log):
13281 * vc/vc-svn.el (vc-svn-print-log):
13282 * vc/vc.el (vc-print-log-internal): Doc fixes.
13283
b46a056e
GM
132842013-04-23 Glenn Morris <rgm@gnu.org>
13285
13286 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13287 Remove venerable code attempting to avoid substitute-command-keys.
13288
0aecf718
TH
132892013-04-23 Tassilo Horn <tsdh@gnu.org>
13290
4391916c
MH
13291 * textmodes/reftex-vars.el (reftex-label-regexps):
13292 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13293
117f94cf
SM
132942013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13295
4391916c 13296 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13297 Use lexical-binding.
13298 (jit-lock-force-redisplay): Use markers, check buffer's continued
13299 existence and beware narrowed buffers.
13300 (jit-lock-fontify-now): Adjust call accordingly.
13301
1d829c64
SM
133022013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13303
13304 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13305 to avoid misleading the user.
13306
72d548a9
LL
133072013-04-22 Leo Liu <sdl.web@gmail.com>
13308
13309 * info-look.el: Prefer latex2e.info. (Bug#14240)
13310
d0853629
MA
133112013-04-22 Michael Albinus <michael.albinus@gmx.de>
13312
13313 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13314
13315 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13316 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13317 (tramp-set-completion-function, tramp-parse-putty):
13318 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13319 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13320 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13321 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13322 (tramp-call-local-coding-command): Use `tramp-call-process'
13323 instead of `tramp-compat-call-process'.
13324
13325 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13326 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13327 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13328 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13329 (tramp-maybe-send-script): Check for Perl binary.
13330 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13331
38cc0210
DU
133322013-04-22 Daiki Ueno <ueno@gnu.org>
13333
13334 * epg.el (epg-context-pinentry-mode): New function.
13335 (epg-context-set-pinentry-mode): New function.
13336 (epg--start): Pass --pinentry-mode option to gpg command.
13337
cc641ee1
XF
133382013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13339
02d844b5 13340 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13341 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13342 `completion-at-point'. (Bug#13774)
5d4e5c31 13343
cc641ee1
XF
13344 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13345 default key binding for `describe-distribution' has been moved to
13346 `C-h C-o'. (Bug#13970)
13347
1b42ee43
GM
133482013-04-21 Glenn Morris <rgm@gnu.org>
13349
13350 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13351 Add doc strings.
13352 (vc-print-log): Clarify interactive prompt.
13353
a6d63d97
GM
133542013-04-20 Glenn Morris <rgm@gnu.org>
13355
13356 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13357 No longer include timestamp etc information.
13358
d7f5c16f
RW
133592013-04-20 Roland Winkler <winkler@gnu.org>
13360
13361 * faces.el (read-face-name): Bug fix, return just one face if arg
13362 multiple is nil. (Bug#14209)
13363
bcd7a0a4
SM
133642013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13365
13366 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13367 (remove-function): Autoload.
13368
13369 * comint.el (comint-redirect-original-filter-function): Remove.
13370 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13371 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13372 (vc-cvs-annotate-command):
bcd7a0a4
SM
13373 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13374 * progmodes/prolog.el (prolog-consult-compile):
13375 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13376 Use add/remove-function instead.
13377 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13378 (gud-tooltip-process-output, gud-tooltip-tips):
13379 Use add/remove-function instead.
13380 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13381 (scheme-interaction-mode, exit-scheme-interaction-mode):
13382 Use add/remove-function instead.
13383
13384 * vc/vc-dispatcher.el: Use lexical-binding.
13385 (vc--process-sentinel): Rename from vc-process-sentinel.
13386 Change last arg to be the code to run. Don't use vc-previous-sentinel
13387 and vc-sentinel-commands any more.
13388 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13389 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13390
e36b2d20 133912013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13392
bcd7a0a4 13393 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13394 Handle function names with a single character. (Bug#14111)
4d3268ba 13395
27821a89 133962013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13397
13398 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13399 for subroutines defined in an eval (bug#14182).
13400
7d688336
TV
134012013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13402
13403 * bookmark.el (bookmark-completing-read): Improve handling of empty
13404 string (bug#14176).
13405
31dcede0
SM
134062013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13407
13408 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13409
adc31213
FEG
134102013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13411
13412 New faster Imenu implementation (bug#14058).
13413 * progmodes/python.el:
13414 (python-imenu-prev-index-position):
13415 (python-imenu-format-item-label-function)
13416 (python-imenu-format-parent-item-label-function)
13417 (python-imenu-format-parent-item-jump-label-function):
13418 New vars.
13419 (python-imenu-format-item-label)
13420 (python-imenu-format-parent-item-label)
13421 (python-imenu-format-parent-item-jump-label)
13422 (python-imenu--put-parent, python-imenu--build-tree)
13423 (python-imenu-create-index, python-imenu-create-flat-index)
13424 (python-util-popn): New functions.
13425 (python-mode): Set imenu-create-index-function to
13426 python-imenu-create-index.
13427
cdca8255
SM
134282013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 * winner.el (winner-active-region): Use region-active-p, activate-mark
13431 and deactivate-mark (bug#14225).
13432
13433 * simple.el (deactivate-mark): Don't inline it.
13434
beb42340
MA
134352013-04-18 Michael Albinus <michael.albinus@gmx.de>
13436
13437 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13438
fc7f4d7e
TH
134392013-04-18 Tassilo Horn <tsdh@gnu.org>
13440
13441 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13442 file extensions from the archive-mode entry in order to prefer
13443 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13444
29f47822
LL
134452013-04-18 Leo Liu <sdl.web@gmail.com>
13446
13447 * bindings.el (help-event-list): Add ?\?.
13448
d36ed1c8
SM
134492013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13450
13451 * subr.el (with-wrapper-hook): Declare obsolete.
13452 * simple.el (filter-buffer-substring-function): New hook.
13453 (filter-buffer-substring): Use it.
13454 (filter-buffer-substring-functions): Mark obsolete.
13455 * minibuffer.el (completion-in-region-function): New hook.
13456 (completion-in-region): Use it.
13457 (completion-in-region-functions): Mark obsolete.
13458 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13459 * abbrev.el (abbrev-expand-function): New hook.
13460 (expand-abbrev): Use it.
13461 (abbrev-expand-functions): Mark obsolete.
13462 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13463 and :filter-return.
13464
04754d36
FEG
134652013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13466
13467 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13468 and do not care about match data.
13469
dd8791e9
SM
134702013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13473 completion tables when completing error conditions and
13474 `declare' arguments.
13475 (lisp-complete-symbol, field-complete): Mark as obsolete.
13476 (check-parens): Unmatched parens are user errors.
13477 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13478
ffe54a13
AM
134792013-04-17 Michal Nazarewicz <mina86@mina86.com>
13480
dd8791e9
SM
13481 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13482 command changed buffer (ie. `flyspell-pre-buffer' is not current
13483 buffer), which prevents making decisions based on invalid value of
13484 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13485 cause an error when `flyspell-pre-point' was nil after switching
13486 buffers.
13487 (flyspell-post-command-hook): No longer needs to change buffers when
13488 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13489
ec7e39f2
AM
134902013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13491
13492 * textmodes/ispell.el (ispell-add-per-file-word-list):
13493 Fix `flyspell-correct-word-before-point' error when accepting
13494 words and `coment-padding' is an integer by using
13495 `comment-normalize-vars' (Bug #14214).
13496
083850a6
FEG
134972013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13498
13499 New defun movement commands.
13500 * progmodes/python.el (python-nav--syntactically)
13501 (python-nav--forward-defun, python-nav-backward-defun)
13502 (python-nav-forward-defun): New functions.
13503
619ed6e1
FEG
135042013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13505
13506 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13507 (python-syntax-context): Use named compiler-macro for backwards
13508 compatibility with Emacs 24.x.
13509
7a1beb6c
LL
135102013-04-17 Leo Liu <sdl.web@gmail.com>
13511
13512 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13513 octave-hide-process-buffer.
13514
2d3fa3e5
SM
135152013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13516
13517 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13518 (bug#14216).
13519
7ce5be54
JPG
135202013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13521
13522 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13523 Fix adjustment of offset when receiving incomplete responses from GDB
13524 (bug#14129).
13525
351edece
SM
135262013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13527
13528 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13529 python-mode-abbrev-table.
13530 (python-skeleton-define): Adjust accordingly.
13531 (python-mode-abbrev-table): New table that inherits from it so that
13532 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13533
13534 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13535 (abbrev-symbol): Use it.
13536 (abbrev--before-point): Use it since we already handle inheritance.
13537
613f9481
LL
135382013-04-16 Leo Liu <sdl.web@gmail.com>
13539
13540 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13541 binding to info-lookup-symbol.
13542
51646b62
JB
135432013-04-16 Juanma Barranquero <lekktu@gmail.com>
13544
13545 * minibuffer.el (completion--twq-all):
13546 * term/ns-win.el (ns-initialize-window-system):
13547 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13548
efb3f01d
SM
135492013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13550
36c0a301
SM
13551 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13552 global bindings.
13553
efb3f01d
SM
13554 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13555
fb549d64
DG
135562013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13557
13558 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13559 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13560 to nil.
13561 (ruby-end-of-defun): Remove the unused arg, change the docstring
13562 to reflect that this function is only used as the value of
13563 `end-of-defun-function'.
13564 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13565 to reflect an earlier change that beginning/end-of-defun functions
13566 jump between methods in a class definition, as well as top-level
13567 functions.
13568
21e8fe2f
SM
135692013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * minibuffer.el (minibuffer-complete): Don't just scroll
13572 a *Completions* that's been iconified.
13573 (minibuffer-force-complete): Make sure repetitions do cycle when going
13574 through completion-in-region -> minibuffer-complete.
13575
20e527d0
AM
135762013-04-15 Alan Mackenzie <acm@muc.de>
13577
13578 Correct the placement of c-cpp-delimiters when there're #s not at
13579 col 0.
13580
13581 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13582 place a submatch around the #.
21e8fe2f
SM
13583 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13584 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13585 on the #, not BOL.
13586
dabefae5
SM
135872013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13588
13589 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13590 (advice--member-p): New arg `name'.
13591 (advice--add-function, advice-member-p): Use it (bug#14202).
13592
85c9ab64
AM
135932013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13594
13595 Reformulate java imenu-generic-expression.
13596 The old expression contained ill formed regexps.
13597
13598 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13599 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13600 (cc-imenu-java-method-arg-regexp): New defconsts.
13601 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13602 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13603 handling of spaces in the regexp.
13604
0f821d99
AM
136052013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13606
13607 * textmodes/ispell.el (ispell-command-loop): Remove
13608 flyspell highlight of a word when ispell accepts it (bug #14178).
13609
eb922adf
MA
136102013-04-15 Michael Albinus <michael.albinus@gmx.de>
13611
13612 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13613 uses code from the previous `ange-ftp-run-real-handler'.
13614 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13615 only in case that function exist. This is needed for proper
13616 unloading of Tramp.
13617
4d9a0979
TH
136182013-04-15 Tassilo Horn <tsdh@gnu.org>
13619
13620 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13621
13622 * textmodes/reftex.el (reftex-compile-variables): Use it.
13623
a829b0dc
SM
136242013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13625
91e8293c
SM
13626 * files.el (normal-mode): Only use default major-mode if no other mode
13627 was specified.
13628
830aed4d
SM
13629 * emacs-lisp/trace.el (trace-values): New function.
13630
a829b0dc
SM
13631 * files.el: Allow : in local variables (bug#14089).
13632 (hack-local-variable-regexp): New var.
13633 (hack-local-variables-prop-line, hack-local-variables): Use it.
13634
7ae9f0fb
RW
136352013-04-13 Roland Winkler <winkler@gnu.org>
13636
13637 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13638 data before it gets modified by bibtex-beginning-of-entry.
13639
6646e848
RW
136402013-04-13 Roland Winkler <winkler@gnu.org>
13641
13642 * textmodes/bibtex.el (bibtex-url): Doc fix.
13643
136442013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13645
13646 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13647 does not visit a BibTeX file, exclude it from the list of buffers
13648 returned by bibtex-initialize.
13649
0aa3616e
SB
136502013-04-13 Stephen Berman <stephen.berman@gmx.net>
13651
13652 * window.el (split-window): Remove interactive form, since as a
13653 command this function is a special case of split-window-below.
13654 Correct doc string.
13655
011cddd6
RW
136562013-04-12 Roland Winkler <winkler@gnu.org>
13657
13658 * faces.el (read-face-name): Do not override value of arg default.
13659 Allow single faces and strings as default values. Remove those
13660 elements from return value that are not faces.
13661 (describe-face): Simplify.
13662 (face-at-point): New optional args thing and multiple so that this
13663 function can provide the same functionality previously provided by
13664 read-face-name.
13665 (make-face-bold, make-face-unbold, make-face-italic)
13666 (make-face-unitalic, make-face-bold-italic, invert-face)
13667 (modify-face, read-face-and-attribute): Use face-at-point.
13668
13669 * cus-edit.el (customize-face, customize-face-other-window)
13670 * cus-theme.el (custom-theme-add-face)
13671 * face-remap.el (buffer-face-set)
13672 * facemenu.el (facemenu-set-face): Use face-at-point.
13673
f24e0036
MA
136742013-04-12 Michael Albinus <michael.albinus@gmx.de>
13675
13676 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13677
da3cda2d
TH
136782013-04-10 Tassilo Horn <tsdh@gnu.org>
13679
13680 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13681 off leading { and trailing } from field values.
13682
15e54145
SM
136832013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13684
78ce603d
SM
13685 * emacs-lisp/timer.el (timer--check): New function.
13686 (timer--time, timer-set-function, timer-event-handler): Use it.
13687 (timer-set-idle-time): Simplify.
13688 (timer--activate): CSE.
13689 (timer-event-handler): Give more info in error message.
13690 (internal-timer-start-idle): New function, moved from C.
13691
15e54145
SM
13692 * mpc.el (mpc-proc): Add `restart' argument.
13693 (mpc-proc-cmd): Use it.
13694 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13695 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13696 less often.
13697
7144c627
MY
136982013-04-10 Masatake YAMATO <yamato@redhat.com>
13699
13700 * progmodes/sh-script.el: Implement `sh-mode' own
13701 `add-log-current-defun-function' (bug#14112).
13702 (sh-current-defun-name): New function.
13703 (sh-mode): Use the function.
13704
b39792eb
BG
137052013-04-09 Bastien Guerry <bzg@gnu.org>
13706
13707 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13708
8acdeb71
SM
137092013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13710
6fcdab68
SM
13711 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13712
8acdeb71
SM
13713 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13714 timer (bug#14156).
13715
e3e7b504
NF
137162013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13717
13718 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13719 declaration.
13720
201bb296
LL
137212013-04-07 Leo Liu <sdl.web@gmail.com>
13722
13723 * pcmpl-x.el: New file.
13724
ebb19708
DA
137252013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13726
13727 Do not set x-display-name until X connection is established.
13728 This is needed to prevent from weird situation described at
13729 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13730 * frame.el (make-frame): Set x-display-name after call to
13731 window system initialization function, not before.
13732 * term/x-win.el (x-initialize-window-system): Add optional
13733 display argument and use it.
13734 * term/w32-win.el (w32-initialize-window-system):
13735 * term/ns-win.el (ns-initialize-window-system):
13736 * term/pc-win.el (msdos-initialize-window-system):
13737 Add compatible optional display argument.
13738
33bb237a
EZ
137392013-04-06 Eli Zaretskii <eliz@gnu.org>
13740
13741 * files.el (normal-backup-enable-predicate): On MS-Windows and
13742 MS-DOS compare truenames of temporary-file-directory and of the
13743 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13744 don't fail comparison by compare-strings. Also, compare file
13745 names case-insensitively on MS-Windows and MS-DOS.
13746
134abf1f
SM
137472013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13748
13749 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13750 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13751
d695cb94
DG
137522013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13753
e3e7b504
NF
13754 * whitespace.el (whitespace-color-on, whitespace-color-off):
13755 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 13756
f4ad7ea1 137572013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
13758
13759 * ispell.el (ispell-set-spellchecker-params):
13760 Really set `ispell-args' for all equivs.
13761
632556e4
SM
137622013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * ido.el (ido-completions): Use extra elements of ido-decorations
13765 (bug#14143).
13766 (ido-decorations): Update docstring.
13767
2a417372
MA
137682013-04-05 Michael Albinus <michael.albinus@gmx.de>
13769
13770 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13771 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13772 nil during initialization, in order not to miss changes since the
13773 file was opened. (Bug#14140)
13774
fc164b0c
LL
137752013-04-05 Leo Liu <sdl.web@gmail.com>
13776
13777 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13778
0ccecc08
JB
137792013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13780
13781 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13782
51af1aa2
GM
137832013-04-04 Glenn Morris <rgm@gnu.org>
13784
13785 * electric.el (electric-pair-inhibit-predicate): Add :version.
13786
b208ebc6
SM
137872013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13790 when a package is required several times (bug#14082).
13791
f3d3eaf0
RW
137922013-04-04 Roland Winkler <winkler@gnu.org>
13793
13794 * faces.el (read-face-name): Behave as promised by the docstring.
13795 Assume that arg default is a list of faces.
13796 (describe-face): Call read-face-name with list of default faces.
13797
2575da50
TV
137982013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13799
13800 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13801 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13802 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13803 the header.
13804 (bookmark-exit-hook-internal): Save even if list is empty.
13805
397703b4
YH
138062013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13807
13808 * emacs-lisp/package.el (package-pinned-packages): New var.
13809 (package--add-to-archive-contents): Obey it (bug#14118).
13810
691e26ae
AM
138112013-04-03 Alan Mackenzie <acm@muc.de>
13812
8a621d53
JB
13813 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13814 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13815
13816 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13817 parameter `not-in-delimiter'. Handle being inside comment opener.
13818 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13819 character in case we're typing a '*' after a '/'.
13820 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13821 instead by passing the parameter to c-state-pp-to-literal.
13822
13823 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13824 for elt. 7 of a parse state.
13825
4b725a70
PE
138262013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13827
13828 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13829 * international/latin1-disp.el, international/mule-util.el:
13830 * language/cyril-util.el, language/european.el, language/ind-util.el:
13831 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13832 * language/tibetan.el, language/viet-util.el:
13833 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13834
15c579f0
SM
138352013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13836
13837 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13838 (electric-pair-post-self-insert-function): Use it.
13839 (electric-pair-default-inhibit): New function, extracted from
13840 electric-pair-post-self-insert-function.
13841
a77e2924
RW
138422013-03-31 Roland Winkler <winkler@gnu.org>
13843
13844 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13845
2bd8a4a8
SM
138462013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13847
13848 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13849
8d3655be 138502013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13851
13852 Un-indent after "pass" and "return" statements (Bug#13888)
13853 * progmodes/python.el (python-indent-block-enders): New var.
13854 (python-indent-calculate-indentation): Use it.
13855
8d3655be 138562013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13857
13858 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13859 defun. Defining it as defalias could introduce too eager
13860 byte-compiler optimization. (Bug#14030)
13861
8d3655be 138622013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13863
13864 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13865
0b1619da
LL
138662013-03-30 Leo Liu <sdl.web@gmail.com>
13867
13868 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13869 (kmacro-execute-from-register): Pass the keyboard macro to
13870 kmacro-call-macro or repeating won't work correctly.
13871
0b938190
TZ
138722013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13873
13874 * progmodes/subword.el: Back to using `forward-symbol'.
13875
13876 * subr.el (forward-whitespace, forward-symbol)
13877 (forward-same-syntax): Move from thingatpt.el.
13878
35710234
LL
138792013-03-29 Leo Liu <sdl.web@gmail.com>
13880
13881 * kmacro.el (kmacro-to-register): New command.
13882 (kmacro-execute-from-register): New function.
13883 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13884
efc0bb73
SM
138852013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13886
13887 * mpc.el: Use defvar-local and setq-local.
13888 (mpc--proc-connect): Connection failures are not bugs.
13889 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13890 (mpc-volume-map): Bind to the up-events.
13891
75a2f981
TZ
138922013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13893
13894 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13895 instead of `forward-symbol'.
13896
17c781d1
SM
138972013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13898
13899 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13900 (edebug--recursive-edit): Use it.
13901 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13902 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13903
f67bfbcf
LL
139042013-03-28 Leo Liu <sdl.web@gmail.com>
13905
13906 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13907
b59f639d
EZ
139082013-03-27 Eli Zaretskii <eliz@gnu.org>
13909
13910 * facemenu.el (list-colors-callback): New defvar.
13911 (list-colors-redisplay): New function.
13912 (list-colors-display): Install list-colors-redisplay as the
13913 revert-buffer-function. (Bug#14063)
13914
f557c1b1
SM
139152013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13916
b1da2957
SM
13917 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13918 and suffixes don't overlap (bug#14061).
13919
f557c1b1
SM
13920 * case-table.el: Use lexical-binding.
13921 (case-table-get-table): New function.
13922 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13923
002668e1
TZ
139242013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13925
13926 * progmodes/subword.el: Add `superword-mode' to do word motion
13927 over symbol_words (parallels and leverages `subword-mode' which
13928 does word motion inside MixedCaseWords).
13929
73572c72
AG
139302013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13931
78b8f320 13932 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13933 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13934
69b2c07e
SM
139352013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13938 Change return value to be a sexp. Delay `get-buffer' to after
13939 restoring the desktop (bug#13951).
13940
08bb5ee2
LL
139412013-03-26 Leo Liu <sdl.web@gmail.com>
13942
13943 * register.el: Move semantic tag handling back to
13944 cedet/semantic/senator.el. (Bug#14052)
13945
8d4c974e
SM
139462013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13947
13948 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13949 into the prompt either (bug#13963).
13950
b234d92c
SM
139512013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13952
13953 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13954 part of "(error-foo)".
13955
ddfa3cb4
JL
139562013-03-24 Juri Linkov <juri@jurta.org>
13957
13958 * replace.el (list-matching-lines-prefix-face): New defcustom.
13959 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13960 `occur-engine' if `face-differs-from-default-p' returns t.
13961 (occur-engine): Add `,' inside backquote construct to evaluate
13962 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13963 Pass `prefix-face' to the functions `occur-context-lines' and
13964 `occur-engine-add-prefix'.
13965 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13966 `prefix-face' and propertize the prefix with `prefix-face'.
13967 (Bug#14017)
13968
7b0e2f85
LL
139692013-03-24 Leo Liu <sdl.web@gmail.com>
13970
13971 * nxml/rng-valid.el (rng-validate-while-idle)
13972 (rng-validate-quick-while-idle): Guard against deleted buffer.
13973 (Bug#13999)
13974
13975 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13976 is the last entry in kill-buffer-hook.
13977
13978 * files.el (kill-buffer-hook): Doc fix.
13979
b3082f49
DG
139802013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13981
b234d92c
SM
13982 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13983 Make it safe-local.
bde73d27 13984
b3082f49
DG
13985 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13986
a320a2db
LL
139872013-03-23 Leo Liu <sdl.web@gmail.com>
13988
7e74b0fb
LL
13989 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13990 Remove.
13991
13992 * nxml/rng-valid.el (rng-validate-mode)
13993 (rng-after-change-function, rng-do-some-validation):
13994 * nxml/rng-maint.el (rng-validate-buffer):
13995 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13996 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13997 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13998 (nxml-extend-after-change-region): Use with-silent-modifications.
13999
a320a2db
LL
14000 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14001 timer-idle-list.
14002
14003 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14004 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14005 timer-idle-list. (Bug#13999)
14006
e38e6780
JL
140072013-03-23 Juri Linkov <juri@jurta.org>
14008
14009 * info.el (info-index-match): New face.
14010 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14011 main pattern and add text properties with the new face to matches
14012 in index entries relative to the beginning of the index entry.
14013 (Bug#14015)
14014
e8cc7880
DE
140152013-03-21 Eric Ludlam <zappo@gnu.org>
14016
39c87140 14017 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14018 Inhibit read only while inserting objects.
14019
9bb0d822
TZ
140202013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14021
14022 * progmodes/cfengine.el: Update docs to mention
14023 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14024 symbol motion. Remove "_" from the word syntax.
14025
aa703640
TZ
140262013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14027
14028 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14029 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14030
afff09d0
JL
140312013-03-20 Juri Linkov <juri@jurta.org>
14032
14033 * info.el (Info-next-reference-or-link)
14034 (Info-prev-reference-or-link): New functions.
14035 (Info-next-reference, Info-prev-reference): Use them.
14036 (Info-try-follow-nearest-node): Handle footnote navigation.
14037 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14038
9a1ff164
SM
140392013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14040
14041 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14042 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14043
2667d15d
PE
140442013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14045
14046 Suppress unnecessary non-ASCII chatter during build process.
14047 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14048 (batch-skkdic-convert): Suppress most of the chatter.
14049 It's not needed so much now that machines are faster,
14050 and its non-ASCII component was confusing; see Dmitry Gutov in
14051 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14052
438b0579
LL
140532013-03-20 Leo Liu <sdl.web@gmail.com>
14054
14055 * ido.el (ido-chop): Fix bug#10994.
14056
c128ab07
DG
140572013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14058
14059 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14060 Remove vars.
9a1ff164
SM
14061 (whitespace-color-on, whitespace-color-off):
14062 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14063
0e6008c5
SM
140642013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14067 remapping in mode-line.
14068 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14069
627b52b0
DG
140702013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14071
14072 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14073 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14074 (whitespace-font-lock-keywords): Change description.
14075 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14076 the constructed keywords instead.
14077 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14078
50c3a20b
LL
140792013-03-19 Leo Liu <sdl.web@gmail.com>
14080
14081 * progmodes/compile.el (compilation-display-error): New command.
14082 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14083 C-o. (Bug#13992)
14084
2aa2157b
PE
140852013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14086
14087 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14088
e477dbfa
JD
140892013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14090
14091 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14092
64ab82d1
MA
140932013-03-18 Michael Albinus <michael.albinus@gmx.de>
14094
14095 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14096
14097 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14098 * net/tramp-gvfs.el (top):
14099 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14100 (tramp-handle-shell-command): Use it.
14101 (tramp-dissect-file-name): Raise an error when hostname is a
14102 method name, and neither method nor user is specified.
14103
14104 * net/trampver.el: Update release number.
14105
33cef733
LL
141062013-03-18 Leo Liu <sdl.web@gmail.com>
14107
14108 Make sure eldoc can be turned off properly.
14109 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14110 eldoc-mode.
14111 (eldoc-display-message-p): Revert last change.
14112 (eldoc-display-message-no-interference-p)
14113 (eldoc-print-current-symbol-info): Tweak.
14114
2167b7b2
TH
141152013-03-18 Tassilo Horn <tsdh@gnu.org>
14116
14117 * doc-view.el (doc-view-new-window-function): Check the new window
14118 overlay's display property instead the char property of the
14119 buffer's first char. Use `with-selected-window' instead of
14120 `save-window-excursion' with `select-window'.
14121 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14122 display property instead the char property of the buffer's first char.
2167b7b2 14123
982efbcd
PE
141242013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14125
14126 Automate the build of ja-dic.el (Bug#13984).
14127 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14128 from the input, rather than assume that it's been done for us by the
14129 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14130 the current date into a ja-dic.el comment, as that complicates
14131 regression testing.
14132
2fcc7665
SM
141332013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14134
14135 * whitespace.el: Fix double evaluation.
14136 (whitespace-space, whitespace-hspace, whitespace-tab)
14137 (whitespace-newline, whitespace-trailing, whitespace-line)
14138 (whitespace-space-before-tab, whitespace-indentation)
14139 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14140 obsolete defvars.
14141 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14142 (whitespace-color-on): Use a single font-lock-add-keywords call.
14143 Fix double-evaluation of face variables.
14144
67c0a6e6
MA
141452013-03-17 Michael Albinus <michael.albinus@gmx.de>
14146
2fcc7665
SM
14147 * net/tramp-adb.el (tramp-adb-parse-device-names):
14148 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14149 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14150
69489f1d
LL
141512013-03-17 Leo Liu <sdl.web@gmail.com>
14152
14153 Extend eldoc to display info in the mode-line. (Bug#13978)
14154 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14155 (eldoc-mode-line-string): New variable.
14156 (eldoc-minibuffer-message): New function.
14157 (eldoc-message-function): New variable.
14158 (eldoc-message): Use it.
14159 (eldoc-display-message-p)
2fcc7665
SM
14160 (eldoc-display-message-no-interference-p):
14161 Support eldoc-post-insert-mode.
69489f1d
LL
14162
14163 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14164 (eval-expression): Run it.
14165
9c44569e
RW
141662013-03-17 Roland Winkler <winkler@gnu.org>
14167
14168 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14169 strings in the list of return values.
14170
327f1f6f
JB
141712013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14172
14173 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14174 radix before checking for HMS forms.
14175
67ed8fcd
LL
141762013-03-16 Leo Liu <sdl.web@gmail.com>
14177
14178 * progmodes/scheme.el: Add indentation and font-locking for λ.
14179 (Bug#13975)
14180
78be8b64 141812013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14182
14183 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14184 token before point (bug#13942).
14185
78be8b64 141862013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14187
95b43468 14188 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14189
98e775e6
EZ
141902013-03-16 Eli Zaretskii <eliz@gnu.org>
14191
14192 * startup.el (command-line-normalize-file-name): Fix handling of
14193 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14194 <xfq.free@gmail.com> in
14195 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14196
2edd6029
MA
141972013-03-15 Michael Albinus <michael.albinus@gmx.de>
14198
14199 Sync with Tramp 2.2.7.
14200
14201 * net/trampver.el: Update release number.
14202
d35f5864
TH
142032013-03-14 Tassilo Horn <tsdh@gnu.org>
14204
e903c210 14205 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14206 (doc-view-insert-image): Don't modify overlay associated to
14207 non-live windows, and implement horizontal centering of image in
14208 case it's smaller than the window.
14209 (doc-view-new-window-function): Force redisplay of new windows on
14210 doc-view buffers.
d35f5864 14211
1c4a85ed
KF
142122013-03-13 Karl Fogel <kfogel@red-bean.com>
14213
14214 * saveplace.el (save-place-alist-to-file): Don't sort
14215 `save-place-alist', just pretty-print it (bug#13882).
14216
85b66a21
MA
142172013-03-13 Michael Albinus <michael.albinus@gmx.de>
14218
a020afb9
JB
14219 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14220 Check whether `default-file-name-coding-system' is bound.
14221 It isn't in XEmacs.
85b66a21 14222
175600da
SM
142232013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14224
e7f7cb1a
SM
14225 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14226 backquotes for `obsolete' (bug#13929).
14227
175600da
SM
14228 * international/mule.el (find-auto-coding): Include file name in
14229 obsolescence warning (bug#13922).
14230
ca68a22e
TZ
142312013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14232
14233 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14234 for CFEngine 3-specific indentation.
14235 (cfengine3-indent-line): Use it. Fix up category regex.
14236 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14237
940e5099
SM
142382013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14239
14240 * type-break.el (type-break-file-name):
14241 * textmodes/remember.el (remember-data-file):
14242 * strokes.el (strokes-file):
14243 * shadowfile.el (shadow-initialize):
14244 * saveplace.el (save-place-file):
14245 * ps-bdf.el (bdf-cache-file):
14246 * progmodes/idlwave.el (idlwave-config-directory):
14247 * net/quickurl.el (quickurl-url-file):
14248 * international/kkc.el (kkc-init-file-name):
14249 * ido.el (ido-save-directory-list-file):
14250 * emulation/viper.el (viper-custom-file-name):
14251 * emulation/vip.el (vip-startup-file):
14252 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14253 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14254
cc725808
PE
142552013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14256
14257 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14258 * language/thai-word.el: Switch to UTF-8.
14259
a020afb9 14260See ChangeLog.16 for earlier changes.
e3d51b27
MR
14261
14262;; Local Variables:
14263;; coding: utf-8
e3d51b27
MR
14264;; End:
14265
ba318903 14266 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14267
14268 This file is part of GNU Emacs.
14269
14270 GNU Emacs is free software: you can redistribute it and/or modify
14271 it under the terms of the GNU General Public License as published by
14272 the Free Software Foundation, either version 3 of the License, or
14273 (at your option) any later version.
14274
14275 GNU Emacs is distributed in the hope that it will be useful,
14276 but WITHOUT ANY WARRANTY; without even the implied warranty of
14277 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14278 GNU General Public License for more details.
14279
14280 You should have received a copy of the GNU General Public License
14281 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.