Improve documentation of blink-cursor-mode and its customization variables.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
83451189
EZ
12014-04-13 Eli Zaretskii <eliz@gnu.org>
2
3 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
4 (blink-cursor-mode): Mention customization variables and the
5 effect of 'blink-cursor-blinks'.
6
175a3a51
BR
72014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
8
9 * simple.el (undo): Prevent insertion of identity mapping into
10 undo-equiv-table so as undo-only does not inf loop in the presence
11 of consecutive nils in undo list.
12
5f91455c
MD
132014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
14
15 * faces.el (make-face): Deprecate optional argument as it is no
16 longer needed/used since the conditional X resources handling
17 has been pushed down to make-face-x-resource-internal itself.
18 (make-empty-face): Don't pass optional argument to make-face.
19
ac387dd1
EZ
202014-04-12 Eli Zaretskii <eliz@gnu.org>
21
22 * international/characters.el <standard-case-table>: Add entries
23 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 24 Set category of Coptic characters be 'g' (Greek).
ac387dd1 25
2e611da6
LL
262014-04-12 Leo Liu <sdl.web@gmail.com>
27
28 * progmodes/octave.el (completion-table-with-cache): Define if not
29 available.
30 (octave-goto-function-definition)
31 (octave-sync-function-file-names)
32 (octave-find-definition-default-filename): Backquote upattern for
33 compatibility.
34
f628e17c
MA
352014-04-11 Michael Albinus <michael.albinus@gmx.de>
36
37 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
38 name twice due to backticks. (Bug#17238)
39
fd492166
GM
402014-04-11 Glenn Morris <rgm@gnu.org>
41
42 * term/w32-win.el (x-win-suspend-error):
43 * term/x-win.el (x-win-suspend-error): Sync docs.
44
e46561a2
SM
452014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 Ediff's overlay priorities cause more trouble than they solve.
48 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
49 (ediff-highest-priority): Remove function (bug#17234).
50 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
51 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
52 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
53 overlay priorities.
54
39764caa
FL
552014-04-10 Feng Li <fengli@gmail.com> (tiny change)
56
57 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
58 entry; use symbol boundaries to avoid mis-matches.
59
bcbb83a9
MA
602014-04-10 Michael Albinus <michael.albinus@gmx.de>
61
62 * net/tramp.el (tramp-file-name-handler)
63 (tramp-completion-file-name-handler): Avoid recursive loading.
64
65 * net/tramp-sh.el (tramp-make-copy-program-file-name):
66 Quote result also locally.
67
0122b24d
DG
682014-04-09 Dmitry Gutov <dgutov@yandex.ru>
69
70 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
71 Module methods. (Bug#17216)
72
5b9925ae
SM
732014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * help.el (describe-bindings): Fix buffer handling (bug#17210).
76 (describe-bindings-internal): Mark obsolete.
77
190f899a
JT
782014-04-07 João Távora <joaotavora@gmail.com>
79
80 * elec-pair.el:
81 (electric-pair--syntax-ppss): When inside comments parse from
82 comment beginning.
83 (electric-pair--balance-info): Fix typo in comment.
84 (electric-pair--in-unterminated-string-p): Delete.
85 (electric-pair--unbalanced-strings-p): New function.
86 (electric-pair-string-bound-function): New var.
87 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
88 according to `electric-pair--in-unterminated-string-p'
89
528c33b5
JT
902014-04-07 João Távora <joaotavora@gmail.com>
91
5b9925ae
SM
92 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
93 Inhibit quote pairing if point-max is inside an unterminated string.
94 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
95 (electric-pair--in-unterminated-string-p): New function.
96
a9c921e6
GM
972014-04-07 Glenn Morris <rgm@gnu.org>
98
99 * shell.el (shell-directory-tracker):
100 Go back to just ignoring failures. (Bug#17159)
101
be411138
JT
1022014-04-06 João Távora <joaotavora@gmail.com>
103
104 Fix `electric-pair-delete-adjacent-pairs' in modes binding
105 backspace. (bug#16981)
106 * elec-pair.el (electric-pair-backward-delete-char): Delete.
107 (electric-pair-backward-delete-char-untabify): Delete.
108 (electric-pair-mode-map): Bind backspace to a menu item filtering
109 a new `electric-pair-delete-pair' command.
110 (electric-pair-delete-pair): New command.
111
7aecc2f6
JT
1122014-04-06 João Távora <joaotavora@gmail.com>
113
5b9925ae
SM
114 * progmodes/python.el (python-electric-pair-string-delimiter):
115 Fix triple-quoting electricity. (Bug#17192)
7aecc2f6 116
89f20f76
JT
1172014-04-06 João Távora <joaotavora@gmail.com>
118
5b9925ae
SM
119 * elec-pair.el (electric-pair-post-self-insert-function):
120 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 121 `electric-pair-pairs' were used. syntax to
7aecc2f6 122 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 123
c8e7f832
EZ
1242014-04-06 Eli Zaretskii <eliz@gnu.org>
125
126 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
127 "<F>". (Bug#17199)
128
0beb7fb7
SM
1292014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
132 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
133
50ea0f87
GM
1342014-04-05 Glenn Morris <rgm@gnu.org>
135
136 * help.el (view-lossage): Doc tweak.
137
89980eae 1382014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
eb7a03cc
MD
139
140 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
141 only when inhibit-x-resources is nil, and do that earlier in the
142 function. Doc fix. (Bug#16694)
fdafd487
MD
143 (face-spec-choose): Accept additional optional argument, whose
144 value is returned if no matching attributes are found.
145 (face-spec-recalc): Use the new optional argument when calling
146 face-spec-choose. (Bug#16378)
f5e4494c
MD
147 (make-face-x-resource-internal): Do nothing when
148 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 149 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
150 (face-set-after-frame-default): Don't call
151 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 152
3ccd4eaf
TH
1532014-04-04 Tassilo Horn <tsdh@gnu.org>
154
0beb7fb7
SM
155 * doc-view.el (doc-view-bookmark-jump):
156 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
157 buffer is shown in a window. (bug#16090)
158
b7cf27ed
EZ
1592014-04-04 Eli Zaretskii <eliz@gnu.org>
160
161 * international/characters.el (mirroring): Fix last change:
162 instead of loading uni-mirrored.el explicitly, do that implicitly
163 by creating the 'mirroring' uniprop table. This avoids announcing
164 the loading of uni-mirrored.el.
165
8a1d24b1
GM
1662014-04-04 Glenn Morris <rgm@gnu.org>
167
168 * files.el (buffer-stale--default-function)
169 (buffer-stale-function, revert-buffer--default):
170 * autorevert.el (auto-revert-buffers): Doc tweaks.
171
bbab1c4f
EZ
1722014-04-03 Eli Zaretskii <eliz@gnu.org>
173
174 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
175
d738ebdc
GM
1762014-04-03 Glenn Morris <rgm@gnu.org>
177
178 * files.el (make-backup-file-name-function)
179 (make-backup-file-name, make-backup-file-name--default-function)
180 (make-backup-file-name-1, find-backup-file-name)
181 (revert-buffer-function, revert-buffer-insert-file-contents-function)
182 (buffer-stale--default-function, buffer-stale-function)
183 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
184 (revert-buffer, revert-buffer--default)
185 (revert-buffer-insert-file-contents--default-function):
186 Doc fixes related to defaults no longer being nil.
187 (make-backup-file-name-function): Bump :version.
188 Restore nil as a valid but deprecated custom type.
189
062e286b
SM
1902014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
193 used as a variable (bug#17174).
194
66f50b12
SM
1952014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * progmodes/perl-mode.el (perl-indent-new-calculate):
198 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
199 (perl-syntax-propertize-function): Add "foreach" and "for" statement
200 modifiers introducing expressions (bug#17116).
66f50b12 201
c7510f6e
GM
2022014-04-02 Glenn Morris <rgm@gnu.org>
203
0b908bf2
GM
204 * menu-bar.el (menu-bar-file-menu):
205 * vc/ediff.el (ediff-current-file):
206 Update for revert-buffer-function no longer being nil by default.
207
c7510f6e
GM
208 * simple.el (command-execute): Respect nil disabled-command-function.
209
6116a727
NR
2102014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
211
212 * simple.el (command-execute): Do not execute the command when it
213 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
214
8778eb5e
JL
2152014-03-29 Juri Linkov <juri@jurta.org>
216
217 * dired-aux.el (dired-compress-file): Don't use string-match-p
218 because its match data is used afterwards.
219
929c0500
SM
2202014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
223 0 like nil.
224
42ebc34e
DG
2252014-03-27 Dmitry Gutov <dgutov@yandex.ru>
226
929c0500
SM
227 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
228 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 229
42ebc34e
DG
230 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
231 Don't propertize `?' or `!' as symbol constituent when after
232 colon. (Bug#17097)
233
b1c870c9
JB
2342014-03-27 Juanma Barranquero <lekktu@gmail.com>
235
857ba6ec
JB
236 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
237 which is no longer needed and causes trouble in GTK builds (bug#17046).
238
b1c870c9
JB
239 * emacs-lisp/package-x.el (package--archive-contents-from-url):
240 Use url-insert-file-contents; package-handle-response no longer exists.
241
196716cf
JB
2422014-03-26 Juanma Barranquero <lekktu@gmail.com>
243
244 * emacs-lisp/package.el: Fix bug#16733 (again).
245 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
246 (url-http-target-url): Remove unused declarations.
247 (package-handle-response): Remove.
248 (package--with-work-buffer): Use url-insert-file-contents and simplify.
249 (package--download-one-archive): Use current-buffer instead of
250 dynamic binding of `buffer'.
251 (describe-package-1): Do not decode readme-string.
252
657e54f7
BR
2532014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
254
255 * simple.el (primitive-undo): Correction to 2014-03-24 change.
256
1f73d6c6
MA
2572014-03-25 Michael Albinus <michael.albinus@gmx.de>
258
259 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
260
261 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
262 from 2014-03-07, it decreases performance unnecessarily. Let-bind
263 `remote-file-name-inhibit-cache' to nil in the second pass.
264 (tramp-find-executable): Do not call "which" on SunOS.
265 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
266 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
267 check whether source directory has set the sticky bit.
1f73d6c6 268
37ea8275
BR
2692014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
270
271 * simple.el (primitive-undo): Only process marker adjustments
272 validated against their corresponding (TEXT . POS). Issue warning
273 for lone marker adjustments in undo history. (Bug#16818)
274 (undo-make-selective-list): Add marker adjustments to selective
275 undo list based on whether their corresponding (TEXT . POS) is in
276 the region. Remove variable adjusted-markers, which was unused
277 and only non nil during undo-make-selective-list.
278 (undo-elt-in-region): Return nil when passed a marker adjustment
279 and explain in function doc.
280
3e2377ce
DG
2812014-03-24 Dmitry Gutov <dgutov@yandex.ru>
282
283 * emacs-lisp/package.el (package--add-to-archive-contents):
284 Include already installed and built-in packages in
285 `package-archive-contents'.
286 (package-install): Don't include already installed packages in the
287 options during interactive invocation. (Bug#16762)
288
544ab460
DC
2892014-03-24 Daniel Colascione <dancol@dancol.org>
290
291 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
292 instead of cl-loop search function.
293
c3561529
JB
2942014-03-24 Juanma Barranquero <lekktu@gmail.com>
295
296 * frameset.el (frameset--initial-params): Fix typo in parameter name.
297
74be1649
NR
2982014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
299
300 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
301
c2d6c639
DG
3022014-03-24 Dmitry Gutov <dgutov@yandex.ru>
303
304 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
305 Match special global variables without curlies, too.
306 (ruby-font-lock-keywords): Simplify the matcher for special global
307 variables. Don't require a non-word character after the variable.
308 (Bug#17057)
309
f6614a47
SM
3102014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * simple.el (redisplay-highlight-region-function): Increase priority of
313 overlay to make sure boundaries are visible (bug#15899).
314
3ea2c781
JB
3152014-03-23 Juanma Barranquero <lekktu@gmail.com>
316
ee79b33f
JB
317 * frameset.el (frameset-restore): Compare display strings with equal.
318
3ea2c781
JB
319 * frame.el (make-frame): Don't quote display name in error message,
320 it is already a string.
321
f1e06f7b
TV
3222014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
323
324 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
325 the password.
326
2614c1af
DG
3272014-03-23 Dmitry Gutov <dgutov@yandex.ru>
328
329 * emacs-lisp/package.el (package-show-package-list): If the buffer
330 is already displayed in another window, switch to that window.
331
a41475e1
DC
3322014-03-21 Daniel Colascione <dancol@dancol.org>
333
334 * mail/emacsbug.el (report-emacs-bug): Include memory usage
335 information in bug reports.
336
7eab98da
DC
3372014-03-23 Daniel Colascione <dancol@dancol.org>
338
339 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
340 list to look for keyword arguments instead of `memq', fixing
341 (Bug#3647) --- unfortunately, only for freshly-compiled code.
342 Please make bootstrap.
343
9e37f3b9
RS
3442014-03-23 Richard Stallman <rms@gnu.org>
345
346 * battery.el (battery-linux-sysfs): Search for each field
347 from the beginning of the buffer.
348
1197f2e6
DG
3492014-03-22 Dmitry Gutov <dgutov@yandex.ru>
350
351 * emacs-lisp/package.el (package-desc): Use the contents of the
352 quoted form, not its cdr. (Bug#16873)
353
aac06179
JB
3542014-03-22 Juanma Barranquero <lekktu@gmail.com>
355
356 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
357 benefit of doc.c; change parameter profile to match the X function.
358
1e92a8a3
MA
3592014-03-21 Michael Albinus <michael.albinus@gmx.de>
360
361 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
362 and `tramp-copy-env'.
363
364 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
365 (tramp-maybe-open-connection): Handle `tramp-login-env'.
366
78540c42
GM
3672014-03-21 Glenn Morris <rgm@gnu.org>
368
369 * electric.el (electric-indent-post-self-insert-function): Add doc.
370
1fc8f655
DG
3712014-03-21 Dmitry Gutov <dgutov@yandex.ru>
372
dcf78667
DG
373 * emacs-lisp/package.el (package-compute-transaction):
374 Use `version-list-<=' to compare the requirement version against
375 the version of package already to be installed. Update the error
376 message. (Bug#16826)
377
1fc8f655
DG
378 * progmodes/ruby-mode.el (ruby-smie-rules):
379 Add indentation rule for ` @ '. (Bug#17050)
380
dada060d
JB
3812014-03-21 Juanma Barranquero <lekktu@gmail.com>
382
383 * align.el (align-regexp): Remove superfluous backslash.
384
385 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
386 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
387 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
388 Fix docstring typos.
389 (ffap-next): Use C-u in docstring.
390 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
391 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
392 Remove superfluous backslashes.
393 (ffap-string-at-point): Reflow docstring.
394
395 * server.el (server-host): Reflow docstring.
396 (server-unload-function): Fix docstring typo.
397 (server-eval-at): Remove superfluous backslash.
398
399 * skeleton.el (skeleton-insert): Remove superfluous backslash.
400 (skeleton-insert): Doc fix.
401 (skeleton-insert): Reflow docstring.
402
403 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
404 (tty-color-approximate, tty-color-by-index, tty-color-values)
405 (tty-color-desc): Remove superfluous backslashes.
406
049fac7c
SM
4072014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
408
494ec1e7
SM
409 * electric.el (electric-newline-and-maybe-indent): New command.
410 Bind it globally to C-j.
411 (electric-indent-mode): Don't mess with the global map any more.
412 Don't drop the post-self-insert-hook is some buffer is still using it
413 (bug#16770).
66f50b12 414
494ec1e7
SM
415 * bindings.el (global-map): Remove C-j binding.
416
049fac7c
SM
417 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
418 the docstring of functions advised before dumping (bug#16993).
419
f15ec1ba 4202014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
421
422 * ps-print.el (ps-generate-postscript-with-faces):
423 Explicitly deactivate the mark (bug#16866).
424 * simple.el (deactivate-mark): Update region highlight.
425
f88bdc45
JB
4262014-03-19 Juanma Barranquero <lekktu@gmail.com>
427
428 * emacs-lisp/package.el (describe-package-1):
429 Decode commentary (bug#16733).
430
6b88e570
JB
4312014-03-18 Juanma Barranquero <lekktu@gmail.com>
432
433 * custom.el (defcustom): Doc fix: recommend avoiding destructive
434 modification of the value argument of :set (bug#16755).
435
ac9b4703
SM
4362014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * simple.el (newline-and-indent): Do autofill (bug#17031).
439
2b7858ec
DG
4402014-03-18 Dmitry Gutov <dgutov@yandex.ru>
441
442 * newcomment.el (comment-normalize-vars): Only add escaping check
443 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
444 (comment-beginning): Use `narrow-to-region' instead of moving back
445 one character.
446 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
447 (comment-start-skip): Update the docstring.
448
11eff3ae
RS
4492014-03-18 Richard Stallman <rms@gnu.org>
450
451 * dired.el (dired-display-file): Force use of other window.
452
07f44fdb
JB
4532014-03-18 Daniel Colascione <dancol@dancol.org>
454
455 * startup.el (tty-handle-args): Remove debug message from 2007.
456
4572014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
458
459 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
460 (advice--make-interactive-form): Use it to avoid (auto)loading function.
461 (advice--make-1, advice-add, advice-remove):
462 Remove braindead :advice-pending hack.
463
61debe4a
GM
4642014-03-17 Glenn Morris <rgm@gnu.org>
465
466 * calendar/calendar.el (calendar-generate-month): Apply weekend
467 face to the right days; fixes 2013-08-06 change. (Bug#17028)
468
8273986b
MA
4692014-03-17 Michael Albinus <michael.albinus@gmx.de>
470
471 * net/tramp.el (tramp-action-out-of-band): Read pending output.
472 (tramp-call-process): Trace also DESTINATION.
473
474 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
475 Quote file names when they are local. Remove superfluous trace.
476
4f8aeb84
DG
4772014-03-17 Dmitry Gutov <dgutov@yandex.ru>
478
218feefc
DG
479 * newcomment.el (comment-beginning): If `comment-start-skip'
480 doesn't match, move back one char and try again. (Bug#16971)
481
6c187ef5
SM
482 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
483 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
484 Set `comment-start-skip' to a simpler value that doesn't try to
485 check if the semicolon is escaped (this is handled by
486 `syntax-ppss' now). (Bug#16971)
487
488 * progmodes/scheme.el (scheme-mode-variables): Same.
489
b92631bf
MR
4902014-03-16 Martin Rudalics <rudalics@gmx.at>
491
492 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
493 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
494 current (Bug#16816, Bug#17007).
495 (with-current-buffer-window): New macro doing the same as
496 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
497 * help.el (help-print-return-message): Warn in doc-string to not
498 use this in `with-help-window'.
499 (describe-bindings-internal): Call `describe-buffer-bindings'
500 from within help buffer. See Juanma's scenario in (Bug#16816).
501 (with-help-window): Update doc-string.
502 * dired.el (dired-mark-pop-up):
503 * files.el (save-buffers-kill-emacs):
504 * register.el (register-preview): Use `with-current-buffer-window'
505 instead of `with-temp-buffer-window'.
506
57348c4d
JB
5072014-03-16 Juanma Barranquero <lekktu@gmail.com>
508
509 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
510 Implement inserting into current buffer, documented in their docstrings.
511 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
512 (rst-section-tree-point, rst-forward-section, rst-indent)
513 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
514 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
515 (rst-font-lock-handle-adornment-pre-match-form)
516 (rst-repeat-last-character): Reflow docstrings.
517 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
518 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
519 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
520 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
521 Fix docstring typos.
522 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
523 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
524 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
525
fd16b061
JB
5262014-03-15 Juanma Barranquero <lekktu@gmail.com>
527
a2403e3d
JB
528 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
529 for compatibility with other ports.
530 (ns-initialize-window-system): Use it. It is set in term/common-win.el
531 from the -xrm command line argument, but in the Nextstep port its value
532 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
533
fd16b061
JB
534 * progmodes/python.el (defconst, python-syntax-count-quotes)
535 (python-indent-region, python-indent-shift-right)
536 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
537 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
538 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
539 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
540 (inferior-python-mode, python-shell-make-comint, run-python-internal)
541 (python-shell-buffer-substring, python-shell-send-buffer)
542 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
543 (python-completion-complete-at-point, python-fill-docstring-style)
544 (python-eldoc-function, python-imenu-format-item-label)
545 (python-imenu-format-parent-item-label)
546 (python-imenu-format-parent-item-jump-label)
547 (python-imenu--build-tree, python-imenu-create-index)
548 (python-imenu-create-flat-index): Fix docstring typos.
549 (python-indent-context, python-shell-prompt-regexp, run-python):
550 Remove superfluous backslashes.
551 (python-indent-line, python-nav-beginning-of-defun)
552 (python-shell-get-buffer, python-shell-get-process)
553 (python-info-current-defun, python-info-current-line-comment-p)
554 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
555 (python-indent-post-self-insert-function, python-shell-send-file)
556 (python-shell-completion-get-completions)
557 (python-shell-completion-complete-or-indent)
558 (python-eldoc--get-doc-at-point): Reflow docstrings.
559
e94807f0
GM
5602014-03-14 Glenn Morris <rgm@gnu.org>
561
88103345
GM
562 * emacs-lisp/package.el (package-menu-mode-map):
563 Replace use of obsolete function alias. Tweak menu item text.
564
f2dd4ba8
GM
565 * info.el (Info-finder-find-node):
566 Ignore the `emacs' metapackage. (Bug#10813)
567
ac0f82ef
GM
568 * finder.el (finder-list-matches): Include unversioned packages
569 in the result of a keyword search.
570
e94807f0
GM
571 * finder.el (finder--builtins-descriptions): New constant.
572 (finder-compile-keywords): Use finder--builtins-descriptions.
573
50d434d1
DG
5742014-03-14 Dmitry Gutov <dgutov@yandex.ru>
575
576 * simple.el (blink-matching-paren): Describe the new value,
577 `jump', enabling the old behavior.
578 (blink-matching-open): Use that value. (Bug#17008)
579
56759cf1
GM
5802014-03-14 Glenn Morris <rgm@gnu.org>
581
459d74ef
GM
582 * finder.el (finder-no-scan-regexp): Add leim-list.
583 (finder-compile-keywords):
584 Don't skip files with same basename. (Bug#14010)
585 * Makefile.in (setwins_finder): New, excluding leim.
586 (finder-data): Use setwins_finder.
587
56759cf1
GM
588 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
589 (help-function-arglist, help-make-usage): Move from here...
590 * help.el (help-split-fundoc, help-add-fundoc-usage)
591 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
592 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
593
7644aa97
JB
5942014-03-14 Juanma Barranquero <lekktu@gmail.com>
595
596 * net/socks.el (socks, socks-override-functions)
fd16b061 597 (socks-find-services-entry):
7644aa97
JB
598 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
599 (hif-find-ifdef-block):
600 * progmodes/modula2.el (m2-indent): Fix docstring typos.
601
602 * net/tls.el (tls-program): Reflow docstring.
603
604 * progmodes/pascal.el (pascal-mode-abbrev-table)
605 (pascal-imenu-generic-expression, pascal-auto-endcomments)
606 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
607 (pascal-outline-mode): Fix docstring typos.
608 (pascal-mode): Let define-derived-mode document mode hook.
609 (pascal-uncomment-area): Reflow.
610 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
611
612 * progmodes/opascal.el (opascal-compound-block-indent)
613 (opascal-case-label-indent): Fix docstring typos.
614 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
615
1f44df94
DG
6162014-03-13 Dmitry Gutov <dgutov@yandex.ru>
617
07f44fdb
JB
618 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
619 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 620
0d71dfb3
TW
6212014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
622
623 * emacs-lisp/package.el (package--prepare-dependencies):
624 Accept requirements without explicit version (bug#14941).
625
d27a1a7b
JB
6262014-03-12 Juanma Barranquero <lekktu@gmail.com>
627
a5765a3d
JB
628 * register.el (register-separator, copy-to-register): Doc fixes.
629 (register-preview-default): Remove unnecessary call to concat.
630
d27a1a7b
JB
631 * frameset.el (frameset-restore): When checking for a visible frame,
632 use the action map instead of calling visible-frame-list.
633
08dfa0b7
JB
6342014-03-12 Jonas Bernoulli <jonas@bernoul.li>
635
636 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
637
8960529e
MR
6382014-03-12 Martin Rudalics <rudalics@gmx.at>
639
640 * window.el (fit-frame-to-buffer): Get maximum width from
641 display's width instead of height.
642
8a51e8e4
GM
6432014-03-12 Glenn Morris <rgm@gnu.org>
644
46456005
GM
645 * desktop.el (desktop-restore-frames)
646 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
647 (desktop-restore-reuses-frames): Doc tweaks.
648
8a51e8e4
GM
649 * electric.el (electric-indent-mode): Doc fix.
650
5983b317
JB
6512014-03-12 Juanma Barranquero <lekktu@gmail.com>
652
653 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
654 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
655 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
656 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
657 (cvs-dired-use-hook): Fix docstring typos.
658 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
659 Doc fixes.
660
661 * vc/pcvs-defs.el (cvs-auto-remove-handled)
662 (cvs-auto-remove-directories, cvs-default-ignore-marks)
663 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
664 (cvs-execute-single-dir): Fix docstring typos.
665
666 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
667 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
668
669 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
670
671 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
672 Fix docstring typos.
673
13c00cf0
JB
6742014-03-12 Juanma Barranquero <lekktu@gmail.com>
675
676 * frameset.el (frameset--jump-to-register): Add autoload; it could be
677 called from jump-to-register after unloading the frameset package.
678
536a17e3
SM
6792014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
682 (bug#16975). Deactivate the mark before setting it to nil.
683 (activate-mark): Do nothing if region is already active.
684
baf8d0ac
JB
6852014-03-11 Juanma Barranquero <lekktu@gmail.com>
686
687 * frameset.el (frameset--target-display): Remove definition; declare.
688 (frameset-save, frameset-restore): Let-bind frameset--target-display.
689
1ea22560
SM
6902014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
693 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
694 when the advice is pending.
695 (advice-remove): Remove this marker when not needed any more.
696
4538c058
JB
6972014-03-11 Juanma Barranquero <lekktu@gmail.com>
698
699 * frameset.el: Separate options for reusing frames and cleaning up.
700 (frameset--reuse-list): Remove definition; declare.
701 (frameset--action-map): Declare.
702 (frameset--find-frame-if): Doc fix.
703 (frameset--restore-frame): Cache frame action.
704 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
705 how to clean up the frame list after restoring. Remove cleaning
706 options from REUSE-FRAMES. Change all keyword values to symbols.
707 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
708
709 * desktop.el (desktop-restore-forces-onscreen)
710 (desktop-restore-reuses-frames): Use non-keyword values.
711 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
712
ba1a5c78
GM
7132014-03-10 Glenn Morris <rgm@gnu.org>
714
776aa432
GM
715 * files.el (find-file): Doc fix: update info node name.
716
ba1a5c78
GM
717 * emacs-lisp/advice.el (ad-add-advice, defadvice):
718 Doc fix: remove references to deleted info nodes.
719
183d706e
MA
7202014-03-10 Michael Albinus <michael.albinus@gmx.de>
721
722 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
723 Do not add `nil' to the environment, when there's no remote `locale'.
724 (tramp-find-inline-encoding): Check, that the remote host has
725 installed perl, before sending scripts.
726
6f0f96e7
LL
7272014-03-10 Leo Liu <sdl.web@gmail.com>
728
536a17e3
SM
729 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
730 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 731
ca70fe78
SM
7322014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
735 (bug#14430).
736
eb67db41
JL
7372014-03-09 Juri Linkov <juri@jurta.org>
738
739 * ansi-color.el (ansi-color-names-vector): Copy default colors
740 from `xterm-standard-colors' that look well on the default white
741 background (and also on the black background) to avoid illegible
8cf07e5a 742 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
743 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
744
e7db5447
JB
7452014-03-08 Juanma Barranquero <lekktu@gmail.com>
746
747 * frameset.el (frameset-restore): When no frame is visible, do not
748 generate a list of frames, just make visible the selected one.
749
f0a4c8d7
DG
7502014-03-08 Dmitry Gutov <dgutov@yandex.ru>
751
752 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
753 it only contains the repository root. (Bug#16897)
754
e50772e3
MA
7552014-03-07 Michael Albinus <michael.albinus@gmx.de>
756
757 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
758 only when `remote-file-name-inhibit-cache' is nil.
759 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
760
cac0a1d6
MR
7612014-03-06 Martin Rudalics <rudalics@gmx.at>
762
763 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
764 Fix doc-strings.
765 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
766 fit-frame-to-buffer variable. Fix doc-string.
767 (fit-window-to-buffer): Set ONLY argument in call of
768 fit-frame-to-buffer. Fix doc-string.
769
fa965cbf
MA
7702014-03-06 Michael Albinus <michael.albinus@gmx.de>
771
772 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
773 (tramp-action-password): Clear password cache if needed.
774 (tramp-read-passwd): Do not clear password cache.
775
776 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
777 cache unless it is the first password request.
778
c94e6ee4
GM
7792014-03-06 Glenn Morris <rgm@gnu.org>
780
03bc753e
GM
781 * simple.el (newline): Doc tweak.
782
c94e6ee4
GM
783 * emacs-lisp/shadow.el (load-path-shadows-find):
784 Ignore dir-locals. (Bug#12357)
785
bd2d43dc
GM
7862014-03-05 Glenn Morris <rgm@gnu.org>
787
788 * files.el (interpreter-mode-alist):
789 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
790
9284000e
JB
7912014-03-05 Juanma Barranquero <lekktu@gmail.com>
792
793 * frameset.el (frameset--initial-params): Filter out null entries.
794
e1a2cb1c
MR
7952014-03-05 Martin Rudalics <rudalics@gmx.at>
796
27821a89
JB
797 * window.el (window-min-height, window-min-width):
798 Rewrite doc-strings.
e1a2cb1c
MR
799 (window-body-size): Add PIXELWISE argument to make it consistent
800 with its callees.
801
6bf67038
JB
8022014-03-05 Juanma Barranquero <lekktu@gmail.com>
803
804 * finder.el (finder-mode-map, finder-mode-syntax-table):
805 Revert part of 2014-02-28 change.
806
90f04e4c
LI
8072014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
808
809 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
810 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
811 (eww-textarea-map): [tab] doesn't work on tty.
812 Reported by Mario Lang.
6952100d
LI
813
814 * net/shr.el (shr-map): Ditto.
90f04e4c 815
3106d59b
GM
8162014-03-04 Glenn Morris <rgm@gnu.org>
817
818 * minibuffer.el (completion-hilit-commonality):
819 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
820
f604dfdc
JB
8212014-03-04 Juanma Barranquero <lekktu@gmail.com>
822
823 * hilit-chg.el (hilit-chg-unload-function): New function.
824 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
825 (hilit-chg-map-changes): Prefer cardinal number to digit.
826 (hilit-chg-display-changes): Reflow docstring.
827 (highlight-changes-rotate-faces): Remove superfluous backslash.
828
5dc65319
MA
8292014-03-04 Michael Albinus <michael.albinus@gmx.de>
830
831 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
832 `tramp-send-command-and-check'.
833
4242d21d
JB
8342014-03-04 Juanma Barranquero <lekktu@gmail.com>
835
b01fa838
JB
836 * hexl.el (hexl-address-region, hexl-ascii-region)
837 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
838 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
839 (hexl-forward-word, hexl-previous-line, hexl-next-line):
840 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
841 (hexl-mode): Doc fix.
842 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
843 (hexl-mode-ruler): Fix typos in docstrings.
844
4242d21d
JB
845 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
846 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
847 Remove superfluous backslashes.
848 (strokes-last-stroke, strokes-global-map, strokes-mode):
849 Reflow docstrings.
850 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
851 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
852 (strokes-distance-squared, strokes-global-set-stroke)
853 (strokes-global-set-stroke-string): Doc fixes.
854 (strokes-help): Fix typos; reflow docstring.
855
87132570
MR
8562014-03-04 Martin Rudalics <rudalics@gmx.at>
857
858 * window.el (window-in-direction): Fix doc-string.
859
d82e752c
GM
8602014-03-04 Glenn Morris <rgm@gnu.org>
861
862 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
863 Explicit error if no grammar.
864 (smie-config-save): Doc fix. Fix quote typo.
865
62528af0
SM
8662014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
867
8d4901dc
SM
868 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
869 electric-indent-mode-hook if we obey electric-indent-mode.
870 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
871 decide whether we obey electric-indent-mode.
872 (c-change-set-fl-decl-start, c-extend-after-change-region):
873 Silence warnings.
874 (c-electric-indent-mode-hook): Assume we do want to obey
875 electric-indent-mode.
876
877 * electric.el (electric-indent-mode-has-been-called): Remove.
878 (electric-indent-mode): Fix accordingly.
879
092c12b2
SM
880 * files.el (hack-local-variables): Mention file name in warning.
881
62528af0
SM
882 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
883
5b87d0d9
MN
8842014-03-04 Michal Nazarewicz <mina86@mina86.com>
885
20f39add 886 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
887 * simple.el (delete-forward-char): Mark as interactive-only.
888
542a3840
JB
8892014-03-03 Juanma Barranquero <lekktu@gmail.com>
890
f2d2402e
GM
891 * icomplete.el (icomplete-completions):
892 Follow-up to 2014-03-01 change.
d11320e5
JB
893
894 * icomplete.el: Miscellaneous doc fixes.
895 Use Icomplete everywhere instead of icomplete for consistency.
896 (icomplete-max-delay-chars): Fix typo.
897 (icomplete-mode): Use \[].
898 (icomplete-tidy, icomplete-exhibit): Reflow.
899 (icomplete-minibuffer-setup-hook, icomplete-completions):
900 Remove superfluous backlashes.
901
902 * ido.el: Miscellaneous doc fixes.
903 Use Ido everywhere instead of ido or `ido' for consistency.
904 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
905 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
906 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
907 (ido-separator): Extract obsolescence info from docstring and declare
908 with make-obsolete-variable.
909 (ido-minibuffer-setup-hook): Simplify example.
910 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
911 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
912 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
913 (ido-everywhere): Reflow docstring.
914 (ido-toggle-vc): Doc fix.
915 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
916 of long list of keybindings.
917
7ebd57e9
GM
9182014-03-03 Glenn Morris <rgm@gnu.org>
919
920 * frame.el (display-pixel-height, display-pixel-width)
921 (display-mm-dimensions-alist, display-mm-height)
922 (display-mm-width): Doc tweaks.
923
35e951cd 9242014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
925
926 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
927 case of undo in region.
928
b923819c
MR
9292014-03-02 Martin Rudalics <rudalics@gmx.at>
930
931 * window.el (fit-window-to-buffer): Fix argument in window-size
932 call when window is horizontally combined.
933
b6e443c5
JB
9342014-03-02 Juanma Barranquero <lekktu@gmail.com>
935
936 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 937 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 938
1850913d
DG
9392014-03-01 Dmitry Gutov <dgutov@yandex.ru>
940
35e951cd
JB
941 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
942 Highlight regexp options. (Bug#16914)
1850913d 943
04b577b6
MR
9442014-03-01 Martin Rudalics <rudalics@gmx.at>
945
946 * window.el (window--max-delta-1): Round down when calculating
947 how many lines/columns we can get from a window.
948
b829360f
GM
9492014-03-01 Glenn Morris <rgm@gnu.org>
950
2501c912
GM
951 * isearch.el (search-invisible): Doc fix.
952
b829360f
GM
953 * minibuffer.el (completion-hilit-commonality):
954 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
955 * comint.el (comint-dynamic-list-completions): Doc fix.
956 * comint.el (comint-dynamic-list-completions):
957 * filecache.el (file-cache-minibuffer-complete):
958 * tempo.el (tempo-display-completions):
959 * eshell/em-hist.el (eshell-list-history):
960 Replace use of obsolete argument of display-completion-list.
961
9a155058
JB
9622014-03-01 Juanma Barranquero <lekktu@gmail.com>
963
964 * icomplete.el (icomplete-completions):
965 Revert back to using "..." when ?… cannot be displayed.
966
53f6cda8
JB
9672014-02-28 Juanma Barranquero <lekktu@gmail.com>
968
969 * finder.el (finder-unload-function): New function.
970
43977c23
JB
9712014-02-28 Juanma Barranquero <lekktu@gmail.com>
972
973 * dframe.el (dframe-detach):
974 * find-dired.el (find-dired, find-name-dired):
975 * finder.el (finder-mode-map, finder-mode-syntax-table)
976 (finder-headmark, finder-select, finder-mouse-select):
977 Fix docstring typos.
978
9dda75ad
MR
9792014-02-28 Martin Rudalics <rudalics@gmx.at>
980
981 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
982 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
983 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
984 Fix doc-string based on a suggestion by Nicolas Richard
985 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
986 * help.el (with-help-window): Fix doc-string.
987
8a73034e
IK
9882014-02-28 Ivan Kanis <ivan@kanis.fr>
989
b70257b0
GM
990 * net/shr.el (shr-image-animate): New option.
991 (shr-put-image): Respect shr-image-animate.
8a73034e 992
245aa73e
MA
9932014-02-28 Michael Albinus <michael.albinus@gmx.de>
994
995 * net/tramp-adb.el (tramp-adb-parse-device-names):
996 Use `accept-process-output'.
997 (tramp-adb-handle-file-truename): Cache the localname only.
998 (tramp-adb-handle-make-directory)
999 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1000 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1001 modes cannot be changed.
1002
1003 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1004 file properties of symlinks.
1005
48e15d64
PS
10062014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1007
1008 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1009 required/optional fields to match development biblatex. (Bug#16781)
1010
65b77347
AS
10112014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1012
1013 * saveplace.el (toggle-save-place):
1014 Fix argument handling. (Bug#16673)
1015
5e618aba
GM
10162014-02-28 Glenn Morris <rgm@gnu.org>
1017
1018 * minibuffer.el (completions-first-difference)
1019 (completions-common-part, completion-hilit-commonality): Doc fixes.
1020
6deb314e
KB
10212014-02-28 Karl Berry <karl@gnu.org>
1022
1023 * info.el (Info-mode-map): Add H for describe-mode,
1024 to synchronize with standalone Info.
1025
289996f5
EL
10262014-02-28 Emilio C. Lopes <eclig@gmx.net>
1027
1028 * progmodes/sql.el (sql-interactive-mode):
1029 Avoid setting global comint-input-ring-separator. (Bug#16814)
1030
79fc1191
MA
10312014-02-27 Michael Albinus <michael.albinus@gmx.de>
1032
1033 * net/dbus.el (dbus--init-bus): Declare function.
1034 (dbus-path-local, dbus-interface-local): New defconst.
1035 (dbus-init-bus): Use them.
1036 (dbus-return-values-table): Extend doc.
1037 (dbus-handle-bus-disconnect): Extend error message.
1038
298520df
JB
10392014-02-27 Juanma Barranquero <lekktu@gmail.com>
1040
1041 * subr.el (y-or-n-p): Fix double space issue in message.
1042
c22c1614
MA
10432014-02-27 Michael Albinus <michael.albinus@gmx.de>
1044
1045 * net/tramp.el (tramp-call-process): Improve trace message.
1046 (tramp-handle-insert-file-contents): Trace error case.
1047
1048 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1049 <insert-directory>: Use `tramp-handle-insert-directory'.
1050 (tramp-adb-handle-insert-directory): Remove function.
1051 (tramp-adb-send-command-and-check): New defun, replacing
1052 `tramp-adb-command-exit-status'. Change all callees.
1053 (tramp-adb-handle-file-attributes)
1054 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
1055 (tramp-adb-ls-output-name-less-p):
1056 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
1057 (tramp-adb-handle-delete-directory): Flush also file properties of
1058 the truename of directory.
1059 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1060 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1061 (tramp-adb-handle-write-region): Implement APPEND.
1062 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1063 properties correctly.
1064 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1065 variables. Check for connected devices only when needed.
1066
d9263618
GM
10672014-02-27 Glenn Morris <rgm@gnu.org>
1068
ea7826ba
GM
1069 * minibuffer.el (completion-table-dynamic)
1070 (completion-table-with-cache): Doc fixes.
1071
d9263618
GM
1072 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1073 (completing-read-multiple): Doc fixes.
1074
eff3168a
DC
10752014-02-27 Daniel Colascione <dancol@dancol.org>
1076
51f213c3
DC
1077 * minibuffer.el (completion--nth-completion): Fix indentation.
1078
eff3168a
DC
1079 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1080 explicit tramp path is empty.
1081
b77cfcd7
GM
10822014-02-27 Glenn Morris <rgm@gnu.org>
1083
1084 * emacs-lisp/crm.el (completing-read-multiple):
1085 Empower help-enable-auto-load.
1086
9577b569
GM
10872014-02-26 Glenn Morris <rgm@gnu.org>
1088
259887e8
GM
1089 * startup.el (command-line): Don't init the tty in daemon mode.
1090
1d491ef2
GM
1091 Avoid calling tty-setup-hook twice, eg if a term file
1092 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1093 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1094 (tty-create-frame-with-faces): Use it.
1095 * startup.el (command-line): Pass run-hook argument
1096 to tty-run-terminal-initialization.
1097
9577b569
GM
1098 * dired.el (dired-restore-desktop-buffer): Demote errors;
1099 eg in case a glob match fails. (Bug#16884)
1100
40ff7f86
DG
11012014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1102
b2388336
DG
1103 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1104 error from `read-from-string'. (Bug#16850)
1105
40ff7f86
DG
1106 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1107 result of `completing-read' in the interactive form. (Bug#16854)
1108
98bd6b32
GM
11092014-02-25 Glenn Morris <rgm@gnu.org>
1110
f086804c
GM
1111 * image.el (image-animate, image-animate-timeout):
1112 Stop animating images in dead buffers. (Bug#16878)
1113
c107155e
GM
1114 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1115
9577b569
GM
1116 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1117 Doc fixes.
98bd6b32
GM
1118 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1119 * term/sun.el (sun-raw-prefix-hooks):
1120 Use tty-setup-hook instead of term-setup-hook.
1121 (terminal-init-sun): Construct message from bytecomp plist.
1122 * term/wyse50.el (enable-arrow-keys): Doc fix.
1123
9c9e18e8
JB
11242014-02-24 Juanma Barranquero <lekktu@gmail.com>
1125
1126 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1127 Fix docstring typos.
1128
c848881f
MA
11292014-02-24 Michael Albinus <michael.albinus@gmx.de>
1130
1131 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1132
0e38ae05
NR
11332014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1134
1135 * minibuffer.el (completion--try-word-completion):
1136 Fix error when completing M-x commands (bug#16808).
1137
8ee4c296
LL
11382014-02-24 Leo Liu <sdl.web@gmail.com>
1139
1140 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1141
7d4bd627
JB
11422014-02-24 Juanma Barranquero <lekktu@gmail.com>
1143
1144 * apropos.el (apropos-print): Avoid formatting error when
1145 apropos-do-all and apropos-compact-layout are both t.
1146
e918e27f
JB
11472014-02-23 Juanma Barranquero <lekktu@gmail.com>
1148
1149 * apropos.el (apropos-property, apropos-all-words-regexp)
1150 (apropos-true-hit, apropos-variable, apropos-print):
1151 Fix docstring typos, and remove obsolete comment.
1152
85c01f80
MA
11532014-02-23 Michael Albinus <michael.albinus@gmx.de>
1154
1155 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1156 Preserve trailing "/". (Bug#16851)
1157
62f95022
DG
11582014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1159
1160 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1161 after `=>' (bug#16811).
dfdb365c
DG
1162 (ruby-smie-rules): Handle the inconsistent second element of the
1163 list returned by `smie-indent--parent'.
1164 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1165 method call.
62f95022 1166
025f2c81
JB
11672014-02-23 Juanma Barranquero <lekktu@gmail.com>
1168
1169 * elec-pair.el (electric-pair-text-syntax-table)
1170 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1171 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1172 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1173 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1174
123c84f9
GM
11752014-02-22 Glenn Morris <rgm@gnu.org>
1176
612c3e46
GM
1177 * imenu.el (imenu--generic-function): Doc fix.
1178
123c84f9
GM
1179 * register.el (frame-configuration-to-register): Make obsolete.
1180
e59fa9ad
JB
11812014-02-22 Juanma Barranquero <lekktu@gmail.com>
1182
1183 * desktop.el (desktop-save-buffer-p): Do not fail when
1184 desktop-files-not-to-save is nil. Return t for true result
1185 as the doc says.
1186
4e652634
DC
11872014-02-22 Daniel Colascione <dancol@dancol.org>
1188
27821a89 1189 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
1190 Check that attribute values are strings, avoiding the construction
1191 of invalid dbus messages.
4e652634 1192
f35affb6
JB
11932014-02-21 Juanma Barranquero <lekktu@gmail.com>
1194
1195 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1196 defun-declarations-alist.
1197
3d136b1b
SM
11982014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1201 (bug#16829).
1202
612ddfc0
JB
12032014-02-21 Juanma Barranquero <lekktu@gmail.com>
1204
1205 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1206 (whitespace-newline, whitespace-trailing, whitespace-line)
1207 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1208 (whitespace-space-after-tab): Fix typo in docstrings.
1209
c8481b1b
DG
12102014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1211
cb8f50a7
DG
1212 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1213
c8481b1b
DG
1214 * electric.el (electric-indent-functions-without-reindent):
1215 Add `yaml-indent-line'.
1216
bed5126f
JB
12172014-02-21 Juanma Barranquero <lekktu@gmail.com>
1218
34b71457
JB
1219 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1220 It has done nothing for years; should be removed after the release.
1221
bed5126f
JB
1222 * simple.el (choose-completion): Fix docstring typo.
1223 (read-quoted-char-radix): Remove unneeded * in docstring.
1224 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1225 Don't escape parentheses unnecessarily in docstrings.
1226
8dd3e94f
MR
12272014-02-21 Martin Rudalics <rudalics@gmx.at>
1228
1229 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1230 * window.el (window--dump-window, window--dump-frame):
1231 New functions.
1232 (window--min-size-1): Account for window dividers.
1233 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
1234 sum of the window components has been calculated.
1235 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1236 nil make sure at least one text line and two text columns remain
1237 fully visible.
1238 (window-resize): Signal an error when window-resize-apply fails.
1239 (window--resize-child-windows): Fix calculation of by how many
1240 pixels a window can still be shrunk via window-new-normal.
1241 (adjust-window-trailing-edge): Call window--resizable with
1242 correct TRAIL argument.
1243
2ed94e04
MR
1244 (with-temp-buffer-window): Don't evaluate BODY within
1245 with-current-buffer (Bug#16816).
1246
0e5324c4
MA
12472014-02-21 Michael Albinus <michael.albinus@gmx.de>
1248
1249 * net/tramp.el (tramp-check-cached-permissions):
1250 Call `file-attributes' with `suffix' being a symbol but a string.
1251
48198420
DC
12522014-02-21 Daniel Colascione <dancol@dancol.org>
1253
1254 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1255 (dbus-init-bus): New function: call into dbus-init-bus-1
1256 and installs a handler for the disconnect signal.
1257 (dbus-call-method): Rewrite to look for result in cons.
1258 (dbus-call-method-handler): Store result in cons.
1259 (dbus-check-event): Recognize events with nil sender as valid.
1260 (dbus-handle-bus-disconnect): New function. React to bus
1261 disconnection signal by synthesizing dbus error for each
1262 pending synchronous or asynchronous call.
1263 (dbus-notice-synchronous-call-errors): New function.
1264 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1265 is true, not all the time.
1266
99e15133
JB
12672014-02-21 Juanma Barranquero <lekktu@gmail.com>
1268
e48983a6
JB
1269 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1270 Remove obsolescence declarations, these variables do not exist anymore.
1271
fdcfd745
JB
1272 * savehist.el (savehist-save-minibuffer-history)
1273 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1274 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1275 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1276 mostly, refer to "Savehist mode" when talking about the mode,
1277 and not the function.
1278
99e15133
JB
1279 * saveplace.el (save-place): Remove redundant info in docstring.
1280 (save-place-forget-unreadable-files, toggle-save-place)
1281 (save-place-forget-unreadable-files, save-place-dired-hook):
1282 Fix typos and remove unneeded backslashes.
1283
f5bee33b
MA
12842014-02-20 Michael Albinus <michael.albinus@gmx.de>
1285
1286 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1287 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1288
1289 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 1290 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
1291 (tramp-gvfs-handle-insert-directory): Remove function.
1292
1293 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1294 Call `tramp-handle-insert-directory'.
1295
ee0761ca
JB
12962014-02-20 Juanma Barranquero <lekktu@gmail.com>
1297
1298 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1299 before the start of buffer/region (bug#16799).
1300
4d49cc65
GM
13012014-02-20 Glenn Morris <rgm@gnu.org>
1302
1303 * isearch.el (search-invisible): Doc fix.
1304
eee0d650
TK
13052014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1306
1307 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1308 (bug#16657).
1309
94e5e202
JB
13102014-02-19 Juanma Barranquero <lekktu@gmail.com>
1311
1312 * frameset.el (frameset-restore): Delay removing an old frame's
1313 duplicate id until the new frame has been correctly created.
1314
50bfdd5d
MA
13152014-02-19 Michael Albinus <michael.albinus@gmx.de>
1316
1317 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1318 (tramp-check-cached-permissions): Call `file-attributes' if the
1319 cache is empty.
1320
1321 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1322 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1323
1324 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1325 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1326 (tramp-gvfs-maybe-open-connection): Set always connection
1327 properties, even if target is mounted already.
1328
1329 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1330 Set tramp-autoload cookie.
1331 (tramp-get-remote-touch): New defun.
1332 (tramp-sh-handle-set-file-times): Use it.
1333 (tramp-sh-handle-directory-files-and-attributes):
1334 Use `tramp-handle-directory-files-and-attributes' if neither stat
1335 nor perl are available on the remote host.
1336
1337 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1338 "/". Write long listing only when "l" belongs to the switches.
1339
1340 * net/trampver.el: Update release number.
1341
f097a3d2
JB
13422014-02-19 Juanma Barranquero <lekktu@gmail.com>
1343
1344 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1345
8e009b78
MR
13462014-02-19 Martin Rudalics <rudalics@gmx.at>
1347
1348 * window.el (window-state-put): Allow WINDOW to refer to an
1349 internal window (Bug#16793).
1350
95160c90
GM
13512014-02-19 Glenn Morris <rgm@gnu.org>
1352
1353 * textmodes/remember.el: Move provide statement to end.
1354 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1355 (remember-notes): Doc fixes.
1356
b28df58c
SM
13572014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * delsel.el (delete-char): Restore incorrectly erased property
1360 (bug#16795).
1361
7108e1c0
JB
13622014-02-18 Juanma Barranquero <lekktu@gmail.com>
1363
1364 * frameset.el (frameset--restore-frame): When a frame is being reused
1365 and its root window is not alive, delete all the frame's windows before
1366 restoring the window state. This works around the issue in bug#16793.
1367
c863b6ad
GM
13682014-02-18 Glenn Morris <rgm@gnu.org>
1369
a73fae1f
GM
1370 * textmodes/remember.el (remember-data-directory)
1371 (remember-directory-file-name-format, remember-store-in-files)
1372 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1373 (remember-notes-save-and-bury-buffer)
1374 (remember-notes--kill-buffer-query): Doc fixes.
1375
c863b6ad
GM
1376 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1377
29238d28
AM
13782014-02-17 Alan Mackenzie <acm@muc.de>
1379
1380 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1381 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1382 to electric-indent-{,local-}-mode.
b28df58c
SM
1383 (c-basic-common-init): Set electric-indent-inhibit.
1384 Initialise c-electric-flag from electric-indent-mode.
29238d28 1385 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1386 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1387
1388 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1389 hit, toggle electric-indent-local-mode.
29238d28 1390
b28df58c
SM
1391 * electric.el (electric-indent-mode-has-been-called):
1392 New variable.
29238d28 1393
c6463340
JB
13942014-02-17 Juanma Barranquero <lekktu@gmail.com>
1395
1396 * frameset.el (frameset-cfg-id): New function.
1397 (frameset--reuse-frame, frameset-restore): Use it.
1398 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1399
94912b88
SM
14002014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * ido.el (ido-file-internal): Remove unused var `d'.
1403 Use \` for to match BoS. Fit within 80n columns.
1404
26ea164c
DC
14052014-02-17 Daniel Colascione <dancol@dancol.org>
1406
1407 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1408 dbus-call-method check for completion using a busy-wait loop with
1409 gradual backoff.
1410
589d1988 14112014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
1412
1413 Sync with Tramp 2.2.9.
1414
1415 * net/trampver.el: Update release number.
1416
17d1b51b
DG
14172014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1418
1419 * ido.el (ido-file-internal): Don't add the name of an existing
1420 directory twice. (Bug#16747)
1421
5bcad689
GM
14222014-02-16 Glenn Morris <rgm@gnu.org>
1423
1424 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1425 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1426
14272014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1428
1429 * progmodes/sql.el: Version 3.4
1430 (sql-oracle-options): New default value ("-L").
94912b88 1431 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1432 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1433 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1434 (sql-login-delay): New variable.
1435 (sql-product-interactive): Use it.
1436
285f1858
JB
14372014-02-15 Juanma Barranquero <lekktu@gmail.com>
1438
1439 * frameset.el (frameset--jump-to-register): Check that buffer is live
1440 (bug#16749).
1441
5d645ea4
GM
14422014-02-15 Glenn Morris <rgm@gnu.org>
1443
1444 * info.el (info-initialize): Revert 2014-01-10 change.
1445
48c4f9b1
GM
14462014-02-14 Glenn Morris <rgm@gnu.org>
1447
b8630261
GM
1448 * replace.el (map-query-replace-regexp)
1449 (read-regexp-defaults-function, read-regexp): Doc fixes.
1450
b2bf2a25
GM
1451 * dired.el (dired-read-regexp):
1452 * faces.el (list-faces-display):
1453 * misearch.el (multi-isearch-read-matching-buffers)
1454 (multi-isearch-read-matching-files):
1455 * play/cookie1.el (cookie-apropos):
1456 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1457
48c4f9b1
GM
1458 * textmodes/remember.el (remember): Use frameset-to-register
1459 rather than frame-configuration-to-register.
1460
2804e0bd
JB
14612014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1462
1463 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1464 incorrect keybinding.
1465
0b87142f
DC
14662014-02-13 Daniel Colascione <dancol@dancol.org>
1467
1468 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1469 when adding overlays so that line numbers from compiler match line
1470 numbers we use.
1471
47a73eb0
GM
14722014-02-13 Glenn Morris <rgm@gnu.org>
1473
8abcfd51
GM
1474 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1475
47a73eb0
GM
1476 * jit-lock.el (jit-lock-mode): Doc fix.
1477
c9b6b262
JB
14782014-02-13 Juanma Barranquero <lekktu@gmail.com>
1479
1480 * apropos.el (apropos-read-pattern): When the user passes an empty
1481 string, give a more helpful error message than "Wrong type
1482 argument: stringp, nil".
1483
eb4c6947
SM
14842014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1487
0dab5068
GM
14882014-02-13 Glenn Morris <rgm@gnu.org>
1489
1490 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1491
59075dcf
SM
14922014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1495 shift-select commands.
1496
5af9fbad
DG
14972014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1498
1499 * progmodes/js.el (js-indent-line): Don't widen.
1500 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1501
a215930c
GM
15022014-02-12 Glenn Morris <rgm@gnu.org>
1503
a8cb4247
GM
1504 * icomplete.el (icomplete): Add info-link to defgroup.
1505 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1506 (icomplete-minibuffer-map, icomplete-mode)
1507 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1508
a215930c
GM
1509 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1510 (package-menu-filter): Rename from package-menu-filter-interactive.
1511 Doc fix.
1512
26c5ecd9
JB
15132014-02-11 Juanma Barranquero <lekktu@gmail.com>
1514
1515 * frameset.el (frameset--jump-to-register): Select the required
1516 window and buffer before restoring position (bug#16696).
1517
fcd58a02
LI
15182014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1519
1520 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1521
bacb3380
GM
15222014-02-10 Glenn Morris <rgm@gnu.org>
1523
1524 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1525
881329dc
EZ
15262014-02-10 Eli Zaretskii <eliz@gnu.org>
1527
02328db9
EZ
1528 * w32-common-fns.el (x-get-selection): Doc fix.
1529 * select.el (x-get-selection): Doc fix. (Bug#15109)
1530
881329dc
EZ
1531 * face-remap.el (face-remap-add-relative)
1532 (face-remap-remove-relative, face-remap-reset-base)
1533 (face-remap-set-base): Call force-mode-line-update to redisplay
1534 the current buffer due to potential change in faces. (Bug#16709)
1535
c7db4c06
MA
15362014-02-10 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1539 script more robustly.
1540
6abe4589
LI
15412014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1542
7602b5c3
LI
1543 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1544
e3692ee0
LI
1545 * simple.el (choose-completion): Doc fix (bug#14160).
1546
41015524
LI
1547 * subr.el (event-start): Say what a nil EVENT value means.
1548
87c79dcb
LI
1549 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1550 (bug#14197).
1551
3ab49e2c
LI
1552 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1553
f3c60241
LI
1554 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1555
3bd1d8a8
LI
1556 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1557
6abe4589
LI
1558 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1559 predicate function (bug#15455).
1560
a11463de
DG
15612014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1562
1563 * ielm.el (inferior-emacs-lisp-mode): Instead of
1564 `comment-use-global-state', set `comment-use-syntax'.
1565
2ab0ad85
GM
15662014-02-10 Glenn Morris <rgm@gnu.org>
1567
1568 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1569
411141fb
AM
15702014-02-09 Alan Mackenzie <acm@muc.de>
1571
1572 Fix c-invalidate-state-cache on narrowed buffers.
1573 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1574 Widen when setting and clearing the CPP delimiter properties.
1575
d6d5fdf8
LI
15762014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1577
92c70367
LI
1578 * help.el (describe-bindings): Doc fix (bug#9888).
1579
468ef484
LI
1580 * files.el (save-buffer): Use ARG as the parameter name for
1581 consistency (bug#10346).
7e34193f 1582 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1583
fc2b1ffa 1584 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1585 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1586 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1587
790aceec
LI
1588 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1589
a54a7552 1590 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1591 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1592
dd163123
LI
1593 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1594 meaning of the parameter (bug#12282).
1595
9e108fe6
LI
1596 * files.el (find-file-noselect): Clarify prompt when changing
1597 readedness (bug#13261).
5a836f58
LI
1598 (locate-file): Suffixes aren't returned, so don't say that they
1599 are (bug#12674).
2356b316 1600 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1601
20dda930
LI
1602 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1603 before we actually start to delete things (bug#16331).
1604
d6d5fdf8
LI
1605 * subr.el (event-start): Doc fix (bug#14228).
1606 (event-end): Ditto.
1607
2abd71e5
GM
16082014-02-09 Glenn Morris <rgm@gnu.org>
1609
1610 * emacs-lisp/warnings.el (lwarn):
1611 Empower help-enable-auto-load. (Bug#15940)
1612
c1b5900b
AS
16132014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1614
1615 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1616 (Bug#16690)
1617
429b93bd
MA
16182014-02-08 Michael Albinus <michael.albinus@gmx.de>
1619
1620 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1621 Insert output at end of buffer. (Bug#16120)
1622
b772a699
LI
16232014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1624
18c6aa8c
LI
1625 * simple.el (choose-completion-string-functions): Document new
1626 calling convention (bug#14153).
54dd147a 1627 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1628
dce8463b
LI
1629 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1630
b772a699 1631 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1632 (find-grep-dired): Doc fix (bug#14288).
b772a699 1633
2423c8d5
JL
16342014-02-08 Juri Linkov <juri@jurta.org>
1635
1636 * isearch.el (isearch-quote-char): Check character validity
1637 like in `quoted-insert' (bug#16677).
1638
518f26c2
LI
16392014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1640
893cc908
LI
1641 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1642
9165ffc0
LI
1643 * isearch.el (isearch-hide-immediately): Doc clarification
1644 (bug#14723).
1645
6ef4f3ce
LI
1646 * simple.el (line-move): Document utility function used many
1647 places in the Emacs sources (bug#14843).
1648
be58a238 1649 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1650 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1651 (dired-up-directory): Doc fix (bug#14848).
be58a238 1652
dd7aafbb
LI
1653 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1654
15cb9968
LI
1655 * files.el (file-relative-name): Doc fix (bug#15159).
1656
9788effd
LI
1657 * fringe.el (fringe-styles): Doc fix (bug#15239).
1658
c96411bd
LI
1659 * isearch.el (isearch-filter-predicate): Documentation typo fix
1660 (bug#15474).
1661
ea838c36
LI
1662 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1663
0d8a4ae7
LI
1664 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1665
f7a17bb3
LI
1666 * replace.el (replace-match-maybe-edit): Doc clarification
1667 (bug#15632).
1668
1bde5c3b
LI
1669 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1670
518f26c2
LI
1671 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1672
dd8e49fd
GM
16732014-02-08 Glenn Morris <rgm@gnu.org>
1674
1675 * help-fns.el (describe-variable):
1676 Check {file,dir}-local-variables-alist, and buffer-file-name,
1677 in the correct buffer.
1678
7e088b29
IL
16792014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1680
1681 * help-fns.el (describe-variable): Fix the case where
1682 a value is directory-local with no dir-locals file. (Bug#16635)
1683
41a4a82f
GM
16842014-02-08 Glenn Morris <rgm@gnu.org>
1685
1686 * abbrev.el (edit-abbrevs-mode):
1687 Derive from fundamental-mode. (Bug#16682)
1688
e255a703
JB
16892014-02-07 Juanma Barranquero <lekktu@gmail.com>
1690
1691 * simple.el (quoted-insert): Check character validity (bug#16677).
1692
c99cf5ee
JL
16932014-02-07 Juri Linkov <juri@jurta.org>
1694
1695 * desktop.el (desktop-read): Claim the lock when the owner is not
1696 the current process. (Bug#16157)
1697
7d7a68d8
JL
16982014-02-07 Juri Linkov <juri@jurta.org>
1699
1700 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1701 to "\\` ". (Bug#16651)
1702
2b777cd9
JL
17032014-02-07 Juri Linkov <juri@jurta.org>
1704
1705 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1706 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1707 (desktop-auto-save-cancel-timer): New function with some code from
1708 `desktop-auto-save-set-timer'.
1709 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1710 Instead of setting `desktop-save-mode' to nil, call
1711 `desktop-save-mode' with arg 0. (Bug#16630)
1712
60eabbb9
GM
17132014-02-07 Glenn Morris <rgm@gnu.org>
1714
99cf3859
GM
1715 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1716 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1717 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1718
2b568bc9
GM
1719 * obsolete/iswitchb.el: Move to obsolete/.
1720 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1721 since obsolete/ is not scanned for autoloads.
1722 * emacs-lisp/authors.el (authors-valid-file-names):
1723 Add iswitchb.el.
1724
60eabbb9
GM
1725 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1726 Disable now non-functional find-file-hook.
1727
629de968
MA
17282014-02-06 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1731 instead of ";" in order to avoid additional prompts. Let heredoc
1732 scripts read from tty. (Bug#16582)
1733 (tramp-send-command): No special handling of heredocs, it isn't
1734 necessary anymore.
1735
29127376
SM
17362014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1739 with a space (bug#16664). Limit the symbols considered to the ones
1740 that are bound or fbound (bug#16646).
1741
79b6e0a9
GM
17422014-02-06 Glenn Morris <rgm@gnu.org>
1743
1744 * epa.el (epa-mail-aliases): Doc fix.
1745
a333e4d2
DG
17462014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1747
29127376
SM
1748 * emacs-lisp/lisp.el (lisp-completion-at-point):
1749 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1750 (bug#16604).
1751
1752 * minibuffer.el (completion-table-merge): New function.
1753
9a83b32b
MA
17542014-02-05 Michael Albinus <michael.albinus@gmx.de>
1755
1756 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1757 (tramp-sh-handle-set-file-acl)
1758 (tramp-sh-handle-start-file-process)
1759 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1760 (tramp-find-executable, tramp-send-command): Use it.
1761
451ea3e6
GM
17622014-02-05 Glenn Morris <rgm@gnu.org>
1763
9a83b32b 1764 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1765
dd27d13b
FEG
17662014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1767
35e951cd 1768 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1769 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1770
08e41897
AL
17712014-02-04 Anders Lindgren <andlind@gmail.com>
1772
1773 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1774 the names (bug#16620).
1775
764ec9e5
MR
17762014-02-03 Martin Rudalics <rudalics@gmx.at>
1777
08e41897
AL
1778 * faces.el (window-divider): New default value. Rewrite doc-string.
1779 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1780
6da8227c
DG
17812014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1782
1783 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1784 `protected' and `public' can also be called without arguments.
1785
6a6b8e40
GM
17862014-02-03 Glenn Morris <rgm@gnu.org>
1787
7bcbca40
GM
1788 * register.el (window-configuration-to-register)
1789 (frame-configuration-to-register): Unadvertise unused argument.
1790 * frameset.el (frameset-to-register): Remove unused argument.
1791
719d965d 1792 * frameset.el (frameset-to-register):
6a6b8e40
GM
1793 * kmacro.el (kmacro-to-register):
1794 * register.el (increment-register):
1795 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1796 (calc-append-to-register, calc-prepend-to-register):
1797 * play/gametree.el (gametree-layout-to-register)
1798 (gametree-apply-register-layout):
1799 * textmodes/picture.el (picture-clear-rectangle-to-register)
1800 (picture-yank-rectangle-from-register):
1801 * vc/emerge.el (emerge-combine-versions-register):
1802 Use register-read-with-preview to read registers.
1803
5dca7759
JT
18042014-02-03 João Távora <joaotavora@gmail.com>
1805
1806 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1807 when at beginning of (possibly narrowed) buffer.
1808
709085b9
DC
18092014-02-02 Daniel Colascione <dancol@dancol.org>
1810
c295fc18 1811 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1812 Also try to display local help from just before point.
709085b9 1813
99f7b0a6
AM
18142014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1815
1816 c-parse-state. Don't "append-lower-brace-pair" in certain
1817 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1818 recognised as a comment.
1819
1820 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1821 as well as normal comment starter.
1822 (c-parse-state-get-strategy): Extra return possibility
1823 'back-and-forward.
1824 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1825 return value list to indicate replacement of a brace-pair cons
1826 with its car.
1827 (c-parse-state-1): With 'back-and-forward, only call
1828 c-append-lower-brace-pair-to state-cache when cons-separated.
1829
f0a10576
JD
18302014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1831
1832 * term/ns-win.el (ns-suspend-error): New function.
1833 (ns-initialize-window-system): Add ns-suspend-error to
1834 suspend-hook (Bug#16612).
1835
b8d552c2
DC
18362014-02-02 Daniel Colascione <dancol@dancol.org>
1837
35e951cd
JB
1838 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1839 Make loading cc-mode silent.
b8d552c2 1840
f2b7d123
DC
18412014-02-02 Daniel Colascione <dancol@dancol.org>
1842
35e951cd
JB
1843 * comint.el (comint-prompt-read-only): Change doc to suggest
1844 remap keybinding.
f2b7d123 1845
4472a196
GM
18462014-02-02 Glenn Morris <rgm@gnu.org>
1847
1848 * register.el (register-read-with-preview, point-to-register)
1849 (window-configuration-to-register, frame-configuration-to-register)
1850 (jump-to-register, number-to-register, view-register, insert-register)
1851 (copy-to-register, append-to-register, prepend-to-register)
1852 (copy-rectangle-to-register): Doc fixes.
1853
70e5a261
SM
18542014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1855
1856 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1857 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1858 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1859 * help-fns.el (describe-function-1): Use it.
1860
7c324762
GM
18612014-02-02 Glenn Morris <rgm@gnu.org>
1862
1863 * register.el (register-preview-default): New function,
1864 split from register-preview.
1865 (register-preview-function): Rename from register-preview-functions,
1866 make it not a hook.
1867 (register-preview): Use register-preview-function.
1868 (register-read-with-preview): Error on non-character event. (Bug#16595)
1869
a09beb3d
DG
18702014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1871
1872 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1873 `:' before binary operators (bug#16609). Don't check for `:'
1874 before `[' and `(', or their syntax status. A percent literal
1875 can't end with either.
68e004e0
DG
1876 (ruby-font-lock-keywords): For built-ins that require arguments,
1877 check that they're followed by something that looks like argument
1878 (bug#16610).
a09beb3d 1879
ed4d2875
LI
18802014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1881
1882 * subr.el (butlast): Document what an omitted N means (bug#13437).
1883 (nbutlast): Ditto.
1884
dba6e3ec
LI
18852014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1886
1887 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1888 depth shallower (bug#16587).
cc477daa
LI
1889 (shr-tag-svg): Respect `shr-inhibit-images'.
1890 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1891
e2a67bd0
DG
18922014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1893
1894 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1895 (ruby-smie-grammar): Make "." right-associative. Make its priority
1896 lower than the ternary and all binary operators.
1897 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1898 parent, or the first "." parent at indentation.
1899 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1900 (Bug#16593)
1901
bd21bf41
JL
19022014-01-31 Juri Linkov <juri@jurta.org>
1903
1904 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1905 from `make-hash-table'.
1906
1907 * textmodes/ispell.el (ispell-init-process): Change message format
1908 to be consistent with other messages.
1909
b7e615b9
GM
19102014-01-31 Glenn Morris <rgm@gnu.org>
1911
a69ecd19
GM
1912 * delsel.el (delete-selection-mode): Doc fix.
1913
9997d7e3
GM
1914 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1915 (trace-function-background): Doc fixes.
1916
fbb764b8
GM
1917 * ido.el (ido-use-virtual-buffers): Doc fix.
1918 Reset :version, since the default value has not changed.
1919
da942af1
GM
1920 * register.el (register-preview-delay, register-read-with-preview):
1921 Doc fixes.
1922
b7e615b9
GM
1923 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1924 do not mess with mail-buffer position (fixes 2009-11-03 change).
1925 * progmodes/cc-mode.el (c-submit-bug-report):
1926 Check auto-fill-mode is bound. (Bug#16592)
1927
0a25002d
DH
19282014-01-31 Darren Hoo <darren.hoo@gmail.com>
1929
1930 * startup.el (fancy-splash-image-file): New function,
1931 split from fancy-splash-head.
1932 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1933 so that we are both using the same image. (Bug#16574)
1934
ad78f432
GM
19352014-01-30 Glenn Morris <rgm@gnu.org>
1936
6bbc0c84
GM
1937 * simple.el (eval-expression): Doc fix.
1938
ad78f432
GM
1939 * hexl.el (hexl-mode-hook):
1940 * ielm.el (ielm-mode-hook):
1941 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1942 (lisp-interaction-mode-hook):
20f39add 1943 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
1944 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1945
7b2f049c
SM
19462014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1949 is a symbol (bug#16584).
1950
0c633f13
GM
19512014-01-30 Glenn Morris <rgm@gnu.org>
1952
1953 * help.el (help-for-help-internal): Add "P" to text.
1954
5e61c1ef
GM
19552014-01-29 Glenn Morris <rgm@gnu.org>
1956
1957 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1958
1dcb169c
MR
19592014-01-28 Martin Rudalics <rudalics@gmx.at>
1960
1961 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1962 height constraints.
1963
a9128931
LL
19642014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1965
1966 * progmodes/hideif.el: Extend to full CPP expression syntax.
1967 (hif-token-alist): Add missing tokens.
1968 (hif-token-regexp): Add support for float/octal/hex immediates.
1969 (hif-string-literal-regexp): New const.
1970 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1971 (hif-exprlist): New function.
1972 (hif-parse-if-exp): Use it.
1973 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1974 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1975 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1976 (hif-logxor, hif-comma): New functions.
1977
a22359a7
GM
19782014-01-28 Glenn Morris <rgm@gnu.org>
1979
793ffe81
GM
1980 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1981
e3bd7eed
GM
1982 * indent.el (tab-stop-list): Doc fix. Add :version.
1983
a22359a7
GM
1984 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1985 (cvs-append-to-ignore): Add compatibility alias.
1986
52695556 19872014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 1988
bac524e0
GM
1989 * dired.el (dired-hide-details-mode): Don't autoload it,
1990 since it cannot be used outside Dired buffers anyway.
1991
52695556 1992 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 1993
52695556
GM
1994 * dired.el (dired-hide-details-hide-symlink-targets)
1995 (dired-hide-details-hide-information-lines)
1996 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
1997
1998 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1999 * strokes.el (strokes-file): Doc fix. Bump :version.
2000 (strokes-help): Doc fix.
2001 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2002 * emulation/viper.el (viper): Doc fix for custom group.
2003 (top-level): Remove oh-so-no-longer-relevant text about vip.
2004 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2005
2006 * ido.el (ido-save-directory-list-file):
2007 * saveplace.el (save-place-file):
2008 * calendar/timeclock.el (timeclock-file):
2009 * net/quickurl.el (quickurl-url-file):
2010 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2011 * progmodes/idlwave.el (idlwave-config-directory):
2012 * textmodes/remember.el (remember-data-file):
2013 Bump :version.
2014
169d6004
GM
20152014-01-26 Glenn Morris <rgm@gnu.org>
2016
de6a923b
GM
2017 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2018 Doc fix. Make obsolete.
2019 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2020
169d6004
GM
2021 * sort.el (delete-duplicate-lines): Doc fix.
2022
ed85dee6
RS
20232014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2024
2025 * progmodes/ada-mode.el (ada):
2026 * woman.el (woman): Link to info manual and Commentary section.
2027
2028 * progmodes/flymake.el (flymake):
2029 * nxml/nxml-mode.el (nxml):
2030 * net/eww.el (eww):
2031 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2032 * htmlfontify.el (htmlfontify):
2033 * ses.el (ses):
2034 * epa.el (epa):
2035 * ido.el (ido): Link to info manual.
2036
e0c67e1d
LL
20372014-01-25 Leo Liu <sdl.web@gmail.com>
2038
2039 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2040
35408b1a
AS
20412014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2042
2043 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2044 (bug#16537).
2045
76c3fa95
JB
20462014-01-24 Juanma Barranquero <lekktu@gmail.com>
2047
f77c7a99
JB
2048 * net/eww.el (eww-download-callback):
2049 Fix reference to eww-download-directory.
2050
76c3fa95
JB
2051 * emacs-lisp/bytecomp.el (byte-compile-file):
2052 Remove unused local variable `file-name'.
2053
1e548e40
GM
20542014-01-24 Glenn Morris <rgm@gnu.org>
2055
03f3b318
GM
2056 * woman.el (woman-default-faces, woman-monochrome-faces):
2057 Fix obsolescence specification.
2058
1e548e40
GM
2059 * subr.el (with-demoted-errors): Doc fix.
2060
d4f0427b
SM
20612014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2064 (cl--macroexp-fboundp): New function.
2065 (cl--make-type-test): Use it.
2066
1670e27f
GM
20672014-01-23 Glenn Morris <rgm@gnu.org>
2068
2069 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2070 * simple.el (eval-expression): Doc fixes.
2071
80efa207
GM
20722014-01-22 Glenn Morris <rgm@gnu.org>
2073
2074 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2075
29afcbab
SM
20762014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * emacs-lisp/package.el: Write files silently.
2079 (package-autoload-ensure-default-file, package--write-file-no-coding)
2080 (package-generate-description-file, package--download-one-archive)
2081 (package-install-from-archive): Tell `write-region' to stay quiet.
2082 (package-menu-mode, package-menu--print-info): Omit the Archive column
2083 if there's only one archive.
2084 (package-all-keywords, package--has-keyword-p): Remove dead code.
2085
2a5bce4f
GM
20862014-01-22 Glenn Morris <rgm@gnu.org>
2087
edace89f
GM
2088 * version.el (emacs-bzr-version-bzr): Fix typo.
2089
2a5bce4f
GM
2090 * version.el (emacs-repository-get-version):
2091 Check either .bzr or .git, but not both.
2092 Make the git case actually use the DIR argument, and return nil
2093 rather than the empty string.
983664c0 2094 Avoid error if .git exists but the git executable is not found.
2a5bce4f 2095
6cb4da45
MR
20962014-01-22 Martin Rudalics <rudalics@gmx.at>
2097
2098 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
2099 * window.el (window-total-size, window-size): New argument ROUND.
2100 (window--min-delta-1, window-min-delta, window--max-delta-1):
2101 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
2102 columns a window can shrink (Bug#16430).
2103 (fit-window-to-buffer): Simplify code.
2104 * term.el (term-window-width): Call window-body-width again.
2105
cc0f2ece
GM
21062014-01-22 Glenn Morris <rgm@gnu.org>
2107
7b997b14
GM
2108 * image.el (image-format-suffixes): Doc fix.
2109
44e76f9d
GM
2110 * international/quail.el (quail-define-package): Doc fix.
2111
35e951cd 2112 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 2113 (authors-renamed-files-alist): Additions.
7bfc1caa 2114
85a5f61f
GM
2115 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2116 reverts 2014-01-09 change. (Bug#16422)
2117
cc0f2ece
GM
2118 * calc/calc-embed.el (thing-at-point-looking-at):
2119 * emacs-lisp/map-ynp.el (x-popup-dialog):
2120 * obsolete/lmenu.el (x-popup-dialog):
2121 * emacs-lisp/package.el (url-recreate-url):
2122 * mail/mailclient.el (clipboard-kill-ring-save):
2123 * subr.el (x-popup-dialog): Update declaration.
2124 * mail/rmail.el (rmail-mime-message-p):
2125 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2126
00d2a6bb
DC
21272014-01-21 Daniel Colascione <dancol@dancol.org>
2128
2129 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2130 Correctly detect when we're inside an arithmetic expansion form
2131 containing nested parenthesis.
c295fc18 2132 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
2133 to detect cases where we shouldn't expand "<<" to a heredoc
2134 skeleton.
2135
dd9d2e9d
SM
21362014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2139 (eldoc--message-command-p): New function.
2140 (eldoc-display-message-p): Use it.
2141 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2142 message is not automatically erased for us.
2143 (eldoc-print-current-symbol-info): Erase previous message, if any.
2144
e7d807ca
TH
21452014-01-21 Tassilo Horn <tsdh@gnu.org>
2146
4ff0a0e5
TH
2147 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2148 specify it's an interactive function.
2149
dd9d2e9d
SM
2150 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2151 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
2152 citations with optional arguments.
2153
87503791
LL
21542014-01-21 Leo Liu <sdl.web@gmail.com>
2155
2156 * simple.el (read--expression): Don't enable eldoc-mode.
2157
6cc750ee
SM
21582014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * simple.el (move-beginning-of-line): Make sure we don't move forward
2161 (bug#16497).
2162
71f16bda
JL
21632014-01-20 Juri Linkov <juri@jurta.org>
2164
2165 * saveplace.el (toggle-save-place, save-place-to-alist)
2166 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2167 'dired-mode) before checking for dired-directory. (Bug#16477)
2168
3c5a4839
JL
21692014-01-20 Juri Linkov <juri@jurta.org>
2170
2171 * indent.el (indent-line-to): Use backward-to-indentation
2172 instead of back-to-indentation. (Bug#16461)
2173
f952002e
PE
21742014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2175
2176 Revert some of the CANNOT_DUMP fix (Bug#16494).
2177 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2178 but fixing this can wait until after the next release.
2179 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2180
93675500
MA
21812014-01-19 Michael Albinus <michael.albinus@gmx.de>
2182
2183 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2184 Use `password-word-equivalents'.
2185 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2186 to t. (Bug#5664, Bug#13124)
2187
e3af763f
AM
21882014-01-19 Alan Mackenzie <acm@muc.de>
2189
2190 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2191 points.
2192 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 2193 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
2194 * progmodes/cc-mode.el (c-before-change, c-after-change)
2195 (c-font-lock-fontify-region): Bind it here.
2196
4ff6d92d
MR
21972014-01-19 Martin Rudalics <rudalics@gmx.at>
2198
2199 * term.el (term-window-width): Call window-text-width instead of
2200 window-width (Bug#16470).
2201
9a685cf6
PE
22022014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2203
2204 * simple.el (password-word-equivalents): Remove duplicates.
2205 Sort, to make this easier next time.
2206 Downcase. Omit ": " after "jelszó".
2207
5aa78c2d
JD
22082014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2209
2210 * term/common-win.el (saved-region-selection): Defvar it.
2211 (x-select-text): Set saved-region-selection (Bug#16382).
2212
cabb250c
GM
22132014-01-18 Glenn Morris <rgm@gnu.org>
2214
2215 * emacs-lisp/authors.el (authors-aliases)
2216 (authors-renamed-files-alist): Add some entries.
2217
a1340440
MA
22182014-01-17 Michael Albinus <michael.albinus@gmx.de>
2219
93675500
MA
2220 * net/tramp.el (tramp-password-prompt-regexp):
2221 Use `password-word-equivalents' if available.
a1340440
MA
2222 (tramp-action-password, tramp-process-one-action)
2223 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2224
681ce5d2
CY
22252014-01-17 Chong Yidong <cyd@gnu.org>
2226
2227 * simple.el (password-word-equivalents): New defcustom.
2228 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2229 to 24.4.
2230 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2231 to t. (Bug#13124)
2232
fb3d479c
DG
22332014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2234
2235 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
2236 (ruby-align-to-stmt-keywords): Change the default value.
2237 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
2238 choices.
2239 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2240 keywords, check against the value of `ruby-alignable-keywords'
2241 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2242
0d613483
GM
22432014-01-17 Glenn Morris <rgm@gnu.org>
2244
fc23fe2d
GM
2245 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2246
0d613483 2247 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 2248 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
2249 (authors-ignored-files): Add some entries, remove others.
2250 (authors-ambiguous-files, authors-valid-file-names):
2251 Add some entries.
2252 (authors-renamed-files-alist): Add, remove, and adjust entries.
2253 (authors-renamed-files-regexps): Add some entries.
2254 Remove some very broad ones. Make some entries `lax'.
2255 (authors-lax-changelogs): New constant.
2256 (authors-disambiguate-file-name): Treat top-level specially.
2257 (authors-lax-changelog-p): New function.
2258 (authors-canonical-file-name): Check file as written against
2259 authors-valid-file-names. Do not special-case etc/.
2260 Handle `lax' logs and authors-renamed-files-regexps elements.
2261
2dbf4ffd
DG
22622014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2263
2264 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
2265 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2266 callers.
2dbf4ffd 2267
87b2a7f2
SM
22682014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2271 Assume we're already in the proper buffer.
2272 Inspired by Anders Lindgren <andlind@gmail.com>.
2273 (follow-post-command-hook): Call it from the right buffer.
2274 (follow-comint-scroll-to-bottom): Adjust call.
2275 (follow-all-followers): Use get-buffer-window-list.
2276
93acfb0e
DC
22772014-01-15 Daniel Colascione <dancol@dancol.org>
2278
2279 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2280 `buffer-file-name' in interactive-form so that we don't leave
2281 pathless file names in `file-name-history'.
2282
ccc6b208
JL
22832014-01-15 Juri Linkov <juri@jurta.org>
2284
2285 * indent.el (indent-rigidly): Set deactivate-mark to nil
2286 in transient indentation mode. (Bug#16438)
2287
5c92e00d
DG
22882014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2289
2290 * emacs-lisp/package.el (package-desc-keywords): New function
2291 (Bug#16222).
2292 (describe-package-1, package-all-keywords)
2293 (package--has-keyword-p): Use it.
2294
dac69660
NR
22952014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2296
2297 * simple.el (define-alternatives): When creating the
2298 COMMAND-alternatives variable, assign COMMAND as its definition
2299 name so that `describe-variable' can relocate it.
2300
8b63edf8
ML
23012014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2302
2303 * font-lock.el (font-lock-keywords): Fix typo in docstring
2304 (bug#16307).
2305
c6a0b8eb
AM
23062014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2307
2308 * ispell.el (ispell-region): Reset `in-comment' for new line
2309 instead of wrongly reset `add-coment' (bug#13577).
2310
02bf443d
DU
23112014-01-14 Daiki Ueno <ueno@gnu.org>
2312
2313 * epa-file.el (epa-file-write-region): Encode the region according
2314 to `buffer-file-format'. Problem reported at:
2315 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2316
fd7fde15
SM
23172014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2320 so it applies in the right buffer (bug#16410).
2321
c176054f
DC
23222014-01-13 Daniel Colascione <dancol@dancol.org>
2323
2324 * textmodes/rst.el (rst-define-key): Provide deprecated
2325 keybindings through named functions instead of anonymous ones so
2326 that "??" doesn't appear in describe-mode output.
2327
e3f33e5d
BG
23282014-01-13 Bastien Guerry <bzg@gnu.org>
2329
2330 * simple.el (define-alternatives): Call the selected command
2331 interactively. When setting `COMMAND--implementation' for the
2332 first time, tell the user how to chose another implementation.
2333 Enhance the docstring.
2334
c055d654
SM
23352014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2338 (log-edit--match-first-line): New function.
2339 (log-edit-font-lock-keywords): Use it.
2340 (log-edit-mode): Make jit-lock-defer-multiline work.
2341
d791cc3b
BG
23422014-01-13 Bastien Guerry <bzg@gnu.org>
2343
2344 * rect.el (rectangle-mark-mode): When the region is not active,
2345 display a message saying that the mark as been set and that
2346 rectangle mode is in use.
2347 (rectangle--highlight-for-redisplay): Only put an overlay with a
2348 visible vertical bar when (display-graphic-p) is non-nil.
2349 This partially fixes Bug#16403.
2350
3c0c4562
JL
23512014-01-13 Juri Linkov <juri@jurta.org>
2352
2353 * info.el (Info-find-file): Go to DIR before displaying the error
2354 about a nonexistent file if no previous Info file is visited.
2355 Use `user-error' instead of `error' for "Info file %s does not exist".
2356 (Info-find-node-2): In case of a nonexistent node in unwind forms
2357 go to the Top node if there is no previous node to revert to.
2358 (Bug#16405)
2359
25a700d0
MR
23602014-01-13 Martin Rudalics <rudalics@gmx.at>
2361
2362 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2363 * window.el (fit-frame-to-buffer): Fix doc-string.
2364 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2365 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2366 when avoiding that frame goes partially off-screen.
2367 (fit-window-to-buffer): Respect window-min-height/-width
2368 (Bug#14096).
2369
6ae948d8
SM
23702014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2373 after an empty line.
2374
6137cb82
SM
23752014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * net/shr.el (shr-render-region): Autoload.
2378
e6344e17
XF
23792014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2380
2381 * net/eww.el (eww-download-directory): Rename from
2382 `eww-download-path' (Bug#16419).
2383
3b922c70
LL
23842014-01-12 Leo Liu <sdl.web@gmail.com>
2385
2386 * dired-x.el (dired-mode-map): Fix last change.
2387
2388 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2389
4fa51741
PE
23902014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2391
2392 Spelling fixes.
2393 * emacs-lisp/generic.el (generic--normalize-comments):
2394 Rename from generic--normalise-comments. All uses changed.
35e951cd 2395 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2396 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2397 (bubbles--neighborhood-available)
2398 (bubbles--update-neighborhood-score):
2399 Rename from names with 'neighbourhood'. All uses changed.
2400
9b335362
LL
24012014-01-12 Leo Liu <sdl.web@gmail.com>
2402
2403 Re-implement the feature of showing eldoc info after editing.
2404 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2405 (eldoc-edit-message-commands): New function.
2406 (eldoc-print-after-edit): New variable.
2407 (eldoc-pre-command-refresh-echo-area): Emit message only by
2408 eldoc-message-commands.
2409 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2410 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2411 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2412 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2413
e2a095b1
GM
24142014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2415 Eric S. Raymond <esr@thyrsus.com>
9685190b 2416
841a6d0c 2417 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2418 function works correctly in either a Bazaar or Git repo.
0abf4134 2419
e2a095b1
GM
24202014-01-11 Eric S. Raymond <esr@thyrsus.com>
2421
6137cb82
SM
2422 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2423 Goes with removal of the joke manpages from /etc.
9685190b 2424
c295fc18 24252014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2426
6137cb82
SM
2427 * mail/rmail.el (rmail-get-coding-system):
2428 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2429
d2f16e93
GM
24302014-01-10 Glenn Morris <rgm@gnu.org>
2431
2432 * emacs-lisp/authors.el (authors-fixed-entries):
2433 Update for files that no longer exist.
2434
7e03bb32
ER
24352014-01-10 Eric S. Raymond <esr@thyrsus.com>
2436
2437 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2438 24.3 (Tested).
7e03bb32 2439
dd806710
BB
24402014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2441
2442 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2443 and Podfile.
2444
ed6ec139
EZ
24452014-01-10 Eli Zaretskii <eliz@gnu.org>
2446
2447 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2448
cc33cac9
CY
24492014-01-10 Chong Yidong <cyd@gnu.org>
2450
6137cb82 2451 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2452
d9d836b5
AL
24532014-01-10 Anders Lindgren <andlind@gmail.com>
2454
2455 * follow.el (follow-cache-command-list): Include right-char and
2456 left-char.
2457
06827ec8
PE
24582014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2459
2460 Spelling fixes.
2461 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2462 * woman.el (woman-mark-horizontal-position):
2463 Rename from woman-mark-horizonal-position. Use changed.
2464
458dbf5e
GM
24652014-01-10 Glenn Morris <rgm@gnu.org>
2466
dad6fae7
GM
2467 * info.el (info-initialize): If running uninstalled, ensure our
2468 own info files are always found first, even if INFOPATH is set.
2469
458dbf5e
GM
2470 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2471
05e0afce
DE
24722014-01-09 David Engster <deng@randomsample.de>
2473
2474 * emacs-lisp/eieio-custom.el:
2475 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2476 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2477 * emacs-lisp/eieio.el: Regenerate autoloads.
2478
f29778b3
ER
24792014-01-09 Eric S. Raymond <esr@thyrsus.com>
2480
2481 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2482 following renames. (Bug#8756)
f29778b3 2483
684d44ef
SM
24842014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2487 (bug#16382).
2488 (activate-mark): Add `no-tmm' argument.
2489 (set-mark, push-mark-command): Use it instead of running
2490 activate-mark-hook by hand.
2491
9475054f
ER
24922014-01-08 Eric S. Raymond <esr@thyrsus.com>
2493
2494 In preparation for the move to git, sanitize out some
2495 Bazaar-specific names.
2496
38942b9c
GM
2497 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2498
9475054f 2499 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2500 emacs-repository-version. Obsolete-variable alias made.
9475054f 2501 * loadup.el: Follow through on this name change.
a12bf61e 2502 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2503 assumption about the version control system in use.
2504
0f918d96 25052014-01-08 David Engster <deng@randomsample.de>
abb82152 2506
684d44ef
SM
2507 * help-fns.el (help-fns-describe-function-functions):
2508 New variable to call functions for augmenting help buffers.
abb82152
DE
2509 (describe-function-1): Remove explicit calls to
2510 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2511 `help-fns--obsolete'. Put them in above new variable instead, and
2512 call them through `run-hook-with-args'.
2513 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2514 `eieio-describe-class'. Not meant for interactive use anymore,
2515 but to augment existing help buffers. Remove optional second
684d44ef
SM
2516 argument. Create proper button for file location.
2517 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2518 possible.
2519 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2520 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2521 (describe-method, describe-generic, eieio-describe-method):
2522 Remove aliases.
0f918d96
DE
2523 (eieio-help-constructor, eieio-help-generic): Rename from
2524 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2525 Rewrite to use `insert' in the current buffer and use proper help
2526 buttons.
2527 (eieio-help-find-method-definition)
2528 (eieio-help-find-class-definition): Also accept symbols as
2529 arguments.
2530 (eieio-help-mode-augmentation-maybee): Remove.
2531 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2532 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2533 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2534
136b74c5
PE
25352014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2536
2537 Spelling fixes.
2538 * language/china-util.el (hz-ascii-designation):
2539 Rename from hz-ascii-designnation.
2540 (hz-ascii-designation): Rename from hz-ascii-designnation.
2541 All uses changed.
2542
ec6c7de2
SM
25432014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2546 package-alist.
2547
d6262c7c
BG
25482014-01-08 Bastien Guerry <bzg@gnu.org>
2549
4b9e6087
GM
2550 * emacs-lisp/package.el (package-delete):
2551 Correctly delete the package from package-alist.
d6262c7c 2552
0a3eec32
DU
25532014-01-08 Daiki Ueno <ueno@gnu.org>
2554
2555 * emacs-lisp/package.el (url-recreate-url): Declare.
2556 (url-http-target-url): Declare.
4b9e6087 2557 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2558 (package--check-signature): Don't re-signal errors from
2559 package--with-work-buffer. Suggested by Stefan Monnier.
2560
68f0bb97
BG
25612014-01-07 Bastien Guerry <bzg@gnu.org>
2562
2563 * minibuffer.el (completion--try-word-completion): When both a
2564 hyphen and a space are possible candidates for the character
2565 following a word, display both candidates. (Bug#15980)
2566
7e1899d7
MR
25672014-01-07 Martin Rudalics <rudalics@gmx.at>
2568
2569 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2570 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2571
0030ec15
GM
25722014-01-07 Glenn Morris <rgm@gnu.org>
2573
2574 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2575 (menu-bar-help-menu): Use view-external-packages instead.
2576
2b6b4f20
BG
25772014-01-07 Bastien Guerry <bzg@gnu.org>
2578
2579 * emacs-lisp/package.el (package-delete): Also delete the package
2580 name from `package-alist', not its description only.
2581
e9be0a13
GM
25822014-01-07 Glenn Morris <rgm@gnu.org>
2583
2584 * help.el (view-external-packages):
2585 * menu-bar.el (menu-bar-help-extra-packages):
2586 Visit efaq.info rather than etc/MORE.STUFF.
2587
e4f74da9
JL
25882014-01-07 Juri Linkov <juri@jurta.org>
2589
2590 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2591 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2592
2593 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2594 that shadows RET. (Bug#16342)
2595
de7ce2d1
CY
25962014-01-07 Chong Yidong <cyd@gnu.org>
2597
2598 * isearch.el (isearch-yank-char, isearch-yank-word)
2599 (isearch-yank-line): Doc fix.
2600
6bdd9204
SM
26012014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2604 * emacs-lisp/elint.el (elint-find-builtins):
2605 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2606 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2607 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2608 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2609 * apropos.el (apropos-safe-documentation):
2610 * subr.el (symbol-file): Remove redundant fboundp.
2611 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2612
daccca97
BG
26132014-01-06 Bastien Guerry <bzg@gnu.org>
2614
2615 * hl-line.el (global-hl-line-overlay): Make a local variable.
2616 (global-hl-line-overlays): New variable to store all overlays.
2617 (global-hl-line-mode): Don't delete overlays from the current
2618 buffer when `global-hl-line-sticky-flag' is non-nil.
2619 (global-hl-line-highlight): Add new overlays to
2620 `global-hl-line-overlays'.
2621 (global-hl-line-unhighlight-all): New function to delete all
2622 overlays when turning off `global-hl-line-mode'.
2623 This fixes Bug#16183.
2624
ec00f20f
SM
26252014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * subr.el (set-transient-map): Fix nested case and docstring.
2628
a0031f97
TH
26292014-01-06 Tassilo Horn <tsdh@gnu.org>
2630
2631 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2632 `Texinfo' entry.
2633
bf6a77f3
DC
26342014-01-06 Daniel Colascione <dancol@dancol.org>
2635
2636 Fix defun navigation in vc log view.
2637
2638 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2639 like `beginning-of-defun'.
c295fc18 2640 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2641 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2642 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2643 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2644 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2645
d5081c1e
PE
26462014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2647
2648 Spelling fixes.
2649 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2650 * emacs-lisp/debug.el (cancel-debug-on-entry):
2651 * epg.el (epg-error-to-string):
2652 * files.el (recover-file):
2653 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2654 * mail/emacsbug.el (report-emacs-bug-hook):
2655 * mail/sendmail.el (mail-recover):
2656 * ses.el (ses-yank-resize):
2657 * term/ns-win.el (ns-print-buffer):
2658 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2659 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2660 All uses changed.
2661 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2662
53f6b148
LL
26632014-01-06 Leo Liu <sdl.web@gmail.com>
2664
2665 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2666 to avoid shadowing global key. (Bug#16354)
53f6b148 2667
b82ace2f
DC
26682014-01-06 Daniel Colascione <dancol@dancol.org>
2669
2670 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2671 rst-mode.
2672
3669b636
MR
26732014-01-05 Martin Rudalics <rudalics@gmx.at>
2674
2675 * window.el (balance-windows): Add mising t to fix Bug#16351.
2676
1a29adc2
LMI
26772014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2678
2679 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2680 (bug#16285).
3d95a0f4
LMI
2681 (shr-insert): If we have a word that's longer than `shr-width',
2682 break after it anyway. Otherwise we'll do no breaking once we get
2683 such a long word.
1a29adc2 2684
f4018140
KN
26852014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2686
3fcfc4ee 2687 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2688 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2689 (eww-history-quit): Delete and use quit-window.
2690 (eww-history-kill): Delete, because it doesn't work well and
2691 not necessary.
2692 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2693
4e619754
PE
26942014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2695
73dbf960
PE
2696 Fix misspelling of 'chinese' in rx (Bug#16237).
2697 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2698 chinese-two-byte.
2699
4e619754
PE
2700 Change subword regexps back to vars (Bug#16296).
2701 * progmodes/subword.el (subword-forward-regexp)
2702 (subword-backward-regexp): Change these back to variables.
2703
e18b70fc
SM
27042014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2705
2706 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2707 syntax-begin-function (bug#16247).
2708
0d53f628
CY
27092014-01-03 Chong Yidong <cyd@gnu.org>
2710
2711 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2712 (advice--docstring): Delete variable.
2713 (advice--make-1): Leave the docstring empty.
2714 (advice-add): Use function-documentation for advised docstring.
2715
2716 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2717 Ignore function-documentation property when getting documentation.
2718 (ad-activate-advised-definition): Use function-documentation
2719 generate the docstring.
2720 (ad-make-advised-definition): Don't call
2721 ad-make-advised-definition-docstring.
2722 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2723 Delete functions.
2724
2725 * progmodes/sql.el (sql-help): Use function-documentation instead
2726 of dynamic-docstring-function property. No need to autoload now.
2727 (sql--help-docstring): New variable.
2728 (sql--make-help-docstring): Use it.
2729
6f547583
SM
27302014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2731
6ef9aed8
SM
2732 * ielm.el (ielm-tab): Retarget.
2733 (ielm-map): Use ielm-tab for tab.
2734 (ielm-complete-filename): Use comint-filename-completion.
2735 (ielm-complete-symbol): Remove.
2736 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2737 remove ielm-tab from completion-at-point-functions (bug#16224).
2738
6f547583
SM
2739 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2740 Beware signals raised by predicates (bug#16201).
2741
a574edbe
RS
27422014-01-02 Richard Stallman <rms@gnu.org>
2743
e831604d
RS
2744 * dired-aux.el (dired-do-print): Handle printer-name.
2745
6f547583
SM
2746 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2747 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2748 (rmail-epa-decrypt): Turn off mime processing.
2749
3fcfc4ee 2750 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2751 Add parens in message-id.
2752
2753 * mail/rmail.el (rmail-get-coding-function): Variable.
2754 (rmail-get-coding-system): Use it.
2755
04311a16
KH
27562013-12-31 Eli Zaretskii <eliz@gnu.org>
2757
2758 * international/mule-conf.el: Unify the charset indian-is13194.
2759 (indian-is13194): Specify unify-map.
2760
c8d89778
LL
27612013-12-31 Leo Liu <sdl.web@gmail.com>
2762
2763 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2764
e63ace37
DC
27652013-12-30 Daniel Colascione <dancol@dancol.org>
2766
9e0bf19a
DC
2767 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2768 of printing a useless when we resume from sleep.
2769
e63ace37 2770 * progmodes/sh-script.el
c295fc18 2771 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2772 in indentation code. (Bug#16233)
2773
e9d6c46a
JT
27742013-12-28 João Távora <joaotavora@gmail.com>
2775
6f547583
SM
2776 * elec-pair.el (electric-pair-post-self-insert-function):
2777 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2778
bf7bea5d
EZ
27792013-12-28 Eli Zaretskii <eliz@gnu.org>
2780
2781 * frame.el (window-system-for-display): Don't allow to create a
2782 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2783
8449dd1f
GM
27842013-12-28 Glenn Morris <rgm@gnu.org>
2785
9c5a5c77
GM
2786 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2787 Update callers.
2788
2789 * apropos.el (apropos-match-face):
2790 * calculator.el (calculator-displayer):
2791 * dabbrev.el (dabbrev-search-these-buffers-only):
2792 * face-remap.el (buffer-face-mode-face):
2793 * simple.el (yank-handled-properties):
2794 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2795 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2796 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2797 (hashcash-double-spend-database):
2798 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2799 (ruby-deep-indent-paren-style):
2800 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2801 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2802 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2803 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2804 Specify custom types.
2805
bb098075
GM
2806 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2807 * bookmark.el (bookmark-bmenu-use-header-line):
2808 * doc-view.el (doc-view-scale-internally):
2809 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2810 * register.el (register-preview-delay):
2811 * net/shr.el (shr-bullet):
2812 * progmodes/cfengine.el (cfengine-cf-promises)
2813 (cfengine-parameters-indent):
2814 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2815 * textmodes/reftex-vars.el (reftex-label-regexps):
2816 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2817
9c61f806
GM
2818 * net/tls.el (tls-certtool-program): Fix default value.
2819
2820 * desktop.el (desktop-restore-in-current-display):
2821 * newcomment.el (comment-empty-lines):
2822 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2823 (idlwave-pad-keyword):
2824 * progmodes/tcl.el (tcl-tab-always-indent):
2825 * textmodes/reftex-vars.el (reftex-index-default-tag):
2826 * elec-pair.el (electric-pair-skip-whitespace):
2827 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2828
8449dd1f
GM
2829 * emacs-lisp/authors.el (authors-ignored-files)
2830 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2831
fdadeb49
JC
28322013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2833
72140a0f
GM
2834 * shell.el (shell-dynamic-complete-command): Doc fix.
2835 (shell--command-completion-data): Shell completion now matches
2836 executable filenames from the current buffer's directory, on
da5ecfa9 2837 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2838
e572a7d8
LI
28392013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2840
2841 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2842
7514d3f8
SM
28432013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2844
a4151f3b
SM
2845 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2846 (bug#16251).
2847
7514d3f8
SM
2848 * electric.el: Move all electric-pair-* to elec-pair.el.
2849 * elec-pair.el: New file, split from electric.el.
2850
ac5758d1
LI
28512013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2852
2853 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2854 indentation level is larger than the width, because that will
2855 infloop.
2856 (shr-insert): Fill repeatedly long texts, so that Japanese is
2857 formatted correctly (bug#16263).
24a6b65e
LI
2858 (shr-find-fill-point): Off by one error in comparison with the
2859 indentation.
ac5758d1 2860
7514d3f8 28612013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2862
2863 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2864 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2865 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2866 if that keeps or improves their balance in buffers.
2867 (electric-pair-delete-adjacent-pairs): Delete the pair when
2868 backspacing over adjacent matched delimiters.
2869 (electric-pair-open-extra-newline): Open extra newline when
2870 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2871 (electric--sort-post-self-insertion-hook):
2872 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2873 minor-modes are activated.
2874 * simple.el (newline-and-indent): Call newline with interactive
2875 set to t.
2876 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2877 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2878 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2879 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2880 electric-pair-open-newline-between-pairs to nil.
2881
fbcc63a3
FEG
28822013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2883
2884 * progmodes/python.el: Use lexical-binding.
2885 (python-nav-beginning-of-defun): Stop searching ASAP.
2886
ed78d16c
XF
28872013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2888
2889 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2890 Fix interactive spec. Doc fix. (Bug#15754)
2891
38b2c142
KY
28922013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2893
2894 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2895 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2896 Fix edebug spec (bug#16184).
2897
3c856c14
LI
28982013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2899
83fa295c 2900 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2901 (shr-insert): Don't infloop if we can't find a good place to break
2902 the line (bug#16256).
3c856c14 2903
01379221
FEG
29042013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2905
35e951cd 2906 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2907 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2908 python-nav-lisp-forward-sexp-safe.
2909 (python-nav--forward-sexp): New argument SAFE allows switching
2910 forward sexp movement behavior for parens.
2911 (python-nav-forward-sexp): Throw errors on unterminated parens
2912 (Bug#16191).
2913 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2914 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2915 (python-shell-buffer-substring):
2916 Use `python-nav-forward-sexp-safe'.
01379221 2917
99e4926f
LI
29182013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2919
2920 * net/shr.el (shr-find-fill-point): Don't break lines before a
2921 quotation mark.
c6c20584
LI
2922 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2923 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2924 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 2925
fec0e828
KN
29262013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2927
2928 * net/eww.el (eww-form-textarea): Use a different face for
2929 textareas than text input since they have different keymaps
2930 (bug#16142).
2931
89c868ad
FEG
29322013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2933
7514d3f8
SM
2934 * progmodes/python.el (python-nav-beginning-of-statement):
2935 Speed up (Bug#15295).
89c868ad 2936
eeef121a
LI
29372013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2938
2939 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2940 the window configuration.
2941
121ea65f
EZ
29422013-12-24 Eli Zaretskii <eliz@gnu.org>
2943
2944 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2945 we run on MS-Windows or MS-DOS.
2946
18cee9ec
MR
29472013-12-24 Martin Rudalics <rudalics@gmx.at>
2948
2949 * window.el (balance-windows-area): Call window-size instead of
2950 window-height and window-width. Bug#16241.
2951
58f2b9a5
LI
29522013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2953
2954 * net/eww.el (eww-bookmark-quit): Remove.
2955 (eww-bookmark-browse): Restore the window configuration when you
2956 choose a bookmark (bug#16144).
2957
d64b6308
DC
29582013-12-24 Daniel Colascione <dancol@dancol.org>
2959
2960 * icomplete.el: Remove redundant :group arguments to `defcustom'
2961 throughout.
2962 (icomplete-show-matches-on-no-input): New customizable variable.
2963 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2964 we have something to show.
7514d3f8 2965 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 2966
0da54898
DC
29672013-12-23 Daniel Colascione <dancol@dancol.org>
2968
2969 * icomplete.el: Move `provide' to end of file.
2970
b90aa4f4
TZ
29712013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2972
2973 * net/gnutls.el (gnutls-verify-error): Add version tag.
2974
8cd22a08
CY
29752013-12-23 Chong Yidong <cyd@gnu.org>
2976
2977 * subr.el (set-transient-map): Rename from
2978 set-temporary-overlay-map. Doc fix.
2979
2980 * face-remap.el (text-scale-adjust):
2981 * indent.el (indent-rigidly):
2982 * kmacro.el (kmacro-call-macro):
2983 * minibuffer.el (minibuffer-force-complete):
2984 * repeat.el (repeat):
2985 * simple.el (universal-argument--mode):
2986 * calendar/todo-mode.el (todo-insert-item--next-param):
2987 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2988
7510b021
CY
2989 * indent.el (indent-rigidly): Use substitute-command-keys.
2990
72140a0f 29912013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
2992
2993 * net/eww.el (eww-tag-select): Add text-property to jump to next
2994 select field.
e9dc713d 2995 (eww): Add non-supported ftp error.
56890ecd 2996
1f87a56c
DG
29972013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2998
2999 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3000 comments. Handle electric indent after typing `?' and `!'.
3001
dca38cf9
CY
30022013-12-22 Chong Yidong <cyd@gnu.org>
3003
3004 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
3005 applicable to a frame, fall back on the defface spec.
3006 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 3007
f2351498
DG
30082013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3009
3010 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3011 after `{'. We need it after block openers, and it doesn't seem
3012 to hurt after hash openers.
3013
6cddebc1
DG
30142013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3015
3016 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3017 extracted from `ruby-smie-rules'.
3018 (ruby--electric-indent-chars): New variable.
3019 (ruby--electric-indent-p): New function.
3020 (ruby-mode): Use `electric-indent-functions' instead of
3021 `electric-indent-chars'.
3022
65a1da00
DG
30232013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3024
3025 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3026 docstring.
3027 (ruby-smie-rules): Indent plus one level after `=>'.
3028
b51ad4cf
RS
30292013-12-21 Richard Stallman <rms@gnu.org>
3030
3031 * simple.el (newline): Doc fix.
3032
72140a0f 30332013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 3034
e9dc713d 3035 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
3036 (eww-history-browse, eww-history-quit, eww-history-kill)
3037 (eww-history-mode-map, eww-history-mode): New command and
3038 functions to list browser histories.
e9dc713d
JB
3039 (eww-form-text): Support text form with disabled
3040 and readonly attributes.
3041 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 3042
5e1901c1
RS
30432013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3044
3045 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3046 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3047 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3048 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3049 Use `user-error'.
3050 (eww-bookmark-mode-map): Add menu.
3051 (eww-render, eww-mode): Use `setq-local'.
3052 (eww-tool-bar-map): New variable.
3053 (eww-mode): Set `tool-bar-map'.
3054 (eww-view-source): Check for `html-mode' with `fboundp'.
3055
073d5cfd
LMI
30562013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3057
3058 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3059 elements with text inside. Also remove debugging.
3060
41cf3d11
JD
30612013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3062
3063 * cus-start.el (all): Add ns-use-srgb-colorspace.
3064
aac2b673
CY
30652013-12-21 Chong Yidong <cyd@gnu.org>
3066
3067 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3068 undefined. Thus, theme settings for undefined faces do not take
3069 effect until the faces are defined with defface, the same as with
3070 theme variables.
3071
3072 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3073 (face-spec-reset-face): Don't assign extra properties in temacs.
3074 (face-spec-recalc): Apply X resources too.
3075
bacb0e77
CY
30762013-12-21 Chong Yidong <cyd@gnu.org>
3077
3078 * faces.el (face-spec-set):
3079 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3080 * custom.el (defface): Doc fixes (Bug#16203).
3081
77221051
CY
3082 * indent.el (indent-rigidly-map): Add docstring, and move commands
3083 into named functions.
3084 (indent-rigidly-left, indent-rigidly-right)
3085 (indent-rigidly-left-to-tab-stop)
3086 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3087 indentation direction based on bidi direction, and accumulate
3088 sequential commands in a single undo boundary.
3089 (indent-rigidly--pop-undo): New utility function.
3090
e0eb0550
JB
30912013-12-20 Juanma Barranquero <lekktu@gmail.com>
3092
3093 * faces.el (read-face-name): Require crm.el when using crm-separator.
3094
3282bd2e
DC
30952013-12-20 Daniel Colascione <dancol@dancol.org>
3096
3097 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3098 so that we don't reflow comments into the shebang line.
3099
1d42e5b6
JL
31002013-12-20 Juri Linkov <juri@jurta.org>
3101
3102 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3103 a position when `dired-directory' is non-nil. Check integer
3104 positions with `integerp'.
3105 (toggle-save-place, save-places-to-alist): Add check for
3106 `dired-directory'.
3107 (save-place-find-file-hook): Check integer positions with
3108 `integerp'.
3109 (save-place-dired-hook): Use `dired-goto-file' when
3110 `dired-filename' is found in the assoc list. Check integer
3111 positions with `integerp'.
3112 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3113
3114 * dired.el (dired-initial-position-hook): Rename back from
3115 `dired-initial-point-hook'.
3116 (dired-initial-position): Rename `dired-initial-point-hook' to
3117 `dired-initial-position-hook'.
3118 (dired-file-name-at-point): Doc fix. (Bug#15329)
3119
24da7273
JL
31202013-12-20 Juri Linkov <juri@jurta.org>
3121
3122 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3123 (read-regexp-suggestions): New function.
3124 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3125 Use `read-regexp-suggestions'. Add non-empty default to history
3126 for empty input.
3127 (occur-read-regexp-defaults-function): Remove function.
3128 (occur-read-primary-args): Use `regexp-history-last' instead of
3129 `occur-read-regexp-defaults-function'.
3130
3131 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3132 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3133 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3134 `hi-lock-read-regexp-defaults-function'. Doc fix.
3135 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3136 with `find-tag-default-as-symbol-regexp'. Doc fix.
3137 (hi-lock-read-regexp-defaults): Remove function.
3138 (hi-lock-regexp-okay): Add check for null.
3139
3140 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3141 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3142
3143 * subr.el (find-tag-default-as-symbol-regexp): New function.
3144 (find-tag-default-as-regexp): Move symbol regexp formatting to
3145 `find-tag-default-as-symbol-regexp'.
3146
137f57c8
S
31472013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3148
3149 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3150 (Bug#14179)
3151
f3a66082
SB
31522013-12-20 Stephen Berman <stephen.berman@gmx.net>
3153
3154 * calendar/todo-mode.el: New implementation of item insertion
3155 commands and key bindings.
3156 (todo-key-prompt): New face.
3157 (todo-insert-item): New command.
3158 (todo-insert-item--parameters): New defconst, replacing defvar
3159 todo-insertion-commands-args-genlist.
3160 (todo-insert-item--param-key-alist): New defconst, replacing
3161 defvar todo-insertion-commands-arg-key-list.
3162 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3163 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3164 (todo-insert-item--next-param): New functions.
3165 (todo-insert-item--args, todo-insert-item--argleft)
3166 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3167 New variables.
3168 (todo-key-bindings-t): Change binding of "i" from
3169 todo-insertion-map to todo-insert-item.
3170 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3171 (todo-insertion-command-name, todo-insertion-commands-names)
3172 (todo-define-insertion-command, todo-insertion-commands)
3173 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3174
2f99433b
SB
31752013-12-20 Stephen Berman <stephen.berman@gmx.net>
3176
3177 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3178 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3179 eval-when-compile.
3180 (todo-move-category): Allow choosing a non-existing todo file to
3181 move the category to, and create that file.
3182 (todo-default-priority): New user option.
3183 (todo-set-item-priority): Use it.
3184 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3185 (desktop-restore-file-buffer): Declare.
3186 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3187 (todo-modes-set-2): Locally set desktop-save-buffer to
3188 todo-desktop-save-buffer.
3189 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3190 (auto-mode-alist): Add autoload cookie.
3191
131e4695
BB
31922013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3193
3194 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3195 helpers.el was a poor choice of name.
3cbfb935
BB
3196 (string-remove-prefix): New function.
3197 (string-remove-suffix): New function.
131e4695 3198
c44de18d
MR
31992013-12-20 Martin Rudalics <rudalics@gmx.at>
3200
3201 Fix assignment for new window total sizes.
3202 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
3203 (window--pixel-to-total-1, window--pixel-to-total):
3204 Fix calculation of new total sizes.
c44de18d 3205
ca65efcc
VS
32062013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3207
3208 * comint.el (comint-output-filter): Fix rear-nonsticky property
3209 placement (Bug#16010).
3210
a9574eb7
CY
32112013-12-20 Chong Yidong <cyd@gnu.org>
3212
3213 * faces.el (read-color): Minor fix for completion function.
3214
b520f210
DG
32152013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3216
e0eb0550
JB
3217 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3218 New option. (Bug#16182)
b520f210
DG
3219 (ruby-smie--indent-to-stmt-p): Use it.
3220 (ruby-smie-rules): Revert the logic in the handling of `when'.
3221 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3222 (ruby-deep-arglist, ruby-deep-indent-paren)
3223 (ruby-deep-indent-paren-style): Update docstrings to note that the
3224 vars don't have any effect with SMIE.
3225
26b75b45
JB
32262013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3227
3228 * calc/calc.el (calc-enter, calc-pop): Use the variable
3229 `calc-context-sensitive-enter'.
3230
cf91cee7
LMI
32312013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3232
3233 * net/shr.el (shr-insert): Protect against infloops in degenerate
3234 tables.
3235
51d971b4
RS
32362013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3237
3238 * progmodes/octave.el (octave): Add link to manual and octave
3239 homepage.
3240 (octave-mode-menu): Link to octave-mode manual.
3241
8c2e462a
LL
32422013-12-20 Leo Liu <sdl.web@gmail.com>
3243
3244 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3245 insertion using skeleton-end-newline. (Bug#16138)
3246
501158bc
JL
32472013-12-20 Juri Linkov <juri@jurta.org>
3248
3249 * replace.el (occur-engine): Use `add-face-text-property'
3250 to add the face property to matches and titles. (Bug#14645)
3251
3252 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3253 the palette of other hi-lock colors.
3254 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3255
50ab1da6
JL
32562013-12-19 Juri Linkov <juri@jurta.org>
3257
3258 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3259 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3260 (minibuffer-history-symbol): Move variable declaration closer to
3261 its usage.
3262
3263 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3264 (Bug#14785)
3265
3d6e95e7
JL
32662013-12-19 Juri Linkov <juri@jurta.org>
3267
3268 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3269 New function.
3270 (log-edit-hook): Add it to :options. (Bug#16170)
3271
b41594fd
JL
32722013-12-19 Juri Linkov <juri@jurta.org>
3273
3274 * simple.el (eval-expression-print-format): Don't check for
3275 command names and the last command. Always display additional
3276 formats of the integer result in the echo area, and insert them
3277 to the current buffer only with a zero prefix arg.
3278 Display character when char-displayable-p is non-nil.
3279 (eval-expression): With a zero prefix arg, set `print-length' and
3280 `print-level' to nil, and insert the integer values from
3281 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3282
3283 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3284 `eval-last-sexp-arg-internal'. Doc fix.
3285 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3286 `eval-last-sexp-print-value'. Doc fix.
3287 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3288 Set `print-length' and `print-level' to nil when arg is zero.
3289 (eval-last-sexp): Doc fix.
3290 (eval-defun-2): Print the integer values from
3291 `eval-expression-print-format' at the end.
3292
3293 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3294 values from `eval-expression-print-format' at the end.
3295
3296 * ielm.el (ielm-eval-input): Print the integer
3297 values from `eval-expression-print-format' at the end.
3298
8f2be364
TZ
32992013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3300
3301 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3302 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3303
2230a6e3
SM
33042013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3307 (hl-line-highlight, global-hl-line-highlight): Use it.
3308 (hl-line-overlay): Use defvar-local.
3309
1269a680
JD
33102013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3311
3312 * term/ns-win.el: Require dnd.
3313 (global-map): Remove drag items.
3314 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3315 (ns-set-background-at-mouse):
3316 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3317 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3318 New functions.
1269a680 3319
049638ad
GM
33202013-12-19 Glenn Morris <rgm@gnu.org>
3321
3322 * emacs-lisp/ert.el (ert-select-tests):
3323 Fix string/symbol mixup. (Bug#16121)
3324
ce41edb4
DG
33252013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3326
3327 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3328 keywords to their parent.
3329
7e1549c9
DG
33302013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3331
3332 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3333 first arg to be a string (fixed dead code), or an operator symbol.
3334 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3335 operator symbols.
3336 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3337 did nothing. Don't respond to `(:after ".")', it will be called
3338 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3339 change anything. Only return indentation for binary operators
3340 when they are hanging. De-dent opening paren when its parent is
3341 `.', otherwise it looks bad when the dot is not at bol or eol
3342 (bug#16182).
3343
3ee4cd64
JL
33442013-12-19 Juri Linkov <juri@jurta.org>
3345
3346 * replace.el (query-replace-read-args): Split a non-negative arg
3347 and a negative arg into separate elements.
3348 (query-replace, query-replace-regexp, replace-string)
3349 (replace-regexp): Add arg `backward'. Doc fix.
3350 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3351 move point to the beginning of the match.
3352 (replace-search, replace-highlight): Use new arg `backward'
3353 to set the value of `isearch-forward'.
3354 (perform-replace): Add arg `backward' and use it to perform
3355 replacement backward. (Bug#14979)
3356
3357 * isearch.el (isearch-query-replace): Use a negative prefix arg
3358 to call `perform-replace' with a non-nil arg `backward'.
3359
0cda6b7b
JL
33602013-12-18 Juri Linkov <juri@jurta.org>
3361
3362 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3363 to the default list. Move `log-edit-show-files' to the end.
3364 Add more available functions to options.
3365 (log-edit): Move default specific settings to
3366 `log-edit-insert-message-template'. Don't move point.
3367 (log-edit-insert-message-template): New function.
3368 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3369 (Bug#16170)
3370
b216f0a6
JL
33712013-12-18 Juri Linkov <juri@jurta.org>
3372
3373 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3374 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3375
1d1c55dc
LL
33762013-12-18 Leo Liu <sdl.web@gmail.com>
3377
e9dc713d
JB
3378 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3379 (Bug#16186)
1d1c55dc 3380
64e4c76e
EZ
33812013-12-18 Eli Zaretskii <eliz@gnu.org>
3382
3383 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3384 formats for displaying file sizes when the -s switch is given.
3385 Instead, compute a separate format for displaying the size in
3386 blocks, which is displayed in addition to the "regular" size.
3387 When -h is given in addition to -s, produce size in blocks in
3388 human-readable form as well. (Bug#16179)
3389
b2984e39
TH
33902013-12-18 Tassilo Horn <tsdh@gnu.org>
3391
2230a6e3
SM
3392 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3393 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3394
50ff2e06
CY
33952013-12-18 Chong Yidong <cyd@gnu.org>
3396
0081bc84
CY
3397 * cus-edit.el (custom-magic-alist): Fix "themed" description
3398 (Bug#14348).
3399
a7ee9424
CY
3400 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3401 is non-nil, do not create a new entry in the symbol's theme-value
3402 or theme-face property; update theme-settings only (Bug#14664).
18874304 3403 (custom-available-themes): Doc fix.
a7ee9424 3404
8f942537
CY
3405 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3406 (Bug#15674).
3407
50ff2e06
CY
3408 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3409
83c60f60
KI
34102013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3411
3412 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3413 (Bug#13914).
3414
e0eb0550 34152013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3416
3417 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3418
1f41ee56
GM
34192013-12-18 Glenn Morris <rgm@gnu.org>
3420
3421 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3422 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3423
e82134b1
LW
34242013-12-18 Le Wang <l26wang@gmail.com>
3425
2230a6e3
SM
3426 * comint.el (comint-previous-matching-input-from-input):
3427 Retain point (Bug#13404).
e82134b1 3428
33f5d4c1
CY
34292013-12-18 Chong Yidong <cyd@gnu.org>
3430
3431 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3432
ccc9f6dc
GM
34332013-12-18 Glenn Morris <rgm@gnu.org>
3434
3435 * mail/emacsbug.el (report-emacs-bug):
3436 Only mention enable-multibyte-characters if non-standard.
3437
33dd8e95
JL
34382013-12-17 Juri Linkov <juri@jurta.org>
3439
3440 * arc-mode.el (archive-extract-by-file): Check if directory exists
3441 before deletion to not show irrelevant errors if it doesn't exist.
3442
7a409b30
JL
34432013-12-17 Juri Linkov <juri@jurta.org>
3444
3445 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3446 (Bug#14751)
3447
3448 * net/eww.el (browse-web): Add alias to `eww'.
3449 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3450 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3451
3452 * net/browse-url.el (browse-url-browser-function): Move `eww'
3453 closer to similar functions.
3454
3455 * startup.el (fancy-startup-screen, fancy-about-screen):
3456 Set browse-url-browser-function to eww-browse-url locally.
3457 (Bug#14751)
3458
2d6b6005
SM
34592013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * window.el (window--pixel-to-total): Remove unused `mini' var.
3462 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3463 (split-window): Remove unused `new' var.
3464 (window--display-buffer): Remove unused `frame' and `delta' vars.
3465 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3466 and display-width'.
3467
cf2b7efc
MR
34682013-12-17 Martin Rudalics <rudalics@gmx.at>
3469
3470 * dired.el (dired-mark-pop-up):
3471 * register.el (register-preview): Don't bind
3472 split-height-threshold here since it's now done in
3473 display-buffer-below-selected.
3474
ed3af8a7 34752013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3476
3477 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3478 xterm-rgb-convert-to-16bit.
3479 (rxvt-register-default-colors): Standardize with
3480 xterm-register-default-colors (Bug#14078).
3481
76da3455
DK
34822013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3483
3484 * simple.el (kill-region): Pass mark first, then point, so that
3485 kill-append works right (Bug#12819).
3486 (copy-region-as-kill, kill-ring-save): Likewise.
3487
2b84d763
LL
34882013-12-17 Leo Liu <sdl.web@gmail.com>
3489
3490 * net/rcirc.el (rcirc-add-face):
3491 * eshell/em-prompt.el (eshell-emit-prompt):
3492 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3493 (Bug#16167)
3494
e2f6a0bc
CY
34952013-12-17 Chong Yidong <cyd@gnu.org>
3496
3497 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3498 Suggested by Xue Fuqiao.
3499
35b249a6
DG
35002013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3501
3502 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3503
e9145444
SM
35042013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * net/shr.el (shr-insert-document): Remove unused var
3507 `shr-preliminary-table-render'.
3508 (shr-rescale-image): Remove unused arg `force'.
3509 (shr-put-image): Update calls accordingly.
3510 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3511
5556c0ce
DG
35122013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3513
3514 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3515 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3516 :close-all, to see which indentation method to use (Bug#16116).
3517 (smie-rules-function): Document the method :close-all.
3518
11bade0a
LMI
35192013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3520
1c4b1e61
LMI
3521 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3522
11bade0a
LMI
3523 * net/eww.el (eww-display-html): If we can't find the anchor we're
3524 looking for, then go to point-min.
3525
8fb8c4f3
PE
35262013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3527
3528 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3529 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3530 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3531 Expand dir too, in case it's relative.
3532
6c8e0ae6
JL
35332013-12-16 Juri Linkov <juri@jurta.org>
3534
3535 * desktop.el (desktop-auto-save-timeout): Change default to
3536 `auto-save-timeout'. Doc fix.
3537 (desktop-save): Skip the timestamp in desktop-saved-frameset
3538 when checking for auto-save changes.
3539 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3540 `desktop-auto-save' is called repeatedly by the idle timer.
3541 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3542 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3543 (Bug#15331)
3544
2178e858
JL
35452013-12-16 Juri Linkov <juri@jurta.org>
3546
3547 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3548 (Bug#16035)
3549 (isearch-pre-command-hook): Check `this-command' for symbolp.
3550
39cb42c6
SM
35512013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3554
5b9b750a
TZ
35552013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3556
3557 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3558 (cfengine3--current-function): Bring in the current-function
3559 functionality from `cfengine3--current-word'.
3560 (cfengine3-completion-function): Bring in the
3561 bounds-of-current-word functionality from
3562 `cfengine3--current-word'.
3563
d144ef06
MR
35642013-12-16 Martin Rudalics <rudalics@gmx.at>
3565
39cb42c6
SM
3566 * window.el (display-buffer-below-selected):
3567 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3568
a8bbe298
LL
35692013-12-16 Leo Liu <sdl.web@gmail.com>
3570
3571 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3572 Remove NOMSG arg and all uses changed.
3573
2013a2f9
SM
35742013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3577 (cua--deactivate-rectangle): Don't deactivate the mark.
3578 (cua-set-rectangle-mark): Don't set mark-active since
3579 cua--activate-rectangle already does it for us.
3580 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3581 non-rectangular region.
3582
3583 * emulation/cua-base.el (cua-repeat-replace-region):
3584 Use with-current-buffer.
3585
3586 * net/gnutls.el: Use cl-lib.
3587 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3588
5ae811dd
TZ
35892013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3590
3591 * emacs-lisp/package.el (package-built-in-p): Support both
3592 built-in and the package.el converted package descriptions.
3593 (package-show-package-list): Allow keywords.
3594 (package-keyword-button-action): Use it instead of
3595 `finder-list-matches'.
3596 (package-menu-filter-interactive): Interactive filtering (by
3597 keyword) function.
3598 (package-menu--generate): Support keywords and change keymappings
3599 and headers when they are given.
3600 (package--has-keyword-p): Helper function.
3601 (package-menu--refresh): Use it.
3602 (package--mapc): Helper function.
3603 (package-all-keywords): Use it.
3604 (package-menu-mode-map): Set up menu items and keybindings to
3605 provide a filtering UI.
3606
31b4827e
TZ
36072013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3608
3609 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3610 the behavior when a certificate fails validation. Defaults to
3611 old behavior: never abort, just warn.
3612 (gnutls-negotiate): Use it.
3613
f93cc74f
MR
36142013-12-14 Martin Rudalics <rudalics@gmx.at>
3615
3616 * window.el (display-buffer-below-selected): Never split window
3617 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3618
f77d7d17
TW
36192013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3620
3621 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3622 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3623
7514d3f8
SM
36242013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3625
aa2bddd7 3626 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3627 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3628
276bc333
DG
36292013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3630
3631 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3632 open-paren tokens when preceded by a open-paren, too.
3633 (ruby-smie-rules): Handle virtual indentation after open-paren
3634 tokens specially. If there is code between it and eol, return the
3635 column where is starts (Bug#16118).
3636
d43957f3
TZ
36372013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3638
a5c1ac0c 3639 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3640 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3641 (cfengine3--current-word): Fix parameters.
3642 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3643 (cfengine3-completion-function, cfengine3--current-function):
3644 Use `assq' for symbols.
d43957f3
TZ
3645 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3646
06a4f110
GM
36472013-12-13 Glenn Morris <rgm@gnu.org>
3648
3649 * loadup.el (load-path): Warn if site-load or site-init changes it.
3650 No more need to reset it when bootstrapping.
3651
978a5fda
TZ
36522013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3653
3654 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3655 locations for cf-promises.
3656 (cfengine-mode-syntax-functions-regex): New caching variable.
3657 (cfengine3-fallback-syntax): Fallback syntax for cases where
3658 cf-promises doesn't run.
3659 (cfengine3--current-word): Reimplement using
3660 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3661 (cfengine3-completion-function, cfengine3--current-function):
3662 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3663 (cfengine3-clear-syntax-cache): New function.
3664 (cfengine3-make-syntax-cache): Simplify and create
3665 `cfengine-mode-syntax-functions-regex' on demand.
3666 (cfengine3-format-function-docstring): Don't call
3667 `cfengine3-make-syntax-cache' explicitly.
3668
71e6691e
MR
36692013-12-13 Martin Rudalics <rudalics@gmx.at>
3670
3671 Fix windmove-find-other-window broken after pixelwise resizing
3672 (Bug#16017).
3673 * windmove.el (windmove-other-window-loc): Revert change from
3674 2013-12-04.
3675 (windmove-find-other-window): Call window-in-direction.
3676 * window.el (window-in-direction): New arguments SIGN, WRAP and
3677 MINI to emulate original windmove-find-other-window behavior.
3678
84c73ba0
DG
36792013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3680
3681 * simple.el (blink-matching--overlay): New variable.
3682 (blink-matching-open): Instead of moving point, highlight the
3683 matching paren with an overlay
3684 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3685
3686 * faces.el (paren-showing-faces, show-paren-match)
3687 (show-paren-mismatch): Move from paren.el.
3688
b9e20952
LL
36892013-12-13 Leo Liu <sdl.web@gmail.com>
3690
3691 * indent.el (indent-region): Disable progress reporter in
3692 minibuffer. (Bug#16108)
3693
3694 * bindings.el (visual-order-cursor-movement): Fix version.
3695
ce030451
FEG
36962013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3697
3698 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3699 Also match after beginning of line.
3700 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3701 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3702
4a9c6865
JL
37032013-12-13 Juri Linkov <juri@jurta.org>
3704
3705 * simple.el <Keypad support>: Remove key bindings duplicated
3706 with bindings.el. (Bug#14397)
3707
2bc170c3
JL
37082013-12-13 Juri Linkov <juri@jurta.org>
3709
3710 * comint.el (comint-mode-map): Replace `delete-char' with
3711 `delete-forward-char'. (Bug#16109)
3712
bc9222c9
FEG
37132013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3714
aa2bddd7 3715 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3716 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3717
cb3a1380
SM
37182013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3721 (advice--make): Pay attention to `depth'.
3722 (advice--make-1): Don't autoload commands eagerly.
3723 * emacs-lisp/elp.el (elp-instrument-function):
3724 * emacs-lisp/trace.el (trace-function-internal):
3725 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3726
3727 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3728
01633a17
EZ
37292013-12-12 Eli Zaretskii <eliz@gnu.org>
3730
3731 * term/w32-win.el (w32-handle-dropped-file):
3732 * startup.el (normal-top-level):
3733 * net/browse-url.el (browse-url-file-url):
3734 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3735 decode file names using 'utf-8' rather than
3736 file-name-coding-system.
3737
09faee72
FEG
37382013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3739
3740 * progmodes/python.el (python-indent-context)
3741 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3742 behavior for comment blocks. (Bug#15916)
09faee72 3743
f4f84024 37442013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3745
cb3a1380
SM
3746 * progmodes/python.el (python-indent-calculate-indentation):
3747 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3748 operators when they are just string constituents. (Bug#15812)
3749
d5ccb7be
JL
37502013-12-12 Juri Linkov <juri@jurta.org>
3751
3752 * uniquify.el (uniquify-buffer-name-style): Change default to
3753 `post-forward-angle-brackets'.
3754
3755 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3756 `uniquify'. Change default to `post-forward-angle-brackets'.
3757
7b3f5679
GM
37582013-12-11 Glenn Morris <rgm@gnu.org>
3759
3760 * emacs-lisp/package.el (finder-list-matches):
3761 Autoload rather than falsely declaring.
3762
f4fe8fdd
TZ
37632013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3764
3765 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3766 (eww-mode-map): Use them.
3767
3c29190f
MR
37682013-12-11 Martin Rudalics <rudalics@gmx.at>
3769
3770 * window.el (display-buffer-in-side-window): Fix doc-string
3771 (Bug#16115).
3772
0cd616a2
JB
37732013-12-11 Juanma Barranquero <lekktu@gmail.com>
3774
3775 * vc/vc-git.el: Silence byte-compiler warnings.
3776 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3777 (log-edit-set-header): Declare.
3778
3ef8e0d1
EZ
37792013-12-11 Eli Zaretskii <eliz@gnu.org>
3780
3781 * Makefile.in (custom-deps, finder-data): Run output file names
3782 through unmsys--file-name. (Bug#16099)
3783
afdadaf7
SM
37842013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3785
7ae3ae39 3786 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3787 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3788
5b4f37ab
SM
3789 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3790 instead of deleting the selection "by hand" (bug#16098).
3791 Rely on insert-for-yank to yank rectangles.
3792 (cua-highlight-region-shift-only): Mark obsolete.
3793 (cua-mode): Don't enable/disable transient-mark-mode,
3794 shift-select-mode (cua-mode works both with and without them), and
3795 pc-selection-mode (obsolete).
3796 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3797 (cua--deactivate-rectangle): Deactivate it.
3798
4b72c12b
SM
3799 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3800 (delete-selection-helper): Make sure yank starts at the top of the
3801 deleted region.
3802 (minibuffer-keyboard-quit): Use region-active-p.
3803
e82af72d
SM
3804 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3805
afdadaf7
SM
3806 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3807 to `delete' (bug#16109).
3808
ed4bc201
RS
38092013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3810
3811 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3812 info manual and show keybindings and set `:group' keyword.
3813
bb8097b9
JL
38142013-12-11 Juri Linkov <juri@jurta.org>
3815
3816 * delsel.el (delete-active-region): Let-bind `this-command'
3817 to prevent `kill-region' from changing its original value.
3818 (delete-selection-helper): Handle `overwrite-mode' for the type
3819 `kill' exactly the same way as for the type `t'.
3820 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3821 Support more commands. (Bug#13312)
3822
c1916ff5
JL
38232013-12-11 Juri Linkov <juri@jurta.org>
3824
3825 * bindings.el: Map kp keys to non-kp keys systematically
3826 with basic modifiers control, meta and shift. (Bug#14397)
3827
7514d3f8 38282013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3829
3830 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3831 "Close browser" menu items. Fix wrong function of "List
3832 bookmarks".
3833
4cc51eaf
JL
38342013-12-11 Juri Linkov <juri@jurta.org>
3835
3836 * misearch.el (multi-isearch-buffers): Set the value of
3837 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3838 arg of isearch-forward to t.
3839 (multi-isearch-buffers-regexp): Set the value of
3840 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3841 arg of isearch-forward-regexp to t.
3842 (multi-isearch-files): Set the value of
3843 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3844 arg of isearch-forward to t.
3845 (multi-isearch-files-regexp): Set the value of
c295fc18 3846 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3847 arg of isearch-forward-regexp to t. (Bug#16035)
3848
3849 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3850 arg of isearch-forward to t.
3851 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3852 arg of isearch-forward-regexp to t.
3853 (dired-isearch-filter-filenames): Remove unnecessary check for
3854 `dired-isearch-filenames'.
3855
3856 * comint.el (comint-history-isearch-backward):
3857 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3858 (comint-history-isearch-backward-regexp):
3859 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3860
ceac12b7
EZ
38612013-12-10 Eli Zaretskii <eliz@gnu.org>
3862
3863 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3864 unmsys--file-name. (Bug#16099)
3865
5a565782
TZ
38662013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3867
cb3a1380
SM
3868 * emacs-lisp/package.el (package-keyword-button-action):
3869 Remove finder.el require dependency.
5a565782 3870
a81fc7ba
TZ
38712013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3872
3873 * emacs-lisp/package.el: Require finder.el.
3874 (describe-package-1): Add keyword buttons.
3875 (package-make-button): New convenience function.
3876 (package-keyword-button-action): Keyword button action using
e0eb0550 3877 `finder-list-matches'.
a81fc7ba 3878
6aaca951
EZ
38792013-12-09 Eli Zaretskii <eliz@gnu.org>
3880
3881 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3882 last commit.
3883
a1099a91
MA
38842013-12-09 Michael Albinus <michael.albinus@gmx.de>
3885
3886 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3887 symlinked files.
3888
8212d9c0
DG
38892013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3890
3891 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3892 after the end of a percent literal.
3893
8f48d131
CD
38942013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3895
cb3a1380
SM
3896 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3897 Handle caret-delimited strings (Bug#16079).
8f48d131 3898
ff8c9764
DG
38992013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3900
cb3a1380
SM
3901 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3902 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3903 `ruby-parse-partial' (Bug#16078).
3904
d64643b4
LL
39052013-12-09 Leo Liu <sdl.web@gmail.com>
3906
3907 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3908
47e59c66
DG
39092013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3910
3911 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3912 (js-switch-indent-offset): New option.
3913 (js--proper-indentation): Use it. And handle the case when
3914 "default" is actually a key in an object literal.
3915 (js--same-line): New function.
3916 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3917 (js--indent-in-array-comp, js--array-comp-indentation):
3918 New functions.
47e59c66
DG
3919 (js--proper-indentation): Use them, to handle array comprehension
3920 continuations.
3921
974ebc9c
LL
39222013-12-08 Leo Liu <sdl.web@gmail.com>
3923
3924 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3925 (flymake-make-overlay): Remove arg MOUSE-FACE.
3926 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3927
27262e39
SM
39282013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3929
3930 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3931 New function.
3932 (redisplay-highlight-region-function): Use it.
3933
3934 * emulation/cua-base.el (cua--explicit-region-start)
3935 (cua--last-region-shifted): Remove.
3936 (cua--deactivate): Use deactivate-mark.
3937 (cua--pre-command-handler-1): Don't handle shift-selection.
3938 (cua--post-command-handler-1): Don't change transient-mark-mode.
3939 (cua--select-keymaps): Use region-active-p rather than
3940 cua--explicit-region-start or cua--last-region-shifted.
3941 (cua-mode): Enable shift-select-mode.
3942
6407822c
LL
39432013-12-08 Leo Liu <sdl.web@gmail.com>
3944
27262e39
SM
3945 * progmodes/flymake.el (flymake-popup-current-error-menu):
3946 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
3947 (flymake-posn-at-point-as-event, flymake-popup-menu)
3948 (flymake-make-emacs-menu): Remove. (Bug#16077)
3949
00a2b823
SM
39502013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3951
02033d49
SM
3952 * rect.el (rectangle-mark-mode): Activate mark even if
3953 transient-mark-mode is off (bug#16066).
3954 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3955 is > mark and at bolp.
3956
6f8dfccf
SM
3957 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3958 (region-extract-function): Use it.
3959 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3960 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3961 Delete functions.
3962 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3963 kill-ring-save, kill-region, delete-char, delete-forward-char.
3964 Ignore self-insert-iso.
3965
3966 * emulation/cua-gmrk.el (cua--init-global-mark):
3967 Ignore `self-insert-iso'.
3968
3969 * emulation/cua-base.el (cua--prefix-copy-handler)
3970 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3971 checking cua--rectangle.
3972 (cua-delete-region): Use region-extract-function.
3973 (cua-replace-region): Delete function.
3974 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3975 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3976 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3977 (cua--init-keymaps): Don't remap delete-selection commands.
3978 (cua-mode): Use delete-selection-mode instead of rolling our own
3979 (bug#16085).
3980
3981 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3982 Obey region-extract-function.
3983
00a2b823
SM
3984 Make registers and delete-selection-mode work on rectangles.
3985 * register.el (describe-register-1): Don't modify the register's value.
3986 (copy-to-register): Obey region-extract-function.
3987 * delsel.el (delete-active-region): Obey region-extract-function.
3988
a92fa5f1
LL
39892013-12-08 Leo Liu <sdl.web@gmail.com>
3990
3991 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3992 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3993 (flymake-compilation-prevents-syntax-check)
3994 (flymake-start-syntax-check-on-newline)
3995 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3996 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3997 (flymake-xml-program, flymake-master-file-dirs)
3998 (flymake-master-file-count-limit)
3999 (flymake-allowed-file-name-masks): Relocate.
4000 (flymake-makehash, flymake-float-time)
4001 (flymake-replace-regexp-in-string, flymake-split-string)
4002 (flymake-get-temp-dir): Remove.
4003 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4004 (flymake-current-row, flymake-selected-frame)
4005 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4006 related functions. (Bug#16077)
4007
73c8ceea
BB
40082013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4009
4010 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4011
faec28d9
TH
40122013-12-07 Tassilo Horn <tsdh@gnu.org>
4013
4014 * help-fns.el (describe-function-1): Use new advice-* functions
4015 rather than old ad-* functions. Fix function type description and
4016 source links for advised functions and subrs.
4017
e330b646
LMI
40182013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4019
00a2b823 4020 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 4021
4803595d
MA
40222013-12-06 Michael Albinus <michael.albinus@gmx.de>
4023
4024 * progmodes/compile.el (compilation-start):
4025 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4026
4027 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4028 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4029
fa834a93
DG
40302013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4031
00a2b823
SM
4032 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4033 Touch up the last change.
fa834a93 4034
b2856a6f
LL
40352013-12-06 Leo Liu <sdl.web@gmail.com>
4036
4037 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4038 (inferior-octave-startup): Always use "octave> " for prompt.
4039 (octave-goto-function-definition)
4040 (octave-sync-function-file-names)
4041 (octave-find-definition-default-filename): Remove redundant backquotes.
4042
af67e79a
DG
40432013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4044
4045 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4046 syntax for `?'.
4047 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4048 where appropriate already.
4049 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4050 end of method names (Bug#15874).
4051
bf093209
JL
40522013-12-06 Juri Linkov <juri@jurta.org>
4053
4054 * isearch.el (isearch--saved-overriding-local-map):
4055 New internal variable.
4056 (isearch-mode): Set it to the initial value of
4057 `overriding-terminal-local-map'.
4058 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4059 with `isearch--saved-overriding-local-map'. (Bug#16035)
4060
16588fad
DG
40612013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4062
00a2b823
SM
4063 * progmodes/octave.el (inferior-octave-completion-table):
4064 Turn back into function, use `completion-table-with-cache'
16588fad
DG
4065 (Bug#11906). Update all references.
4066
4067 * minibuffer.el (completion-table-with-cache): New function.
4068
bf4906d7
CD
40692013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4070
4071 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4072
ff69c18f
TZ
40732013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4074
4075 * net/eww.el (eww-current-source): New variable to store page
4076 source.
4077 (eww-display-html, eww-mode, eww-save-history)
4078 (eww-restore-history): Use it.
4079 (eww-view-source): New command to view page source.
4080 Opportunistically uses `html-mode' to highlight the buffer.
4081 (eww-mode-map): Install it.
4082
b85eff45
MA
40832013-12-05 Michael Albinus <michael.albinus@gmx.de>
4084
4085 * net/dbus.el (dbus-unregister-service)
4086 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4087 Fix docstring.
4088 (dbus-unregister-service): Skip :serial entries in
4089 `dbus-registered-objects-table'.
4090 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4091
39eb0899
TZ
40922013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4093
4094 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4095 around keywords with extra `split-string' argument.
4096
456760a5
MR
40972013-12-04 Martin Rudalics <rudalics@gmx.at>
4098
4099 * windmove.el (windmove-other-window-loc): Handle navigation
4100 between windows (excluding the minibuffer window - Bug#16017).
4101
81961e4c
MA
41022013-12-04 Michael Albinus <michael.albinus@gmx.de>
4103
4104 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4105 in D-Bus type syntax.
4106 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4107 preserve unibyte strings. (Bug#16048)
4108
8497f938
SM
41092013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4112 Call force-mode-line-update is the proper buffer (bug#16042).
4113
dda61916
DG
41142013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4115
4116 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4117 `log-edit-remember-comment', make argument optional. Adjust all
4118 callers.
4119 (log-edit-mode): Add `log-edit-remember-comment' to
4120 `kill-buffer-hook' locally.
4121 (log-edit-kill-buffer): Don't remember comment explicitly since
4122 the buffer is killed anyway.
4123
c085e5b9
JL
41242013-12-04 Juri Linkov <juri@jurta.org>
4125
4126 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4127 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4128
e0eb0550 41292013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
4130
4131 * notifications.el (notifications-close-notification): Call the
81961e4c 4132 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 4133
39fa32d6
KY
41342013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4135
4136 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4137
9139632a
JL
41382013-12-03 Juri Linkov <juri@jurta.org>
4139
4140 * progmodes/compile.el (compilation-start): Rename window alist
4141 entry `no-display-ok' to `allow-no-window'.
4142
4143 * simple.el (shell-command): Add window alist entry
4144 `allow-no-window' to `display-buffer'.
4145 (async-shell-command): Doc fix.
4146
4147 * window.el (display-buffer-no-window): New action function.
4148 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4149
0f457a37
DG
41502013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4151
4152 * vc/log-edit.el (log-edit-set-header): Extract from
4153 `log-edit-toggle-header'.
4154 (log-edit-extract-headers): Separate the summary, when extracted
4155 from header, from the rest of the message with an empty line.
4156
4157 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4158 line, if present, to the Summary header.
4159
0962f376
SM
41602013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4163 in current-buffer (bug#16029).
4164
f345395c
HE
41652013-12-02 Helmut Eller <eller.helmut@gmail.com>
4166
4167 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4168 (debugger-mode-map): Bind it.
4169 (debugger--backtrace-base): New function.
4170 (debugger-eval-expression): Use it.
4171 (debugger-frame-number): Skip local vars when present.
4172 (debugger--locals-visible-p, debugger--insert-locals)
4173 (debugger--show-locals, debugger--hide-locals): New functions.
4174
a8a15d9d
MA
41752013-12-02 Michael Albinus <michael.albinus@gmx.de>
4176
4177 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4178 "LC_ALL".
4179 (tramp-get-remote-locale): New defun.
4180 (tramp-open-connection-setup-interactive-shell): Use it.
4181
0518b057
LL
41822013-12-02 Leo Liu <sdl.web@gmail.com>
4183
4184 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4185
4186 * progmodes/sh-script.el (sh-shell-process):
4187 * progmodes/octave.el (inferior-octave-process-live-p):
4188 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4189 (gdb-inferior-io-sentinel):
4190 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4191
3adc9c6d
DG
41922013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4193
4194 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4195 `save-selected-window' to `log-edit-hide-buf'. This makes
4196 `log-edit-show-files' idempotent.
4197 (log-edit-show-files): Mark the new window as dedicated.
4198
47e8b74e
DG
41992013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4200
4201 * vc/log-edit.el (log-edit-mode-map): Add binding for
4202 `log-edit-kill-biffer'.
4203 (log-edit-hide-buf): Add a FIXME comment.
4204 (log-edit-add-new-comment): New function, extracted from
4205 `log-edit-done'.
4206 (log-edit-done, log-edit-add-to-changelog): Use it.
4207 (log-edit-kill-buffer): New command.
4208
1f6e1bb0
LMI
42092013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4210
4211 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4212 instead of killing the buffer.
4213
fb651d15
SM
42142013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4217
8feacce0
RS
42182013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4219
fb651d15 4220 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 4221 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4222 (eww-form-checkbox, eww-toggle-checkbox):
4223 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4224
e0eb0550 4225 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4226 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4227 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4228 no :src tag was specified.
4229
fb651d15 4230 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4231 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4232 Use \\` to match beginning of string instead of ^.
4233 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 4234 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 4235
177948a5
RS
4236 * net/shr.el (shr-tag-video): Display content for video if no
4237 poster is available.
eb2dd24d 4238 (shr-tag-audio): Add support for <audio> tag.
177948a5 4239
e0eb0550 4240 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
4241 (eww-process-text-input): Treat input types in
4242 `eww-text-input-types' as text.
4243
8feacce0
RS
4244 * net/shr.el (shr-tag-table): Fix comment typo.
4245
513562a1
LMI
42462013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4247
4248 * net/eww.el (eww-follow-link): New command to avoid reloading
4249 pages when we follow #target links (bug#15243).
de8a5633 4250 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 4251
9dd99753
KN
42522013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4253
4254 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4255 forms.
4256
3e9876de
LMI
42572013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4258
4259 * net/eww.el (eww-restore-history): Update the window title after
4260 moving in the history.
ab6dea82 4261 (eww-current-dom): New variable used to save the current DOM.
3e9876de 4262
52789f7f
DG
42632013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4264
4265 * vc/log-edit.el (log-edit-mode-map): Add binding for
4266 `log-edit-beginning-of-line'.
4267 (log-edit-setup-add-author): New user option.
4268 (log-edit-beginning-of-line): New command.
4269 (log-edit): Move major mode call above the contents setup so that
4270 the local variable values are already applied.
4271 (log-edit): Only insert "Author: " when
4272 `log-edit-setup-add-author' is non-nil.
4273 (log-edit): When SETUP is non-nil, position point after ": "
4274 instead of point-min.
4275
2e6710c3
GM
42762013-12-01 Glenn Morris <rgm@gnu.org>
4277
4278 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4279
fadec31f
EZ
42802013-11-30 Eli Zaretskii <eliz@gnu.org>
4281
4282 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 4283 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
4284 visible. (Bug#16014)
4285
10634b40 42862013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
4287
4288 Support resizing frames and windows pixelwise.
4289 * cus-start.el (frame-resize-pixelwise)
4290 (window-resize-pixelwise): New entries.
4291 * emacs-lisp/debug.el (debug): Use window-total-height instead
4292 of window-total-size.
4293 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
4294 * help.el (describe-bindings-internal): Use help-buffer as
4295 argument for with-help-window.
880e6158
MR
4296 (temp-buffer-max-width): New option.
4297 (resize-temp-buffer-window, help-window-setup)
4298 (with-help-window): Rewrite.
4299 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4300 dragging dividers.
4301 * window.el (frame-char-size, window-min-pixel-height)
4302 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4303 (window-min-pixel-width, window-safe-min-pixel-size)
4304 (window-combination-p, window-safe-min-size)
4305 (window-resizable-p, window--size-to-pixel)
4306 (window--pixel-to-size, window--resize-apply-p): New functions.
4307 (window-safe-min-height): Fix doc-string.
4308 (window-size, window-min-size, window--min-size-1)
4309 (window-sizable, window-sizable-p, window--min-delta-1)
4310 (window-min-delta, window--max-delta-1, window-max-delta)
4311 (window--resizable, window--resizable-p, window-resizable)
4312 (window-full-height-p, window-full-width-p, window-at-side-p)
4313 (window--in-direction-2, window-in-direction)
4314 (window--resize-reset-1, window--resize-mini-window)
4315 (window-resize, window-resize-no-error)
4316 (window--resize-child-windows-normal)
4317 (window--resize-child-windows, window--resize-siblings)
4318 (window--resize-this-window, window--resize-root-window)
4319 (window--resize-root-window-vertically)
4320 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4321 (maximize-window, minimize-window, delete-window)
4322 (quit-restore-window, window-split-min-size, split-window)
4323 (balance-windows-2, balance-windows)
4324 (balance-windows-area-adjust, balance-windows-area)
4325 (window--state-get-1, window-state-get, window--state-put-1)
4326 (window--state-put-2, window-state-put)
fb651d15
SM
4327 (display-buffer-record-window, window--display-buffer):
4328 Make functions handle pixelwise sizing of windows.
880e6158 4329 (display-buffer--action-function-custom-type)
fb651d15
SM
4330 (display-buffer-fallback-action):
4331 Add display-buffer-in-previous-window.
880e6158
MR
4332 (display-buffer-use-some-window): Resize window to height it had
4333 before.
4334 (fit-window-to-buffer-horizontally): New option.
4335 (fit-frame-to-buffer): Describe new values.
4336 (fit-frame-to-buffer-bottom-margin): Replace with
4337 fit-frame-to-buffer-margins.
4338 (window--sanitize-margin): New function.
4339 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4340 using window-text-pixel-size.
4341
f9b697dd
GM
43422013-11-30 Glenn Morris <rgm@gnu.org>
4343
3e2fb4db
GM
4344 * emacs-lisp/bytecomp.el (byte-compile-form):
4345 Make the `interactive-only' warning like the `obsolete' one.
4346 * comint.el (comint-run):
4347 * files.el (insert-file-literally, insert-file):
4348 * replace.el (replace-string, replace-regexp):
4349 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4350 (goto-line, insert-buffer, next-line, previous-line):
4351 Tweak `interactive-only' spec.
4352
f9b697dd
GM
4353 Stop keeping (most) generated cedet grammar files in the repository.
4354 * Makefile.in (semantic): New.
4355 (compile-main): Depend on semantic.
4356
da048127
SM
43572013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4358
7784b779
SM
4359 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4360 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4361
4e36a6a6
SM
4362 * uniquify.el (uniquify-buffer-name-style): Change default.
4363
4364 * loadup.el: Preload "uniquify".
4365
e0ba1308
SM
4366 * time.el (display-time-update): Update all mode lines (bug#15999).
4367
da048127
SM
4368 * electric.el (electric-indent-mode): Enable by default.
4369 * loadup.el: Preload "electric".
4370
015b3b3e
BB
43712013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4372
4373 * emacs-lisp/helpers.el (string-empty-p): New function.
4374 (string-blank-p): New function.
4375
7efb806d
AP
43762013-11-29 Andreas Politz <politza@hochschule-trier.de>
4377
4378 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4379 (Bug#14029).
4380
c8f0efc2
AP
43812013-11-29 Andreas Politz <politza@fh-trier.de>
4382 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4383 allow non-lambda lists as functions.
4384 (imenu--in-alist): Don't recurse into non-subalists.
4385 (imenu): Don't pass function itself as an argument (Bug#14029).
4386
bd15d9d1
SM
43872013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * progmodes/python.el (python-mode-map): Remove binding for ":".
4390 (python-indent-electric-colon): Remove command.
4391 (python-indent-post-self-insert-function): Integrate the previous code
4392 of python-indent-electric-colon. Make it conditional on
4393 electric-indent-mode.
4394 (python-mode): Add ?: to electric-indent-chars.
4395 Move python-indent-post-self-insert-function to the end of
4396 post-self-insert-hook.
4397
1b10adb6
SM
43982013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4399
655ab9a3
SM
4400 * doc-view.el (doc-view-goto-page): Update mode-line.
4401
1b10adb6
SM
4402 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4403
7e3bf78c
GM
44042013-11-27 Glenn Morris <rgm@gnu.org>
4405
4406 * international/charprop.el, international/uni-bidi.el:
4407 * international/uni-category.el, international/uni-combining.el:
4408 * international/uni-comment.el, international/uni-decimal.el:
4409 * international/uni-decomposition.el, international/uni-digit.el:
4410 * international/uni-lowercase.el, international/uni-mirrored.el:
4411 * international/uni-name.el, international/uni-numeric.el:
4412 * international/uni-old-name.el, international/uni-titlecase.el:
4413 * international/uni-uppercase.el:
4414 Remove generated files from VCS repository.
4415
fb6a5d68
EZ
44162013-11-27 Eli Zaretskii <eliz@gnu.org>
4417
4418 * filenotify.el (file-notify-add-watch): Don't special-case
4419 w32notify when computing the directory to watch.
4420
cb6c95a3
GM
44212013-11-27 Glenn Morris <rgm@gnu.org>
4422
20372d0c
GM
4423 Make bootstrap without generated uni-*.el files possible again.
4424 * loadup.el: Update command-line-args checking for unidata-gen.
4425 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4426 * composite.el, international/characters.el:
4427 Handle unicode tables being undefined.
4428
52d6635f 4429 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4430 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4431 (compile-main): Depend on leim rule.
4432 (leim): New rule.
4433 * loadup.el: Move leim-list.el to leim/ subdirectory.
4434 * startup.el (normal-top-level): No more leim directory.
4435 * international/ja-dic-cnv.el (skkdic-convert):
4436 Disable version-control and autoloads in output files.
4437 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4438 Disable version-control and autoloads in output files.
4439 * leim/quail: Move here from ../leim.
4440 * leim/quail/hangul.el (hangul-input-method-activate):
4441 Add autoload cookie.
4442 (generated-autoload-load-name): Set file-local value.
4443 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4444 (generated-autoload-load-name): Set file-local value.
4445
7514d3f8 44462013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4447
e0eb0550 4448 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4449 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4450 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4451
0e2c793f
EZ
44522013-11-26 Eli Zaretskii <eliz@gnu.org>
4453
4454 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4455 reading output from Diff on MS-Windows and MS-DOS.
4456
447bdcb8
BB
44572013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4458
4459 * emacs-lisp/helpers.el (string-reverse): New function.
4460
5fbf6856
MA
44612013-11-26 Michael Albinus <michael.albinus@gmx.de>
4462
4463 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4464 names on MS Windows, like "/[::1]:".
4465
4466 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4467 SWITCHES.
4468
624780f0
GM
44692013-11-26 Glenn Morris <rgm@gnu.org>
4470
0bf3f0fa
GM
4471 * progmodes/python.el (python-indent-guess-indent-offset):
4472 Avoid corner-case error. (Bug#15975)
4473
624780f0
GM
4474 Preload leim-list.el. (Bug#4789)
4475 * loadup.el: Load leim-list.el when found.
4476 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4477
4301875e 44782013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4479
4480 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4481
4301875e
BB
4482 * emacs-lisp/helpers.el (string-join): New function.
4483
1633a815 44842013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4485
4486 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4487 Mark as obsolete and replace it with a symbol property.
4488 (byte-compile-form): Use new 'interactive-only property.
4489 * comint.el, files.el, replace.el, simple.el:
4490 Apply new 'interactive-only properly.
4491
00139435
MR
44922013-11-25 Martin Rudalics <rudalics@gmx.at>
4493
4494 * window.el (display-buffer-at-bottom): Make sure that
4495 split-window-sensibly creates the new window on bottom
4496 (Bug#15961).
4497
5f5b128d
DK
44982013-11-23 David Kastrup <dak@gnu.org>
4499
4500 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4501 on the conflict markers when available.
4502 (smerge--get-marker): New function.
4503 (smerge-end-re, smerge-base-re): Add subgroup.
4504
623891e5
SM
45052013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * frame.el (handle-focus-in, handle-focus-out): Add missing
4508 interactive spec.
4509
05ca27d8
MA
45102013-11-25 Michael Albinus <michael.albinus@gmx.de>
4511
4512 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4513 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4514
511fa0d3
SM
45152013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4516
e82ad66c
SM
4517 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4518 (gomoku--last-pos): New var.
4519 (gomoku--intangible-chars): New const.
4520 (gomoku--intangible): New function.
4521 (gomoku-mode): Use it. Derive from special-mode.
4522 (gomoku-move-up): Adjust line count.
4523 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4524 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4525 Simplify accordingly.
4526
511fa0d3
SM
4527 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4528 Remove blink-cursor code.
4529 (blink-cursor-timer-function, blink-cursor-suspend):
4530 Don't special-case GUIs.
4531 (blink-cursor-mode): Use focus-in/out-hook.
4532
6f20dd03
DG
45332013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4534
4535 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4536 work when annotation is invisible (Bug#13886).
4537
431dec31 45382013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4539
4540 * json.el (json-alist-p): Only return non-nil if the alist has
4541 simple keys (Bug#13518).
4542
431dec31 45432013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4544
4545 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4546 when control-statement is the first statement in a buffer (Bug#15956).
4547
ee4f0261
DG
45482013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4549
4550 * imenu.el (imenu-generic-skip-comments-and-strings):
4551 New option (Bug#15560).
4552 (imenu--generic-function): Use it.
4553
c484f866
JS
45542013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4555
e9dc713d
JB
4556 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4557 (Bug#13898)
c484f866 4558
41ce6f70
BB
45592013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4560
b55aea38
BB
4561 * emacs-lisp/helpers.el: Add some string helpers.
4562 (string-trim-left): Removes leading whitespace.
4563 (string-trim-right): Removes trailing whitespace.
4564 (string-trim): Removes leading and trailing whitespace.
4565
41ce6f70
BB
4566 * subr.el (string-suffix-p): New function.
4567
3cfb6af3
GM
45682013-11-23 Glenn Morris <rgm@gnu.org>
4569
4570 * progmodes/python.el (python-shell-send-file):
4571 Add option to delete file when done. (Bug#15647)
4572 (python-shell-send-string, python-shell-send-region): Use it.
4573
c27924b7
IS
45742013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4575
e1b01c7f
IS
4576 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4577 to set buffer-read-only to t, never to nil. (Bug#15938)
4578
c27924b7
IS
4579 * textmodes/tex-mode.el (latex-noindent-environments):
4580 Add safe-local-variable property. (Bug#15936)
4581
17e0445b
GM
45822013-11-23 Glenn Morris <rgm@gnu.org>
4583
92f78ea3
GM
4584 * textmodes/enriched.el (enriched-mode): Doc fix.
4585 * emacs-lisp/authors.el (authors-renamed-files-alist):
4586 Add enriched.doc -> enriched.txt.
4587
17e0445b
GM
4588 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4589
965bb23a
LL
45902013-11-22 Leo Liu <sdl.web@gmail.com>
4591
4592 * progmodes/octave.el (inferior-octave-startup): Spit out error
4593 message.
4594
d19ffd64
BB
45952013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4596
4597 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4598 Improve docstring.
15ba2182
BB
4599 Add :version.
4600 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4601
7a7567d2
LL
46022013-11-22 Leo Liu <sdl.web@gmail.com>
4603
4604 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4605 (Bug#15076)
8c09f64b
LL
4606 (octave-help-mode): Adapt to change to help-mode-finish to use
4607 derived-mode-p on 2013-09-17.
4608 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4609 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4610
724bc265
LL
46112013-11-22 Leo Liu <sdl.web@gmail.com>
4612
4613 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4614 (inferior-octave-startup, inferior-octave-check-process)
4615 (inferior-octave-track-window-width-change)
4616 (octave-completion-at-point, octave-eldoc-function): Use it.
4617 (octave-kill-process): Provide confirmation. (Bug#10564)
4618
38637cca
LL
46192013-11-21 Leo Liu <sdl.web@gmail.com>
4620
511fa0d3
SM
4621 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4622 Fix obsolete variable comment-use-global-state.
38637cca 4623
06e752b4
RS
46242013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4625
511fa0d3
SM
4626 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4627 Add `octave-source-file'.
06e752b4
RS
4628 (octave-source-file): New function. (Bug#15935)
4629
7514d3f8 46302013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4631
4632 * net/eww.el (eww-local-regex): New variable.
4633 (eww): Use it to detect localhost and similar.
4634
b6ffa04a
LL
46352013-11-21 Leo Liu <sdl.web@gmail.com>
4636
4637 Add completion for command `ag'.
2021a200
LL
4638 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4639 (pcomplete/ag): New function.
e9dc713d 4640 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4641
d1a6bccc
SM
46422013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4643
4644 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4645 (bug#14646).
4646 (make-obsolete): Remove interactive spec.
4647
2df10228
GM
46482013-11-21 Glenn Morris <rgm@gnu.org>
4649
4650 * startup.el (command-line-1): Use path-separator with -L.
4651
86fd16b6
TZ
46522013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4653
4654 * emacs-lisp/package.el (describe-package-1): Add package archive
4655 to shown fields.
4656
0449d6cd 46572013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4658
4659 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4660 Change default to "# encoding: %s" to differentiate it from the
4661 default Ruby encoding comment template.
4662
dc7e8c17 46632013-11-20 era eriksson <era+emacsbugs@iki.fi>
4664
4665 * ses.el (ses-mode): Doc fix. (Bug#14748)
4666
f0cfa5fe
LL
46672013-11-20 Leo Liu <sdl.web@gmail.com>
4668
4669 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4670
826dc7b6
DN
46712013-11-19 Dan Nicolaescu <dann@gnu.org>
4672
4673 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4674 when rebase or bisect are in progress.
4675
a6e3a5d5
XF
46762013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4677
4678 * filenotify.el (file-notify-add-watch): Doc fix.
4679
f130cb76
LL
46802013-11-19 Leo Liu <sdl.web@gmail.com>
4681
e0855d7d
LL
4682 * obsolete/rcompile.el: Mark obsolete.
4683
f130cb76 4684 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4685 (compilation-goto-locus, compilation-find-file):
4686 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4687 (Bug#13594)
4688
4689 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4690 new parameter no-display-ok. Return either a window or nil
4691 but never a non-window value.
f130cb76 4692
1f35d401
SM
46932013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4694
25158c76
SM
4695 * electric.el (electric-indent-mode-map): Remove.
4696 (electric-indent-mode): Change the global-map instead (bug#15915).
4697
4698 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4699 Use add-function.
1f35d401 4700
9bc67baa
SM
47012013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4702
986545b5
SM
4703 * emacs-lisp/nadvice.el (remove-function): Align with
4704 add-function's behavior.
4705
9bc67baa
SM
4706 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4707 (gdb--string-regexp): New constant.
4708 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4709 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4710 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4711 submatch 1.
4712 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4713 Adjust use accordingly.
4714 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4715
56cd894e
AS
47162013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4717
4718 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4719 interpolation curlies (Bug#15914).
4720
014690de
JB
47212013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4722
4723 * calc/calc.el (calc-context-sensitive-enter): New variable.
4724 (calc-enter): Use `calc-context-sensitive-enter'.
4725
7e26a6c3
TZ
47262013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4727
4728 * progmodes/cfengine.el: Version bump.
4729 (cfengine-cf-promises): New defcustom to locate cf-promises.
4730 (cfengine3-vartypes): Add new "data" type.
4731 (cfengine3--current-word): New function to get current name-like
4732 word or its bounds.
4733 (cfengine3--current-function): New function to look up a CFEngine
4734 function's definition.
4735 (cfengine3-format-function-docstring): New function.
4736 (cfengine3-make-syntax-cache): New function.
4737 (cfengine3-documentation-function): New function: ElDoc glue.
4738 (cfengine3-completion-function): New function: completion glue.
4739 (cfengine3-mode): Set `compile-command',
4740 `eldoc-documentation-function', and add to
4741 `completion-at-point-functions'.
4742
355204dd
MA
47432013-11-16 Michael Albinus <michael.albinus@gmx.de>
4744
4745 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4746 `tramp-current-connection'.
4747
43cebc23
DG
47482013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4749
4750 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4751 nil/self/true/false with "end of symbol".
4752
a3fed6ff
BB
47532013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4754
4755 * subr.el (version-regexp-alist): Fix a typo.
4756
e675b3e4
MA
47572013-11-15 Michael Albinus <michael.albinus@gmx.de>
4758
4759 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4760 "en_US.utf8" and "LC_CTYPE" to "".
4761 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4762 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4763
a1f03e89
LL
47642013-11-15 Leo Liu <sdl.web@gmail.com>
4765
4766 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4767
5d9d9451
SM
47682013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4769
58362662
CS
4770 * progmodes/gud.el (ctl-x-map):
4771 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4772 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4773
6c1bf086
BB
47742013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4775
0d5363c4
BB
4776 * subr.el (version-regexp-alist):
4777 Recognize hg, svn and darcs versions as snapshot versions.
4778
4e9fc48c
BB
4779 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4780 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4781 (ruby--encoding-comment-required-p): Extract from
4782 `ruby-mode-set-encoding'.
4783 (ruby-mode-set-encoding): Add the ability to always insert an
4784 utf-8 encoding comment. Fix and simplify coding comment update
4785 logic.
6c1bf086 4786
2f7e72f8
MA
47872013-11-14 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp-gvfs.el (top): Run init code only when
4790 `tramp-gvfs-enabled' is not nil.
4791 (tramp-gvfs-enabled): Check also :system bus.
4792
0f137a73
SM
47932013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 Sync with upstream verilog-mode revision 78e66ba.
4796 * progmodes/verilog-mode.el (verilog-end-of-defun)
4797 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4798 (verilog-get-end-of-defun): Remove unused argument.
4799 (verilog-comment-depth): Remove unused local `e'.
4800 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4801 Don't pass arg to verilog-get-end-of-defun.
4802
1c276bdd
GM
48032013-11-14 Glenn Morris <rgm@gnu.org>
4804
4805 * obsolete/assoc.el (aget): Prefix dynamic variable.
4806
4807 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4808
ff6ec81d
SM
48092013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * widget.el, hfy-cmap.el: Remove bogus package version number.
4812
75f777b6
GM
48132013-11-13 Glenn Morris <rgm@gnu.org>
4814
1d43dba1
GM
4815 * replace.el (replace-eval-replacement):
4816 Try to give more helpful error message. (Bug#15836)
4817
ff4b7bd5
GM
4818 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4819 (archive-7z-update): Avoid custom type mismatches.
4820
75f777b6
GM
4821 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4822
11151a06
MA
48232013-11-13 Michael Albinus <michael.albinus@gmx.de>
4824
e675b3e4 4825 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4826 address can be empty.
4827
4828 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4829 Accept nil SWITCHES.
4830 (tramp-gvfs-handle-write-region): Implement APPEND.
4831
7b08f97e
DG
48322013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4833
4834 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4835 binary "|" operator and closing block args delimiter.
4836 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4837 (ruby-smie--implicit-semi-p): Not after "|" operator.
4838 (ruby-smie--closing-pipe-p): New function.
4839 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4840 (ruby-smie-rules): Indent after "|".
4841
f201cf3a
GM
48422013-11-12 Glenn Morris <rgm@gnu.org>
4843
4844 * ps-print.el (ps-face-attribute-list):
4845 Handle anonymous faces. (Bug#15827)
4846
e6f759f9
MR
48472013-11-12 Martin Rudalics <rudalics@gmx.at>
4848
4849 * window.el (display-buffer-other-frame): Fix doc-string.
4850 (Bug#15868)
4851
ecda65d4
SM
48522013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4855
7ce8fcc3
MA
48562013-11-11 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4859 (tramp-sh-handle-file-local-copy): Don't write a message when
4860 saving temporary files.
4861
4862 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4863 both directories are remote.
4864 (tramp-smb-handle-directory-files): Do not return double entries.
4865 Do not expand full file names.
4866 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4867 (tramp-smb-handle-write-region): Implement APPEND.
4868 (tramp-smb-get-stat-capability): Fix a stupid bug.
4869
7818df11
SM
48702013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4871
4872 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4873
608c2085
NT
48742013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4875
4876 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4877 throwing error over malformed let/let* (bug#15814).
4878
122a7e46
SM
48792013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 * iswitchb.el (iswitchb-mode): Mark obsolete.
4882
766284d9
GM
48832013-11-11 Glenn Morris <rgm@gnu.org>
4884
4885 * international/uni-bidi.el, international/uni-category.el:
4886 * international/uni-name.el, international/uni-numeric.el:
4887 Regenerate for Unicode 6.3.0.
4888
7072a4e9
MA
48892013-11-10 Michael Albinus <michael.albinus@gmx.de>
4890
4891 * net/tramp.el (tramp-methods):
4892 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4893 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4894
c9df215b
AS
48952013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4896
608c2085
NT
4897 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4898 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4899
fa47d796
DG
49002013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4901
4902 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4903 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4904 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4905 (ispell-complete-word): Call `ispell-lookup-words' with the value
4906 independent of `ispell-look-p'.
4907
1629a329
DG
49082013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4909
4910 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4911 Not after "||".
4912 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4913 their parent.
4914
ad16897c
SM
49152013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4918 (ruby-font-lock-keywords): Use backquote.
4919
ffa2df72
DG
49202013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4921
4922 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4923 (ruby-smie--backward-token): Only consider full-string matches.
4924
5b97b4c0
JD
49252013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4926
4927 * faces.el (describe-face): Add distant-foreground.
4928
71731c03
BB
49292013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4930
4e9fc48c
BB
4931 * progmodes/ruby-mode.el: Improve encoding comment handling.
4932 (ruby-encoding-magic-comment-style): New option.
4933 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
4934 (ruby--insert-coding-comment, ruby--detect-encoding):
4935 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
4936 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4937 to control the style of the auto-inserted encoding comment.
71731c03 4938
da3b328d
DG
49392013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4940
ad16897c
SM
4941 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4942 Use `smie-backward-sexp' with token argument.
da3b328d 4943
1606c2d3
MA
49442013-11-08 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4947 Remove instrumentation code.
4948
b0f4c320
GM
49492013-11-08 Glenn Morris <rgm@gnu.org>
4950
4951 * progmodes/autoconf.el (autoconf-mode):
4952 Tweak comment-start-skip. (Bug#15822)
4953
43668fb1
SM
49542013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4957 at bobp (bug#15826).
4958 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4959
daddb3fd
DH
49602013-11-08 Darren Hoo <darren.hoo@gmail.com>
4961
4962 * man.el (Man-start-calling): New macro, extracted from
4963 Man-getpage-in-background.
4964 (Man-getpage-in-background): Use it.
4965 (Man-update-manpage): New command.
4966 (Man-mode-map): Bind it.
4967
1f923923
DG
49682013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4969
4970 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4971 of "and", "or", "&&" and "||".
4972 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4973 argument. Prohibit opening curly brace because it could only be a
4974 block opener in that position.
daddb3fd
DH
4975 (ruby-smie--forward-token, ruby-smie--backward-token):
4976 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
4977 arguments.
4978 (ruby-smie--indent-to-stmt): New function, seeks the end of
4979 previous statement or beginning of buffer.
4980 (ruby-smie-rules): Use it.
4981 (ruby-smie-rules): Check if there's a ":" before a curly block
4982 opener candidate; if there is, it's a hash.
4983
3220d527
SM
49842013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4987 (cl--block-wrapper): Fix last accidental change.
4988
1eb1f9e0
MA
49892013-11-07 Michael Albinus <michael.albinus@gmx.de>
4990
4991 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4992 Instrument, in order to hunt failure on hydra.
4993
e6e4db3c
NT
49942013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4995
4996 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4997 malformed bindings form (bug#15814).
4998
b420ccfc
DG
49992013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5000
5001 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
5002 "." compared to " @ ". This incidentally fixes some indentation
5003 examples with "do".
e6e4db3c 5004 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
5005 (ruby-smie-grammar): New tokens: "and" and "or".
5006 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5007 Exclude "and" and "or". Remove "do" in order to work around token
5008 priorities.
5009 (ruby-smie-rules): Add all infix tokens. Handle the case of
5010 beginning-of-buffer.
b420ccfc 5011
6b4ac03e
GM
50122013-11-06 Glenn Morris <rgm@gnu.org>
5013
5014 * Makefile.in (setwins_almost, setwins_for_subdirs):
5015 Avoid accidental matches.
5016
5ca114d1
SM
50172013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * menu-bar.el (popup-menu): Use key-binding.
5020
f72552bd
EZ
50212013-11-06 Eli Zaretskii <eliz@gnu.org>
5022
5023 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5024 menus, support also the menus produced by minor modes.
5025 (Bug#15817)
5026
5d5c701e
LL
50272013-11-06 Leo Liu <sdl.web@gmail.com>
5028
5029 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 5030 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 5031
0a8b75e2
GM
50322013-11-06 Glenn Morris <rgm@gnu.org>
5033
5034 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
5035 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5036 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 5037
a35287ea
SM
50382013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5039
feca4e2d
SM
5040 * electric.el (electric-indent-just-newline): New command.
5041 (electric-indent-mode-map): New keymap.
5042 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5043 Re-add :group which weren't redundant.
5044
a35287ea
SM
5045 * electric.el (electric-indent-local-mode): New minor mode.
5046 (electric-indent-functions-without-reindent): New var.
5047 (electric-indent-post-self-insert-function): Use it.
5048 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5049
375761b2
EZ
50502013-11-05 Eli Zaretskii <eliz@gnu.org>
5051
9a6ad735
EZ
5052 * international/quail.el (quail-help): Be more explicit about the
5053 meaning of the labels shown on the keys. (Bug#15800)
5054
375761b2
EZ
5055 * startup.el (normal-top-level): Load the subdirs.el files before
5056 setting the locale environment. (Bug#15805)
5057
520a6e4a
SM
50582013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5059
0acfafef
SM
5060 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5061 via arguments so as to get the right ones (bug#15418).
5062
520a6e4a
SM
5063 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5064
15826261
MA
50652013-11-05 Michael Albinus <michael.albinus@gmx.de>
5066
5067 Fix problems found while writing a test suite.
5068
5069 * net/tramp-compat.el (tramp-compat-load): New defun.
5070 * net/tramp.el (tramp-handle-load): Use it.
5071
5072 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5073 "(numberp ok-if-already-exists)" correctly.
5074
d35f31a4
XF
50752013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5076
5077 * international/characters.el (glyphless-char-display-control):
5078 Add usage note.
5079
ae93bc74
BB
50802013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5081
520a6e4a
SM
5082 * progmodes/python.el (python-mode):
5083 * progmodes/scheme.el (scheme-mode):
5084 * progmodes/prolog.el (prolog-mode):
5085 * progmodes/ruby-mode.el (ruby-mode):
5086 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5087 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 5088
0ade65b5
SM
50892013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5090
a0d5f7a4
SM
5091 * rect.el (rectangle--highlight-for-redisplay):
5092 * emacs-lisp/smie.el (smie--next-indent-change):
5093 Use buffer-chars-modified-tick.
5094
c93f3f5c
SM
5095 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5096
0ade65b5
SM
5097 * electric.el (electric-indent-post-self-insert-function):
5098 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5099
ef9dd188
HE
51002013-11-04 Helmut Eller <eller.helmut@gmail.com>
5101
5102 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5103
306e7308
NT
51042013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5105
5106 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5107 (bug#15786).
5108
e5afbcac
SM
51092013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5110
1d01ad41
SM
5111 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5112
e5afbcac
SM
5113 * progmodes/python.el: Fix up last change.
5114 (python-shell--save-temp-file): New function.
5115 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5116 `string' comes from the current buffer.
5117 (python-shell-send-string-no-output): Remove `msg' arg.
5118 (python--use-fake-loc): New var.
5119 (python-shell-buffer-substring): Obey it. Try to compensate for the
5120 extra coding line added by python-shell--save-temp-file.
5121 (python-shell-send-region): Use python-shell--save-temp-file and
5122 python-shell-send-file directly. Add `nomain' argument.
5123 (python-shell-send-buffer): Use python-shell-send-region.
5124 (python-electric-pair-string-delimiter): New function.
5125 (python-mode): Use it.
5126
d0065ff1
EZ
51272013-11-04 Eli Zaretskii <eliz@gnu.org>
5128
5129 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5130 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5131 environment and decoding all of the default-directory's to here
5132 from command-line.
5133 (command-line): Decode also argv[0].
5134
5135 * loadup.el: Error out if default-directory is a multibyte string
5136 when we are dumping.
5137
5138 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5139
7397c587
TZ
51402013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5141
5142 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
5143 (package-menu--print-info, package-menu--archive-predicate):
5144 Add Archive column to package list.
7397c587 5145
b27cc9fc
MA
51462013-11-04 Michael Albinus <michael.albinus@gmx.de>
5147
5148 Fix problems found while writing a test suite.
5149
5150 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5151 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5152 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5153 to nil when running original file name handler. Otherwise,
5154 there are problems with constructs like "$$FOO".
5155
5156 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5157 for `localname'.
5158
d8c4f18a
BB
51592013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5160
7b530552
BB
5161 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5162
5163 * subr.el (version<, version<=, version=):
5164 Update docstrings with information for snapshot versions.
5165
d8c4f18a
BB
5166 * helpers.el: New library for misc helper functions.
5167 (hash-table-keys): New function returning a list of hash keys.
5168 (hash-table-values): New function returning a list of hash values.
5169
dca01b09
DG
51702013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5171
5172 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5173 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5174
0a749fa0
MN
51752013-11-04 Michal Nazarewicz <mina86@mina86.com>
5176
5177 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5178 checking whether point is after a 1-letter word.
5179
51802013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
5181
5182 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5183 Don't infloop when expanding region over `multiline' syntax-type that
5184 begins a line (bug#15778).
5185
4aca7145
SM
51862013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5189 Make it into a proper minor mode.
5190 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5191 (rectangle-mark-mode-map): New keymap.
5192 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5193
a0833f62
GM
51942013-11-04 Glenn Morris <rgm@gnu.org>
5195
5196 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5197
e61845c1
SM
51982013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5201 (ruby-smie-rules): Use smie-rule-parent instead.
5202
5203 * emacs-lisp/smie.el (smie-rule-parent): Always call
5204 smie-indent-virtual rather than only for hanging tokens.
5205 (smie--next-indent-change): New helper command.
5206
62942f89
GM
52072013-11-03 Glenn Morris <rgm@gnu.org>
5208
5209 * Makefile.in (abs_srcdir): Remove.
5210 (emacs): Unset EMACSLOADPATH.
5211
b0b9e592
GM
52122013-11-02 Glenn Morris <rgm@gnu.org>
5213
18ba6a33 5214 * Makefile.in (EMACS): Use a relative filename.
8061810d 5215 (abs_top_builddir): Remove.
18ba6a33
GM
5216 (custom-deps, finder-data, autoloads): Use --chdir.
5217
6a8b929e
GM
5218 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5219
c617f3d0
GM
5220 Use relative filenames in TAGS files.
5221 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5222 (lisptagsfiles4, TAGS): Use relative file names.
5223 (TAGS-LISP): Remove.
5224 (maintainer-clean): No more TAGS-LISP file.
5225
b0b9e592
GM
5226 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5227 (lisptagsfiles4): Use absolute filenames again.
5228 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5229 Remove all *loaddefs files, not just the first. Remove esh-groups.
5230 (maintainer-clean): Delete TAGS, TAGS-LISP.
5231
d1c0ea6a
BB
52322013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5233
e61845c1
SM
5234 * emacs-lisp/package.el (package-version-join):
5235 Recognize snapshot versions.
d1c0ea6a 5236
684d71c6
BB
52372013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5238
5239 * subr.el (version-regexp-alist): Add support for snapshot versions.
5240
3d42b968
DG
52412013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5242
e61845c1
SM
5243 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5244 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
5245 skip over our direct parent if it's an assignment token..
5246 (ruby-smie-rules): Use it.
5247
7ffd3721
DG
52482013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5249
8449dd1f 5250 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
5251 unconditionally. Remove now unnecessary forward declarations.
5252 Remove XEmacs-specific setup.
5253 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5254 (ruby-font-lock-syntactic-keywords)
5255 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5256 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5257 (ruby-here-doc-end-syntax): Remove.
5258 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5259 defined as function.
5260
a3996a2e
BB
52612013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5262
5263 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5264
6f9260e8
BB
52652013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5266
5267 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5268 table and abbrev table, `define-derived-mode' does that for us
5269 anyway.
5270
6014de84
GM
52712013-11-01 Glenn Morris <rgm@gnu.org>
5272
5273 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5274 files is atomic for some time, so no parallel compilation issues).
5275
3c334c14
JD
52762013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5277
5278 * faces.el (face-x-resources): Add :distant-foreground.
5279 (region): Use :distant-foreground for gtk and ns.
5280
9bc236c8
TH
52812013-11-01 Tassilo Horn <tsdh@gnu.org>
5282
5246583b 5283 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
5284 BibTeX.
5285 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5286 (reftex-locate-bibliography-files): Us it.
5287
d14c81ee
CB
52882013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5289
0e7690de
CB
5290 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5291 allow comments in pbm files.
5292
d14c81ee
CB
5293 * term/w32-win.el (dynamic-library-alist): Support newer versions
5294 of libjpeg starting with v7: look only for the DLL from the
5295 version against which Emacs was built.
ac1bf374 5296 Support versions of libpng beyond 1.4.x.
019c8218 5297 Support libtiff v4.x.
d14c81ee 5298
983d0df5
BB
52992013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5300
5301 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5302 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5303 Add property :safe.
5304 (ruby-deep-arglist): Add property :type.
5305
47f58d85
GM
53062013-10-31 Glenn Morris <rgm@gnu.org>
5307
5308 * Makefile.in (custom-deps, finder-data): No need to setq the target
5309 variables, we are in the right directory and the defaults work fine.
5310
4f85b479
GM
53112013-10-30 Glenn Morris <rgm@gnu.org>
5312
ca7dd4cd
GM
5313 * Makefile.in (autoloads): Do not use abs_lisp.
5314
4f85b479
GM
5315 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5316 `newline' does not respect `standard-output', so use `princ'.
5317
cf59e41c
AA
53182013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5319
5320 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5321 * buff-menu.el (Buffer-menu--unmark): New function.
5322 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5323
74cf04fb
GM
53242013-10-30 Glenn Morris <rgm@gnu.org>
5325
b040b60e
GM
5326 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5327
f53d3815
GM
5328 * emacs-lisp/package.el (lm-homepage): Declare.
5329
5413d873
GM
5330 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5331 Fix doc typos.
5332
cecedb36
GM
5333 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5334
74cf04fb
GM
5335 * Makefile.in (finder-data, autoloads, update-subdirs)
5336 (compile-main, compile-clean, compile-always, bootstrap-clean):
5337 Check return value of cd.
5338 (compile-calc): Remove.
5339
195ee2f0
SM
53402013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5341
ae4002ce
SM
5342 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5343
5344 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5345 (byte-compile-and-folded): New function.
5346 (=, <, >, <=, >=): Use it.
5347
5348 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5349 (path-separator, null-device, buffer-file-coding-system)
5350 (lpr-headers-switches): Check system-type before modifying them.
5351 (find-buffer-file-type-coding-system): Mark obsolete.
5352 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5353 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5354 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5355 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5356 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5357 (w32-direct-print-region-helper, w32-direct-print-region-function)
5358 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5359 * startup.el (normal-top-level-add-subdirs-to-load-path):
5360 * ps-print.el (ps-print-region-function):
5361 * lpr.el (print-region-function): Use new name.
5362
53b39e89
SM
5363 * subr.el (custom-declare-variable-early): Remove function.
5364 (custom-declare-variable-list): Remove var.
5365 (error, user-error): Remove `while' loop.
5366 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5367 (user-emacs-directory-warning, locate-user-emacs-file):
5368 Move to files.el.
5369 * simple.el (read-quoted-char-radix, read-quoted-char):
5370 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5371 Move from subr.el.
5372 * custom.el (custom-declare-variable-list): Don't process
5373 custom-declare-variable-list.
5374
195ee2f0
SM
5375 * progmodes/python.el (python-shell-get-buffer): New function.
5376 (python-shell-get-process): Use it.
5377 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5378 Python which encoding was used. Don't split-string since we only care
5379 about the first line. Return the temp-file, if applicable.
5380 (python-shell-send-region): Tell compile.el how to turn locations in
5381 the temp-file into locations in the source buffer.
5382
7e3561ee
SM
53832013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5384
4c9797cb
SM
5385 * subr.el (undefined): Add missing behavior from the C code for
5386 unbound keys.
5387
3472b6c6
SM
5388 * rect.el: Use lexical-binding. Add new rectangular region support.
5389 (rectangle-mark): New command.
5390 (rectangle--region): New var.
5391 (deactivate-mark-hook): Reset rectangle--region.
5392 (rectangle--extract-region, rectangle--insert-for-yank)
5393 (rectangle--highlight-for-redisplay)
5394 (rectangle--unhighlight-for-redisplay): New functions.
5395 (region-extract-function, redisplay-unhighlight-region-function)
5396 (redisplay-highlight-region-function): Use them to handle
5397 rectangular region.
5398 * simple.el (region-extract-function): New var.
5399 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5400 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5401 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5402 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5403 (redisplay-unhighlight-region-function)
5404 (redisplay-highlight-region-function): New vars.
5405 (redisplay--update-region-highlight): New function.
5406 (pre-redisplay-function): Use it.
5407 (exchange-point-and-mark): Don't deactivate the mark before
5408 reactivate-it anyway.
5409 * comint.el (comint-kill-region): Remove yank-handler argument.
5410 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5411 (delete-char): Remove property, since it's now part of their
5412 default behavior.
5413 (self-insert-iso): Remove property since this command doesn't exist.
5414
7e3561ee
SM
5415 * emacs-lisp/package.el (package--download-one-archive)
5416 (describe-package-1): Don't query the user about final newline.
5417
b9bef71f
DC
54182013-10-29 Daniel Colascione <dancol@dancol.org>
5419
5420 * net/tramp.el (tramp-methods): Document new functionality.
5421 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5422 tramp-hostname-checker if method provides one instead of scanning
5423 argument list for "%h" to decide hostname acceptability.
5424
4efc33f0
MA
54252013-10-28 Michael Albinus <michael.albinus@gmx.de>
5426
5427 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5428 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5429 Handle COPY-CONTENTS. (Bug#15737)
5430
ed42a877
DU
54312013-10-28 Daiki Ueno <ueno@gnu.org>
5432
5433 * epa-file.el
7e3561ee
SM
5434 (epa-file-cache-passphrase-for-symmetric-encryption):
5435 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5436
18c9f8a2
XF
54372013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5438
35e951cd 5439 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5440
b1e8e010
AM
54412013-10-27 Alan Mackenzie <acm@muc.de>
5442
5443 Indent statements in macros following "##" correctly.
7e3561ee
SM
5444 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5445 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5446
73d40d1e 54472013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5448
5449 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5450
c8c605ac
DG
54512013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5452
5453 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5454 after `=' is probably a new expression.
5455
ca7e59d4
RS
54562013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5457
5458 * man.el (man-imenu-title): New option.
5459 (Man-mode-map): Add menu. (Bug#15722)
5460 (Man-mode): Add imenu to menu.
5461
bae91342
DG
54622013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5463
5464 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5465 specific in what the first arg can be: a non-keyword word,
5466 string/regexp/percent literal opener, opening paren, or unary
5467 operator followed directly by word.
5468
eb89dc14
SM
54692013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5472 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5473 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5474 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5475 Remove vars, they do not apply any more.
5476 (prolog-mode-abbrev-table): Remove redundant declaration.
5477 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5478 (prolog-use-smie): Remove.
5479 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5480 supported by prolog-electric-if-then-else-flag.
5481 (prolog-mode-variables, prolog-menu): Use setq-local.
5482 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5483 Remove binding to `Backspace' since this key doesn't exist anyway.
5484 Remove bindings for electric self-inserting keys.
5485 (prog-mode): Assume it's defined.
5486 (prolog-post-self-insert): New function.
5487 (prolog-mode): Use it.
5488 (prolog-indent-line, prolog-indent-level)
5489 (prolog-find-indent-of-matching-paren)
5490 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5491 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5492 (prolog-goto-next-paren, prolog-in-string-or-comment)
5493 (prolog-tokenize, prolog-inside-mline-comment)
5494 (prolog-find-start-of-mline-comment): Remove functions.
5495 (prolog-find-unmatched-paren, prolog-clause-end)
5496 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5497 (prolog-electric--if-then-else): Rename from
5498 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5499 (prolog-tokenize-searchkey): Remove const.
5500 (prolog-clause-info): Use forward-sexp.
5501 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5502 (prolog-electric-if-then-else): Remove commands.
5503 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5504 for use in post-self-insert-hook.
5505 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5506 for use in post-self-insert-hook.
5507 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5508 for use in post-self-insert-hook.
5509 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5510 adapt it for use in post-self-insert-hook.
5511
3dab0a83
MA
55122013-10-25 Michael Albinus <michael.albinus@gmx.de>
5513
5514 * emacs-lisp/ert.el (ert-run-tests-interactively):
5515 Use `completing-read'. (Bug#9756)
5516
fbfd0e1d
EZ
55172013-10-25 Eli Zaretskii <eliz@gnu.org>
5518
5519 * simple.el (line-move): Call line-move-1 instead of
5520 line-move-visual when the current window hscroll is zero, but
5521 temporary-goal-column indicates we will need to hscroll as result
5522 of the movement. (Bug#15712)
5523
963ce636
DG
55242013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5525
5526 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5527 capitalization. Use :visible instead of :active.
5528 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5529 commands that are used with SMIE.
5530 (ruby-do-end-to-brace): Insert space after `{'.
5531
a0be396a
JA
55322013-10-25 John Anthony <john@jo.hnanthony.com>
5533
f73754c9
JA
5534 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5535
5536 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5537
f5bf77df
GM
55382013-10-25 Glenn Morris <rgm@gnu.org>
5539
5540 * vc/vc.el (vc-print-log): Don't use a working revision unless
5541 one was explicitly specified. (Bug#15322)
5542
37241f62
SM
55432013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * subr.el (add-to-list): Preserve return value in compiler-macro
5546 (bug#15692).
5547
6408a65d
RS
55482013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5549
5550 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5551 result. Ask user to retry using '-all' flag. (Bug#15701)
5552
71e3276b
SM
55532013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * emacs-lisp/smie.el: New smie-config system.
5556 (smie-config): New defcustom.
5557 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5558 (smie-config-guess, smie-config-save): New commands.
5559 (smie-config--mode-local, smie-config--buffer-local)
5560 (smie-config--trace, smie-config--modefuns): New vars.
5561 (smie-config--advice, smie-config--mode-hook)
5562 (smie-config--setter, smie-config-local, smie-config--get-trace)
5563 (smie-config--guess-value, smie-config--guess): New functions.
5564 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5565 text properties. Treat "string fence" syntax like string syntax.
5566
5567 * progmodes/sh-script.el (sh-use-smie): Change default.
5568 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5569 (sh-var-value): Simplify by CSE.
5570 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5571 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5572 is used.
5573 (sh-guess-basic-offset): Use cl-incf.
5574 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5575
60db713e
HE
55762013-10-24 Helmut Eller <eller.helmut@gmail.com>
5577
5578 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5579 (bug#15699).
5580
8b251df6
GM
55812013-10-24 Glenn Morris <rgm@gnu.org>
5582
5583 * Makefile.in (abs_top_srcdir): Remove.
5584 (update-subdirs): Use relative path to update-subdirs.
5585
6be0e22b
EZ
55862013-10-24 Eli Zaretskii <eliz@gnu.org>
5587
5588 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5589 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5590 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5591 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5592
50b5b857
MA
55932013-10-24 Michael Albinus <michael.albinus@gmx.de>
5594
5595 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5596 (ert-test-skipped): New error.
5597 (ert-skip, ert-stats-skipped): New defuns.
5598 (ert--skip-unless): New macro.
5599 (ert-test-skipped): New struct.
5600 (ert--run-test-debugger, ert-test-result-type-p)
5601 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5602 (ert--stats-set-test-and-result, ert-char-for-test-result)
5603 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5604 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5605 Handle skipped tests. (Bug#9803)
50b5b857 5606
6f317c2f
GM
56072013-10-24 Glenn Morris <rgm@gnu.org>
5608
e43817c1
GM
5609 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5610
6f317c2f
GM
5611 * Makefile.in (abs_top_srcdir): New, set by configure.
5612 (update-subdirs): Correct build-aux location.
5613
369bbf71
DG
56142013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5615
8297b2cf
DG
5616 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5617 value, whether we could auto-deduce `backend', or not.
5618
369bbf71
DG
5619 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5620 with parameters" example. Simplify the "is it block or is it
5621 hash" check, but also make it more thorough.
5622
d5f1282f
MF
56232013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5624
5625 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5626
bc4aaa31
SM
56272013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5628
03d44565
SM
5629 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5630 { if it is hanging.
5631
bc4aaa31
SM
5632 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5633 :before ";".
5634
f493ff19
JB
56352013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5636
5637 * progmodes/compile.el (compilation-directory-matcher)
5638 (compilation-page-delimiter):
5639 Support GNU Make-4.0 directory quoting. (Bug#15678)
5640
c744a3b9
LL
56412013-10-23 Leo Liu <sdl.web@gmail.com>
5642
5643 * ido.el (ido-tidy): Handle read-only text.
5644
b8e3b0a9
GM
56452013-10-23 Glenn Morris <rgm@gnu.org>
5646
5647 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5648 (emacs, compile, compile-always):
5649 Quote entities that might contain whitespace.
5650 (custom-deps, finder-data, autoloads): Use abs_lisp.
5651 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5652 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5653 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5654
ee4282cd
DG
56552013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5656
bc4aaa31
SM
5657 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5658 Use `following-char'.
7790a270 5659
ee4282cd 56602013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5661
5662 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5663 * progmodes/ruby-mode.el (ruby-smie-rules):
5664 Remove corresponding workaround. Fix indentation rule of ";" so it
5665 also applies when ";" is the parent.
5666
d40a46d7
XF
56672013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5668
5669 * frame.el (display-screens, display-pixel-height)
5670 (display-pixel-width, display-mm-width, display-backing-store)
5671 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5672 (display-visual-class, display-monitor-attributes-list):
5673 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5674
a0f143c9
MG
56752013-10-22 Michael Gauland <mikelygee@amuri.net>
5676
5677 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5678 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5679
18cacc39
DG
56802013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5681
5682 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5683 TODO. Add "." after " @ ".
5684 (ruby-smie--at-dot-call): New function. Checks if point at method
5685 call with explicit target.
5686 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5687 to the method name tokens when it precedes them.
5688 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5689 (ruby-smie-rules): Add rule for indentation before and after "."
5690 token.
5691
df74c4be
SM
56922013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5693
c6dab55f
SM
5694 * textmodes/remember.el (remember-diary-extract-entries):
5695 Avoid add-to-list.
5696
df74c4be
SM
5697 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5698 an instruction.
5699
8c1ae481
DG
57002013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5701
e9dc713d
JB
5702 * progmodes/ruby-mode.el (ruby-smie-grammar):
5703 Add (almost) all infix operators.
cfef16c0
DG
5704 (ruby-smie--implicit-semi-p): Add new operator chars.
5705
8c1ae481
DG
5706 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5707 `smie-down-list'.
5708 (ruby-smie--args-separator-p): Check that there's no newline
5709 between method call and its arguments.
5710
87756ca9
AM
57112013-10-20 Alan Mackenzie <acm@muc.de>
5712
5713 Allow comma separated lists after Java "implements".
5714
df74c4be
SM
5715 * progmodes/cc-engine.el (c-backward-over-enum-header):
5716 Parse commas.
87756ca9
AM
5717 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5718 from a "disallowed" list in enum fontification.
5719
c25f8957
JB
57202013-10-20 Johan Bockgård <bojohan@gnu.org>
5721
df74c4be 5722 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5723
c25f8957
JB
5724 * progmodes/verilog-mode.el (verilog-mode): Don't set
5725 comment-indent-function globally.
5726
aca5fcdc
JD
57272013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5728
5f161884
JD
5729 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5730 Move Info menu item creation to ns-win.el.
5731
5732 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5733 in menu bar.
5734
a6c4680a 5735 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5736
5737 * term/ns-win.el (ns-initialize-window-system): ... to here.
5738
914b7f98
SM
57392013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * simple.el (newline): Only run post-self-insert-hook when
5742 called interactively.
5743
846ffe77
JB
57442013-10-19 Johan Bockgård <bojohan@gnu.org>
5745
5746 * icomplete.el (icomplete-with-completion-tables): Add :version.
5747
033f22dd
AM
57482013-10-19 Alan Mackenzie <acm@muc.de>
5749
5750 Fix fontification bugs with constructors and const.
5751
5752 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5753 CASE 2) Remove the check for the absence of a suffix construct
5754 after a function declaration with only types (no identifiers) in
5755 the parentheses. Also, accept a function declaration with just a
5756 type inside the parentheses, if this type can be positively
5757 recognised as such, or if a prefix keyword like "explicit" nails
5758 down the construct as a declaration.
5759
58ce0cfc
EZ
57602013-10-19 Eli Zaretskii <eliz@gnu.org>
5761
5762 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5763 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5764 the problem whereby selecting a menu item that leads to a
5765 minibuffer prompt moves the cursor out of the minibuffer window,
5766 making it hard to type at the prompt. Suggested by Stefan Monnier
5767 <monnier@iro.umontreal.ca>.
5768
50e28e7d
JD
57692013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5770
5771 * menu-bar.el: Don't make Services menu.
5772
7deed4bf
RS
57732013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5774
5775 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5776 (ffap-alist): Use ffap-c++-mode for c++-mode.
5777 (ffap-c++-path): New variable.
5778 (ffap-c++-mode): New function.
5779
7bcb455b
JVJ
57802013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5781
5782 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5783
f0ff1cd5
MA
57842013-10-18 Michael Albinus <michael.albinus@gmx.de>
5785
5786 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5787 introduced on 2013-09-08, which results in an infinite loop
5788 requesting a password.
5789
d64da4b7
GM
57902013-10-18 Glenn Morris <rgm@gnu.org>
5791
5792 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5793
ea89ff08
WS
57942013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5795
5796 Sync with upstream verilog-mode revision 1a6ecec7.
5797 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5798 (verilog-mode-release-date): Remove.
5799 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5800 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5801 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5802 (verilog-auto-tieoff-ignore-regexp)
5803 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5804 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5805 (verilog-signals-with, verilog-dir-cache-preserving)
5806 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5807 Doc fixes.
5808 (verilog-case-fold): New option, to control case folding in
5809 regexp searches, bug597.
5810 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5811 (verilog-string-match-fold, verilog-in-paren-count)
5812 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5813 (verilog-at-close-struct-p): New functions.
5814 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5815 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5816 (verilog-leap-to-case-head): Handle "unique0" case.
5817 (verilog-in-constraint-re): New constant.
5818 (verilog-keywords, verilog-type-font-keywords):
5819 Add some SystemVerilog 1800-2012 keywords.
5820 (verilog-label-be): Remove unimplemented argument, bug669.
5821 (verilog-batch-execute-func): When batch expanding clear
5822 create-lockfiles to prevent spurious user locks when a file ends
5823 up not changing.
5824 (verilog-calculate-indent, verilog-calc-1)
5825 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5826 (verilog-do-indent): Fix indentation of nested constraints
5827 and structures.
5828 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5829 (verilog-auto-inst-param): Use verilog-string-match-fold.
5830 (verilog-read-inst-module-matcher):
5831 Fix AUTOINST on gate primitives with #1.
5832 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5833 Reads all user-defined typed variables.
5834 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5835 (verilog-signals-matching-regexp)
5836 (verilog-signals-not-matching-regexp, verilog-auto):
5837 Respect verilog-case-fold.
5838 (verilog-diff-report): Fix line count.
5839 (verilog-auto-assign-modport): Remove unused local `modi'.
5840 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5841 better handle multidimensional arrays.
5842 Fix packed array ports misadding bit index in AUTOINST, bug637.
5843 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5844 to not double-declare existing outputs and inputs, respectively.
5845 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5846 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5847 (verilog-sk-uvm-component): New skeleton.
5848 (verilog-submit-bug-report): Add verilog-case-fold,
5849 remove verilog-mode-release-date.
5850
ef566920
BR
58512013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5852
a12bf61e 5853 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5854 as before.
5855
29df8a0b
RT
58562013-10-18 Reuben Thomas <rrt@sc3d.org>
5857
e0eb0550 5858 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5859 remember buffers (bug#13566).
5860
04a19a79
DC
58612013-10-18 Daniel Colascione <dancol@dancol.org>
5862
5863 When evaluating forms in ielm, direct standard output to ielm
5864 buffer. Add new ielm-return-for-effect command. Remove trailing
5865 whitespace throughout.
5866
5867 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5868 (ielm-return-for-effect): New command.
5869 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5870 (ielm-eval-input): Accept optional `for-effect' parameter.
5871 Bind `standard-output' to stream we create using
04a19a79
DC
5872 `ielm-standard-output-impl'. Suppress printing result when
5873 `for-effect'.
5874 (ielm-standard-output-impl): New function.
5875 (inferior-emacs-lisp-mode): Explain new features in documentation.
5876
4c1f03ef
MA
58772013-10-17 Michael Albinus <michael.albinus@gmx.de>
5878
5879 Code cleanup.
5880
5881 * net/tramp.el (tramp-debug-message): Do not check for connection
5882 buffer.
5883 (tramp-message): Use "vector" connection property.
5884
5885 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5886 (tramp-equal-remote, tramp-eshell-directory-change)
5887 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5888 (tramp-adb-handle-rename-file)
5889 * net/tramp-cmds.el (tramp-list-remote-buffers)
5890 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5891 * net/tramp-compat.el (tramp-compat-process-running-p)
5892 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5893 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5894 (tramp-gvfs-handle-rename-file)
5895 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5896 (tramp-set-file-uid-gid)
5897 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5898 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5899 of `file-remote-p'.
5900
5901 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5902 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5903 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5904 (tramp-gw-open-network-stream): Suppress unrelated traces.
5905
5906 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5907 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5908 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5909 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5910 connection property.
5911
5912 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5913 persistency file.
4c1f03ef
MA
5914
5915 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5916 Refactor common code. Improve debug message.
5917 (tramp-maybe-open-connection)
5918 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5919 connection buffer too early.
5920
5921 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5922 from `tramp-smb-actions-with-acl'.
5923 (tramp-smb-actions-set-acl): New defconst.
5924 (tramp-smb-handle-copy-directory)
5925 (tramp-smb-action-get-acl): New defun, renamed from
5926 `tramp-smb-action-with-acl'.
5927 (tramp-smb-action-set-acl): New defun.
5928 (tramp-smb-handle-set-file-acl): Rewrite.
5929
642eb8b6
GM
59302013-10-17 Glenn Morris <rgm@gnu.org>
5931
5932 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5933
85527ff3
SM
59342013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5935
921c1d62
SM
5936 * skeleton.el (skeleton-newline): Remove.
5937 (skeleton-internal-1): Use (insert "\n") instead.
5938
e333fb10
SM
5939 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5940 let-bindings.
5941
85527ff3
SM
5942 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5943 forward-sexp-function while we redo its job (bug#15613).
5944
c8722a97
JB
59452013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5946
5947 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5948 represented by lists.
5949
7a550bbb
GM
59502013-10-16 Glenn Morris <rgm@gnu.org>
5951
5952 * tmm.el (tmm--history): New dynamic variable.
5953 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5954
f19da8ad
MA
59552013-10-16 Michael Albinus <michael.albinus@gmx.de>
5956
5957 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5958 (tramp-smb-errors): Add error messages.
5959 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 5960 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
5961 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5962 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5963 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5964 (tramp-smb-get-stat-capability): Fix tests.
5965
a24b9961
DK
59662013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5967
5968 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5969 (bug#15580).
5970
62ad85e6
GM
59712013-10-16 Glenn Morris <rgm@gnu.org>
5972
0283d6b0
GM
5973 * ansi-color.el (ansi-color-drop-regexp):
5974 Add 1J, 1K, 2K. (Bug#15617)
5975
012e2f9f
GM
5976 * files.el (hack-local-variables--warned-lexical): New.
5977 (hack-local-variables):
5978 Warn about misplaced lexical-binding. (Bug#15616)
5979
62ad85e6
GM
5980 * net/eww.el (eww-render): Always set eww-current-url,
5981 and update header line. (Bug#15622)
5982 (eww-display-html): ... Rather than just doing it here.
5983
6456c0ea
EZ
59842013-10-15 Eli Zaretskii <eliz@gnu.org>
5985
5986 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5987 menu navigations commands.
5988
c2de5588
DK
59892013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5990
5991 * progmodes/subword.el (subword-capitalize): Be careful when
5992 the search for [[:alpha:]] fails (bug#15580).
5993
ccd4a783
EZ
59942013-10-14 Eli Zaretskii <eliz@gnu.org>
5995
5996 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5997 to commands that scroll the menu.
5998
1eda1d8d
DG
59992013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6000
c2de5588
DK
6001 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6002 Handle methods ending with `?' and `!'.
1eda1d8d 6003
e70181b8
AM
60042013-10-14 Akinori MUSHA <knu@iDaemons.org>
6005
6006 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6007 `japanese-cp932' to `cp932' to fix the problem where saving a
6008 source file written in Shift_JIS twice would end up having
6009 `coding: japanese-cp932' which Ruby could not recognize.
6010 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6011 in `ruby-encoding-map'.
6012 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6013 doesn't need to be explicitly declared in magic comment.
6014 (ruby-encoding-map): Add type declaration for better customize UI.
6015
9148ee92
GM
60162013-10-13 Glenn Morris <rgm@gnu.org>
6017
a5d38e34
GM
6018 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6019 Occur buffers are read-only. http://bugs.debian.org/720775
6020
9148ee92
GM
6021 * emacs-lisp/authors.el (authors-fixed-entries):
6022 Comment out old alpha stuff.
6023
a9ba094b
DG
60242013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6025
6026 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6027 to `after-save-hook' instead of `before-save-hook'.
6028 (ruby-mode-set-encoding): Use the value of coding system used to
6029 write the file. Call `basic-save-buffer-1' after modifying the
6030 buffer.
6031
7a068717
AM
60322013-10-13 Alan Mackenzie <acm@muc.de>
6033
6034 Fix indentation/fontification of Java enum with
6035 "implements"/generic.
6036
c2de5588
DK
6037 * progmodes/cc-engine.el (c-backward-over-enum-header):
6038 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
6039 (c-inside-bracelist-p): Uses new function above.
6040 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6041 function above.
6042 (c-font-lock-enum-tail): Uses new function above.
6043
85b64f02
KH
60442013-10-13 Kenichi Handa <handa@gnu.org>
6045
6046 * international/mule-cmds.el (select-safe-coding-system): Remove a
6047 superfluous condition in chekcing whether a coding system is safe
6048 or not.
6049
fc7f501b
OK
60502013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6051
6052 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6053
fdcb2049
AP
60542013-10-13 Andreas Politz <politza@hochschule-trier.de>
6055
6056 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6057
8c106d17
GM
60582013-10-13 Glenn Morris <rgm@gnu.org>
6059
feab892d
GM
6060 * menu-bar.el (menu-bar-update-buffers):
6061 Unify Buffers menu prompt string. (Bug#15576)
6062
b22d0686
GM
6063 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6064
8c106d17
GM
6065 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6066 Add some entries.
6067 (authors-fixed-entries): Use accented form of name.
6068
1b12c797
SM
60692013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6070
650fa7bf 6071 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 6072 method calls (bug#15594).
650fa7bf
SM
6073 (ruby-smie--args-separator-p): New function.
6074 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6075 recognize paren-free method calls.
6076
1b12c797
SM
6077 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6078 internals of universal-argument.
6079
029619c8
EZ
60802013-10-11 Eli Zaretskii <eliz@gnu.org>
6081
6082 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
6083 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6084 dropped menu on second mouse click on the menu bar.
029619c8 6085
dd070019
SM
60862013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6089 (explicit-shell-file-name): Declare.
6090 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6091 (sh-completion-at-point-function): New function.
6092 (sh-mode): Use it.
6093 (sh-smie--keyword-p): Remove unused argument.
6094 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6095 vars.
6096 (sh-set-shell): Always setup SMIE, even if we use the
6097 old indentation code.
6098
0922b826
DG
60992013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6100
b68e2926
DG
6101 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6102 cases of ? and =.
6103 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6104 predicate would return nil are almost non-existent.
6105 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6106
0922b826
DG
6107 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6108 cache also after commands that modify the buffer but don't move
6109 point.
6110
ee041f2d
SM
61112013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6112
6113 * env.el (substitute-env-in-file-name): New function.
6114 (substitute-env-vars): Extend the meaning of the optional arg.
6115
a5dab159
EZ
61162013-10-10 Eli Zaretskii <eliz@gnu.org>
6117
6118 * term/w32-win.el (dynamic-library-alist): Define separate lists
6119 of GIF DLLs for versions before and after 5.0.0 of giflib.
6120 (Bug#15531)
6121
0449d6cd 61222013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
6123
6124 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6125 not locked, use last revision and current source as
6126 defaults. (Bug#15569)
6127
2f6e161e
MY
61282013-10-10 Masatake YAMATO <yamato@redhat.com>
6129
6130 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6131 menu-bar is hidden.
6132
6c8413fc
MR
61332013-10-10 Martin Rudalics <rudalics@gmx.at>
6134
6135 * window.el (pop-to-buffer-same-window): Fix doc-string.
6136 (Bug#15492)
6137
20832de0
SM
61382013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6139
6140 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6141
c6e8ae77
AC
61422013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6143
6144 * calendar/icalendar.el (icalendar-import-file):
6145 Fix interactive spec. (Bug#15482)
6146
9db13baf
GM
61472013-10-10 Glenn Morris <rgm@gnu.org>
6148
9271e90e
GM
6149 * desktop.el (desktop-save): Default to saving in .emacs.d,
6150 since PWD is no longer in desktop-path by default. (Bug#15319)
6151
9db13baf
GM
6152 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6153 now that text mode has a menu with the same entry.
6154 (menu-bar-text-mode-auto-fill): Remove now unused func.
6155 * textmodes/text-mode.el (text-mode-map):
6156 Use auto-fill help text from menu-bar.el.
6157
a0be396a 61582013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
6159
6160 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6161
2edcd3c7
JL
61622013-10-09 Juri Linkov <juri@jurta.org>
6163
6164 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6165 instead of this-command-keys. Add universal-argument-more and
6166 universal-argument-minus to the list of prefix commands. (Bug#15568)
6167
574411d0
GM
61682013-10-09 Glenn Morris <rgm@gnu.org>
6169
14afa541
GM
6170 * vc/vc-svn.el (vc-svn-create-repo):
6171 Expand paths in file://... url. (Bug#15446)
6172
574411d0
GM
6173 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6174 Add some entries.
6175 (authors): Remove unused local variables.
6176
79804536
SM
61772013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * profiler.el: Create a more coherent calltree from partial backtraces.
6180 (profiler-format): Hide the tail with `invisible' so that C-s can still
6181 find the hidden elements.
6182 (profiler-calltree-depth): Don't recurse so enthusiastically.
6183 (profiler-function-equal): New hash-table-test.
6184 (profiler-calltree-build-unified): New function.
6185 (profiler-calltree-build): Use it.
6186 (profiler-report-make-name-part): Indent the calltree less.
6187 (profiler-report-mode): Add visibility specs for profiler-format.
6188 (profiler-report-expand-entry, profiler-report-toggle-entry):
6189 Expand the whole subtree when provided with a prefix arg.
6190
238150c8
DG
61912013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6192
6193 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6194 iuwu-mod token.
6195 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6196 hanging iuwu-mod token.
6197 (ruby-smie--forward-token): Do not include a dot after a token in
6198 that token.
6199 (ruby-smie--backward-token): Likewise.
6200
b0949cc4
JL
62012013-10-08 Juri Linkov <juri@jurta.org>
6202
6203 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6204 to isearch-other-control-char.
6205 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6206 and isearch-post-command-hook to post-command-hook.
6207 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6208 and isearch-post-command-hook from post-command-hook.
6209 (isearch-unread-key-sequence)
6210 (isearch-reread-key-sequence-naturally)
6211 (isearch-lookup-scroll-key, isearch-other-control-char)
6212 (isearch-other-meta-char): Remove functions.
6213 (isearch-pre-command-hook, isearch-post-command-hook):
6214 New functions based on isearch-other-meta-char rewritten
6215 relying on the new behavior of overriding-terminal-local-map
6216 that does not replace the local keymaps any more. (Bug#15200)
6217
4ed77415
EZ
62182013-10-08 Eli Zaretskii <eliz@gnu.org>
6219
6220 Support menus on text-mode terminals.
6221 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6222 functionality.
6223
6224 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6225
c2de5588
DK
6226 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6227 Move here from mouse.el.
4ed77415
EZ
6228 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6229 and arrow keys.
6230 (tty-menu-navigation-map): New map for TTY menu navigation.
6231
6232 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6233
6234 * frame.el (display-mouse-p): Report text-mode mouse as available
6235 on w32.
6236 (display-popup-menus-p): Report availability if mouse is
6237 available; don't condition on window-system.
6238
6239 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6240 (tty-menu-selected-face): New faces.
6241
b7d5bd82
TL
62422013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6243
06286513
SM
6244 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6245 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6246 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6247 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6248 New constants.
6249 (lisp-mode-variables): New `elisp' argument.
6250 (emacs-lisp-mode): Use it.
6251 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6252 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6253
b7d5bd82
TL
6254 * indent.el: Use lexical-binding.
6255 (indent-region): Add progress reporter.
6256 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6257 last step.
6258 (indent--next-tab-stop): New function to implement this behavior.
6259 (tab-to-tab-stop, move-to-tab-stop): Use it.
6260
62612013-10-08 Teemu Likonen <tlikonen@iki.fi>
6262
6263 * indent.el (indent-rigidly--current-indentation): New function.
6264 (indent-rigidly-map): New var.
6265 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6266
5ea75d23
BG
62672013-10-08 Bastien Guerry <bzg@gnu.org>
6268
f2726fa2 6269 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 6270
cc5da1ec
SM
62712013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6272
8ffa1a0b
SM
6273 * progmodes/perl-mode.el: Use lexical-binding.
6274 Remove redundant :group args.
6275 (perl-nochange): Change default to be closer to other major modes's
6276 standard behavior.
6277 (perl-indent-line): Don't consider text on current line as a
6278 valid beginning of function from which to indent.
6279
f2223371
SM
6280 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6281 with more than one argument (bug#15538).
6282
44256060
SM
6283 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6284
cc5da1ec
SM
6285 * vc/pcvs.el: Use lexical-binding.
6286 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6287 environment of `eval'.
6288 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6289 than a list of expressions. Adjust callers.
6290 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6291
0ea1599d
DG
62922013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6293
6294 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 6295 case of the dot in a chained method call being on the following line.
0ea1599d 6296
da3e5ebb
SM
62972013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6298
2abb4e65
SM
6299 * electric.el (electric-indent-inhibit): New var.
6300 (electric-indent-post-self-insert-function): Use it.
6301 * progmodes/python.el (python-mode): Set it.
6302
d2e0e795
SM
6303 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6304 open braces.
6305
6306 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6307
bdc6b4c8
SM
6308 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6309 (css-mode): Use electric-indent-chars.
6310
da3e5ebb
SM
6311 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6312 (font-lock-beg, font-lock-end): Move before first use.
6313 (nxml-mode): Use syntax-propertize-function.
6314 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6315 (nxml-extend-after-change-region): Remove.
6316 * nxml/xmltok.el: Use lexical-binding.
6317 (xmltok-save): Use `declare'.
6318 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6319 * nxml/nxml-util.el: Use lexical-binding.
6320 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6321 Use `declare'.
6322 * nxml/nxml-ns.el: Use lexical-binding.
6323 (nxml-ns-save): Use `declare'.
6324 (nxml-ns-prefixes-for): Avoid add-to-list.
6325 * nxml/rng-match.el: Use lexical-binding.
6326 (rng--ipattern): Use cl-defstruct.
6327 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6328 (rng-cons-group-after, rng-subst-group-after)
6329 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6330 Use closures instead of `(lambda...).
6331
f8f91d5d
MA
63322013-10-07 Michael Albinus <michael.albinus@gmx.de>
6333
6334 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6335 of BEG and END.
6336
da3e5ebb
SM
6337 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6338 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6339 (tramp-gvfs-handle-insert-file-contents): Remove function.
6340
da3e5ebb
SM
6341 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6342 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6343
6344 * net/trampver.el: Update release number.
6345
7ccae3b1
SM
63462013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6347
55ca2c0d
SM
6348 * progmodes/compile.el (compilation-parse-errors):
6349 Use compilation--put-prop.
6350 (compilation--ensure-parse): Check compilation-multiline.
6351
731fc3ae
SM
6352 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6353
da3e5ebb
SM
6354 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6355 lexical-binding.
a5833280 6356
2e7ba2c2
SM
6357 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6358
7ccae3b1
SM
6359 * progmodes/ruby-mode.el: Fix recently added tests.
6360 (ruby-smie-grammar): Add - and +.
6361 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6362 (ruby-smie--backward-id): New functions.
6363 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6364 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6365 any more.
6366
85698d63
LL
63672013-10-07 Leo Liu <sdl.web@gmail.com>
6368
6369 * register.el (register-preview-delay)
6370 (register-preview-functions): New variables.
6371 (register-read-with-preview, register-preview)
6372 (register-describe-oneline): New functions.
6373 (point-to-register, window-configuration-to-register)
6374 (frame-configuration-to-register, jump-to-register)
6375 (number-to-register, view-register, insert-register)
6376 (copy-to-register, append-to-register, prepend-to-register)
6377 (copy-rectangle-to-register): Use register-read-with-preview to
6378 read register. (Bug#15525)
6379
3986af6c
DS
63802013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6381
6382 * net/network-stream.el (network-stream-open-starttls): Don't add
6383 --insecure if it's already present, because that gnutls-cli
6384 rejects getting that parameter twice.
6385
5cd9cda9
DG
63862013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6387
6388 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6389 keyword, too.
6390
da9ea6d9
DG
63912013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6392
6393 * newcomment.el (comment-use-global-state): Change default value
6394 to t, mark obsolete (Bug#15251).
6395 (comment-beginning): In addition to `comment-to-syntax', check the
6396 value of `comment-use-global-state'.
6397
34d1a133
SM
63982013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6401 (ruby-comment-column): Follow the global default, by default.
6402 (ruby-smie-grammar): Add assignment syntax.
6403 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6404 open-paren, a comma, or a \.
6405 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6406 and line continuations.
6407 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6408 followed by implicit semi-colons. Add rule for string concatenation
6409 and for indentation at BOB.
27821a89 6410 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6411
6412 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6413 calling next-sexp, since next-token may have skipped chars which
6414 next-sexp doesn't know should be skipped!
6415
6f6ab820
LL
64162013-10-05 Leo Liu <sdl.web@gmail.com>
6417
34d1a133
SM
6418 * progmodes/octave.el (octave-send-region):
6419 Call compilation-forget-errors.
6f6ab820 6420
34ca0f4c
XF
64212013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6422
6423 * vc/vc-svn.el (vc-svn-find-admin-dir):
6424 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6425 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6426 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6427 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6428
a27c1b72
SM
64292013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6432
258ab3bc
SM
64332013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * subr.el (read-passwd): Hide chars even when called within a context
6436 where after-change-functions is disabled (bug#15501).
6437 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6438 until we removed ourself from overriding-terminal-local-map.
6439
939fb29c
LL
64402013-10-04 Leo Liu <sdl.web@gmail.com>
6441
258ab3bc
SM
6442 * progmodes/octave.el (inferior-octave-mode):
6443 Call compilation-forget-errors.
939fb29c 6444
63bd7f35
XF
64452013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6446
6447 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6448
9e6229fa
MA
64492013-10-04 Michael Albinus <michael.albinus@gmx.de>
6450
6451 * net/secrets.el (secrets-create-collection): Add optional
6452 argument ALIAS. Use proper Label keyword. Append ALIAS as
6453 dbus-call-method argument. (Bug#15516)
6454
1dab32a3
LL
64552013-10-04 Leo Liu <sdl.web@gmail.com>
6456
6457 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6458 (inferior-octave-compilation-font-lock-keywords): New variables.
6459 (compilation-error-regexp-alist)
6460 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6461 (inferior-octave-mode): Use compilation-shell-minor-mode.
6462
6cad7ba3
JS
64632013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6464
6465 * minibuffer.el (completion--replace): Be careful that `end' might be
6466 a marker.
6467
acbadd00
DU
64682013-10-03 Daiki Ueno <ueno@gnu.org>
6469
6470 Add support for package signature checking.
6471 * emacs-lisp/package.el (url-http-file-exists-p)
6472 (epg-make-context, epg-context-set-home-directory)
6473 (epg-verify-string, epg-context-result-for)
6474 (epg-signature-status, epg-signature-to-string)
6475 (epg-check-configuration, epg-configuration)
6476 (epg-import-keys-from-file): Declare.
6477 (package-check-signature): New user option.
6478 (package-unsigned-archives): New user option.
6479 (package-desc): Add `signed' field.
6480 (package-load-descriptor): Set `signed' field if .signed file exists.
6481 (package--archive-file-exists-p): New function.
6482 (package--check-signature): New function.
6483 (package-install-from-archive): Check package signature.
6484 (package--download-one-archive): Check archive signature.
6485 (package-delete): Remove .signed file.
6486 (package-import-keyring): New command.
6487 (package-refresh-contents): Import default keyring.
6488 (package-desc-status): Add "unsigned" status.
6489 (describe-package-1, package-menu--print-info)
6490 (package-menu-mark-delete, package-menu--find-upgrades)
6491 (package-menu--status-predicate): Support "unsigned" status.
6492
adf2aa61
SM
64932013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6496 the new compilation scheme using the new byte-codes.
6497
6498 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6499 (byte-pophandler): New byte codes.
6500 (byte-goto-ops): Adjust accordingly.
6501 (byte-compile--use-old-handlers): New var.
6502 (byte-compile-catch): Use new byte codes depending on
6503 byte-compile--use-old-handlers.
6504 (byte-compile-condition-case--old): Rename from
6505 byte-compile-condition-case.
6506 (byte-compile-condition-case--new): New function.
6507 (byte-compile-condition-case): New function that dispatches depending
6508 on byte-compile--use-old-handlers.
6509 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6510 when we can.
6511
6512 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6513 Optimize under `condition-case' and `catch' if
6514 byte-compile--use-old-handlers is nil.
6515 (disassemble-offset): Handle new bytecodes.
6516
328a8179
SM
65172013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * subr.el (error): Use `declare'.
6520 (decode-char, encode-char): Use advertised-calling-convention instead
6521 of the docstring to discourage use of the `restriction' arg.
6522
15a1e936
DU
65232013-10-03 Daiki Ueno <ueno@gnu.org>
6524
6525 * epg.el (epg-verify-file): Add a comment saying that it does not
6526 notify verification error as a return value nor a signal.
6527 (epg-verify-string): Ditto.
6528
376f862a
KR
65292013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6530
6531 * progmodes/compile.el (compilation-start): Try globbing the arg to
6532 `cd' (bug#15417).
6533
a2f93a5f
MA
65342013-10-02 Michael Albinus <michael.albinus@gmx.de>
6535
6536 Sync with Tramp 2.2.8.
6537
6538 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6539 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6540 * net/trampver.el: Update release number.
6541
0daa0804
JD
65422013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6543
6544 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6545 and default-process-coding-system for darwin only.
6546
abd1ae34
SM
65472013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6548
6549 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6550
be4e325d
MH
65512013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6552
6553 * vc/vc-git.el (vc-git-grep): Disable pager.
6554
e9155c4a
DG
65552013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6556
494e898b
DG
6557 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6558 Use :url instead of :homepage, as per
6559 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6560
e9155c4a
DG
6561 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6562 non-nil, use `syntax-ppss' (Bug#15251).
6563
481a8e0f
RS
65642013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6565
be4e325d
MH
6566 * progmodes/octave.el (inferior-octave-startup-file):
6567 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6568
056453c6
DG
65692013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6570
be4e325d
MH
6571 * emacs-lisp/package.el (package-desc-from-define):
6572 Accept additional arguments as plist, convert them to an alist and store
6573 them in the `extras' slot.
056453c6
DG
6574 (package-generate-description-file): Convert extras alist back to
6575 plist and append to the `define-package' form arguments.
6576 (package--alist-to-plist): New function.
6577 (package--ac-desc): Add `extras' slot.
6578 (package--add-to-archive-contents): Check if the archive-contents
6579 vector is long enough, and if it is, pass its `extras' slot value
6580 to `package-desc-create'.
6581 (package-buffer-info): Call `lm-homepage', pass the returned value
6582 to `package-desc-from-define'.
6583 (describe-package-1): Render the homepage button (Bug#13291).
6584
be4e325d
MH
6585 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6586 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6587
832966e5
JD
65882013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6589
6590 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6591 and default-process-coding-system to utf-8-unix (Bug#15402).
6592
6cfe977d
XF
65932013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6594
6595 * subr.el (looking-back): Do not recommend using looking-back.
6596
38de11bd
AM
65972013-09-28 Alan Mackenzie <acm@muc.de>
6598
6599 Fix indentation/fontification of Java enum with "implements".
6600
6601 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6602 regexp which matches "implements", etc., in Java.
6603 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6604 specifier clauses coming after "enum".
6605 * progmodes/cc-fonts.el (c-font-lock-declarations)
6606 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6607 after "enum".
6608
1610938f
JD
66092013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6610
6611 * faces.el (region): Change ns_selection_color to
6612 ns_selection_fg_color, add ns_selection_bg_color.
6613
e090f499
LL
66142013-09-28 Leo Liu <sdl.web@gmail.com>
6615
4d2e94d1
LL
6616 * progmodes/octave.el (inferior-octave-completion-table)
6617 (inferior-octave-completion-at-point): Minor tweaks.
6618
e090f499
LL
6619 * textmodes/ispell.el (ispell-lookup-words): Rename from
6620 lookup-words. (Bug#15460)
6621 (lookup-words): Obsolete.
6622 (ispell-complete-word, ispell-command-loop): All uses changed.
6623
7e138a62
RS
66242013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6625
a12bf61e 6626 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6627 (octave-mode-menu): Add octave-send-buffer.
6628 (octave-send-buffer): New function.
6629
5af5ed08
RS
66302013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6631
a12bf61e 6632 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6633 octave-lookfor.
6634 (octave-mode-menu): Add octave-lookfor.
6635 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6636 octave-lookfor.
6637 (octave-lookfor): New function.
6638
3b7b2692
SM
66392013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6640
35e951cd 6641 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6642 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6643 its convention.
6644 (cl--loop-set-iterator-function): New function.
6645 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6646 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6647 Bind `it' with `let' instead of substituting it with `cl-subst'.
6648 (cl--unused-var-p): New function.
6649 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6650 Eliminate some unused variable warnings (bug#15326).
6651
529fb53f
TH
66522013-09-27 Tassilo Horn <tsdh@gnu.org>
6653
6654 * doc-view.el (doc-view-scale-reset): Rename from
6655 `doc-view-reset-zoom-level'.
6656 (doc-view-scale-adjust): New command.
6657 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6658 `doc-view-scale-adjust'.
6659
0550c95a
TH
66602013-09-26 Tassilo Horn <tsdh@gnu.org>
6661
6662 * doc-view.el (doc-view-reset-zoom-level): New command.
6663 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6664 zoom commands (bug#15466).
6665
6950f152
KH
66662013-09-26 Kenichi Handa <handa@gnu.org>
6667
6668 * international/quail.el (quail-help): Make it not a command.
6669
39587580
LL
66702013-09-26 Leo Liu <sdl.web@gmail.com>
6671
6672 * minibuffer.el (completion-all-sorted-completions): Make args
6673 optional as they are.
6674
00578659
DC
66752013-09-25 Daniel Colascione <dancol@dancol.org>
6676
6677 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6678 specs are and that they're not evaluated.
6679
0c173878
SS
66802013-09-24 Sam Steingold <sds@gnu.org>
6681
6682 * midnight.el (clean-buffer-list-kill-regexps)
6683 (clean-buffer-list-kill-buffer-names): Update for the new Man
6684 buffer naming which includes the object name.
6685
84998447
SM
66862013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6689 (eshell-parse-command, eshell-parse-pipeline): Use it since
6690 eshell-separate-commands requires a dynamic scoped var.
6691 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6692
33215353
LL
66932013-09-23 Leo Liu <sdl.web@gmail.com>
6694
6695 * autoinsert.el (auto-insert-alist): Make the value of
6696 lexical-binding match its file setting.
6697
57b16162
JB
66982013-09-23 Juanma Barranquero <lekktu@gmail.com>
6699
c8af4e67
JB
6700 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6701
57b16162
JB
6702 * autoarg.el (autoarg-kp-digit-argument):
6703 * electric.el (Electric-command-loop):
6704 * kmacro.el (kmacro-step-edit-insert):
6705 Do not set universal-argument-num-events.
6706
7186ba60
LL
67072013-09-22 Leo Liu <sdl.web@gmail.com>
6708
6709 * files.el (interpreter-mode-alist): Add octave.
6710
ece15004
AM
67112013-09-21 Alan Mackenzie <acm@muc.de>
6712
6713 C++: fontify identifier in declaration following "public:" correctly.
6714 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6715 to match "public", etc.
6716 (c-decl-prefix-re): Add ":" into the C++ value.
6717 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6718 bit. Add a check for a ":" preceded by "public", etc.
6719
75d83e22
EZ
67202013-09-21 Eli Zaretskii <eliz@gnu.org>
6721
6722 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6723 recognized by GDB 7.5 and later.
6724
d052d3bd
XF
67252013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6726
6727 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6728
31dca772
R
67292013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * subr.el (internal--call-interactively): New const.
6732 (called-interactively-p): Use it (bug#3984).
6733
98ccf24e
XF
67342013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6735
6736 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6737 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6738 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6739
c39cc7d1
SM
67402013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6743 (eshell-ls-orig-insert-directory): Remove.
6744 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6745 (eshell-ls-use-in-dired): Use advice-add/remove.
6746 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6747 Add `orig-fun' arg for use in :around advice.
6748 Make it check (redundantly) eshell-ls-use-in-dired.
6749
9a0289a2
GM
67502013-09-19 Glenn Morris <rgm@gnu.org>
6751
a2c501b8
GM
6752 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6753
c440407a
GM
6754 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6755
9a0289a2
GM
6756 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6757
85e05915
MA
67582013-09-19 Michael Albinus <michael.albinus@gmx.de>
6759
6760 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6761 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6762 (tramp-get-remote-python): New defuns.
6763 (tramp-get-remote-uid-with-perl)
6764 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6765 contributed by yary <not.com@gmail.com> (tiny change).
6766 (tramp-get-remote-uid-with-python)
6767 (tramp-get-remote-gid-with-python): New defuns. Python code
6768 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6769 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6770
ce503312
GM
67712013-09-19 Glenn Morris <rgm@gnu.org>
6772
f7544773
GM
6773 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6774
72fd2877
GM
6775 * eshell/em-unix.el (eshell-remove-entries):
6776 Rename argument to avoid name-clash with global `top-level'.
6777
336b5a56
GM
6778 * eshell/esh-proc.el (eshell-kill-process-function):
6779 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6780 (eshell-reset-after-proc): Remove unused arg `proc'.
6781
57a3a53d
GM
6782 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6783 (directory-files-and-attributes): Mark unused arg.
6784
3261d4af
GM
6785 * eshell/em-unix.el (eshell-remove-entries):
6786 Remove unused arg `path'. Update callers.
6787
8e51b5d0
GM
6788 * eshell/em-hist.el (eshell-hist-parse-arguments):
6789 Remove unused arg `silent'. Update callers.
6790
ce503312
GM
6791 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6792 Fix (f)boundp mix-up.
6793
6794 * eshell/em-smart.el (eshell-smart-scroll-window)
6795 (eshell-disable-after-change):
336b5a56 6796 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6797
ee3ce8a7
AM
67982013-09-18 Alan Mackenzie <acm@muc.de>
6799
6800 Fix fontification of type when followed by "const".
6801 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6802 "known" types from fontification.
6803
ec9177ba
GM
68042013-09-18 Glenn Morris <rgm@gnu.org>
6805
7bb3e768
GM
6806 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6807 (chart-face-list): Drop Emacsen without display-color-p.
6808
5148da15
GM
6809 * net/eww.el (libxml-parse-html-region): Declare.
6810 (eww-display-html): Explicit error if no libxml2 support.
6811
2f68e157
GM
6812 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6813
9019d095
GM
6814 * image.el (image-type-from-buffer, image-multi-frame-p):
6815 Remove --without-x warning/error.
67645389 6816
5f30349b 6817 * mouse.el (mouse-yank-primary):
45069b2e 6818 * term.el (term-mouse-paste):
5f30349b
GM
6819 Reorder to silence --without-x compilation.
6820
cd8edbbe
GM
6821 * mpc.el (doc-view-mode): Silence --without-x compilation.
6822
8a78544e
GM
6823 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6824 Silence --without-x compilation.
6825
12679bfd
GM
6826 * progmodes/gud.el (gud-find-file, gud-mode):
6827 Silence --without-x compilation.
6828 (tooltip-mode): Declare.
30810a05 6829
f0047cb9
GM
6830 * wdired.el (dired-backup-overwrite): Remove declaration.
6831 (wdired-mode-map): Add doc string.
6832
e740f9d2
GM
6833 * custom.el (x-get-resource): Declare.
6834
92d77c89
GM
6835 * eshell/em-glob.el (ange-cache):
6836 * eshell/em-unix.el (ange-cache): Declare.
6837
76e69577
GM
6838 * faces.el (x-display-list, x-open-connection, x-get-resource):
6839 Declare.
7e58af4b
GM
6840
6841 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6842 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6843 Declare.
76e69577 6844
4bd4c0af 6845 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6846
ffb82dbd
GM
6847 * net/gnutls.el (gnutls-log-level): Declare.
6848
986ed135
GM
6849 * net/shr.el (image-size, image-animate): Declare.
6850
e740f9d2
GM
6851 * simple.el (font-info): Declare.
6852
d2f3e9f8
GM
6853 * subr.el (x-popup-dialog): Declare.
6854
047a1a4c
GM
6855 * term/common-win.el (x-select-enable-primary)
6856 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6857 Declare.
6858
f4a1d572
GM
6859 * term/ns-win.el (x-handle-args): Declare.
6860
e843de77
GM
6861 * term/x-win.el (x-select-enable-clipboard): Declare.
6862
5fa89513
GM
6863 * term/w32-win.el (create-default-fontset): Declare.
6864
38702b5b
GM
6865 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6866 Declare.
6867
e740f9d2
GM
6868 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6869 (fit-frame-to-buffer): Explicit error if --without-x.
6870 (mouse-autoselect-window-select): Silence compiler.
6871
49a053fc
GM
6872 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6873
6874 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6875 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6876 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6877 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6878 Remove unused local variables.
6879
6880 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6881
ec9177ba
GM
6882 * textmodes/two-column.el: Make 2C-split work for --without-x.
6883 (scroll-bar-columns): Autoload.
6884 (top-level): Require fringe when compiling.
6885
9f25cb77
LL
68862013-09-18 Leo Liu <sdl.web@gmail.com>
6887
6888 * subr.el (add-hook): Robustify to handle closure as well.
6889
2b42da98
GM
68902013-09-17 Glenn Morris <rgm@gnu.org>
6891
6892 * simple.el (messages-buffer-mode-map): Unbind "g".
6893
e8b66a6a
SM
68942013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6895
9c0ad4f7
SM
6896 * help-mode.el (help-mode-finish): Use derived-mode-p.
6897 Remove obsolete highlighting.
6898
7a806dfb
SM
6899 * play/life.el (life-mode): Use define-derived-mode. Derive from
6900 special-mode.
6901 (life): Let-bind inhibit-read-only.
6902 (life-setup): Avoid `setq'. Use `life-mode'.
6903
96dbf5a8
SM
6904 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6905 which should not be needed any more.
6906 (package-menu-refresh, package-menu-describe-package): Use user-error.
6907
e8b66a6a
SM
6908 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6909 (eshell-post-rewrite-command-hook): Make obsolete.
6910 (eshell-parse-command): Simplify.
6911 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6912 (eshell--cmd): Declare.
6913 (eshell-parse-pipeline): Remove unused var `final-p'.
6914 Pass a dynvar to eshell-post-rewrite-command-hook.
6915 Implement the new eshell-post-rewrite-command-function.
6916 (eshell-invoke-directly): Remove unused arg `input'.
6917 * eshell/esh-io.el (eshell-io-initialize):
6918 Use eshell-post-rewrite-command-function (bug#15399).
6919 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6920 adjust to new calling convention.
6921 (eshell-create-handles): Rename args to avoid clashing with dynvar
6922 `standard-output'.
6923
90582f05
GM
69242013-09-17 Glenn Morris <rgm@gnu.org>
6925
6926 * simple.el (messages-buffer-mode): New major mode.
6927 (messages-buffer): New function.
6928 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6929 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 6930 (ert-run-test): Use `messages-buffer' function.
90582f05 6931 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
6932 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6933 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 6934
39eb0cb5 69352013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
6936
6937 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6938
1d42e5b6 6939 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 6940
70568a90
SM
69412013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6942
504a0381
SM
6943 * icomplete.el (icomplete-in-buffer): New var.
6944 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6945 vars and replace them with functions.
6946 (icomplete-minibuffer-setup): Adjust accordingly.
6947 (icomplete--completion-table, icomplete--completion-predicate)
6948 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6949 New functions.
6950 (icomplete-forward-completions, icomplete-backward-completions)
6951 (icomplete-simple-completing-p, icomplete-exhibit)
6952 (icomplete-completions): Use them.
6953 (icomplete--in-region-buffer): New var.
6954 (icomplete--in-region-setup): New function.
6955 (icomplete-mode): Use it.
6956
70568a90
SM
6957 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6958 (bug#15379).
6959 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6960 return args and options.
6961 (eshell-eval-using-options): Use the new return value of
6962 eshell--do-opts to set the options's vars in their scope.
6963 (eshell--set-option): Rename from eshell-set-option.
6964 Add arg `opt-vals'.
6965 (eshell--process-option): Rename from eshell-process-option.
6966 Add arg `opt-vals'.
6967 (eshell--process-args): Use an `opt-vals' alist to store the options's
6968 values during their processing and return them additionally to the
6969 remaining args.
6970
578c21bc
DG
69712013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6972
6973 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6974 continuation character an operator, as far as indentation is
6975 concerned (Bug#15369).
6976
c089653d
MR
69772013-09-15 Martin Rudalics <rudalics@gmx.at>
6978
6979 * window.el (window--state-put-2): Don't process buffer state
6980 when buffer doesn't exist any more (Bug#15382).
6981
1e53bb4b
GM
69822013-09-15 Glenn Morris <rgm@gnu.org>
6983
30753242
GM
6984 * eshell/em-unix.el (eshell/rm):
6985 Make -f ignore missing files. (Bug#15373)
6986
1e53bb4b
GM
6987 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6988 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6989 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6990
0d8863b3
GM
69912013-09-14 Glenn Morris <rgm@gnu.org>
6992
6993 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6994
d3fc6549
GM
69952013-09-13 Glenn Morris <rgm@gnu.org>
6996
6997 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6998 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6999
fcd42c11
DA
70002013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7001
7002 * frame.el (x-focus-frame): Mark as declared in frame.c.
7003
7830899f
SM
70042013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * ls-lisp.el: Use advice-add.
7007 (original-insert-directory): Remove.
7008 (ls-lisp--insert-directory): Rename from insert-directory; add
7009 `orig-fun' argument.
7010 (insert-directory): Advise.
7011
84387cd2
EZ
70122013-09-13 Eli Zaretskii <eliz@gnu.org>
7013
7014 * term.el (term-emulate-terminal): Decode the command string
7015 before passing it to term-command-hook. (Bug#15337)
7016
35ffc6ba
GM
70172013-09-13 Glenn Morris <rgm@gnu.org>
7018
5c3f9bcc
GM
7019 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7020
2ada368a
GM
7021 * eshell/esh-ext.el (eshell-search-path): Declare.
7022
fcef2e13
GM
7023 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7024 Otherwise an error occurs if eshell-dirs module not loaded.
7025
35ffc6ba
GM
7026 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7027
35c3d36e
MA
70282013-09-13 Michael Albinus <michael.albinus@gmx.de>
7029
7030 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7031 `tramp-check-proper-host'. Check for a valid method name.
7032
7033 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7034 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7035 * net/tramp-sh.el (tramp-maybe-open-connection):
7036 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7037
7038 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7039 also for hash values.
7040
ae5e4c48
SM
70412013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7042
379add74
SM
7043 * term/ns-win.el (parameters): Don't declare as dynamic.
7044 (before-make-frame-hook): Don't add ineffective function.
7045
ae5e4c48
SM
7046 * eshell/*.el: Use lexical-binding (bug#15231).
7047
b5623270
KH
70482013-09-12 Kenichi Handa <handa@gnu.org>
7049
ae5e4c48 7050 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 7051
30213927
GM
70522013-09-12 Glenn Morris <rgm@gnu.org>
7053
be94d713 7054 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 7055 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 7056
44915370
GM
7057 * subr.el (do-after-load-evaluation): Also give compiler warnings
7058 when obsolete files are used (except by obsolete files).
7059
a6ae021f
GM
7060 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7061 in the status output, assume `filename' is the first. (Bug#15322)
7062
40e64f0c
GM
7063 * vc/vc.el (vc-deduce-fileset): Doc fix.
7064
16d9f896
GM
7065 * calc/calc-help.el (Info-goto-node):
7066 * progmodes/cperl-mode.el (Info-find-node):
7067 * vc/ediff.el (Info-goto-node): Update declarations.
7068
dea01c6e
GM
7069 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7070
759880bf 7071 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
7072 (vc-bzr-pull): Require vc-dispatcher.
7073 * vc/vc-git.el (vc-compilation-mode): Declare.
7074 (vc-git-pull): Require vc-dispatcher.
7075
08d66420
GM
7076 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7077
30b626e9
GM
7078 * progmodes/octave.el (help-button-action): Declare.
7079
8c05cb10
GM
7080 * shell.el (shell-directory-tracker): Output error as a message
7081 rather than just returning it as a string.
7082 (shell-process-pushd): Remove useless use of message.
7083
30213927
GM
7084 * dframe.el (dframe-timer-fn):
7085 * files.el (dir-locals-read-from-file):
7086 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7087 (mpc-format):
7088 * reveal.el (reveal-post-command):
7089 * saveplace.el (load-save-place-alist-from-file):
7090 * shell.el (shell-resync-dirs):
7091 * w32-common-fns.el (x-get-selection-value):
7092 * emacs-lisp/copyright.el (copyright-find-copyright):
7093 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7094 * emulation/tpu-edt.el (tpu-copy-keyfile):
7095 * play/bubbles.el (bubbles--mark-neighbourhood):
7096 * progmodes/executable.el
7097 (executable-make-buffer-file-executable-if-script-p):
7098 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7099
d3b049e6
SM
71002013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7101
170266d0
SM
7102 Cleanup Eshell to rely less on dynamic scoping.
7103 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7104 last-value, and ext-command here. Bind `args' closer to `body'.
7105 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7106 (eshell--args): Declare new dynamic var.
7107 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7108 last-value, and ext-command. Pass `args' to `body'.
7109 (eshell-process-args): Bind eshell--args.
7110 (eshell-set-option): Use eshell--args.
7111 * eshell/eshell.el (eshell): Use derived-mode-p.
7112 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7113 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7114 (eshell-glob-function): Declare.
7115 * eshell/esh-util.el: Require cl-lib.
7116 (eshell-read-hosts-file): Avoid add-to-list.
7117 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7118 `err'.
7119 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7120 Declare.
7121 (eshell/diff): Remove unused var `err'.
7122 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7123 `killflag'.
7124 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7125 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7126 first use.
7127 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7128 Move declaration before first use.
7129 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
7130 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7131 rely on cl-return.
7132
56834f3b
GM
71332013-09-12 Glenn Morris <rgm@gnu.org>
7134
7135 * term/ns-win.el (global-map): Remove binding for ispell-next,
7136 deleted 1999-05-29. (Bug#15357)
7137
5c91a2b8
GM
71382013-09-11 Glenn Morris <rgm@gnu.org>
7139
da712f22
GM
7140 * echistory.el (electric-command-history): Remove call to deleted func.
7141
512e4cdc
GM
7142 * play/landmark.el (landmark-mode): Fix typos.
7143
d3506ca5
GM
7144 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7145 Check cvs-sort-ignore-file is bound.
7146
5c91a2b8
GM
7147 * savehist.el: No need for cl when compiling on Emacs.
7148
feeff482
SM
71492013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7150
656bd483
SM
7151 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7152 (bug#15338).
d3b049e6
SM
7153 (eshell-self-insert-command, eshell-send-invisible):
7154 Remove unused argument.
656bd483
SM
7155 (eshell-handle-control-codes): Remove unused var `orig'.
7156 Avoid delete-backward-char.
7157
feeff482
SM
7158 * files.el (set-auto-mode): Simplify a bit further.
7159
2a08047a
GM
71602013-09-11 Glenn Morris <rgm@gnu.org>
7161
7162 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7163 (set-auto-mode): Don't regexp-quote elements.
7164 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7165 * progmodes/cc-mode.el (interpreter-mode-alist):
7166 * progmodes/ruby-mode.el (interpreter-mode-alist):
7167 Revert previous change.
7168
34675540
SM
71692013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7170
1b3b87df
SM
7171 * play/snake.el (snake-mode):
7172 * play/mpuz.el (mpuz-mode):
7173 * play/landmark.el (lm-mode):
7174 * play/blackbox.el (blackbox-mode):
7175 * play/5x5.el (5x5-mode):
7176 * obsolete/options.el (Edit-options-mode):
7177 * net/quickurl.el (quickurl-list-mode):
7178 * net/newst-treeview.el (newsticker-treeview-mode):
7179 * mail/rmailsum.el (rmail-summary-mode):
7180 * mail/mspools.el (mspools-mode):
7181 * locate.el (locate-mode):
7182 * ibuffer.el (ibuffer-mode):
7183 * emulation/ws-mode.el (wordstar-mode):
7184 * emacs-lisp/debug.el (debugger-mode):
7185 * array.el (array-mode):
7186 * net/eudc.el (eudc-mode): Use define-derived-mode.
7187 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7188 Move initialization into declaration.
7189 (mairix-searches-mode): Use define-derived-mode.
7190 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7191 (eudc-edit-hotlist): Use dolist.
7192 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7193 (Man-mode): Use define-derived-mode.
7194 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7195 (Info-edit-mode): Use define-derived-mode.
7196 (Info-cease-edit): Use Info-mode.
7197 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7198 into declaration.
7199 (eshell-mode): Use define-derived-mode.
7200 * chistory.el (command-history-mode-map): Rename from
7201 command-history-map.
7202 (command-history-mode): Use define-derived-mode.
da712f22 7203 (Command-history-setup): Remove function.
1b3b87df
SM
7204 * calc/calc.el (calc-trail-mode-map): New var.
7205 (calc-trail-mode): Use define-derived-mode.
7206 (calc-trail-buffer): Set calc-main-buffer manually.
7207 * bookmark.el (bookmark-insert-annotation): New function.
7208 (bookmark-edit-annotation): Use it.
7209 (bookmark-edit-annotation-mode): Make it a proper major mode.
7210 (bookmark-send-edited-annotation): Use derived-mode-p.
7211 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7212 closer to its ideal place. Use \' to match EOS.
7213
34675540
SM
7214 * profiler.el (profiler-calltree-find): Use function-equal.
7215
6a5c15d9
GM
72162013-09-10 Glenn Morris <rgm@gnu.org>
7217
1af4c220
GM
7218 * files.el (interpreter-mode-alist): Convert to regexps.
7219 (set-auto-mode): Adapt for this. (Bug#15306)
7220 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7221 Comment out unused variable.
7222 * progmodes/cc-mode.el (interpreter-mode-alist):
7223 * progmodes/python.el (interpreter-mode-alist):
7224 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7225 * progmodes/sh-script.el (sh-set-shell):
7226 No longer use interpreter-mode-alist to get list of shells.
7227
6a5c15d9
GM
7228 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7229
8c27f5ff
SM
72302013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7231
02ef6c1a 7232 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7233 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
7234 Bind switch-frame explicitly. Replace universal-argument-minus with
7235 a conditional binding.
7236 (universal-argument-num-events, saved-overriding-map): Remove.
7237 (restore-overriding-map): Remove.
7238 (universal-argument--mode): Rename from save&set-overriding-map,
7239 and rewrite.
7240 (universal-argument, universal-argument-more, negative-argument)
7241 (digit-argument): Adjust accordingly.
7242 (universal-argument-minus): Remove.
7243 (universal-argument-other-key): Remove.
7244
8c27f5ff
SM
7245 * subr.el (with-demoted-errors): Add `format' argument.
7246
6480194c
MA
72472013-09-10 Michael Albinus <michael.albinus@gmx.de>
7248
7249 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7250 `tramp-cleanup-connection'.
7251
7252 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7253 parameters KEEP-DEBUG and KEEP-PASSWORD.
7254
7255 * net/tramp.el (tramp-file-name-handler):
7256 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7257 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7258 (tramp-maybe-open-connection):
8c27f5ff
SM
7259 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7260 Use `tramp-cleanup-connection'.
6480194c 7261
8c27f5ff
SM
7262 * net/tramp-sh.el (tramp-maybe-open-connection):
7263 Catch 'uname-changed inside the progress reporter.
6480194c 7264
e5e916d8
GM
72652013-09-10 Glenn Morris <rgm@gnu.org>
7266
9a2c9b47
GM
7267 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7268
e5e916d8
GM
7269 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7270 returns "alternate access method" in mode (eg "-rw-r--r--.").
7271
144e38fe
GM
72722013-09-08 Glenn Morris <rgm@gnu.org>
7273
7274 * saveplace.el (load-save-place-alist-from-file):
7275 Demote errors. (Bug#15305)
7276
af9ff9e8
MA
72772013-09-08 Michael Albinus <michael.albinus@gmx.de>
7278
7279 Improve compatibility with older Emacsen, and XEmacs.
7280
7281 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7282 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
7283 (with-tramp-progress-reporter): Do not let-bind `result'.
7284 This yields to scoping errors in XEmacs.
af9ff9e8
MA
7285 (tramp-handle-make-auto-save-file-name): New function, moved from
7286 tramp-sh.el.
7287
7288 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7289 for `make-auto-save-file-name'.
8c27f5ff
SM
7290 (tramp-adb--gnu-switches-to-ash):
7291 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7292
7293 * net/tramp-cache.el (tramp-cache-print): Call
7294 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7295
7296 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7297 bound. It isn't for XEmacs.
7298
8c27f5ff
SM
7299 * net/tramp-compat.el (tramp-compat-copy-file):
7300 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7301 (tramp-compat-replace-regexp-in-string): New defun.
7302
7303 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7304 for `make-auto-save-file-name'.
7305 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7306 `copy-file'.
7307 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7308 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7309 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7310
8c27f5ff
SM
7311 * net/tramp-gw.el (tramp-gw-open-network-stream):
7312 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7313
8c27f5ff
SM
7314 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7315 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7316 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7317 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7318 (tramp-sh-file-inotifywait-process-filter):
7319 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7320 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7321
7322 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7323 for `make-auto-save-file-name'.
8c27f5ff
SM
7324 (tramp-smb-handle-copy-directory):
7325 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7326 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7327 (tramp-smb-handle-copy-file): Improve error message.
7328 (tramp-smb-handle-rename-file): Rename directly only in case
7329 `newname' does not exist yet. This is a restriction of smbclient.
7330 (tramp-smb-maybe-open-connection): Rerun the function only when
7331 `auth-sources' is non-nil.
7332
0ca754d0
KH
73332013-09-08 Kenichi Handa <handa@gnu.org>
7334
e0eb0550 7335 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7336 more characters.
7337
e8dd0787
AM
73382013-09-07 Alan Mackenzie <acm@muc.de>
7339
7340 Correctly fontify Java class constructors.
7341 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7342 in Java Mode.
7343 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7344 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7345 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7346 "typeless" declaration there.
7347
f2f248e7
RW
73482013-09-07 Roland Winkler <winkler@gnu.org>
7349
7350 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7351 field subtitle for entry type book.
7352
67982e2b
SM
73532013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * minibuffer.el: Make minibuffer-complete call completion-in-region
7356 rather than other way around.
7357 (completion--some, completion-pcm--find-all-completions):
7358 Don't delay signals when debugging.
7359 (minibuffer-completion-contents): Beware fields within the
7360 minibuffer contents.
7361 (completion-all-sorted-completions): Use defvar-local.
7362 (completion--do-completion, completion--cache-all-sorted-completions)
7363 (completion-all-sorted-completions, minibuffer-force-complete):
7364 Add args `beg' and `end'.
7365 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7366 (minibuffer-complete): Use completion-in-region.
7367 (completion-complete-and-exit): New fun, extracted from
7368 minibuffer-complete-and-exit.
7369 (minibuffer-complete-and-exit): Use it.
7370 (completion--complete-and-exit): Rename from
7371 minibuffer--complete-and-exit.
7372 (completion-in-region--single-word): New function, extracted from
7373 minibuffer-complete-word.
7374 (minibuffer-complete-word): Use it.
7375 (display-completion-list): Make `common-substring' argument obsolete.
7376 (completion--in-region): Call completion--in-region-1 instead of
7377 minibuffer-complete.
7378 (completion-help-at-point): Pass boundaries to
7379 minibuffer-completion-help as args rather than via an overlay.
7380 (completion-pcm--string->pattern): Use `any-delim'.
7381 (completion-pcm--optimize-pattern): New function.
7382 (completion-pcm--pattern->regex): Handle `any-delim'.
7383 * icomplete.el (icomplete-forward-completions)
7384 (icomplete-backward-completions, icomplete-completions):
7385 Adjust calls to completion-all-sorted-completions and
7386 completion--cache-all-sorted-completions.
7387 (icomplete-with-completion-tables): Default to t.
7388 * emacs-lisp/crm.el (crm--current-element): Rename from
7389 crm--select-current-element. Don't put an overlay but return the
7390 boundaries instead.
7391 (crm--completion-command): Take two new args to bind to the boundaries.
7392 (crm-completion-help): Adjust accordingly.
7393 (crm-complete): Use completion-in-region.
7394 (crm-complete-word): Use completion-in-region--single-word.
7395 (crm-complete-and-exit): Use completion-complete-and-exit.
7396
e17d94a5
SM
73972013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7400 than dynamically.
7401
96727100
JL
74022013-09-06 Juri Linkov <juri@jurta.org>
7403
7404 * info.el (Info-display-images-node): When image file doesn't exist
7405 display text version of the image if it's provided in the Info file.
7406 Otherwise, display the location of missing image from SRC attribute.
7407 Add help-echo text property from ALT attribute. (Bug#15279)
7408
86cf7329
SM
74092013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7410
7411 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7412 (edit-abbrevs-mode): Use define-derived-mode.
7413
7414 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7415 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7416 that it's defined.
7417 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7418 Use define-derived-mode.
7419
7420 * epg.el (epg-start-encrypt): Minor CSE simplification.
7421
816244a2
WX
74222013-09-06 William Xu <william.xwl@gmail.com>
7423
7424 * arc-mode.el: Add support for 7za (bug#15264).
7425 (archive-7z-program): New var.
7426 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7427 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7428 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7429
1486fa31
MA
74302013-09-06 Michael Albinus <michael.albinus@gmx.de>
7431
7432 Remove URL syntax.
7433
7434 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7435 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7436 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7437 (tramp-postfix-host-format, tramp-file-name-regexp)
7438 (tramp-completion-file-name-regexp)
7439 (tramp-completion-dissect-file-name)
7440 (tramp-handle-substitute-in-file-name): Remove 'url case.
7441 (tramp-file-name-regexp-url)
7442 (tramp-completion-file-name-regexp-url): Remove constants.
7443
39785324
GM
74442013-09-06 Glenn Morris <rgm@gnu.org>
7445
7446 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7447
1f896cb7
DG
74482013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7449
7450 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7451 keywords" below "here-doc beginnings" (Bug#15270).
7452
c0458e0b
SM
74532013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * subr.el (pop): Use `car-safe'.
7456 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7457 to detect unused `pop' return value.
7458
7459 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7460 var `block-regexp'.
7461 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7462 (python-fill-string): Remove unused var `marker'.
7463 (python-skeleton-add-menu-items): Remove unused var `items'.
7464
7465 * international/mule-cmds.el: Require CL.
7466 (find-coding-systems-for-charsets): Avoid add-to-list.
7467 (sanitize-coding-system-list): New function, extracted from
7468 select-safe-coding-system-interactively.
7469 (select-safe-coding-system-interactively): Use it.
7470 (read-input-method-name): Accept symbols for `default'.
7471
7472 * emacs-lisp/advice.el (defadvice): Add indent rule.
7473
6c42fc3e
DH
74742013-09-05 Daniel Hackney <dan@haxney.org>
7475
7476 * dired-x.el:
7477 * net/ange-ftp.el:
7478 * net/browse-url.el:
7479 * net/dbus.el:
7480 * net/eudc.el:
7481 * net/eudcb-ldap.el:
7482 * net/eww.el:
7483 * net/imap.el:
7484 * printing.el:
7485 * vc/ediff-diff.el:
7486 * vc/ediff-init.el:
7487 * vc/ediff-merg.el:
7488 * vc/ediff-mult.el:
7489 * vc/ediff-util.el:
7490 * vc/ediff-wind.el:
7491 * vc/ediff.el:
7492 * vc/emerge.el:
7493 * vc/pcvs.el:
7494 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7495 byte compiler. Remove some unused let-bound variables.
7496
4c528aab
SM
74972013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7498
7499 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7500 a "ref-cell", since it gets better optimized (bug#14883).
7501
bd15c390
GM
75022013-09-05 Glenn Morris <rgm@gnu.org>
7503
7504 * progmodes/cc-awk.el (c-forward-sws): Declare.
7505
1c3ac2e5
GM
75062013-09-04 Glenn Morris <rgm@gnu.org>
7507
7508 * generic-x.el [rul-generic-mode]: Require cc-mode.
7509 (c++-mode-syntax-table): Declare.
7510 (rul-generic-mode-syntax-table): Init in the defvar.
7511
52b1cc79
SM
75122013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7513
c828af56
SM
7514 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7515 (vc-do-command, vc-set-async-update):
7516 * vc/vc-mtn.el (vc-mtn-dir-status):
7517 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7518 (vc-hg-pull, vc-hg-merge-branch):
7519 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7520 (vc-git-merge-branch):
7521 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7522 (vc-cvs-dir-status-files):
7523 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7524 (vc-bzr-dir-status-files):
7525 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7526 * vc/vc-annotate.el: Use lexical-binding.
7527 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7528 (vc-sentinel-movepoint): Declare.
7529 (vc-annotate): Don't use `goto-line'.
7530 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7531 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7532 (vc-sentinel-movepoint): Declare.
7533 * vc/vc-svn.el: Use lexical-binding.
7534 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7535 * vc/vc-sccs.el:
7536 * vc/vc-rcs.el: Use lexical-binding.
7537
abae272c
SM
7538 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7539 `deleted'. Don't drop errors silently.
7540
52b1cc79
SM
7541 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7542
63191d9f
XF
75432013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7544
7545 * vc/vc.el (vc-ignore): Rewrite.
7546 (vc-default-ignore): New function.
7547 (vc-default-ignore-completion-table): Use find-ignore-file.
7548
7549 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7550 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7551 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7552 Remove. Most code moved to vc.el.
7553
9d3f707c
SM
75542013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7555
abae272c 7556 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7557 * net/tramp-smb.el (tramp-smb-get-file-entries):
7558 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7559 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7560
fde38d49
SM
7561 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7562 Update call to it.
7563 (eww-change-select): Remove unused var `properties'.
7564 (eww-make-unique-file-name): Remove unused var `base'.
7565
7566 * finder.el (finder-compile-keywords): Don't mess with windows.
7567
84032db7
SM
7568 * calculator.el (calculator-funcall): Fix typo in last change.
7569
724f5e41
SM
7570 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7571
14b511d4
SM
7572 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7573 <pkg>-autoloads.el file stop us.
7574
9d3f707c 7575 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7576 warnings, and factor out common code.
9d3f707c 7577
88527bc0
DG
75782013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7579
7580 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7581 two-character operators and whether the character preceding them
7582 changes their meaning (Bug#15208).
7583
96edb677
FEG
75842013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7585
7586 Format code sent to Python shell for robustness.
9d3f707c
SM
7587 * progmodes/python.el (python-shell-buffer-substring):
7588 New function.
96edb677
FEG
7589 (python-shell-send-region, python-shell-send-buffer): Use it.
7590
95beaef3
MA
75912013-09-02 Michael Albinus <michael.albinus@gmx.de>
7592
7593 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7594 * net/tramp.el (tramp-user-error): ... here.
7595 (tramp-find-method, tramp-check-proper-host)
7596 (tramp-dissect-file-name, tramp-debug-message)
7597 (tramp-handle-shell-command):
7598 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7599 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7600
7601 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7602
f167c27b
MR
76032013-09-02 Martin Rudalics <rudalics@gmx.at>
7604
7605 * avoid.el (mouse-avoidance-point-position)
7606 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7607 returns nil.
7608
cd16c5f1
FEG
76092013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7610
7611 * progmodes/python.el (python-shell-completion-get-completions):
7612 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7613 (python-nav-if-name-main): New command.
cd16c5f1 7614
e73c3a0d
GM
76152013-09-01 Glenn Morris <rgm@gnu.org>
7616
f8ccce03
GM
7617 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7618 Avoid leading space in $wins. Otherwise the sed command used by
7619 eg compile-main ends up containing "/*.el". (Bug#15170)
7620
e73c3a0d
GM
7621 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7622
415f808e
GM
76232013-08-30 Glenn Morris <rgm@gnu.org>
7624
7625 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7626 Fix is-this-a-directory logic. (Bug#15220)
7627
f069bba8
SM
76282013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7629
112798c1
SM
7630 * textmodes/css-mode.el: Use SMIE.
7631 (css-smie-grammar): New var.
7632 (css-smie--forward-token, css-smie--backward-token)
7633 (css-smie-rules): New functions.
7634 (css-mode): Use them.
7635 (css-navigation-syntax-table): Remove var.
7636 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7637 (css-indent-calculate, css-indent-line): Remove functions.
7638
7639 Misc changes to reduce use of `(lambda...); and other cleanups.
7640 * cus-edit.el: Use lexical-binding.
7641 (customize-push-and-save, customize-apropos)
7642 (custom-buffer-create-internal): Use closures.
7643 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7644 * progmodes/ada-xref.el: Use setq.
7645 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7646 * dframe.el: Use lexical-binding.
7647 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7648 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7649 * descr-text.el: Use lexical-binding.
7650 (describe-text-widget, describe-text-sexp, describe-property-list):
7651 Use closures.
7652 * comint.el (comint-history-isearch-push-state): Use a closure.
7653 * calculator.el: Use lexical-binding.
7654 (calculator-number-to-string): Make it work with lexical-binding.
7655 (calculator-funcall): Same and use cl-letf.
7656
2da4c3ab
SM
7657 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7658 (lisp--company-doc-string, lisp--company-location): New functions.
7659 (lisp-completion-at-point): Use them to improve Company support.
7660
f069bba8
SM
7661 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7662 params of lambda expressions.
7663 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7664 (ruby-smie--opening-pipe-p): New function.
7665 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7666 symbols and matched |...| for formal params.
7667 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7668 from being treated as hanging. Handle "rescue".
7669
6758b6a8
GM
76702013-08-29 Glenn Morris <rgm@gnu.org>
7671
7672 * progmodes/cc-engine.el (c-pull-open-brace):
7673 Move definition before use.
7674
e8dfd197
SM
76752013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7677 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7678 are immutable. Don't use `unsafe' any more.
7679 (cl--defsubst-expand): Don't substitute at the same time as keeping
7680 a residual unused let-binding. Don't use `unsafe' any more.
7681
cc585c96
GM
76822013-08-29 Glenn Morris <rgm@gnu.org>
7683
ba579ea6
GM
7684 * calendar/cal-china.el (calendar-chinese-year-cache):
7685 Recenter on 2015.
7686
8201a87e
GM
7687 * nxml/nxml-util.el (nxml-debug-clear-inside):
7688 Use cl-loop rather than loop.
7689
6ee877c7
GM
7690 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7691
cc585c96
GM
7692 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7693
27be8d39
GM
76942013-08-28 Glenn Morris <rgm@gnu.org>
7695
397440a1
GM
7696 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7697
2bb762d4
GM
7698 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7699
27be8d39
GM
7700 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7701
2d69b99e
SM
77022013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7703
f663baa7
SM
7704 * simple.el (repeat-complex-command--called-interactively-skip):
7705 New function.
7706 (repeat-complex-command): Use it (bug#14136).
7707
dd4f8b74
SM
7708 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7709 (c-define-abbrev-table): Add `doc' argument.
7710 (c-mode-abbrev-table, c++-mode-abbrev-table)
7711 (objc-mode-abbrev-table, java-mode-abbrev-table)
7712 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7713 (awk-mode-abbrev-table): Use it.
7714 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7715 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7716 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7717 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7718 Move initialization into the declaration; and remove any
7719 autoload cookie.
7720
b58969f7
SM
7721 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7722 and dynamic let binding.
7723
4021d6a6
SM
7724 * vc/smerge-mode.el: Remove redundant :group args.
7725
2d69b99e
SM
7726 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7727 to load-path.
7728
274919fd
JL
77292013-08-28 Juri Linkov <juri@jurta.org>
7730
7731 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7732 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7733 (isearch-other-meta-char): Handle an undefined shifted printing
7734 character by downshifting it. (Bug#15200)
7735
121f8c95
JL
77362013-08-28 Juri Linkov <juri@jurta.org>
7737
7738 * isearch.el (isearch-search): Change regexp error message for
7739 non-regexp searches. (Bug#15166)
7740
50b13cde
PE
77412013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7742
7743 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7744 for portability to hosts where /bin/sh has problems.
7745
95888bca
SM
77462013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7749
bbe558f1
JL
77502013-08-27 Juri Linkov <juri@jurta.org>
7751
7752 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7753 in the keyboard macro. (Bug#15126)
7754
26f98a7d
JL
77552013-08-27 Juri Linkov <juri@jurta.org>
7756
7757 * isearch.el (isearch-quote-char): Comment out converting unibyte
7758 to multibyte, thus syncing with its `quoted-insert' counterpart.
7759 (Bug#15166)
7760
7c97d35e
MR
77612013-08-27 Martin Rudalics <rudalics@gmx.at>
7762
7763 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7764 argument in call of get-largest-window (Bug#15185).
7765 Reported by Stephen Leake.
7c97d35e 7766
a0b5606e 77672013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7768
7769 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7770
9e89d835
SM
77712013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7772
7773 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7774 from a matcher-function unless there's no more matches (bug#15161).
7775
78fc2530
MA
77762013-08-26 Michael Albinus <michael.albinus@gmx.de>
7777
7778 * minibuffer.el: Revert change from 2013-08-20.
7779
7780 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7781 with text property `tramp-default', if appropriate.
7782 (tramp-check-proper-host): New defun.
7783 (tramp-dissect-file-name): Do not check hostname. Revert change
7784 of 2013-03-18.
7785 (tramp-backtrace): Make VEC-OR-PROC optional.
7786
7787 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7788 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7789 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7790 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7791 Apply `tramp-check-proper-host'.
78fc2530 7792
edca97cd
TH
77932013-08-26 Tassilo Horn <tsdh@gnu.org>
7794
7795 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7796 lambda expression in order to have `describe-variable' display it.
7797
df54bcbd
MA
77982013-08-26 Michael Albinus <michael.albinus@gmx.de>
7799
7800 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7801 BUF can be optional. (Bug#15186)
7802
eed99101
XF
78032013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7804
7805 * progmodes/flymake.el (flymake-get-real-file-name-function):
7806 Fix broken customization. (Bug#15184)
7807
b5eb9035
AM
78082013-08-25 Alan Mackenzie <acm@muc.de>
7809
8a51e842
AM
7810 Improve indentation of bracelists defined by macros (without "=").
7811
7812 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7813 expansion begins with "{", regard it as bracelist when it doesn't
7814 contain a ";".
7815
869455d4
AM
7816 Parse C++ inher-intro when there's a template split over 2 lines.
7817
7818 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7819 rigorously the search for "class" etc. followed by ":".
7820
7821 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7822 random languages a regexp which never matches rather than nil.
7823
b5eb9035
AM
7824 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7825
7826 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7827 (c-awk-regexp-one-line-possibly-open-char-list-re)
7828 (c-awk-one-line-possibly-open-regexp-re)
7829 (c-awk-one-line-non-syn-ws*-re): Remove.
7830 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7831 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7832 (c-awk-space*-unclosed-regexp-/-re): New constants.
7833 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7834 aren't regexp delimiters.
7835
7836 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7837 handling for a rare situation in AWK Mode involving unterminated
7838 strings/regexps.
7839
61611d54
GM
78402013-08-23 Glenn Morris <rgm@gnu.org>
7841
2d85dc34
GM
7842 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7843
cb8d2612
GM
7844 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7845
bb35f42f
GM
7846 * files.el (create-file-buffer): If the result would begin with
7847 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7848
b9808e77
SM
78492013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7850
e3a66363
SM
7851 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7852 text-properties (bug#15155).
7853
b9808e77
SM
7854 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7855 exist any more.
7856 (calc-keypad-redraw): Remove unused var `pad'.
7857 (calc-keypad-press): Remove unused var `menu'.
7858
7fd5f65e
MR
78592013-08-23 Martin Rudalics <rudalics@gmx.at>
7860
b9808e77
SM
7861 * window.el (display-buffer-pop-up-frame):
7862 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7863 use it as the new frame's buffer (Bug#15133).
7864
8352b530
SM
78652013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7866
7867 * calendar/timeclock.el: Minor cleanups.
7868 (timeclock-ask-before-exiting, timeclock-use-display-time):
7869 Use `symbol'.
7870 (timeclock-modeline-display): Define as alias before the
7871 actual definition.
7872 (timeclock-mode-line-display): Use define-minor-mode.
7873 (timeclock-day-list-template): Make it a function, add an argument.
7874 (timeclock-day-list-required, timeclock-day-list-length)
7875 (timeclock-day-list-debt, timeclock-day-list-span)
7876 (timeclock-day-list-break): Adjust calls accordingly.
7877
9f7b1925
SM
78782013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7881 Use read--expression so that completion works again.
7882
6e50e983
SS
78832013-08-21 Sam Steingold <sds@gnu.org>
7884
7885 Add rudimentary inferior shell interaction
7886 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7887 (sh-set-shell): Reset it.
9f7b1925
SM
7888 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7889 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7890
dbb0d350
SM
78912013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * align.el: Use lexical-binding.
7894 (align-region): Simplify accordingly.
7895
c88586a9
MA
78962013-08-20 Michael Albinus <michael.albinus@gmx.de>
7897
7898 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7899
7900 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7901 `non-essential' up.
7902
f95527c8
MA
79032013-08-17 Michael Albinus <michael.albinus@gmx.de>
7904
7905 * net/tramp.el:
7906 * net/tramp-adb.el:
7907 * net/tramp-cmds.el:
7908 * net/tramp-ftp.el:
7909 * net/tramp-gvfs.el:
7910 * net/tramp-gw.el:
7911 * net/tramp-sh.el: Don't wrap external variable declarations by
7912 `eval-when-compile'.
7913
4b5fe4ee
LMI
79142013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7915
7916 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7917 now that Emacs supports ImageMagick animations.
7918
13c366c9
MA
79192013-08-16 Michael Albinus <michael.albinus@gmx.de>
7920
7921 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7922 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7923
3dfc5cd6
MR
79242013-08-16 Martin Rudalics <rudalics@gmx.at>
7925
7926 * window.el (mouse-autoselect-window-select): Do autoselect when
7927 mouse pointer is on margin.
7928
4bbb4381
WP
79292013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7930
7931 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7932
3a2ddc2d
GM
79332013-08-16 Glenn Morris <rgm@gnu.org>
7934
e8bedf5a
GM
7935 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7936 Handle "Remote Directory" response of some clients. (Bug#15058)
7937
58c4682f
GM
7938 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7939 Tweak warning. (Bug#14926)
7940
57953f49
GM
7941 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7942 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7943
3a2ddc2d
GM
7944 * image-mode.el (image-mode-map): Add menu items to reverse,
7945 increase, decrease, reset animation speed.
7946 (image--set-speed, image-increase-speed, image-decrease-speed)
7947 (image-reverse-speed, image-reset-speed): New functions.
7948 (image-mode-map): Add bindings for speed commands.
7949
7950 * image.el (image-animate-get-speed, image-animate-set-speed):
7951 New functions.
7952 (image-animate-timeout): Respect image :speed property.
7953
10fa0ed3
SM
79542013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7957 previous line (bug#15101).
7958 (debugger-eval-expression, debugger-record-expression):
7959 Use read--expression (bug#15102).
7960
5d89d9d2
MA
79612013-08-15 Michael Albinus <michael.albinus@gmx.de>
7962
7963 Remove byte compiler warnings, visible when compiling with
7964 `byte-compile-force-lexical-warnings' set to t.
7965
7966 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7967 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7968 (tramp-handle-unhandled-file-name-directory)
7969 (tramp-handle-file-notify-add-watch, tramp-action-login)
7970 (tramp-action-succeed, tramp-action-permission-denied)
7971 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7972 arguments with "_".
7973
7974 * net/tramp-adb.el (tramp-adb-parse-device-names)
7975 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7976 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7977 (tramp-adb-handle-file-truename): Remove unused arguments.
7978
7979 * net/tramp-cache.el (tramp-flush-directory-property)
7980 (tramp-flush-connection-property, tramp-list-connections)
7981 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7982
10fa0ed3
SM
7983 * net/tramp-compat.el (tramp-compat-make-temp-file):
7984 Rename FILENAME to F.
5d89d9d2
MA
7985
7986 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7987 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7988 (tramp-zeroconf-parse-workstation-device-names)
7989 (tramp-zeroconf-parse-webdav-device-names)
7990 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7991
7992 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7993 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7994
7995 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7996 arguments.
7997 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7998 (tramp-sh-handle-insert-file-contents-literally)
7999 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8000 with "_".
8001 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8002 Remove unused variables.
8003
8004 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8005 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8006 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8007
8008 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8009 Make them a defconst.
8010 (tramp-uuencode-region): Remove unused variable.
8011
62f33bae
JB
80122013-08-14 Juanma Barranquero <lekktu@gmail.com>
8013
8014 * frameset.el (frameset--prop-setter): New function.
8015 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
8016 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8017 parameter was already set in FILTERED. Doc fix.
8018 (frameset--record-minibuffer-relationships): Allow saving a
8019 minibufferless frame without its corresponding minibuffer frame.
8020 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8021 frame, if the frame id matches.
8022 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8023 frames before orphaned ones.
8024 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 8025
c660a885
MR
80262013-08-14 Martin Rudalics <rudalics@gmx.at>
8027
8028 * window.el (window-make-atom): Don't overwrite parameter
8029 already present.
8030 (display-buffer-in-atom-window): Handle special case where we
8031 split an already atomic window.
8032 (window--major-non-side-window, display-buffer-in-side-window)
8033 (window--side-check): Ignore minibuffer window when walking
8034 window tree.
8035 (window-deletable-p): Return 'frame only if no other frame uses
8036 our minibuffer window.
8037 (record-window-buffer): Run buffer-list-update-hook.
8038 (split-window): Make sure window--check-frame won't destroy an
8039 existing atomic window in case the new window gets nested
8040 inside.
8041 (display-buffer-at-bottom): Ignore minibuffer window when
8042 walking window tree. Don't split a side window.
8043 (pop-to-buffer): Don't set-buffer here, the select-window call
8044 should do that.
8045 (mouse-autoselect-window-select): Autoselect only if we are in the
8046 text portion of the window.
8047
8259030d
LMI
80482013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8049
21c58ae2
LMI
8050 * net/shr.el (shr-parse-image-data): New function to grab both the
8051 data itself and the Content-Type.
8052 (shr-put-image): Use it.
8053
8054 * net/eww.el (eww-display-image): Ditto.
8055
8259030d
LMI
8056 * image.el (image-content-type-suffixes): New variable.
8057
ad756449
FEG
80582013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8059
8060 * progmodes/python.el (python-imenu--build-tree)
8061 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8062
f73f4ce6
XF
80632013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8064
8065 * simple.el (backward-word): Mention the optional argument.
8066
1f585e65
SM
80672013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * frameset.el (frameset--make): Rename constructor from make-frameset.
8070 (frameset-p, frameset-valid-p): Don't autoload.
8071 (frameset-valid-p): Use normal accessors.
8072
af1c6c84
GM
80732013-08-13 Glenn Morris <rgm@gnu.org>
8074
55e47f95
GM
8075 * progmodes/compile.el (compile-command): Tweak example in doc.
8076 * obsolete/scribe.el (scribe-mode):
8077 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8078
f0024d8c
GM
8079 * mail/feedmail.el (feedmail-confirm-outgoing)
8080 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8081
8082 * cus-start.el (truncate-partial-width-windows): Fix type.
8083
8084 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8085
af1c6c84
GM
8086 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8087
5514cc4c
SM
80882013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * emacs-lisp/timer.el (timer--time-setter): New function.
8091 (timer--time): Use it as gv-setter.
8092
8093 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8094 setter is not a symbol.
8095
7997a2f1
GJ
80962013-08-12 Grégoire Jadi <daimrod@gmail.com>
8097
8098 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8099 if sending fails. This makes debugging easier.
8100
01f1a9ab
JB
81012013-08-12 Juanma Barranquero <lekktu@gmail.com>
8102
8103 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8104 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8105 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8106
594a4307
EZ
81072013-08-12 Eli Zaretskii <eliz@gnu.org>
8108
8109 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8110
7a22490f 81112013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
8112
8113 * format.el (format-annotate-function):
8114 Handle read-only text properties in the source. (Bug#14887)
8115
3e41a054
LMI
81162013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8117
5514cc4c
SM
8118 * net/eww.el (eww-display-html): Ignore coding system errors.
8119 One web site uses "utf-8lias" as the coding system.
3e41a054 8120
7ec326db
JB
81212013-08-11 Juanma Barranquero <lekktu@gmail.com>
8122
8123 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8124
5660113b
JB
81252013-08-10 Juanma Barranquero <lekktu@gmail.com>
8126
9a4ebc74
JB
8127 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8128 (tutorial--detailed-help): Remove unused local variables.
8129 (tutorial--save-tutorial-to): Use ignore-errors.
8130 (help-with-tutorial): Use looking-at-p.
8131
8132 * view.el (view-buffer-other-window, view-buffer-other-frame):
8133 Mark unused arguments.
8134
8135 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8136 (woman-select-symbol-fonts, woman, woman-find-file)
8137 (woman-insert-file-contents, woman-non-underline-faces):
8138 Use string-match-p.
8139 (woman1-unquote): Move declaration.
8140
8141 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8142 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8143 argument. Remove unused local variable.
8144 (xml-parse-elem-type): Use string-match-p.
8145 (xml-substitute-numeric-entities): Use ignore-errors.
8146
45fdb482
JB
8147 * calculator.el (calculator): Mark unused argument.
8148 (calculator-paste, calculator-quit, calculator-integer-p):
8149 Use ignore-errors.
8150 (calculator-string-to-number, calculator-decimal, calculator-exp)
8151 (calculator-op-or-exp): Use string-match-p.
8152
8153 * dired.el (dired-buffer-more-recently-used-p): Declare.
8154 (dired-insert-set-properties, dired-insert-old-subdirs):
8155 Use ignore-errors.
8156
8157 * dired-aux.el (dired-compress): Use ignore-errors.
8158 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8159 (dired-do-async-shell-command, dired-do-shell-command)
8160 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8161 (dired-insert-subdir-validate): Use string-match-p.
8162 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8163 (dired-add-entry): Use string-match-p, looking-at-p.
8164 (dired-insert-subdir-newpos): Remove unused local variable.
8165
8166 * filenotify.el (file-notify-callback): Remove unused local variable.
8167
8168 * filesets.el (filesets-error): Mark unused argument.
8169 (filesets-which-command-p, filesets-filter-dir-names)
8170 (filesets-directory-files, filesets-get-external-viewer)
8171 (filesets-ingroup-get-data): Use string-match-p.
8172
8173 * find-file.el (ff-other-file-name, ff-other-file-name)
8174 (ff-find-the-other-file, ff-cc-hh-converter):
8175 Remove unused local variables.
8176 (ff-get-file-name): Use string-match-p.
8177 (ff-all-dirs-under): Use ignore-errors.
8178
8179 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8180 (follow-select-if-visible): Remove unused local variable.
8181
8182 * forms.el (read-file-filter): Move declaration.
8183 (forms--make-format, forms--make-parser, forms-insert-record):
8184 Quote function with #'.
8185 (forms--update): Use string-match-p. Quote function with #'.
8186
8187 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8188 (help-make-xrefs): Use looking-at-p.
8189 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8190
8191 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8192 (ibuffer-confirm-operation-on): Use string-match-p.
8193
8194 * msb.el (msb-item-handler, msb-dired-item-handler):
8195 Mark unused arguments.
8196
8197 * ses.el (ses-decode-cell-symbol)
8198 (ses-kill-override): Remove unused local variable.
8199 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8200 (ses-load): Use ignore-errors, looking-at-p.
8201 (ses-jump-safe): Use ignore-errors.
8202 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8203
8204 * tabify.el (untabify, tabify): Mark unused arguments.
8205
8206 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8207 Mark unused argument.
8208 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8209 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8210
c880af52
JB
8211 * emacs-lisp/timer.el (timer--time): Define setter with
8212 gv-define-setter to avoid deprecation warning.
8213
5660113b 8214 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 8215 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
8216 (cmpl-statistics-block): Remove (body was commented out).
8217 All callers changed.
8218 (add-completions-from-buffer, load-completions-from-file):
8219 Remove unused variables.
8220
156aab80
JB
82212013-08-09 Juanma Barranquero <lekktu@gmail.com>
8222
5c5dee78
JB
8223 * filecache.el (file-cache-delete-file-list):
8224 Print message only when told so.
8225 (file-cache-files-matching): Use #' in mapconcat argument.
8226
156aab80
JB
8227 * ffap.el (ffap-url-at-point): Fix reference to variable
8228 thing-at-point-default-mail-uri-scheme.
8229
ad9dcd70
SM
82302013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8231
54bd972f
SM
8232 * subr.el (define-error): New function.
8233 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8234 error-file-not-found and define with define-error.
8235 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8236 and define with define-error.
8237 * userlock.el (file-locked, file-supersession):
8238 * simple.el (mark-inactive):
8239 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8240 * progmodes/ada-mode.el (ada-mode-errors):
8241 * play/life.el (life-extinct):
8242 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8243 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8244 * nxml/rng-util.el (rng-error):
8245 * nxml/rng-uri.el (rng-uri-error):
8246 * nxml/rng-match.el (rng-compile-error):
8247 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8248 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8249 * nxml/nxml-rap.el (nxml-scan-error):
8250 * nxml/nxml-outln.el (nxml-outline-error):
8251 * net/soap-client.el (soap-error):
8252 * net/gnutls.el (gnutls-error):
8253 * net/ange-ftp.el (ftp-error):
8254 * mpc.el (mpc-proc-error):
8255 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8256 (json-number-format, json-string-escape, json-string-format)
8257 (json-key-format, json-object-format):
8258 * jka-compr.el (compression-error):
8259 * international/quail.el (quail-error):
8260 * international/kkc.el (kkc-error):
8261 * emacs-lisp/ert.el (ert-test-failed):
8262 * calc/calc.el (calc-error, inexact-result, math-overflow)
8263 (math-underflow):
8264 * bookmark.el (bookmark-error-no-filename):
8265 * epg.el (epg-error): Define with define-error.
8266
0ea9e53a
SM
8267 * time.el (display-time-event-handler)
8268 (display-time-next-load-average): Don't call sit-for since it seems
8269 unnecessary (bug#15045).
8270
b0429158
SM
8271 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8272 Use #' instead of ' to quote functions.
8273 (checkdoc-output-mode): Use setq-local.
8274 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8275 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8276 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8277 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8278 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8279 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8280 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8281 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8282
ad9dcd70
SM
8283 * ido.el (ido-completion-help): Fix up compiler warning.
8284
77187e6f
JB
82852013-08-09 Juanma Barranquero <lekktu@gmail.com>
8286
8287 * frameset.el (frameset-p): Add autoload cookie.
8288 (frameset--jump-to-register): New function, based on code moved from
8289 register.el.
8290 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8291
8292 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8293 (frameset-restore, frameset-save, frameset-session-filter-alist):
8294 Remove declarations.
8295 (register-alist): Doc fix.
8296 (frameset-to-register): Move to frameset.el.
8297 (jump-to-register, describe-register-1): Remove frameset-specific code.
8298
9d3aa82c
JB
82992013-08-08 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * allout-widgets.el (allout-widgets-pre-command-business)
8302 (allout-widgets-post-command-business)
8303 (allout-widgets-after-change-handler)
8304 (allout-decorate-item-and-context, allout-set-boundary-marker)
8305 (allout-body-modification-handler)
8306 (allout-graphics-modification-handler): Mark ignored arguments.
8307 (allout-widgets-post-command-business)
8308 (allout-widgets-exposure-change-processor)
8309 (allout-widgets-exposure-undo-processor)
8310 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8311 (allout-parse-item-at-point, allout-decorate-item-guides)
8312 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8313 * allout.el (epa-passphrase-callback-function): Declare.
8314 (allout-overlay-insert-in-front-handler)
8315 (allout-overlay-interior-modification-handler)
8316 (allout-isearch-end-handler, allout-chart-siblings)
8317 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8318 (allout-yank-processing, allout-process-exposed)
8319 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8320 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8321 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8322 (lisp-indent-defform): Mark ignored arguments.
8323 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8324 (calculate-lisp-indent): Remove unused variables.
8325 * international/characters.el (indian-2-column, arabic-2-column)
8326 (tibetan): Mark ignored arguments.
8327 (use-cjk-char-width-table): Mark ignored arguments.
8328 Remove unused variables.
8329 * international/fontset.el (build-default-fontset-data)
8330 (x-compose-font-name, create-fontset-from-fontset-spec):
8331 Mark ignored arguments.
8332 (fontset-plain-name): Remove unused variables.
8333 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8334 (keyboard-coding-system): Mark ignored arguments.
8335 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8336 * help.el (resize-temp-buffer-window):
8337 * window.el (display-buffer-in-major-side-window)
8338 (display-buffer-in-side-window, display-buffer-in-previous-window):
8339 Remove unused variables.
8340 * isearch.el (isearch-forward-symbol):
8341 * version.el (emacs-bzr-version-bzr):
8342 * international/mule-cmds.el (current-language-environment):
8343 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8344 (x-handle-display):
8345 * term/pc-win.el (x-list-fonts, x-display-planes)
8346 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8347 (x-server-version, x-display-screens, x-display-mm-height)
8348 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8349 (x-selection-owner-p, x-own-selection-internal)
8350 (x-disown-selection-internal, x-get-selection-internal)
8351 (msdos-initialize-window-system):
8352 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8353 * term/x-win.el (x-handle-no-bitmap-icon):
8354 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8355 (vc-default-find-file-hook, vc-default-extra-menu):
8356 Mark ignored arguments.
8357
0ca3f70e
SM
83582013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8359
8360 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8361 break-condition in the context of the debugged code (bug#12685).
8362
74c5d24c
CS
83632013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8364
8365 * comint.el:
8366 Do not use an overlay to highlight the last prompt. (Bug#14744)
8367 (comint-mode): Make comint-last-prompt buffer local.
8368 (comint-last-prompt): New variable.
8369 (comint-last-prompt-overlay): Remove. Superseded by
8370 comint-last-prompt.
0ca3f70e
SM
8371 (comint-snapshot-last-prompt, comint-output-filter):
8372 Use comint-last-prompt.
74c5d24c 8373
c03c02ee
JB
83742013-08-08 Juanma Barranquero <lekktu@gmail.com>
8375
a3738d20 8376 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8377 (frameset-save): Check validity of the resulting frameset.
8378
04263d23
XF
83792013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8380
8381 * ido.el (ido-record-command): Add doc string.
8382
76c5e5ab
JB
83832013-08-08 Juanma Barranquero <lekktu@gmail.com>
8384
8385 * frameset.el (frameset): Do not disable creation of the default
8386 frameset-p predicate. Doc fix.
8387 (frameset-valid-p): New function, copied from the old predicate-p.
8388 Add additional checks.
8389 (frameset-restore): Check with frameset-valid-p.
8390 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8391 (frameset-name, frameset-description, frameset-properties)
8392 (frameset-states): Add docstring.
f9dbf1cb
JB
8393 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8394 (frameset-filter-alist): Doc fixes.
76c5e5ab 8395
bd0c3c0b
JB
83962013-08-08 Juanma Barranquero <lekktu@gmail.com>
8397
8398 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8399
c735544c
SM
84002013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8403 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8404 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8405 (byte-compile-normal-call): Remove obsolescence check.
8406
2805a651
JB
84072013-08-08 Juanma Barranquero <lekktu@gmail.com>
8408
3677ffeb
JB
8409 * frameset.el (frameset-restore): Doc fix.
8410
2805a651
JB
8411 * register.el (frameset-frame-id, frameset-frame-with-id)
8412 (frameset-p, frameset-restore, frameset-save): Declare.
8413 (register-alist): Document framesets.
8414 (frameset-session-filter-alist): Declare.
8415 (frameset-to-register): New function.
8416 (jump-to-register): Implement jumping to framesets. Doc fix.
8417 (describe-register-1): Describe framesets.
8418
8419 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8420
a912c016
JB
84212013-08-07 Juanma Barranquero <lekktu@gmail.com>
8422
8423 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8424 Use lexical-binding.
8425
8426 * frameset.el (frameset): Use type vector, not list (incompatible
8427 change). Do not declare a new constructor, use the default one.
8428 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8429 `name' and `description', respectively, and add read-only slot
8430 `timestamp'. Doc fixes.
8431 (frameset-copy, frameset-persistent-filter-alist)
8432 (frameset-filter-alist, frameset-switch-to-gui-p)
8433 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8434 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8435 (frameset-filter-iconified, frameset-keep-original-display-p):
8436 Doc fixes.
8437 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8438 Rename from frameset-filter-(save|restore)-param. All callers changed.
8439 Doc fix.
8440 (frameset-p): Adapt to change to vector and be more thorough.
8441 Change arg name to OBJECT. Doc fix.
8442 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8443 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8444 All callers changed.
8445 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8446 All callers changed.
8447 (frameset--record-minibuffer-relationships): Rename from
8448 frameset--process-minibuffer-frames. All callers changed.
8449 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8450 Use new default constructor (again). Doc fix.
c295fc18 8451 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8452 All callers changed.
8453 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8454 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8455 Doc fix.
8456 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8457 PARAMETERS and WINDOW-STATE, respectively.
8458 (frameset-restore): Add new keyword argument PREDICATE.
8459 Reset frameset--target-display to nil. Doc fix.
8460
bb41480a
SM
84612013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8462
f001e98e
SM
8463 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8464 (bat-mode): Use it.
8465 (bat-mode-syntax-table): Mark \n as end-of-comment.
8466 (bat-font-lock-keywords): Remove comment rule.
8467
7679edb1
SM
8468 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8469 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8470
bb41480a
SM
8471 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8472 (byte-compile-callargs-warn): Use `push'.
8473 (byte-compile-arglist-warn): Ignore higher-order "calls".
8474 (byte-compile-file-form-autoload): Use `pcase'.
8475 (byte-compile-function-form): If quoting a symbol, check that it exists.
8476
cdc1ebb9
EZ
84772013-08-07 Eli Zaretskii <eliz@gnu.org>
8478
8479 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8480 and add a few popular commands found in batch files.
8481 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8482 (dos-mode): Doc fixes.
8483
312b1740
SM
84842013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8487 (dos-mode): Use setq-local. Add space after "rem".
8488 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8489 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8490
400a3178
AM
84912013-08-07 Arni Magnusson <arnima@hafro.is>
8492
8493 * progmodes/dos.el: New file.
8494 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8495 dos-mode.
8496
3b5c03d3
GM
84972013-08-06 Glenn Morris <rgm@gnu.org>
8498
8499 * calendar/calendar.el: Add new faces, and day-header-array.
8500 (calendar-weekday-header, calendar-weekend-header)
8501 (calendar-month-header): New faces.
8502 (calendar-day-header-construct): New function.
8503 (calendar-day-header-width): Also :set calendar-day-header-array.
8504 (calendar-american-month-header, calendar-european-month-header)
8505 (calendar-iso-month-header): Use calendar- faces.
8506 (calendar-generate-month):
8507 Use calendar-day-header-array for day headers; apply faces to them.
8508 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8509 (calendar-abbrev-construct): Add optional maxlen argument.
8510 (calendar-day-name-array): Doc fix.
8511 (calendar-day-name-array, calendar-abbrev-length)
8512 (calendar-day-abbrev-array):
8513 Also :set calendar-day-header-array, and maybe redraw.
8514 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8515 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8516 (calendar-day-name): Add option to use header array.
8517
ec6a2d7a
LMI
85182013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8519
8520 * net/shr.el (shr-render-td): Remove debugging.
8521 (shr-render-td): Make width computation consistent by defaulting
8522 all zero-width columns to 10 characters. This may not be optimal,
8523 but it's at least consistent.
2122cb6d
LMI
8524 (shr-make-table-1): Redo last change to fix the real problem in
8525 colspan handling.
ec6a2d7a 8526
ed4fd9c5
DA
85272013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8528
0ca3f70e
SM
8529 * files.el (cache-long-line-scans):
8530 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8531
64e22afe
JB
85322013-08-06 Juanma Barranquero <lekktu@gmail.com>
8533
024b38fc
JB
8534 * frameset.el (frameset, frameset-filter-alist)
8535 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8536 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8537 (frameset-compute-pos): Rename from frameset--compute-pos,
8538 and add docstring.
8539 (frameset-move-onscreen): Use frameset-compute-pos.
8540 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8541
64e22afe
JB
8542 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8543 Fix typos in docstrings.
8544
c8c2aca8
DA
85452013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8546
8547 * frame.el (get-other-frame): Tiny cleanup.
8548
1d237bba
JB
85492013-08-06 Juanma Barranquero <lekktu@gmail.com>
8550
8951efef
JB
8551 * vc/vc.el (vc-default-ignore-completion-table):
8552 Silence byte-compiler warning.
8553
307764cc 8554 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8555 slot, which can indeed be nil.
307764cc
JB
8556 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8557 Move entry for `left' from persistent to live filter alist.
8558 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8559 Doc fixes.
8560 (frameset-filter-params): When restoring a frame, copy items added to
8561 `filtered', to avoid unwittingly modifying the original parameters.
8562 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8563 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8564
1d237bba
JB
8565 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8566 to use looking-at-p instead of looking-at. (Bug#15028)
8567
dc6c0eda
SM
85682013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 Revert introduction of isearch-filter-predicates (bug#14714).
8571 Rely on add-function instead.
8572 * isearch.el (isearch-filter-predicates): Rename it back to
8573 isearch-filter-predicate.
8574 (isearch-message-prefix): Use advice-function-mapc and advice
8575 properties to get the isearch-message-prefix.
8576 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8577 instead of run-hook-with-args-until-failure.
8578 (isearch-filter-visible): Not obsolete any more.
8579 * loadup.el: Preload nadvice.
8580 * replace.el (perform-replace): Revert to funcall
8581 instead of run-hook-with-args-until-failure.
8582 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8583 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8584 dired-isearch-filenames-toggle; make it into a proper minor mode.
8585 Use add/remove-function.
8586 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8587 Call the minor-mode rather than add/remove-hook.
8588 (dired-isearch-filter-filenames):
8589 Remove isearch-message-prefix property.
8590 * info.el (Info--search-loop): New function, extracted from Info-search.
8591 Funcall isearch-filter-predicate instead of
8592 run-hook-with-args-until-failure isearch-filter-predicates.
8593 (Info-search): Use it.
8594 (Info-mode): Use isearch-filter-predicate instead of
8595 isearch-filter-predicates.
8596
290d5b58
DA
85972013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8598
8599 Do not call to `selected-window' where it is assumed by default.
8600 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8601 `window-hscroll', `window-width', `window-height', `window-buffer',
8602 `window-frame', `window-start', `window-point', `next-window'
8603 and `window-display-table'.
8604 * abbrev.el (abbrev--default-expand):
8605 * bs.el (bs--show-with-configuration):
8606 * buff-menu.el (Buffer-menu-mouse-select):
8607 * calc/calc.el (calc):
8608 * calendar/calendar.el (calendar-generate-window):
8609 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8610 (diary-make-entry):
8611 * comint.el (send-invisible, comint-dynamic-complete-filename)
8612 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8613 * completion.el (complete):
8614 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8615 * disp-table.el (describe-current-display-table):
8616 * doc-view.el (doc-view-insert-image):
8617 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8618 * ehelp.el (with-electric-help):
8619 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8620 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8621 * emacs-lisp/helper.el (Helper-help-scroller):
8622 * emulation/cua-base.el (cua--post-command-handler-1):
8623 * eshell/esh-mode.el (eshell-output-filter):
8624 * ffap.el (ffap-gnus-wrapper):
8625 * help-macro.el (make-help-screen):
8626 * hilit-chg.el (highlight-compare-buffers):
8627 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8628 * hl-line.el (global-hl-line-highlight):
8629 * icomplete.el (icomplete-simple-completing-p):
8630 * isearch.el (isearch-done):
8631 * jit-lock.el (jit-lock-stealth-fontify):
8632 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8633 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8634 * mpc.el (mpc-tagbrowser, mpc):
8635 * net/rcirc.el (rcirc-any-buffer):
8636 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8637 * play/landmark.el (landmark-max-width, landmark-max-height):
8638 * play/zone.el (zone):
8639 * progmodes/compile.el (compilation-goto-locus):
8640 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8641 * progmodes/etags.el (find-tag-other-window):
8642 * progmodes/fortran.el (fortran-column-ruler):
8643 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8644 * progmodes/verilog-mode.el (verilog-point-text):
8645 * reposition.el (reposition-window):
8646 * rot13.el (toggle-rot13-mode):
8647 * server.el (server-switch-buffer):
8648 * shell.el (shell-dynamic-complete-command)
8649 (shell-dynamic-complete-environment-variable):
8650 * simple.el (insert-buffer, set-selective-display)
8651 (delete-completion-window):
8652 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8653 (speedbar-recenter):
8654 * startup.el (fancy-splash-head):
8655 * textmodes/ispell.el (ispell-command-loop):
8656 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8657 * tutorial.el (help-with-tutorial):
8658 * vc/add-log.el (add-change-log-entry):
8659 * vc/compare-w.el (compare-windows):
8660 * vc/ediff-help.el (ediff-indent-help-message):
8661 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8662 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8663 (ediff-setup-control-frame):
8664 * vc/emerge.el (emerge-position-region):
8665 * vc/pcvs-util.el (cvs-bury-buffer):
8666 * window.el (walk-windows, mouse-autoselect-window-select):
8667 * winner.el (winner-set-conf, winner-undo): Related users changed.
8668
38276e01
JB
86692013-08-05 Juanma Barranquero <lekktu@gmail.com>
8670
8671 * frameset.el (frameset--set-id): Doc fix.
8672 (frameset-frame-id, frameset-frame-id-equal-p)
8673 (frameset-locate-frame-id): New functions.
8674 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8675 (frameset-restore): Use them.
8676
12b4c0ea
DA
86772013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8678
8679 Do not call to `selected-frame' where it is assumed by default.
8680 Affected functions are `raise-frame', `redraw-frame',
8681 `frame-first-window', `frame-terminal' and `delete-frame'.
8682 * calendar/appt.el (appt-disp-window):
8683 * epg.el (epg-wait-for-completion):
8684 * follow.el (follow-delete-other-windows-and-split)
8685 (follow-avoid-tail-recenter):
8686 * international/mule.el (set-terminal-coding-system):
8687 * mail/rmail.el (rmail-mail-return):
8688 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8689 * progmodes/f90.el (f90-add-imenu-menu):
8690 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8691 * server.el (server-switch-buffer):
8692 * simple.el (delete-completion-window):
8693 * talk.el (talk):
8694 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8695 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8696 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8697 * vc/ediff.el (ediff-documentation): Related users changed.
8698 * frame.el (selected-terminal): Remove the leftover.
8699
17f25e76
GM
87002013-08-05 Glenn Morris <rgm@gnu.org>
8701
8702 * calendar/calendar.el (calendar-generate-month):
8703 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8704 (calendar-generate-month, calendar-font-lock-keywords):
8705 Fix for calendar-day-header-width > length of any day name.
17f25e76 8706
063233c3
JB
87072013-08-05 Juanma Barranquero <lekktu@gmail.com>
8708
8709 * desktop.el (desktop-clear): Use new name of sort predicate.
8710
8711 * frameset.el (frameset): Add docstring. Move :version property to its
8712 own `version' slot.
8713 (frameset-copy): Rename from copy-frameset.
8714 (frameset-p): Check more thoroughly.
8715 (frameset-prop): Do not check for :version, which is no longer a prop.
8716 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8717 Use new :never value instead of t.
8718 (frameset-filter-alist): Expand and clarify docstring.
8719 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8720 (frameset-filter-minibuffer, frameset-filter-save-param)
8721 (frameset-filter-restore-param, frameset-filter-iconified):
8722 Add pointer to docstring of frameset-filter-alist.
8723 (frameset-filter-params): Rename filter values to be more meaningful:
8724 :never instead of t, and reverse the meanings of :save and :restore.
8725 (frameset--process-minibuffer-frames): Clarify error message.
8726 (frameset-save): Avoid unnecessary and confusing call to framep.
8727 Use new BOA constructor for framesets.
8728 (frameset--reuse-list): Doc fix.
8729 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8730 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8731 (frameset-minibufferless-first-p): Doc fix.
8732 Rename from frameset-sort-frames-for-deletion.
8733 (frameset-restore): Doc fixes. Use new function names.
8734 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8735
d5671a82
JB
87362013-08-04 Juanma Barranquero <lekktu@gmail.com>
8737
8738 * desktop.el (desktop-restore-forces-onscreen)
8739 (desktop-restore-reuses-frames): Document :keyword constant values.
8740 (desktop-filter-parameters-alist): Remove, now identical to
8741 frameset-filter-alist.
8742 (desktop--filter-tty*): Remove, moved to frameset.el.
8743 (desktop-save-frameset, desktop-restore-frameset):
8744 Do not pass :filters argument.
8745
8746 * frameset.el (frameset-live-filter-alist)
8747 (frameset-persistent-filter-alist): New variables.
8748 (frameset-filter-alist): Use them. Add autoload cookie.
8749 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8750 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8751 `frameset--id' (it's supposed to be internal to frameset.el).
8752 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8753 (frameset--initial-params): New function.
8754 (frameset--get-frame): Use it. Doc fix.
8755 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8756 Accept :all, not 'all.
8757 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8758 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8759 with fbound symbols. Fix frame id matching, and remove matching ids if
8760 the frame being restored is deleted. Obey :delete.
8761
671d5c16
SM
87622013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * subr.el (macrop): New function.
8765 (text-clone--maintaining): New var.
8766 (text-clone--maintain): Rename from text-clone-maintain. Use it
8767 instead of inhibit-modification-hooks.
8768
8769 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8770 a proxy, so as handle autoloads and redefinitions of the target.
8771 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8772
8773 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8774 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8775 (pcase--mutually-exclusive-p): New function.
8776 (pcase--split-consp): Use it.
8777 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8778 mutually exclusive with the current predicate.
8779
8780 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8781 (edebug-macrop): Remove. Use `macrop' instead.
8782 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8783 (ad-macro-p):
8784 * eshell/esh-cmd.el (eshell-macrop):
8785 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8786
1d44e9dc
SM
87872013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8790 (advice-mapc): New function, using it.
8791 (advice-function-member-p): New function.
8792 (advice--normalize): Store the cdr in advice--saved-rewrite since
8793 that's the part that will be changed.
8794 (advice--symbol-function): New function.
8795 (advice-remove): Handle removal before the function is defined.
8796 Adjust to new advice--saved-rewrite.
8797 (advice-member-p): Use advice-function-member-p and
8798 advice--symbol-function.
8799
5414a283
JB
88002013-08-04 Juanma Barranquero <lekktu@gmail.com>
8801
51d30f2c
JB
8802 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8803 (frameset-filter-minibuffer): Doc fix.
8804 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8805 (frameset--set-id, frameset--process-minibuffer-frames)
8806 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8807 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8808
5414a283
JB
8809 * desktop.el (desktop-clear): Only delete frames when called
8810 interactively and desktop-restore-frames is non-nil. Doc fix.
8811 (desktop-read): Set desktop-saved-frameset to nil.
8812
ab419665
XF
88132013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8814
8815 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8816 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8817 (vc--add-line, vc--remove-regexp): New functions.
8818
8819 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8820 (vc-svn-ignore-completion-table): New function.
8821
8822 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8823 (vc-hg-ignore-completion-table)
ab419665
XF
8824 (vc-hg-find-ignore-file): New functions.
8825
8826 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8827 (vc-git-ignore-completion-table)
ab419665
XF
8828 (vc-git-find-ignore-file): New functions.
8829
8830 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8831
8832 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8833 (vc-bzr-ignore-completion-table)
ab419665
XF
8834 (vc-bzr-find-ignore-file): New functions.
8835
2613dea2
JB
88362013-08-03 Juanma Barranquero <lekktu@gmail.com>
8837
8838 * frameset.el (frameset-prop): New function and setter.
8839 (frameset-save): Do not modify frame list passed by the caller.
8840
9c959872
SM
88412013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8844
a104f656
SM
88452013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8846
70122acf
SM
8847 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8848 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8849
a104f656
SM
8850 * custom.el (custom-initialize-default, custom-initialize-set)
8851 (custom-initialize-reset, custom-initialize-changed): Affect the
8852 toplevel-default-value (bug#6275, bug#14586).
8853 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8854 for bug#6275.
8855
f078d570
JB
88562013-08-02 Juanma Barranquero <lekktu@gmail.com>
8857
185e3b5a
JB
8858 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8859 Add cl-def* expressions.
8860
f078d570
JB
8861 * frameset.el (frameset-filter-params): Fix order of arguments.
8862
9421876d
JB
88632013-08-02 Juanma Barranquero <lekktu@gmail.com>
8864
8865 Move code related to saving frames to frameset.el.
8866 * desktop.el: Require frameset.
8867 (desktop-restore-frames): Doc fix.
8868 (desktop-restore-reuses-frames): Rename from
8869 desktop-restoring-reuses-frames.
8870 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8871 (desktop-clear): Clear frames too.
8872 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8873 (desktop--filter-tty*, desktop-save, desktop-read):
8874 Use frameset functions.
8875 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8876 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8877 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8878 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8879 (desktop--process-minibuffer-frames, desktop-save-frames)
8880 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8881 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8882 (desktop--sort-states, desktop-restoring-frames-p)
8883 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8884 (desktop-restoring-frameset-p, desktop-restore-frameset)
8885 (desktop--check-dont-save, desktop-save-frameset): New functions.
8886 (desktop--app-id): New constant.
8887 (desktop-first-buffer, desktop-buffer-ok-count)
8888 (desktop-buffer-fail-count): Move before first use.
8889 * frameset.el: New file.
8890
76dc5996
SM
88912013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * files.el: Use lexical-binding.
8894 (dir-locals-read-from-file): Remove unused `err' variable.
8895 (hack-dir-local-variables--warned-coding): New var.
8896 (hack-dir-local-variables): Use it to avoid repeated warnings.
8897 (make-backup-file-name--default-function): New function.
8898 (make-backup-file-name-function): Use it as default.
8899 (buffer-stale--default-function): New function.
8900 (buffer-stale-function): Use it as default.
8901 (revert-buffer-insert-file-contents--default-function): New function.
8902 (revert-buffer-insert-file-contents-function): Use it as default.
8903 (insert-directory): Avoid add-to-list.
8904
8905 * autorevert.el (auto-revert-handler): Simplify.
8906 Use buffer-stale--default-function.
8907
06d36e2b
TH
89082013-08-01 Tassilo Horn <tsdh@gnu.org>
8909
5f648ab4
TH
8910 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8911
06d36e2b
TH
8912 * whitespace.el (whitespace-ensure-local-variables): New function.
8913 (whitespace-cleanup-region): Call it.
8914 (whitespace-turn-on): Call it.
8915
a43dc424
MA
89162013-08-01 Michael Albinus <michael.albinus@gmx.de>
8917
8918 Complete file name handlers.
8919
8920 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8921 (tramp-handle-verify-visited-file-modtime)
8922 (tramp-handle-file-notify-rm-watch): New functions.
8923 (tramp-call-process): Do not bind `default-directory'.
8924
44e18199
JB
8925 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8926 Order alphabetically.
afe1e4c8
GM
8927 <access-file, add-name-to-file, dired-call-process>:
8928 <dired-compress-file, file-acl, file-notify-rm-watch>:
8929 <file-ownership-preserved-p, file-selinux-context>:
8930 <make-directory-internal, make-symbolic-link, set-file-acl>:
8931 <set-file-selinux-context, set-visited-file-modtime>:
8932 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8933 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8934
8935 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
8936 <file-notify-add-watch, file-notify-rm-watch>:
8937 <set-file-times, set-visited-file-modtime>:
8938 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8939 (with-tramp-gvfs-error-message)
8940 (tramp-gvfs-handle-set-visited-file-modtime)
8941 (tramp-gvfs-fuse-file-name): Remove.
8942 (tramp-gvfs-handle-file-notify-add-watch)
8943 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8944 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8945
44e18199
JB
8946 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8947 Order alphabetically.
afe1e4c8
GM
8948 <file-notify-rm-watch>: Use default Tramp handler.
8949 <executable-find>: Remove private handler.
a43dc424
MA
8950 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8951 `default-directory'.
8952 (tramp-sh-handle-executable-find)
8953 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8954 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8955 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8956 Do not use `format' in `tramp-message'.
8957
8958 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
8959 <file-notify-rm-watch, set-visited-file-modtime>:
8960 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
8961 (tramp-smb-call-winexe): Do not bind `default-directory'.
8962
7188b515
XF
89632013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8964
8965 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8966
2412ee1a
DG
89672013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8968
8969 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8970 use it.
8971 (log-view-diff-changeset): Same.
8972 (log-view-diff-common): Call backend command `previous-revision'
8973 to find out the previous revision, in both cases. Swap the
8974 variables `to' and `fr', so that `fr' usually refers to the
8975 earlier revision (Bug#14989).
8976
5002a754
KRC
89772013-07-31 Kan-Ru Chen <kanru@kanru.info>
8978
8979 * ibuf-ext.el (ibuffer-filter-by-filename):
8980 Make it work with dired buffers too.
8981
44e18199 89822013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
8983
8984 * emacs-lisp/re-builder.el (reb-color-display-p):
8985 * files.el (save-buffers-kill-terminal):
8986 * net/browse-url.el (browse-url):
8987 * server.el (server-save-buffers-kill-terminal):
8988 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8989 Prefer nil to selected-frame for the first arg of frame-parameter.
8990
aeca3fbb
XF
89912013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8992
8993 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8994
158bc55c
SB
89952013-07-30 Stephen Berman <stephen.berman@gmx.net>
8996
8997 * minibuffer.el (completion--twq-all): Try and preserve each
8998 completion's case choice (bug#14907).
8999
d50fceab
LMI
90002013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9001
ac38e731
LMI
9002 * net/network-stream.el (open-network-stream): Mention the new
9003 :nogreeting parameter.
9004 (network-stream-open-starttls): Use the :nogreeting parameter
9005 (bug#14938).
9006
1211de50
LMI
9007 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9008
997798bf
LMI
9009 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9010 more natural than popping.
9011
d50fceab 9012 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 9013 (shr-urlify): Highlight under mouse.
d50fceab 9014
5c09de04
XF
90152013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9016
207d1d04
XF
9017 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9018
9019 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9020
5c09de04
XF
9021 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9022 buffer for output.
9023
3cd51eaa
XF
9024 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9025 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 9026
44e18199 9027 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 9028 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
9029
9030 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9031
9032 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9033 buffer for output.
9034
35a89bdd
EZ
90352013-07-29 Eli Zaretskii <eliz@gnu.org>
9036
9037 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9038 initial frame is minibuffer-less. (Bug#14841)
9039
78822e94
MA
90402013-07-29 Michael Albinus <michael.albinus@gmx.de>
9041
9042 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9043 option.
9044
9045 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9046 (tramp-maybe-open-connection): Use it.
9047
9503c190
JB
90482013-07-28 Juanma Barranquero <lekktu@gmail.com>
9049
9050 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9051 minimal set of parameters passed when creating a frame, because
9052 the minibuffer status of a frame cannot be changed later.
9053
d5a845b4
SB
90542013-07-28 Stephen Berman <stephen.berman@gmx.net>
9055
9056 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9057 replace-regexp-in-string and inadvertent omissions in previous change.
9058 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 9059 name of filtered items buffer.
d5a845b4 9060
ddeffb17
JB
90612013-07-28 Juanma Barranquero <lekktu@gmail.com>
9062
9063 * desktop.el: Optionally force offscreen frames back onscreen.
9064 (desktop-restoring-reuses-frames): New option.
9065 (desktop--compute-pos, desktop--move-onscreen): New functions.
9066 (desktop--make-frame): Use desktop--move-onscreen.
9067
f5950f7a
AM
90682013-07-27 Alan Mackenzie <acm@muc.de>
9069
9070 Fontify a Java generic method as a function.
9071 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9072 value to t.
9073
ae43b66a
SB
90742013-07-27 Stephen Berman <stephen.berman@gmx.net>
9075
9076 * calendar/todo-mode.el: Add command to rename todo files.
9077 (todo-rename-file): New command.
9078 (todo-key-bindings-t): Add key binding for it. Change the
9079 bindings of todo-filter-regexp-items(-multifile) to use `x'
9080 instead of `r', since the latter is better suited to the new
9081 renaming command.
9082
5ab78d3d
AM
90832013-07-27 Alan Mackenzie <acm@muc.de>
9084
9085 Make Java try-with-resources statement parse properly.
9086 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9087 (c-block-stmt-1-2-key): New language constants/variables.
9088 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9089 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9090 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 9091 with c-block-stmt-1-2-key.
5ab78d3d 9092
d85c4d50
JB
90932013-07-27 Juanma Barranquero <lekktu@gmail.com>
9094
9095 * desktop.el (desktop--make-frame): Apply most frame parameters after
9096 creating the frame to force (partially or totally) offscreen frames to
9097 be restored as such.
9098
e4c467f9
XF
90992013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9100
9101 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 9102 (Bug#14948)
e4c467f9 9103
7ced0d04
SM
91042013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9107 `base' arg of backtrace-frame.
9108
fec92060
EZ
91092013-07-26 Eli Zaretskii <eliz@gnu.org>
9110
9111 * simple.el (list-processes): Doc fix.
9112
d58d31fb
JB
91132013-07-26 Juanma Barranquero <lekktu@gmail.com>
9114
9115 * desktop.el (desktop--select-frame):
d85c4d50 9116 Try harder to reuse existing frames.
d58d31fb 9117
53ff3e77
SM
91182013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9119
9120 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9121 (edebug-eval): Use backtrace-eval.
9122 (edebug--display, edebug--recursive-edit): Don't let-bind the
9123 edebug-outer-* vars that keep track of variables we locally let-bind.
9124 (edebug-outside-excursion): Don't restore outside values of locally
9125 let-bound vars.
9126 (edebug--display): Use user-error.
9127 (cl-lexical-debug, cl-debug-env): Remove.
9128
045f7a53
JB
91292013-07-26 Juanma Barranquero <lekktu@gmail.com>
9130
9131 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9132 are restored to be sure that they are visible before deleting any
9133 remaining ones.
9134
59070b32
MM
91352013-07-26 Matthias Meulien <orontee@gmail.com>
9136
742a3501
XF
9137 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9138 vc-print-root-log. (Bug#14948)
59070b32 9139
b1fb3596
RS
91402013-07-26 Richard Stallman <rms@gnu.org>
9141
9142 Add aliases for encrypting mail.
9143 * epa.el (epa-mail-aliases): New option.
9144 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9145 Bind inhibit-read-only so read-only text doesn't ruin everything.
9146 (epa-mail-default-recipients): New subroutine broken out.
9147 Handle epa-mail-aliases.
9148
56ea7291
SM
91492013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 Add support for lexical variables to the debugger's `e' command.
9152 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9153 vars, except for debugger-outer-match-data.
9154 (debugger-frame-number): Move check for "on a function call" from
9155 callers into it. Add `skip-base' argument.
9156 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9157 (debugger-env-macro): Only reset the state stored in non-variables,
9158 i.e. current-buffer and match-data.
9159 (debugger-eval-expression): Rewrite using backtrace-eval.
9160 * subr.el (internal--called-interactively-p--get-frame): Remove.
9161 (called-interactively-p):
9162 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9163 `base' arg of backtrace-frame instead.
9164
15ac32d5
GM
91652013-07-26 Glenn Morris <rgm@gnu.org>
9166
8358a09d
GM
9167 * align.el (align-regexp): Doc fix. (Bug#14857)
9168 (align-region): Explicit error if subexpression missing/does not match.
9169
15ac32d5
GM
9170 * simple.el (global-visual-line-mode):
9171 Do not duplicate the mode lighter. (Bug#14858)
9172
f47ad11b
MR
91732013-07-25 Martin Rudalics <rudalics@gmx.at>
9174
9175 * window.el (display-buffer): In display-buffer bind
9176 split-window-keep-point to t, bug#14829.
9177
02530987
JB
91782013-07-25 Juanma Barranquero <lekktu@gmail.com>
9179
9180 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9181 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9182 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9183 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9184 Change accordingly.
f63ebeb5
JB
9185 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9186 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 9187
6ccb9cab 91882013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 9189
6ccb9cab 9190 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 9191
cb3a56d2
JB
91922013-07-25 Juanma Barranquero <lekktu@gmail.com>
9193
9194 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9195 parameter to modify-frame-parameters if the value has not changed;
9196 this is a workaround for bug#14949.
9197 (desktop--make-frame): On cl-delete-if call, check parameter name,
9198 not full parameter.
9199
7aa7fff0
XF
92002013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9201
9202 * vc/vc.el (vc-ignore): New function.
9203
9204 * vc/vc-svn.el (vc-svn-ignore): New function.
9205
9206 * vc/vc-hg.el (vc-hg-ignore): New function.
9207
9208 * vc/vc-git.el (vc-git-ignore): New function.
9209
9210 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9211 (vc-dir-ignore): New function.
9212
9213 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 9214 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
9215
9216 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9217
9218 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9219
889acc5c
JB
92202013-07-24 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9223 (desktop-restore-frames): Warn when deleting an existing frame failed.
9224
86c40970
GM
92252013-07-24 Glenn Morris <rgm@gnu.org>
9226
9227 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9228
d5d3c58a
MA
92292013-07-24 Michael Albinus <michael.albinus@gmx.de>
9230
9231 * filenotify.el (file-notify-supported-p):
9232 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9233 Remove functions.
9234
35e951cd 9235 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
9236 (auto-revert-notify-add-watch):
9237 * net/tramp.el (tramp-file-name-for-operation):
9238 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9239 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9240 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9241 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9242 Remove `file-notify-supported-p' entry.
9243
d100084b
GM
92442013-07-24 Glenn Morris <rgm@gnu.org>
9245
9246 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 9247 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 9248
ac93e56b
SM
92492013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9250
249eea30
SM
9251 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9252 checked with memq (bug#14935).
9253
ac93e56b
SM
9254 * files.el (revert-buffer-function): Use a non-nil default.
9255 (revert-buffer-preserve-modes): Declare var to
9256 provide access to the `preserve-modes' argument.
9257 (revert-buffer): Let-bind it.
9258 (revert-buffer--default): New function, extracted from revert-buffer.
9259
2cdeb903
SM
92602013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * lpr.el: Signal print errors more prominently.
9263 (print-region-function): Don't default to nil.
9264 (lpr-print-region): New function, extracted from print-region-1.
9265 Check lpr's return value and signal an error in case of problem.
9266 (print-region-1): Use it.
9267 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9268 versions instead.
9269 (ps-printer-name): Default to nil.
9270 (ps-printer-name-option): Default to lpr-printer-switch.
9271 (ps-print-region-function): Don't default to nil.
9272 (ps-postscript-code-directory): Simplify default.
9273 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9274 (ps-string-list, ps-eval-switch, ps-flatten-list)
9275 (ps-flatten-list-1): Remove.
9276 (ps-multibyte-buffer): Avoid setq.
9277 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9278 (print-region-function, ps-print-region-function): Don't set them here.
9279
73600831
XF
92802013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9281
35e951cd
JB
9282 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9283 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9284 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
9285 (ido-decorations): Doc fix.
9286
73600831
XF
9287 * ansi-color.el: Fix old URL.
9288
3d012865
MM
92892013-07-23 Michael R. Mauger <michael@mauger.com>
9290
e903c210 9291 * progmodes/sql.el: Version 3.3
3d012865
MM
9292 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9293 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9294 (sql-interactive-remove-continuation-prompt): Rewrite, use
9295 functions above. Fix continuation prompt and complete output line
9296 handling.
9297 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9298 redirected output buffer.
9299 (sql-mode): Restore deleted code (Bug#13591).
9300
da77a2e2
JB
93012013-07-23 Juanma Barranquero <lekktu@gmail.com>
9302
9303 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9304
80ff0c71
MA
93052013-07-23 Michael Albinus <michael.albinus@gmx.de>
9306
9307 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9308
9309 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9310 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9311 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9312
b61d71e4
JB
93132013-07-23 Juanma Barranquero <lekktu@gmail.com>
9314
9315 * desktop.el (desktop-clear): Simplify; remove useless checks
9316 against invalid buffer names.
9317 (desktop-list*): Use cl-list*.
9318 (desktop-buffer-info, desktop-create-buffer): Simplify.
9319
c3512092
LL
93202013-07-23 Leo Liu <sdl.web@gmail.com>
9321
9322 * bookmark.el (bookmark-make-record): Restore NAME as a default
9323 value. (Bug#14933)
9324
0ac26976
SM
93252013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9326
7d22ce18
SM
9327 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9328 extracted from autoload--insert-text.
9329 (autoload--insert-text): Remove.
9330 (autoload--print-cookie-text): New function, extracted from
9331 autoload--insert-cookie-text.
9332 (autoload--insert-cookie-text): Remove.
9333 (autoload-generate-file-autoloads): Adjust calls accordingly.
9334
9b2607e8
SM
9335 * winner.el (winner-hook-installed-p): Remove.
9336 (winner-mode): Simplify accordingly.
9337
c43a8618
SM
9338 * subr.el (add-to-list): Fix compiler-macro when `append' is
9339 not constant. Don't use `cl-member' for the base case.
9340
0ac26976
SM
9341 * progmodes/subword.el: Fix boundary case (bug#13758).
9342 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9343 own group.
9344 (subword-backward-regexp): Make it a constant.
9345 (subword-forward-internal): Don't treat a trailing capital as the
9346 beginning of a word.
9347
6874724a
AR
93482013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9349
9350 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9351 global value of tabulated-list-revert-hook (bug#14930).
9352
70f1b5e8
JB
93532013-07-22 Juanma Barranquero <lekktu@gmail.com>
9354
a1c80d9d
JB
9355 * desktop.el: Require 'cl-lib.
9356 (desktop-before-saving-frames-functions): New hook.
9357 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9358 for frames being saved. Rename from desktop--save-minibuffer-frames.
9359 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9360 Do not save frames with non-nil `desktop-dont-save' parameter.
9361 Filter out deleted frames.
a1c80d9d
JB
9362 (desktop--find-frame): Use cl-find-if.
9363 (desktop--select-frame): Use cl-(first|second|third) to access values
9364 of desktop-mini.
9365 (desktop--make-frame): Use cl-delete-if.
9366 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9367 (desktop-restore-frames): Use cl-(first|second|third) to access values
9368 of desktop-mini. Look for visible frame at the end, not while
9369 restoring frames.
9370
70f1b5e8
JB
9371 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9372 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9373 Use string-match-p, looking-at-p (bug#14927).
9374
728dc3cc
JB
93752013-07-21 Juanma Barranquero <lekktu@gmail.com>
9376
56bc453c
JB
9377 * desktop.el (desktop-saved-frame-states):
9378 Rename from desktop--saved-states; all users changed.
9379 (desktop-save-frames): Rename from desktop--save-frames.
9380 Do not save state to desktop file.
9381 (desktop-save): Save desktop-saved-frame-states to desktop file
9382 and reset to nil.
9383 (desktop-restoring-frames-p): New function.
9384 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9385 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9386 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9387
728dc3cc
JB
9388 * desktop.el: Correctly restore iconified frames.
9389 (desktop--filter-iconified-position): New function.
9390 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9391
862f1c9c
GM
93922013-07-20 Glenn Morris <rgm@gnu.org>
9393
c4074c9f
GM
9394 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9395 Let `message' do the formatting.
9396 (def-gdb-preempt-display-buffer): Add explicit format.
9397
d828e5f9
GM
9398 * image-dired.el (image-dired-track-original-file):
9399 Use with-current-buffer.
9400 (image-dired-track-thumbnail): Use with-current-buffer.
9401 Avoid changing point of wrong window.
9402
862f1c9c
GM
9403 * image-dired.el (image-dired-track-original-file):
9404 Avoid changing point of wrong window. (Bug#14909)
9405
f0398ec1 94062013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9407
9408 * progmodes/gdb-mi.el (gdb-done-or-error):
9409 Guard against "%" in gdb output. (Bug#14127)
9410
1451928f
AS
94112013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9412
763a086d
JB
9413 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9414 (Bug#14826)
f7a03897 9415
1451928f
AS
9416 * international/mule.el (coding-system-iso-2022-flags): Fix last
9417 change.
9418
99107004
KH
94192013-07-20 Kenichi Handa <handa@gnu.org>
9420
763a086d
JB
9421 * international/mule.el (coding-system-iso-2022-flags):
9422 Add `8-bit-level-4'. (Bug#8522)
99107004 9423
48494e06
LMI
94242013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9425
8ba8eec5
LMI
9426 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9427 (bug#14815).
9428
dfbc66e3
LMI
9429 * net/eww.el (eww-process-text-input): Allow inputting when the
9430 point is at the start of the line, as the properties aren't
9431 front-sticky.
9432
48494e06
LMI
9433 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9434 degenerate widths.
9435
77c92cb9
RS
94362013-07-19 Richard Stallman <rms@gnu.org>
9437
aec7da77
RS
9438 * epa.el (epa-popup-info-window): Doc fix.
9439
77c92cb9
RS
9440 * subr.el (split-string): New arg TRIM.
9441
945c5bb1
JB
94422013-07-18 Juanma Barranquero <lekktu@gmail.com>
9443
9444 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9445 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9446
e06ec67f
MA
94472013-07-18 Michael Albinus <michael.albinus@gmx.de>
9448
c7064f05 9449 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9450 `file-notify-support'. Do not autoload. Adapt all uses.
9451 (file-notify-supported-p): New defun.
9452
c7064f05
JB
9453 * autorevert.el (auto-revert-use-notify):
9454 Use `file-notify-supported-p' instead of `file-notify-support'.
9455 Adapt docstring.
e06ec67f
MA
9456 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9457
9458 * net/tramp.el (tramp-file-name-for-operation):
9459 Add `file-notify-supported-p'.
9460
9461 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9462 New defun.
9463 (tramp-sh-file-name-handler-alist): Add it as handler for
9464 `file-notify-supported-p '.
9465
9466 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9467 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9468 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9469 Add `ignore' as handler for `file-notify-*' functions.
9470
5dc8a629
EZ
94712013-07-17 Eli Zaretskii <eliz@gnu.org>
9472
9473 * simple.el (line-move-partial, line-move): Don't start vscroll or
9474 scroll-up if the current line is not taller than the window.
9475 (Bug#14881)
9476
77aea2fb
DG
94772013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9478
9479 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9480 highlight question marks in the method names as strings.
ac72c08d
DG
9481 (ruby-block-beg-keywords): Inline.
9482 (ruby-font-lock-keyword-beg-re): Extract from
9483 `ruby-font-lock-keywords'.
77aea2fb 9484
18c26d81
JD
94852013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9486
9487 * frame.el (blink-cursor-blinks): New defcustom.
9488 (blink-cursor-blinks-done): New defvar.
9489 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9490 (blink-cursor-timer-function): Check if number of blinks has been
9491 done on X and NS.
9492 (blink-cursor-suspend, blink-cursor-check): New defuns.
9493
da48522e
GM
94942013-07-15 Glenn Morris <rgm@gnu.org>
9495
9496 * edmacro.el (edmacro-format-keys): Fix previous change.
9497
0463c1ef
PE
94982013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9499
9500 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9501 The hack didn't work outside English locales anyway.
9502
b43f6451
JB
95032013-07-15 Juanma Barranquero <lekktu@gmail.com>
9504
9505 * simple.el (define-alternatives): Rename from alternatives-define,
9506 per RMS' suggestion.
9507
b958c0ad
JB
95082013-07-14 Juanma Barranquero <lekktu@gmail.com>
9509
9510 * desktop.el (desktop-restore-frames): Change default to t.
9511 (desktop-restore-in-current-display): Now offer more options.
9512 (desktop-restoring-reuses-frames): New customization option.
9513 (desktop--saved-states): Doc fix.
9514 (desktop-filter-parameters-alist): New variable, renamed and expanded
9515 from desktop--excluded-frame-parameters.
9516 (desktop--target-display): New variable.
9517 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9518 (desktop--filter-tty*, desktop--filter-*-color)
9519 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9520 (desktop--filter-save-desktop-parm)
9521 (desktop-restore-in-original-display-p): New functions.
9522 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9523 (desktop--save-minibuffer-frames): New function, inspired by a similar
9524 function from Martin Rudalics.
9525 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9526 (desktop--restore-in-this-display-p): Remove.
9527 (desktop--find-frame): Rename from desktop--find-frame-in-display
9528 and add predicate argument.
9529 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9530 (desktop--reuse-list): New variable.
9531 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9532 New functions.
9533 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9534
f6dd8b36
MA
95352013-07-14 Michael Albinus <michael.albinus@gmx.de>
9536
9537 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9538
2ce3c565
DG
95392013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9540
763a086d
JB
9541 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9542 Highlight conversion methods on Kernel.
2ce3c565 9543
2cdb7698
AM
95442013-07-13 Alan Mackenzie <acm@muc.de>
9545
9546 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9547 and comment it out. This out-commenting enables certain C++
9548 declarations to be parsed correctly.
9549
1a67b811
EZ
95502013-07-13 Eli Zaretskii <eliz@gnu.org>
9551
1b796d6b
EZ
9552 * international/mule.el (define-coding-system): Doc fix.
9553
1a67b811
EZ
9554 * simple.el (default-font-height): Don't call font-info if the
9555 frame's default font didn't change since the frame was created.
9556 (Bug#14838)
9557
58fbe886
LL
95582013-07-13 Leo Liu <sdl.web@gmail.com>
9559
9560 * ido.el (ido-read-file-name): Guard against non-symbol value.
9561
1f0480d4
FEG
95622013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9563
9564 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9565 in nested defuns.
9566
97ead0e5
LL
95672013-07-13 Leo Liu <sdl.web@gmail.com>
9568
9569 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9570 ido-set-matches call. (Bug#6852)
9571
0880a952
DG
95722013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9573
35e951cd 9574 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9575 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9576 Ruby 2.0.
9577 (ruby-font-lock-keywords): Distinguish calls to functions with
9578 module-like names from module references. Highlight character
9579 literals.
9580
a7d8babb
SDJ
95812013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9582
9583 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9584 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9585
acfcc8c5
JB
95862013-07-12 Juanma Barranquero <lekktu@gmail.com>
9587
9588 * desktop.el (desktop--v2s): Remove unused local variable.
9589 (desktop-save-buffer): Make defvar-local; adjust docstring.
9590 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9591 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9592
051f2775
AS
95932013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9594
9595 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9596
f24e7572
GM
95972013-07-12 Eli Zaretskii <eliz@gnu.org>
9598
9599 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9600 (Bug#14842)
9601
539a920c
GM
96022013-07-12 Glenn Morris <rgm@gnu.org>
9603
9604 * doc-view.el: Require cl-lib at runtime too.
9605 (doc-view-remove-if): Remove.
9606 (doc-view-search-next-match, doc-view-search-previous-match):
9607 Use cl-remove-if.
9608
9609 * edmacro.el: Require cl-lib at runtime too.
9610 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9611 (edmacro-mismatch, edmacro-subseq): Remove.
9612
9613 * shadowfile.el: Require cl-lib.
9614 (shadow-remove-if): Remove.
9615 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9616 Use cl-remove-if.
9617
9618 * wid-edit.el: Require cl-lib.
9619 (widget-choose): Use cl-remove-if.
9620 (widget-remove-if): Remove.
9621
9622 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9623 (ebrowse-delete-if-not): Remove.
9624 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9625 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9626 Use cl-delete-if-not.
9627
1048af7c
JB
96282013-07-12 Juanma Barranquero <lekktu@gmail.com>
9629
9630 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9631 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9632
6c0674ee
LL
96332013-07-12 Leo Liu <sdl.web@gmail.com>
9634
9635 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9636
a19b3c2d
GM
96372013-07-11 Glenn Morris <rgm@gnu.org>
9638
4582a01c
GM
9639 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9640 (edebug-gensym-index, edebug-gensym):
9641 Remove reimplementation of cl-gensym.
9642 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9643
9644 * thumbs.el: Require cl-lib at run-time too.
9645 (thumbs-gensym-counter, thumbs-gensym):
9646 Remove reimplementation of cl-gensym.
9647 (thumbs-temp-file): Use cl-gensym.
9648
a19b3c2d
GM
9649 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9650 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9651 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9652 (ert--union, ert--gensym-counter, ert--gensym-counter)
9653 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9654 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9655 (ert-make-test-unbound, ert--expand-should-1)
9656 (ert--expand-should, ert--should-error-handle-error)
9657 (should-error, ert--explain-equal-rec)
9658 (ert--plist-difference-explanation, ert-select-tests)
9659 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9660 Use cl-lib functions rather than reimplementations.
9661
88f6a933
MA
96622013-07-11 Michael Albinus <michael.albinus@gmx.de>
9663
9664 * net/tramp.el (tramp-methods): Extend docstring.
9665 (tramp-connection-timeout): New defcustom.
9666 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9667 (with-tramp-progress-reporter): Simplify.
9668 (tramp-process-actions): Improve messages.
9669
9670 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9671 * net/tramp-sh.el (tramp-maybe-open-connection):
9672 Use `tramp-connection-timeout'.
afe1e4c8 9673 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9674 (Bug#14808)
9675
a43d577e
LL
96762013-07-11 Leo Liu <sdl.web@gmail.com>
9677
9678 * ido.el (ido-read-file-name): Conform to the requirements of
9679 read-file-name. (Bug#11861)
9680 (ido-read-directory-name): Conform to the requirements of
9681 read-directory-name.
9682
d77974bf
JB
96832013-07-11 Juanma Barranquero <lekktu@gmail.com>
9684
9685 * subr.el (delay-warning): New function.
9686
35cb8a3e
EZ
96872013-07-10 Eli Zaretskii <eliz@gnu.org>
9688
9689 * simple.el (default-line-height): New function.
9690 (line-move-partial, line-move): Use it instead of computing the
9691 line height inline.
9692 (line-move-partial): Always compute ROWH. If the last line is
9693 partially-visible, but its text is completely visible, allow
9694 cursor to enter such a partially-visible line.
9695
525c5c77
MA
96962013-07-10 Michael Albinus <michael.albinus@gmx.de>
9697
9698 Improve error messages. (Bug#14808)
9699
9700 * net/tramp.el (tramp-current-connection): New defvar, moved from
9701 tramp-sh.el.
0ac26976 9702 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9703 needed anymore.
0ac26976
SM
9704 (tramp-error-with-buffer): Show message in minibuffer.
9705 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9706 (with-tramp-progress-reporter): Improve messages.
9707 (tramp-process-actions): Use progress reporter. Delete process in
9708 case of error. Improve messages.
9709
763a086d
JB
9710 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9711 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9712 (tramp-current-connection): Remove.
525c5c77
MA
9713 (tramp-maybe-open-connection): The car of
9714 `tramp-current-connection' are the first 3 slots of the vector.
9715
c7a4d368
TZ
97162013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9717
9718 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9719 inside continued strings.
9720
954b166e
PE
97212013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9722
9723 Timestamp fixes for undo (Bug#14824).
9724 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9725
56973319
LL
97262013-07-10 Leo Liu <sdl.web@gmail.com>
9727
9728 * files.el (require-final-newline): Allow safe local value.
9729 (Bug#14834)
9730
5550a72c
LL
97312013-07-09 Leo Liu <sdl.web@gmail.com>
9732
9733 * ido.el (ido-read-directory-name): Handle fallback.
9734 (ido-read-file-name): Update DIR to ido-current-directory.
9735 (Bug#1516)
c28b9050 9736 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9737
70c46b28
DG
97382013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9739
9740 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9741 "autoload". Remove "warn lower camel case" section, previously
9742 commented out. Highlight negation char. Do not highlight the
9743 target in singleton method definitions.
9744
0b64b838
SM
97452013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9746
7fd72e2c
SM
9747 * faces.el (tty-setup-hook): Declare the hook.
9748
0b64b838
SM
9749 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9750 and detect when a guard/pred depends on local vars (bug#14773).
9751 (pcase--u1): Adjust caller.
9752
ab49d60b
EZ
97532013-07-08 Eli Zaretskii <eliz@gnu.org>
9754
9755 * simple.el (line-move-partial, line-move): Account for
9756 line-spacing.
701d79aa
EZ
9757 (line-move-partial): Avoid setting vscroll when the last
9758 partially-visible line in window is of default height.
ab49d60b 9759
2d756ae0
LMI
97602013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9761
9762 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9763 been used a while.
9764
ed095bd7
JB
97652013-07-07 Juanma Barranquero <lekktu@gmail.com>
9766
9767 * subr.el (read-quoted-char): Remove unused local variable `char'.
9768
f1e6674b
MK
97692013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9770
584ee3fc
GM
9771 * ediff.el (ediff-version): Version update.
9772 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9773 (ediff-merge-with-ancestor-command, ediff-directories-command)
9774 (ediff-directories3-command, ediff-merge-directories-command)
9775 (ediff-merge-directories-with-ancestor-command): New functions.
9776 All are command-line interfaces to ediff: to facilitate calling
9777 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9778
9779 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9780 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9781
584ee3fc
GM
9782 * viper.el (viper-version): Version update.
9783 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9784
584ee3fc
GM
97852013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9788 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9789 (viper-intercept-ESC-key): Simplify.
9790 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9791 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9792 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9793 (viper-setup-ESC-to-escape): New functions.
9794 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9795 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9796
9aff9b38
EZ
97972013-07-07 Eli Zaretskii <eliz@gnu.org>
9798
5165d44a
JB
9799 * simple.el (default-font-height, window-screen-lines):
9800 New functions.
9aff9b38
EZ
9801 (line-move, line-move-partial): Use them instead of
9802 frame-char-height and window-text-height. This makes scrolling
9803 text smoother when the buffer's default face uses a font that is
9804 different from the frame's default font.
9805
1afb1d07
JD
98062013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9807
9808 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9809 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9810
23de972a
EZ
98112013-07-06 Eli Zaretskii <eliz@gnu.org>
9812
9813 * simple.el (line-move-partial): Adjust the row returned by
9814 posn-at-point for the current window-vscroll. (Bug#14567)
9815
54a42486
MA
98162013-07-06 Michael Albinus <michael.albinus@gmx.de>
9817
35e951cd 9818 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9819 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9820 spaces.
9821
34ada5f4
MR
98222013-07-06 Martin Rudalics <rudalics@gmx.at>
9823
9824 * window.el (window-state-put-stale-windows): New variable.
9825 (window--state-put-2): Save list of windows without matching buffer.
9826 (window-state-put): Remove "bufferless" windows if possible.
9827
11e03d89
JB
98282013-07-06 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * simple.el (alternatives-define): Remove leftover :group keyword.
9831 Tweak docstring.
9832
3504a4be
LL
98332013-07-06 Leo Liu <sdl.web@gmail.com>
9834
9835 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9836 (ido-enable-virtual-buffers): New variable.
9837 (ido-buffer-internal, ido-toggle-virtual-buffers)
9838 (ido-make-buffer-list): Use it.
9839 (ido-exhibit): Support turning on and off virtual buffers
9840 automatically.
9841
61e56e2c
JB
98422013-07-06 Juanma Barranquero <lekktu@gmail.com>
9843
9844 * simple.el (alternatives-define): New macro.
9845
321e1a9c
SM
98462013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9847
9848 * subr.el (read-quoted-char): Use read-key.
9849 (sit-for): Let read-event decode tty input (bug#14782).
9850
d610f6dd
SB
98512013-07-05 Stephen Berman <stephen.berman@gmx.net>
9852
9853 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9854 mode command and externally. Fix various related bugs.
9855 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9856 (todo-delete-file): New command.
9857 (todo-check-file): New function.
9858 (todo-show): Handle external deletion of the file we're trying to
9859 show (bug#14688). Replace called-interactively-p by an optional
9860 prefix argument to avoid problematic interaction with catch form
9861 when byte compiled (bug#14702).
9862 (todo-quit): Handle external deletion of the archive's todo file.
9863 Make sure the buffer that was visiting the archive file is still
9864 live before trying to bury it.
9865 (todo-category-completions): Handle external deletion of any
9866 category completion files.
9867 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9868 of todo files, in case of external deletion.
9869 (todo-add-file): Replace unnecessary setq by let-binding.
9870 (todo-find-archive): Check whether there are any archives.
9871 Replace unnecessary setq by let-binding.
9872 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9873 archive buffer whether or not the archive already exists.
9874 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9875 check if the archive is new; if it is, update list of archives.
9876 (todo-default-todo-file): Allow nil to be a valid value for when
9877 there are no todo files.
9878 (todo-reevaluate-default-file-defcustom): Use corrected definition
9879 of todo-default-todo-file.
9880 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9881 (todo-delete-category, todo-show-categories-table)
9882 (todo-category-number): Clarify comment.
9883 (todo-filter-items): Clarify documentation string.
9884 (todo-show-current-file, todo-display-as-todo-file)
9885 (todo-reset-and-enable-done-separator): Tweak documentation string.
9886 (todo-done-separator): Make separator length window-width, since
9887 bug#2749 is now fixed.
9888
ddbdfd6f
MA
98892013-07-05 Michael Albinus <michael.albinus@gmx.de>
9890
321e1a9c
SM
9891 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9892 Support both "gvfs-monitor-dir" and "inotifywait".
9893 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9894 `tramp-sh-file-notify-process-filter'.
9895 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9896 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9897
96eb829a
LL
98982013-07-05 Leo Liu <sdl.web@gmail.com>
9899
9900 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9901
cf13177e
YM
99022013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9903
9904 * frame.el (display-pixel-height, display-pixel-width)
9905 (display-mm-height, display-mm-width): Mention behavior on
9906 multi-monitor setups in docstrings.
9907 (w32-display-monitor-attributes-list): Declare function.
9908 (display-monitor-attributes-list): Use it.
9909
864c58ca
MA
99102013-07-04 Michael Albinus <michael.albinus@gmx.de>
9911
9912 * filenotify.el: New package.
9913
9914 * autorevert.el (top): Require filenotify.el.
9915 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9916 instead.
9917 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9918 (auto-revert-notify-handler): Use `file-notify-*' functions.
9919
9920 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9921
321e1a9c
SM
9922 * net/tramp.el (tramp-file-name-for-operation):
9923 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9924
9925 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9926 for `file-notify-add-watch' and `file-notify-rm-watch'.
9927 (tramp-process-sentinel): Improve trace.
9928 (tramp-sh-handle-file-notify-add-watch)
9929 (tramp-sh-file-notify-process-filter)
9930 (tramp-sh-handle-file-notify-rm-watch)
9931 (tramp-get-remote-inotifywait): New defuns.
9932
96673afe
JL
99332013-07-03 Juri Linkov <juri@jurta.org>
9934
9935 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9936 call of `occur-read-primary-args' to interactive spec.
9937
9938 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9939 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9940
924494f4
MM
99412013-07-03 Matthias Meulien <orontee@gmail.com>
9942
9943 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9944 `Buffer-menu-multi-occur'. Add it to the menu.
9945 (Buffer-menu-mode): Document it in docstring.
9946 (Buffer-menu-multi-occur): New command. (Bug#14673)
9947
56f75efc
DG
99482013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9949
9950 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9951 keywords and built-ins.
9952
9b057d61
GM
99532013-07-03 Glenn Morris <rgm@gnu.org>
9954
208dee4d
GM
9955 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9956
9b057d61
GM
9957 Make info-xref checks case-sensitive by default
9958 * info.el (Info-find-node, Info-find-in-tag-table)
9959 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9960 Add option for exact case matching of nodes.
9961 * info-xref.el (info-xref): New custom group.
9962 (info-xref-case-fold): New option.
9963 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9964
e01aa29c
LL
99652013-07-03 Leo Liu <sdl.web@gmail.com>
9966
9967 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9968
3086ca2e
DG
99692013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9970
9971 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9972 middle of block statement initially, lower the depth. Remove
9973 FIXME comment, not longer valid. Remove middle of block statement
9974 detection, no need to do that anymore since we've been using
9975 `ruby-parse-region' here.
9976
a3b49114
JD
99772013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9978
9979 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9980
08e5c823 99812013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
9982
9983 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9984
2addf922
JB
99852013-07-01 Juanma Barranquero <lekktu@gmail.com>
9986
9987 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9988 (desktop-restore-in-current-display): New customization option.
9989 (desktop--excluded-frame-parameters): Add `font'.
9990 (desktop--save-frames): Rename from desktop--save-windows.
9991 (desktop--restore-in-this-display-p): New function.
9992 (desktop--make-full-frame): Remove unwanted width/height from
9993 full(width|height) frames.
9994 (desktop--restore-frames): Rename from desktop--restore-windows.
9995 Obey desktop-restore-current-display. Do not delete old frames or
9996 select a new frame unless we were able to restore at least one frame.
9997
ef099a94
MN
99982013-06-30 Michal Nazarewicz <mina86@mina86.com>
9999
10000 * files.el (find-file-noselect): Simplify conditional expression.
10001
a12bf61e 10002 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
10003 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10004
10005 Add `remember-notes' function to store random notes across Emacs
10006 restarts.
3fcfc4ee
JB
10007 * textmodes/remember.el (remember-data-file): Add :set callback to
10008 affect notes buffer (if any).
ef099a94
MN
10009 (remember-notes): New command.
10010 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10011 New defcustoms for the `remember-notes' function.
10012 (remember-notes-save-and-bury-buffer): New command.
10013 (remember-notes-mode-map): New variable.
10014 (remember-mode): New minor mode.
10015 (remember-notes--kill-buffer-query): New function.
10016 * startup.el (initial-buffer-choice): Add notes to custom type.
10017
0865d506
EZ
100182013-06-30 Eli Zaretskii <eliz@gnu.org>
10019
0ba54312
EZ
10020 * bindings.el (right-char, left-char): Don't call sit-for, this is
10021 no longer needed. Use arithmetic comparison only for numerical
10022 arguments.
10023
ef099a94
MN
10024 * international/mule-cmds.el (select-safe-coding-system):
10025 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 10026
2fae38e5
LMI
100272013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10028
10029 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10030 progression on degenerate tables.
ef099a94 10031 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 10032
a47cbd64
JB
100332013-06-30 Juanma Barranquero <lekktu@gmail.com>
10034
10035 Some fixes and improvements for desktop frame restoration.
10036 It is still experimental and disabled by default.
10037 * desktop.el (desktop--save-windows): Put the selected frame at
10038 the head of the list.
10039 (desktop--make-full-frame): New function.
10040 (desktop--restore-windows): Try to re-select the frame that was
10041 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
10042 just show an error message and continue. Set up maximized frames
10043 so they have default non-maximized dimensions.
a47cbd64 10044
6dbafa30
DG
100452013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10046
ef099a94
MN
10047 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10048 Don't start heredoc inside a string or comment.
6dbafa30 10049
4c672a0f
EZ
100502013-06-29 Eli Zaretskii <eliz@gnu.org>
10051
10052 * bindings.el (visual-order-cursor-movement): New defcustom.
10053 (right-char, left-char): Provide visual-order cursor motion by
10054 calling move-point-visually. Update the doc strings.
10055
50960f36
KH
100562013-06-28 Kenichi Handa <handa@gnu.org>
10057
10058 * international/mule.el (define-coding-system): New coding system
10059 properties :inhibit-null-byte-detection,
10060 :inhibit-iso-escape-detection, and :prefer-utf-8.
10061 (set-buffer-file-coding-system): If :charset-list property of
10062 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10063 appropriate for setting.
10064
c1ea3abf
JB
10065 * international/mule-cmds.el (select-safe-coding-system):
10066 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10067 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
10068
10069 * international/mule-conf.el (prefer-utf-8): New coding system.
10070 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10071 files.
10072
75dbaf9d
IK
100732013-06-28 Ivan Kanis <ivan@kanis.fr>
10074
eadb6068
IK
10075 * net/shr.el (shr-render-region): New function.
10076
75dbaf9d
IK
10077 * net/eww.el: Autoload `eww-browse-url'.
10078
9ea5cf9f
DG
100792013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10080
c1ea3abf
JB
10081 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10082 Adapt to `package-desc-version' being a list.
10083 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
10084 archive element.
10085
39c0e36f
JB
100862013-06-27 Juanma Barranquero <lekktu@gmail.com>
10087
10088 New experimental feature to save&restore window and frame setup.
10089 * desktop.el (desktop-save-windows): New defcustom.
10090 (desktop--saved-states): New var.
10091 (desktop--excluded-frame-parameters): New defconst.
10092 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10093 (desktop--restore-windows, desktop--save-windows): New functions.
10094 (desktop-save): Call `desktop--save-windows'.
10095 (desktop-read): Call `desktop--restore-windows'.
10096
7f13406b
LMI
100972013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10098
ef099a94 10099 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 10100
1e072639
SB
101012013-06-27 Stephen Berman <stephen.berman@gmx.net>
10102
10103 * info.el (Info-try-follow-nearest-node): Move search for footnote
10104 above search for node name to prevent missing a footnote (bug#14717).
10105
f3e2cbde
SB
101062013-06-27 Stephen Berman <stephen.berman@gmx.net>
10107
10108 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10109
99906aa0
LL
101102013-06-27 Leo Liu <sdl.web@gmail.com>
10111
10112 * net/eww.el (eww-read-bookmarks): Check file size.
10113
539f75f4
SM
101142013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10115
10116 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10117 advice--pending if newdef is nil or an autoload (bug#13820).
10118 (advice-mapc): New function.
10119
843571cb
LMI
101202013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10121
10122 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10123 probably.
23a75d7f 10124 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
10125 (eww-add-bookmark): New command.
10126 (eww-bookmark-mode): New mode and commands.
a285ce99 10127 (eww-add-bookmark): Remove newlines from the title.
47fd571b 10128 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 10129
f2136e1e
GM
101302013-06-26 Glenn Morris <rgm@gnu.org>
10131
eab35f39
GM
10132 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10133 (hfy-size): Handle ttys. (Bug#14668)
10134
f2136e1e
GM
10135 * info-xref.el: Update for Texinfo 5 change in *note format.
10136 (info-xref-node-re, info-xref-note-re): New constants.
10137 (info-xref-check-buffer): Use info-xref-note-re.
10138
a49ff80c
SM
101392013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10140
a343d218
SM
10141 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10142
a49ff80c
SM
10143 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10144 nil terminate the loop (bug#14718).
10145
8308f184
LMI
101462013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10147
10148 * net/eww.el: Rework history traversal. When going forward/back,
10149 put these actions into the history, too, so that they can be
10150 replayed.
26bf2b82 10151 (eww-render): Move the history reset to the correct buffer.
8308f184 10152
ec64c273
JL
101532013-06-25 Juri Linkov <juri@jurta.org>
10154
10155 * files-x.el (modify-dir-local-variable): Change the header comment
10156 in the file with directory local variables. (Bug#14692)
10157
e080a9d7
JL
10158 * files-x.el (read-file-local-variable-value): Add `default'.
10159 (Bug#14710)
10160
bfbc93a1
IK
101612013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10162
10163 * net/eww.el (eww-make-unique-file-name): Create a unique file
10164 name before saving to entering `y' accidentally asynchronously.
10165
101662013-06-25 Ivan Kanis <ivan@kanis.fr>
10167
10168 * net/eww.el (eww-download): New command and keystroke.
10169
16f74f10
LMI
101702013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10171
a49ff80c 10172 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
10173
10174 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10175 be more consistent with Info and dired.
10176
10177 * net/eww.el (eww-mode-map): Ditto.
10178
12059709
SM
101792013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10182 packages from archives.
10183 (package-archive-contents): Change format; include obsolete packages.
10184 (package-desc): Use `dir' to mark builtin packages.
10185 (package--from-builtin): Set the `dir' field to `builtin'.
10186 (generated-autoload-file, version-control): Declare.
10187 (package-compute-transaction): Change first arg and return value to be
10188 lists of package-descs. Adjust to new package-archive-contents format.
10189 (package--add-to-archive-contents): Adjust to new
10190 package-archive-contents format.
10191 (package-download-transaction): Arg is now a list of package-descs.
10192 (package-install): If `pkg' is a package name, pass it as
10193 a requirement, so it is subject to the usual (e.g. disabled) checks.
10194 (describe-package): Accept package-desc as well.
10195 (describe-package-1): Describe a specific package-desc. Add links to
10196 other package-descs for the same package name.
10197 (package-menu-describe-package): Pass the actual package-desc.
10198 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10199 works correctly.
10200 (package-desc-status): New function.
10201 (package-menu--refresh): New function, extracted
10202 from package-menu--generate.
10203 (package-menu--generate): Use it.
10204 (package-delete): Update package-alist.
10205 (package-menu-execute): Don't call package-initialize.
10206
10207 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10208 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10209 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10210 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10211 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10212 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10213
8bbdea0f
MR
102142013-06-25 Martin Rudalics <rudalics@gmx.at>
10215
10216 * window.el (window--state-get-1): Workaround for bug#14527.
10217 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10218
e82b0991
LMI
102192013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10220
10221 * net/eww.el (eww-back-url): Implement the history by stashing all
10222 the data into a list.
d3f0f918 10223 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10224
c763842b
SM
102252013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10228 for values and use read--expression for expressions (bug#14710).
10229 (read-file-local-variable): Avoid setq.
10230 (read-file-local-variable-mode): Use minor-mode-list.
10231
bceff189
RW
102322013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10233
864c58ca 10234 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
10235 for DOI URLs.
10236
45f431c6
RW
102372013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10238
864c58ca 10239 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
10240 Update imenu-support when dialect changes.
10241
f42d8237
LL
102422013-06-25 Leo Liu <sdl.web@gmail.com>
10243
10244 * ido.el (ido-read-internal): Allow forward slash on windows.
10245
be549ce6
LMI
102462013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10247
10248 * net/eww.el (eww): Start of strings is \\`, not ^.
10249
71d4c19d
IK
102502013-06-24 Ivan Kanis <ivan@kanis.fr>
10251
5196f88a
IK
10252 * net/shr.el (shr-browse-url): Fix interactive spec.
10253
71d4c19d
IK
10254 * net/eww.el (eww): Add a trailing slash to domain names.
10255
ae36ca55
JB
102562013-06-24 Juanma Barranquero <lekktu@gmail.com>
10257
10258 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10259
0ebd92a3
LMI
102602013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10261
bdaa086b
LMI
10262 * net/shr.el (shr-browse-url): Use an external browser if given a
10263 prefix.
10264
c763842b 10265 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 10266
b89fc156
IK
102672013-06-24 Ivan Kanis <ivan@kanis.fr>
10268
10269 * net/eww.el (eww): Work more correctly for file: URLs.
10270 (eww-detect-charset): Allow quoted charsets.
10271 (eww-yank-page-url): New command and keystroke.
10272
18eb4bca
DU
102732013-06-24 Daiki Ueno <ueno@gnu.org>
10274
10275 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10276 file name of gpg executable.
10277 (epg-context-program): New function.
10278 (epg-context-home-directory): New function.
10279 (epg-context-set-program): New function.
10280 (epg-context-set-home-directory): New function.
10281 (epg--start): Use `epg-context-program' instead of
10282 'epg-gpg-program'.
10283 (epg--list-keys-1): Likewise.
10284
6c6268c8
LL
102852013-06-24 Leo Liu <sdl.web@gmail.com>
10286
10287 * ido.el (ido-read-internal): Fix bug#14620.
10288
5e400cb3
JB
102892013-06-23 Juanma Barranquero <lekktu@gmail.com>
10290
10291 * faces.el (face-documentation): Simplify.
10292 (read-face-attribute, tty-find-type, x-resolve-font-name):
10293 Use `string-match-p'.
10294 (list-faces-display): Use `string-match-p'. Simplify.
10295 (face-spec-recalc): Check face to avoid face alias loops.
10296 (read-color): Use `string-match-p' and non-capturing parenthesis.
10297
f3f9606c
LMI
102982013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10299
10300 * net/shr.el (shr-rescale-image): Use the new
10301 :max-width/:max-height functionality.
10302
a3ca09b9
IK
103032013-06-23 Ivan Kanis <ivan@kanis.fr>
10304
10305 * net/eww.el (eww-search-prefix): New variable.
10306 (eww): Use it.
f865b474
IK
10307 (eww-external-browser): New variable.
10308 (eww-mode-map): New keystroke.
10309 (eww-browse-with-external-browser): New command.
a3ca09b9 10310
e854cfc7
IK
10311 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10312
18bb9e21
JB
103132013-06-23 Juanma Barranquero <lekktu@gmail.com>
10314
10315 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10316 Don't skip aligning the next header field when padding is 0;
10317 otherwise, field width is not respected unless the title is as
10318 wide as the field.
10319
5b165ade
SM
103202013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * emacs-lisp/package.el (package-el-version): Remove.
10323 (package-process-define-package): Fix inf-loop.
10324 (package-install): Allow symbols as arguments again.
10325
12adebe9
DG
103262013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10327
10328 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10329 add some more keyword-like methods.
10330 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10331
388573ee
JB
103322013-06-22 Juanma Barranquero <lekktu@gmail.com>
10333
10334 * bs.el (bs-buffer-show-mark): Make defvar-local.
10335 (bs-mode): Use setq-local.
10336
10337 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10338 (emacs-lock--try-unlocking): Make defvar-local.
10339
4582a01c 103402013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10341
2663dd23
GM
10342 * play/cookie1.el (cookie-apropos): Minor simplification.
10343
3d94f3ad
GM
10344 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10345
f72e2fdb
DG
103462013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10347
10348 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10349 `regexp-opt', it breaks the build during dumping.
10350
73eab938
DG
103512013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10352
c763842b
SM
10353 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10354 Highlight keyword-like methods on Kernel and Module with
73eab938 10355 font-lock-builtin-face.
5cf8176d
DG
10356 (auto-mode-alist): Consolidate different entries into one regexp
10357 and add more *file-s.
73eab938 10358
d26255f6
SB
103592013-06-21 Stephen Berman <stephen.berman@gmx.net>
10360
10361 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10362
10363 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10364 (diary-entry): Use it in the action of this button type instead of
10365 diary-goto-entry.
10366
10367 * calendar/todo-mode.el: New version.
10368 (todo-add-category): Append new category to end of file and give
10369 it the highest number, instead of putting it at the beginning and
10370 giving it 0. Incorporate noninteractive functionality.
10371 (todo-forward-category): Adapt to 1-based category numbering.
10372 Allow skipping over archived categories.
10373 (todo-backward-category): Derive from todo-forward-category.
10374 (todo-backward-item, todo-forward-item): Make noninteractive and
10375 delegate interactive part to new commands. Make sensitive to done items.
10376 (todo-categories): Make value an alist of category names and
10377 vectors of item counts.
10378 (todo-category-beg): Make a defconst.
10379 (todo-category-number): Use 1 instead of 0 as initial value.
10380 (todo-category-select): Make sensitive to overlays, optional item
10381 highlighting and done items.
10382 (todo-delete-item): Make sensitive to overlays and marked and done items.
10383 (todo-edit-item): Make sensitive to overlays and editing of
10384 date/time header optional. Add format checks.
10385 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10386 no-op if point is not on an item. Advertise using todo-edit-quit.
10387 (todo-edit-mode): Make sensitive to new format, font-locking, and
10388 multiple todo files.
10389 (todo-insert-item, todo-insert-item-here): Derive from
10390 todo-basic-insert-item and extend functionality.
10391 (todo-item-end, todo-item-start): Make sensitive to done items.
10392 (todo-item-string): Don't return text properties. Restore point.
10393 (todo-jump-to-category): Make sensitive to multiple todo files and
10394 todo archives. Use extended category completion.
10395 (todo-lower-item, todo-raise-item): Rename to *-priority and
10396 derive from todo-set-item-priority.
10397 (todo-mode): Derive from special-mode. Make sensitive to new
10398 format, font-locking and multiple todo files. Make read-only.
10399 (todo-mode-map): Don't suppress digit keys, so they can supply
10400 prefix arguments. Add many new key bindings.
10401 (todo-prefix): Insert as an overlay instead of file text.
10402 Change semantics from diary date expression to purely visual mark.
10403 (todo-print): Rename to todo-print-buffer. Make buffer display
10404 features printable. Remove option to restrict number of items
10405 printed. Add option to print to file.
10406 (todo-print-function): Rename to todo-print-buffer-function.
10407 (todo-quit): Extend to handle exiting new todo modes.
10408 (todo-remove-item): Make sensitive to overlays.
10409 (todo-save): Extend to buffers of filtered items.
10410 (todo-show): Make sensitive to done items, multiple todo files and
10411 new todo modes. Offer to convert legacy todo file before creating
10412 first new todo file.
10413 (todo-show-priorities): Rename to todo-top-priorities.
10414 Change semantics of value 0.
10415 (todo-top-priorities): Rename to todo-filter-top-priorities,
10416 derive from todo-filter-items and extend functionality.
10417 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10418 and extend functionality to other types of filtered items.
10419 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10420 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10421 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10422 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10423 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10424 (todo-edit-mode-hook, todo-entry-prefix-function)
10425 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10426 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10427 (todo-initials, todo-insert-threshold, todo-item-string-start)
10428 (todo-line-string, todo-menu, todo-mode-hook)
10429 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10430 (todo-print-priorities, todo-remove-separator)
10431 (todo-save-top-priorities-too, todo-string-count-lines)
10432 (todo-string-multiline-p, todo-time-string-format)
10433 (todo-tmp-buffer-name): Remove.
10434 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10435 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10436 (todo-edit-category-diary-inclusion)
10437 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10438 (todo-edit-file, todo-edit-item-date-day)
10439 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10440 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10441 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10442 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10443 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10444 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10445 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10446 (todo-filter-top-priorities-multifile, todo-find-archive)
10447 (todo-find-filtered-items-file, todo-go-to-source-item)
10448 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10449 (todo-jump-to-archive-category, todo-lower-category)
10450 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10451 (todo-move-category, todo-move-item, todo-next-button)
10452 (todo-next-item, todo-padded-string, todo-powerset)
10453 (todo-previous-button, todo-previous-item)
10454 (todo-print-buffer-to-file, todo-raise-category)
10455 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10456 (todo-set-category-number, todo-set-item-priority)
10457 (todo-set-top-priorities-in-category)
10458 (todo-set-top-priorities-in-file, todo-show-categories-table)
10459 (todo-sort-categories-alphabetically-or-numerically)
10460 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10461 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10462 (todo-toggle-item-header, todo-toggle-item-highlighting)
10463 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10464 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10465 (todo-unarchive-items, todo-unmark-category): New commands.
10466 (todo-absolute-file-name, todo-add-to-buffer-list)
10467 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10468 (todo-basic-insert-item, todo-category-completions)
10469 (todo-category-number, todo-category-string-matcher-1)
10470 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10471 (todo-check-format, todo-clear-matches)
10472 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10473 (todo-current-category, todo-date-string-matcher)
10474 (todo-define-insertion-command, todo-diary-expired-matcher)
10475 (todo-diary-goto-entry, todo-diary-item-p)
10476 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10477 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10478 (todo-done-item-section-p, todo-done-separator)
10479 (todo-done-string-matcher, todo-files, todo-filter-items)
10480 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10481 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10482 (todo-insert-category-line, todo-insert-item-from-calendar)
10483 (todo-insert-sort-button, todo-insert-with-overlays)
10484 (todo-insertion-command-name, todo-insertion-key-bindings)
10485 (todo-label-to-key, todo-longest-category-name-length)
10486 (todo-make-categories-list, todo-mode-external-set)
10487 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10488 (todo-modes-set-3, todo-multiple-filter-files)
10489 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10490 (todo-read-category, todo-read-date, todo-read-dayname)
10491 (todo-read-file-name, todo-read-time)
10492 (todo-reevaluate-category-completions-files-defcustom)
10493 (todo-reevaluate-default-file-defcustom)
10494 (todo-reevaluate-filelist-defcustoms)
10495 (todo-reevaluate-filter-files-defcustom)
10496 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10497 (todo-reset-done-separator, todo-reset-done-separator-string)
10498 (todo-reset-done-string, todo-reset-global-current-todo-file)
10499 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10500 (todo-reset-prefix, todo-set-categories)
10501 (todo-set-date-from-calendar, todo-set-show-current-file)
10502 (todo-set-top-priorities, todo-short-file-name)
10503 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10504 (todo-total-item-counts, todo-update-buffer-list)
10505 (todo-update-categories-display, todo-update-categories-sexp)
10506 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10507 New functions.
10508 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10509 New major modes.
10510 (todo-categories, todo-display, todo-edit, todo-faces)
10511 (todo-filtered): New defgroups.
10512 (todo-archived-only, todo-button, todo-category-string, todo-date)
10513 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10514 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10515 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10516 (todo-add-item-if-new-category, todo-always-add-time-string)
10517 (todo-categories-align, todo-categories-archived-label)
10518 (todo-categories-category-label, todo-categories-diary-label)
10519 (todo-categories-done-label, todo-categories-number-separator)
10520 (todo-categories-todo-label, todo-categories-totals-label)
10521 (todo-category-completions-files, todo-completion-ignore-case)
10522 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10523 (todo-done-separator-string, todo-done-string)
10524 (todo-files-function, todo-filter-done-items, todo-filter-files)
10525 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10526 (todo-initial-category, todo-initial-file, todo-item-mark)
10527 (todo-legacy-date-time-regexp, todo-mode-line-function)
10528 (todo-nondiary-marker, todo-number-prefix)
10529 (todo-print-buffer-function, todo-show-current-file)
10530 (todo-show-done-only, todo-show-first, todo-show-with-done)
10531 (todo-skip-archived-categories, todo-top-priorities-overrides)
10532 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10533 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10534 New defcustoms.
10535 (todo-category-done, todo-date-pattern, todo-date-string-start)
10536 (todo-diary-items-buffer, todo-done-string-start)
10537 (todo-filtered-items-buffer, todo-item-start)
10538 (todo-month-abbrev-array, todo-month-name-array)
10539 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10540 (todo-top-priorities-buffer): New defconsts.
10541 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10542 (todo-categories-with-marks, todo-category-string-face)
10543 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10544 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10545 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10546 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10547 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10548 (todo-font-lock-keywords, todo-global-current-todo-file)
10549 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10550 (todo-insertion-commands-args)
10551 (todo-insertion-commands-args-genlist)
10552 (todo-insertion-commands-names, todo-insertion-map)
10553 (todo-key-bindings-t, todo-key-bindings-t+a)
10554 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10555 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10556 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10557 (todo-visited): New variables.
10558
cad5d1cb
GM
105592013-06-21 Glenn Morris <rgm@gnu.org>
10560
10561 * play/cookie1.el (cookie-apropos): Add optional display argument.
10562 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10563 (psychoanalyze-pinhead): Use cookie-doctor.
10564
9e277302
JB
105652013-06-21 Juanma Barranquero <lekktu@gmail.com>
10566
10567 * emacs-lisp/package.el (tar-get-file-descriptor)
10568 (tar--extract): Declare.
10569
c5b0993e
EW
105702013-06-21 Eduard Wiebe <usenet@pusto.de>
10571
10572 Extend flymake's warning predicate to be a function (bug#14217).
10573 * progmodes/flymake.el (flymake-warning-predicate): New.
10574 (flymake-parse-line): Use it.
10575 (flymake-warning-re): Make obsolete alias to
10576 `flymake-warning-predicate'.
10577
a7d2d465
SM
105782013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10581 (package-obsolete-list): Remove.
10582 (package-activate): Remove min-version argument. Add `force' argument.
10583 Adjust to new package-alist format.
10584 (package-mark-obsolete): Remove.
10585 (package-unpack): Force reload of the package's autoloads.
10586 (package-installed-p): Check builtins if the installed package is not
10587 recent enough.
10588 (package-initialize): Don't reset package-obsolete-list.
10589 Don't specify which package version to activate.
10590 (package-process-define-package, describe-package-1)
10591 (package-menu--generate): Adjust to new package-alist format.
10592
cedf5c9d
JB
105932013-06-21 Juanma Barranquero <lekktu@gmail.com>
10594
10595 * allout-widgets.el (allout-widgets-mode-off)
10596 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10597 (allout-widgets-post-command-business)
10598 (allout-widgets-after-copy-or-kill-function)
10599 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10600 (allout-decorate-item-and-context)
10601 (allout-graphics-modification-handler): Fix typos in docstrings.
10602 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10603
10604 * cmuscheme.el (scheme-start-file): Doc fix.
10605 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10606 (scheme-input-filter): Use `string-match-p'.
10607
10608 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10609
10610 * dired-x.el: Use Dired consistently in docstrings.
10611
10612 * dired.el: Use Dired consistently in docstrings.
10613 (dired-readin, dired-mode): Use `setq-local'.
10614 (dired-switches-alist): Make defvar-local.
10615 (dired-buffers-for-dir): Use `zerop'.
10616 (dired-safe-switches-p, dired-switches-escape-p)
10617 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10618 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10619 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10620 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10621 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10622 (dired-toggle-marks, dired-mark-files-containing-regexp)
10623 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10624 (dired-flag-auto-save-files, dired-flag-backup-files):
10625 Use `looking-at-p'.
10626 (dired-mark-files-regexp, dired-build-subdir-alist):
10627 Use `string-match-p', `looking-at-p'.
10628
10629 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10630 (direct-print-region-helper): Use `string-match-p'.
10631
aed838b5
LL
106322013-06-21 Leo Liu <sdl.web@gmail.com>
10633
cedf5c9d
JB
10634 * comint.el (comint-redirect-results-list-from-process):
10635 Fix infinite loop.
aed838b5 10636
d80a808f
LMI
106372013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10638
10639 * net/eww.el (eww-update-header-line-format): Quote % characters.
10640
e7a526e3
GM
106412013-06-21 Glenn Morris <rgm@gnu.org>
10642
10643 * play/cookie1.el (cookie): New custom group.
10644 (cookie-file): New option.
10645 (cookie-check-file): New function.
10646 (cookie): Make it interactive. Make start and end messages optional.
10647 Interactively, display the result. Default to cookie-file.
10648 (cookie-insert): Default to cookie-file.
10649 (cookie-snarf): Make start and end messages optional.
10650 Default to cookie-file. Use with-temp-buffer.
10651 (cookie-read): Rename from read-cookie.
10652 Make start and end messages optional. Default to cookie-file.
10653 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10654 Do not autoload it.
e7a526e3
GM
10655 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10656 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10657
62efb35e
LL
106582013-06-21 Leo Liu <sdl.web@gmail.com>
10659
10660 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10661
21e3f963
GM
106622013-06-21 Glenn Morris <rgm@gnu.org>
10663
10664 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10665
fd846ab4
SM
106662013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10667 Daniel Hackney <dan@haxney.org>
10668
10669 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10670 Consolidate the single-file vs tarball code.
10671 (package-desc-suffix): New function.
10672 (package-desc-full-name): Don't bother inlining it.
10673 (package-load-descriptor): Return the new package-desc.
10674 (package-mark-obsolete): Remove unused arg `package'.
10675 (package-unpack): Make it work for single files as well.
10676 Make it update package-alist.
10677 (package--make-autoloads-and-stuff): Rename from
10678 package--make-autoloads-and-compile. Don't compile any more.
10679 (package--compile): New function.
10680 (package-generate-description-file): New function, extracted from
10681 package-unpack-single.
10682 (package-unpack-single): Remove.
10683 (package--with-work-buffer): Add indentation and debugging info.
10684 (package-download-single): Remove.
10685 (package-install-from-archive): Rename from package-download-tar, make
10686 it take a pkg-desc, and make it work for single files as well.
10687 (package-download-transaction): Simplify.
10688 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10689 external tar program.
10690 (package-install-from-buffer): Remove `pkg-desc' argument.
10691 Use package-tar-file-info for tar-mode buffers.
10692 (package-install-file): Simplify accordingly.
10693 (package-archive-base): Change to take a pkg-desc.
10694 * tar-mode.el (tar--check-descriptor): New function, extracted from
10695 tar-get-descriptor.
10696 (tar-get-descriptor): Use it.
10697 (tar-get-file-descriptor): New function.
10698 (tar--extract): New function, extracted from tar-extract.
10699 (tar--extract): Use it.
10700 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10701 case the summary uses non-ascii. Adjust to new calling convention of
10702 package-tar-file-info.
10703
b7deae5e
LL
107042013-06-21 Leo Liu <sdl.web@gmail.com>
10705
fd846ab4
SM
10706 * comint.el (comint-redirect-results-list-from-process):
10707 Fix random delay. (Bug#14681)
b7deae5e 10708
7a65a0b2
JB
107092013-06-21 Juanma Barranquero <lekktu@gmail.com>
10710
10711 * profiler.el (profiler-format-number): Use log, not log10.
10712
1493c2af
JB
107132013-06-20 Juanma Barranquero <lekktu@gmail.com>
10714
10715 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10716
aff6371e
SM
107172013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10718
10719 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10720 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10721 yet available.
10722 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10723 (AUTOGENEL): ... here.
10724 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10725 (cl--defsubst-expand): Use it.
10726
89561f72
PE
107272013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10728
10729 * subr.el (log10): Move here from C code, and declare as obsolete.
10730 All uses of (log10 X) replaced with (log X 10).
10731
47199123
JB
107322013-06-20 Juanma Barranquero <lekktu@gmail.com>
10733
10734 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10735 Declare with `defvar-local'.
10736 (tabulated-list-use-header-line, tabulated-list-entries)
10737 (tabulated-list-padding, tabulated-list-printer)
10738 (tabulated-list-sort-key): Declare with `defvar-local'.
10739 (tabulated-list-init-header, tabulated-list-print-fake-header):
10740 Use `setq-local'.
10741
4a172eab
MA
107422013-06-20 Michael Albinus <michael.albinus@gmx.de>
10743
47199123
JB
10744 * arc-mode.el (archive-mode): Add `archive-write-file' to
10745 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10746
5fc0acc0
JB
107472013-06-20 Juanma Barranquero <lekktu@gmail.com>
10748
d5b27848
JB
10749 * cus-edit.el (custom-commands): Fix typos.
10750 (custom-display): Fix tooltip text.
10751 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10752 Fix typos in docstrings.
10753 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10754 (custom-unlispify-menu-entry, custom-magic-value-create)
10755 (custom-add-see-also, custom-group-value-create): Use ?\s.
10756 (custom-guess-type, customize-apropos, editable-field)
10757 (custom-face-value-create): Use `string-match-p'.
10758 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10759
10760 * custom.el (custom-load-symbol): Use `string-match-p'.
10761
a5c581d8
JB
10762 * ansi-color.el: Convert to lexical binding.
10763 (ansi-colors): Fix URL.
10764 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10765 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10766 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10767
970ad972
G
107682013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10769
10770 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10771
10772 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10773
107742013-06-19 Tom Tromey <tromey@redhat.com>
10775
10776 * net/eww.el (eww-top-url): Remove.
10777 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10778 (eww-render): Set new variables. Don't set eww-top-url.
10779 (eww-handle-link): Handle "prev", "home", and "contents".
10780 Downcase the rel text.
10781 (eww-top-url): Choose best top URL.
10782
107832013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10784
10785 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10786 relying in widget.el. Using widget.el leads to too many
10787 user interface inconsistencies.
10788 (eww-self-insert): Implement entering commands in text fields.
10789 (eww-process-text-input): New function to make text input field editing
10790 work.
10791 (eww-submit): Rewrite to use the new-style form methods.
10792 (eww-select-display): Display the correct selected item.
10793 (eww-change-select): Implement changing the select value.
10794 (eww-toggle-checkbox): Implement radio/checkboxes.
10795 (eww-update-field): Fix compilation error.
10796 (eww-tag-textarea): Implement <textarea>.
10797
10798 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10799 we don't shadow mode-specific bindings.
10800
10801 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10802 nothing to push.
10803
10804 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10805
4582a01c 108062013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10807
10808 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10809
15b263dc
MA
108102013-06-19 Michael Albinus <michael.albinus@gmx.de>
10811
10812 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10813 not needed.
10814
10815 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10816
8f5297f7
LMI
108172013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10818
10819 * net/browse-url.el (browse-url-browser-function):
10820 `eww-browse-url' has the right calling signature, `eww' does not.
10821
011c4552
GM
108222013-06-19 Glenn Morris <rgm@gnu.org>
10823
2285bd27
GM
10824 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10825 Only eval autoloaded macros.
10826 (byte-compile-autoload): Only give the macro warning for macros.
10827
1d653303
GM
10828 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10829 (ps-underlined-faces): Declare.
10830
bdd779ec
GM
10831 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10832 (speedbar-add-supported-extension): Declare.
10833
011c4552
GM
10834 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10835 Don't include a date stamp in the header of the generated file;
10836 it leads to needless differences between output files.
10837
e59dfb0e
MA
108382013-06-19 Michael Albinus <michael.albinus@gmx.de>
10839
c763842b
SM
10840 * net/secrets.el (secrets-struct-secret-content-type):
10841 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10842 Some servers do not offer introspection.
e59dfb0e 10843
102626e2
SM
108442013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * electric.el (electric-pair-mode): Improve interaction with
10847 electric-layout-mode.
10848 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10849 (electric-pair-syntax): Use text-mode-syntax-table in comments
10850 and strings.
10851 (electric-pair--insert): New function.
10852 (electric-pair-post-self-insert-function): Use it and
10853 electric--after-char-pos.
10854
ad528125
LL
108552013-06-19 Leo Liu <sdl.web@gmail.com>
10856
10857 * progmodes/octave.el (octave-help): Fix regexp.
10858
924d6997
G
108592013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10860
10861 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10862 (shr-table-horizontal-line): Allow nil as a value, and change the
10863 default.
10864 (shr-insert-table-ruler): Respect the nil value.
10865
108662013-06-18 Tom Tromey <tromey@barimba>
10867
10868 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10869 New defvars.
10870 (eww-open-file): New defun.
10871 (eww-render): Initialize new variables.
10872 (eww-display-html): Handle "link" and "a".
10873 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10874 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10875 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10876 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10877 New defuns.
924d6997 10878
d1bbba4f
DG
108792013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10880
10881 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10882 Distinguish ternary operator tokens from slash symbol and slash
10883 char literal.
10884
14dd22d2
JB
108852013-06-18 Juanma Barranquero <lekktu@gmail.com>
10886
10887 Convert symbol prettification into minor mode and global minor mode.
10888
10889 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10890 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10891 (prettify-symbols--keywords): Rename from
10892 `prog-prettify-symbols-alist' and make a local defvar.
10893 (prettify-symbols--compose-symbol): Rename from
10894 `prog--prettify-font-lock-compose-symbol'.
10895 (prettify-symbols--make-keywords): Rename from
10896 `prog-prettify-font-lock-symbols-keywords' and simplify.
10897 (prog-prettify-install): Remove.
10898 (prettify-symbols-mode): New minor mode, based on
10899 `prog-prettify-install'.
10900 (turn-on-prettify-symbols-mode): New function.
10901 (global-prettify-symbols-mode): New globalized minor mode.
10902
10903 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10904 * progmodes/cfengine.el (cfengine3-mode):
10905 * progmodes/perl-mode.el (perl-mode): Don't call
10906 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10907
292c880c
JL
109082013-06-18 Juri Linkov <juri@jurta.org>
10909
10910 * files-x.el (modify-file-local-variable-message): New function.
10911 (modify-file-local-variable)
10912 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10913 and call `modify-file-local-variable-message' when it's non-nil.
10914 (add-file-local-variable, delete-file-local-variable)
10915 (add-file-local-variable-prop-line)
10916 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10917 and use it. (Bug#9820)
10918
0950aa27
JL
109192013-06-18 Juri Linkov <juri@jurta.org>
10920
10921 * emulation/vi.el (vi-shell-op):
10922 * emulation/vip.el (vip-execute-com, ex-command):
10923 * emulation/viper-cmd.el (viper-exec-bang):
10924 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10925 the call of `shell-command-on-region'. (Bug#14637)
10926
10927 * simple.el (shell-command-on-region): Doc fix.
10928
8fbcca16
SM
109292013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10932 (bug#14633).
10933
dd7426ea
GM
109342013-06-18 Glenn Morris <rgm@gnu.org>
10935
4ba54f7d
GM
10936 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10937
dd7426ea
GM
10938 * newcomment.el (comment-search-forward, comment-search-backward):
10939 Doc fix. (Bug#14376)
10940
58aa805b
JB
109412013-06-18 Juanma Barranquero <lekktu@gmail.com>
10942
10943 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10944 (buffer-face-mode-invoke): Doc fix.
10945
9a08a617
MM
109462013-06-18 Matthias Meulien <orontee@gmail.com>
10947
10948 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 10949 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 10950
f2f426ca
GM
109512013-06-18 Glenn Morris <rgm@gnu.org>
10952
9445f99b
GM
10953 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10954 Replace obsolete function generic-make-keywords with its expansion.
10955
e0df2d14
GM
10956 * progmodes/python.el (ffap-alist): Declare.
10957
f2f426ca
GM
10958 * textmodes/reftex.el (bibtex-mode-map): Declare.
10959
f7f9a720
SM
109602013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10963 (package-unpack, package-unpack-single): Return the pkg-dir.
10964 (package-download-transaction): Use it to update package-alist.
10965
57ff04e0
LMI
109662013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10967
10968 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10969 possible choice.
10970
c048c022
JL
109712013-06-17 Juri Linkov <juri@jurta.org>
10972
10973 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10974
b5bcaee5
DG
109752013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10976
a020afb9
JB
10977 * emacs-lisp/package.el (package-load-descriptor):
10978 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
10979 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10980
551e07e5
JB
109812013-06-17 Juanma Barranquero <lekktu@gmail.com>
10982
10983 * startup.el (command-line): Expand package name returned by
10984 `package--description-file' (bug#14639).
10985
d363bffb
DG
109862013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10987
10988 * emacs-lisp/package.el (package-load-descriptor): Do not call
10989 `emacs-lisp-mode', just use its syntax table.
10990
f612933b
JB
109912013-06-17 Juanma Barranquero <lekktu@gmail.com>
10992
10993 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10994 `font-lock-extra-managed-props' if any prettifying keyword is added.
10995 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10996 (prog-mode): Use `setq-local'.
10997
db3b7db5
SM
109982013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10999
11000 * international/characters.el (standard-case-table): Set syntax of ?»
11001 and ?« to punctuation.
11002
f3d674df
JB
110032013-06-16 Juanma Barranquero <lekktu@gmail.com>
11004
11005 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11006 Save relevant match data before calling `syntax-ppss' (bug#14595).
11007
31489a32
JL
110082013-06-15 Juri Linkov <juri@jurta.org>
11009
11010 * files-x.el (modify-file-local-variable-prop-line): Add local
11011 variables to the end of the existing comment on the first line.
11012 Use `file-auto-mode-skip' to skip interpreter magic line,
11013 and also skip XML declaration.
11014
66bd25ab
SM
110152013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11016
11017 * startup.el (package--builtin-versions): New var.
11018 (package-subdirectory-regexp): Remove.
11019 (package--description-file): Hard code its value instead.
11020
11021 * emacs-lisp/package.el: Don't activate packages older than builtin.
11022 (package-obsolete-list): Rename from package-obsolete-alist, and make
11023 it into a simple list of package-desc.
11024 (package-strip-version): Remove.
11025 (package-built-in-p): Use package--builtin-versions.
11026 (package-mark-obsolete): Simplify.
11027 (package-process-define-package): Mark it obsolete if older than the
11028 builtin version.
11029 (package-handle-response): Use line-end-position.
11030 (package-read-archive-contents, package--download-one-archive):
11031 Simplify.
11032 (package--add-to-archive-contents): Skip if older than the builtin or
11033 installed version.
11034 (package-menu-describe-package): Fix last change.
11035 (package-list-unversioned): New var.
11036 (package-menu--generate): Use it.
11037
11038 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11039 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11040 (autoload-builtin-package-versions): New variable.
11041 (autoload-generate-file-autoloads): Use them.
11042 Remove the list of autoloaded functions/macros from the
11043 (autoload...) comments.
11044
11045 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11046
9583ec36
EZ
110472013-06-15 Eli Zaretskii <eliz@gnu.org>
11048
11049 * simple.el (line-move-partial): Don't jump to the next screen
11050 line as soon as it becomes visible. Instead, continue enlarging
11051 the vscroll until the portion of a tall screen line that's left on
11052 display is about the height of the frame's default font.
11053 (Bug#14567)
11054
f0100d8a
GM
110552013-06-15 Glenn Morris <rgm@gnu.org>
11056
b86a85ca
GM
11057 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11058 compilation-error-regexp-alist void, or local while let-bound.
11059
f0100d8a
GM
11060 * progmodes/make-mode.el (makefile-mode-syntax-table):
11061 Treat "=" as punctuation. (Bug#14614)
11062
05e7ce90
JB
110632013-06-15 Juanma Barranquero <lekktu@gmail.com>
11064
11065 * help-fns.el (describe-variable):
11066 Add extra line for permanent-local variables.
11067
12e5e86e
SH
110682013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11069
11070 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11071 Add export, import, library. (Bug#9164)
11072 (library): Set indent function.
11073
230dcbaf
GM
110742013-06-14 Glenn Morris <rgm@gnu.org>
11075
11076 * term/xterm.el (xterm--query):
11077 Stop after first matching handler. (Bug#14615)
11078
e36b2d20 110792013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
11080
11081 Add support for dired in saveplace.
11082 * dired.el (dired-initial-position-hook): New variable.
11083 (dired-initial-position): Call hook to place cursor position.
11084 * saveplace.el (save-place-to-alist): Add dired position.
11085 (save-place-dired-hook): New function.
11086
0b31660d
SM
110872013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11088
bf1e6ae8
SM
11089 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11090 through a symbol rather than letrec.
11091
1b8dff23
SM
11092 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11093 (package-desc): Add `dir' field.
11094 (package-desc-full-name): New function.
11095 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11096 (package-maybe-load-descriptor): Remove.
11097 (package-load-all-descriptors): Just call package-load-descriptor.
11098 (package--disabled-p): New function.
11099 (package-desc-vers, package-desc-doc): Remove aliases.
11100 (package--dir): Remove function.
11101 (package-activate): Check if a package is disabled.
11102 (package-process-define-package): New function, extracted from
11103 define-package.
11104 (define-package): Turn into a place holder.
11105 (package-unpack-single, package-tar-file-info):
11106 Use package--description-file.
11107 (package-compute-transaction): Use package--disabled-p.
11108 (package-download-transaction): Don't call
11109 package-maybe-load-descriptor since they're all loaded anyway.
11110 (package-install): Change argument to be a pkg-desc.
11111 (package-delete): Use a single pkg-desc argument.
11112 (describe-package-1): Use package-desc-dir instead of package--dir.
11113 Use package-desc property instead of package-symbol.
11114 (package-install-button-action): Adjust accordingly.
11115 (package--push): Rewrite.
11116 (package-menu--print-info): Adjust accordingly. Change the ID format
11117 to be a pkg-desc.
11118 (package-menu-describe-package, package-menu-get-status)
11119 (package-menu--find-upgrades, package-menu-mark-upgrades)
11120 (package-menu-execute, package-menu--name-predicate):
11121 Adjust accordingly.
11122 * startup.el (package--description-file): New function.
11123 (command-line): Use it.
11124 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11125 Use package-desc-version.
11126
0b31660d
SM
11127 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11128 (byte-compile-preprocess): Use it.
11129 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11130 can't quite recognize.
11131 (byte-compile-add-to-list): Remove.
11132 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11133 (cconv-closure-convert): Add assertion.
11134
11135 * emacs-lisp/map-ynp.el: Use lexical-binding.
11136 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11137 Factor out some repeated code.
11138
de0503df
SM
111392013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11140
11141 * subr.el (with-eval-after-load): New macro.
11142 (eval-after-load): Allow form to be a function.
11143 take advantage of lexical-binding.
11144 (do-after-load-evaluation): Use dolist and adjust to new format.
11145 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11146
bc5c8c5a
JL
111472013-06-13 Juri Linkov <juri@jurta.org>
11148
11149 * replace.el (perform-replace): Display "symbol " and other search
11150 modes from `isearch-message-prefix' in the *Help* buffer.
11151
11152 * isearch.el (isearch-query-replace): Add " symbol" and other
11153 possible search modes from `isearch-message-prefix' to the prompt.
11154 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11155 when reading a regexp to collect.
11156
a22289f7
JL
111572013-06-13 Juri Linkov <juri@jurta.org>
11158
11159 * isearch.el (word-search-regexp): Match whitespace if the search
11160 string begins or ends in whitespace. The LAX arg is applied to
11161 both ends of the search string. Use `regexp-quote' and explicit
11162 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11163 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11164 boundaries are replaced with symbol boundaries, and characters
11165 between symbols match non-word non-symbol syntax. (Bug#14602)
11166
cb89acab
JL
111672013-06-13 Juri Linkov <juri@jurta.org>
11168
11169 * isearch.el (isearch-del-char): Don't exceed the length of
11170 `isearch-string' by the prefix arg. (Bug#14563)
11171
6e8cfc81
JL
111722013-06-13 Juri Linkov <juri@jurta.org>
11173
11174 * isearch.el (isearch-yank-word, isearch-yank-line)
11175 (isearch-char-by-name, isearch-quote-char)
11176 (isearch-printing-char, isearch-process-search-char):
11177 Add optional count prefix arg. (Bug#14563)
11178
11179 * international/isearch-x.el
11180 (isearch-process-search-multibyte-characters):
11181 Add optional count prefix arg.
11182
c23d55f4
VS
111832013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11184
11185 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11186 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11187 lexical-binding.
11188
111892013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11190
11191 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11192
ba947bc4
GM
111932013-06-13 Glenn Morris <rgm@gnu.org>
11194
8baeb37a
GM
11195 * startup.el (tty-handle-args):
11196 Don't just discard "--" and anything after. (Bug#14608)
11197
ba947bc4
GM
11198 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11199
9abefce4
MA
112002013-06-13 Michael Albinus <michael.albinus@gmx.de>
11201
11202 Implement changes in Secret Service API. Make it backward compatible.
11203 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11204 (secrets-create-item): Use it. Prefix properties with interface.
11205
5755011f
MH
112062013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11207
11208 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11209 (term-emulate-terminal): Respect term-suppress-hard-newline.
11210
1261d2da
S
112112013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11212
11213 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11214 Only remove a `thumb-file' overlay. (Bug#14548)
11215
868490bb
GJ
112162013-06-12 Grégoire Jadi <daimrod@gmail.com>
11217
11218 * mail/reporter.el (reporter-submit-bug-report):
11219 Handle missing package-name. (Bug#14600)
11220
79d7167f
TH
112212013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11222
11223 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11224 (reftex-citation-prompt, reftex-default-bibliography)
11225 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11226 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11227 (reftex-bib-sort-author, reftex-bib-sort-year)
11228 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11229 (reftex-extract-bib-entries-from-thebibliography)
11230 (reftex-get-bibkey-default, reftex-get-bib-names)
11231 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11232 (reftex-format-bib-entry, reftex-parse-bibitem)
11233 (reftex-format-bibitem, reftex-do-citation)
11234 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11235 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11236 (reftex-insert-bib-matches, reftex-format-citation)
11237 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11238 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11239 existing comments into docstrings.
11240
5f9dbd7a
XF
112412013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11242
11243 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11244
94df41ab
AS
112452013-06-12 Andreas Schwab <schwab@suse.de>
11246
11247 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11248 for auto-save files.
11249
a7f3fecc
GM
112502013-06-12 Glenn Morris <rgm@gnu.org>
11251
001809f6
GM
11252 * ido.el (ido-delete-ignored-files): Remove.
11253 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11254 Go back to calling ido-ignore-item-p directly.
a7f3fecc 11255
834b5ded
EL
112562013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11257
08c73ed2
EL
11258 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11259
834b5ded
EL
11260 * ido.el (ido-delete-ignored-files): New function,
11261 split from ido-make-file-list-1.
11262 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11263 (ido-make-file-list-1): Use ido-delete-ignored-files.
11264
daabf15a
LL
112652013-06-12 Leo Liu <sdl.web@gmail.com>
11266
11267 * progmodes/octave.el (inferior-octave-startup)
11268 (inferior-octave-completion-table)
11269 (inferior-octave-track-window-width-change)
11270 (octave-eldoc-function-signatures, octave-help)
11271 (octave-find-definition): Use single quoted strings.
11272 (inferior-octave-startup-args): Change default value.
11273 (inferior-octave-startup): Do not hard code "-i" and
11274 "--no-line-editing".
11275 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11276 (inferior-octave-directory-tracker): Use it.
11277 (octave-goto-function-definition): Robustify.
11278 (octave-help): Support highlighting operators in 'See also'.
11279 (octave-find-definition): Find subfunctions only in Octave mode.
11280
cf4e5178
SM
112812013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * help-fns.el (help-fns--compiler-macro): If the handler function is
11284 named, then put a link to it.
11285 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11286 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11287 (cl-typep): Use it.
11288 (cl-eval-when): Simplify debug spec.
11289 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11290 compiler-macro function instead of setting `compiler-macro-file'.
11291
99c81280 112922013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
11293
11294 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11295 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11296
f56be016
SM
112972013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11298 Daniel Hackney <dan@haxney.org>
11299
11300 First part of Daniel Hackney's patch to package.el.
11301 * emacs-lisp/package.el: Use defstruct.
11302 (package-desc): New, main struct.
11303 (package--bi-desc, package--ac-desc): New structs, used to describe the
11304 format in external files.
11305 (package-desc-vers): Replace with package-desc-version accessor.
11306 (package-desc-doc): Replace with package-desc-summary accessor.
11307 (package-activate-1): Remove `package' arg since the pkg-vec now
11308 includes the name.
11309 (define-package): Use package-desc-from-define.
11310 (package-unpack-single): Change file-name arg to be a symbol.
11311 (package--add-to-archive-contents): Use package-desc-create and new
11312 accessor functions to package--ac-desc.
11313 (package-buffer-info, package-tar-file-info): Return a package-desc.
11314 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11315 arg to be a package-desc.
11316 (package-install-file): Adjust accordingly. Use \' to match EOS.
11317 (package--from-builtin): New function.
11318 (describe-package-1, package-menu--generate): Use it.
11319 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11320 (package-generate-autoloads): Idem and return the name of the file.
11321 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11322 Change pkg-info arg to be a package-desc.
11323 Use package-make-ac-desc.
11324 (package-upload-file): Use \' to match EOS.
11325 * finder.el (finder-compile-keywords): Use package-make-builtin.
11326
31119d63
SM
113272013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11328
931a2762
SM
11329 * vc/vc.el (vc-deduce-fileset): Change error message.
11330 (vc-read-backend): New function.
11331 (vc-next-action): Use it.
11332
5a3eb0c6
SM
11333 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11334
e3eb1bb7
SM
11335 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11336 (prolog-font-lock-keywords): Use regexp-opt instead.
11337 Don't manually highlight strings.
11338 (prolog-mode-variables): Simplify comment-start-skip.
11339 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11340
31119d63
SM
11341 * emacs-lisp/generic.el (generic--normalise-comments)
11342 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11343 (generic-mode-set-comments): Use them.
11344 (generic-bracket-support): Use setq-local.
11345 (generic-make-keywords-list): Declare obsolete.
11346
7de135d0
GM
113472013-06-11 Glenn Morris <rgm@gnu.org>
11348
11349 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11350 Prettify after setting font-lock-defaults. (Bug#14574)
11351
fa6bc6fd
JB
113522013-06-11 Juanma Barranquero <lekktu@gmail.com>
11353
11354 * replace.el (query-replace, occur-read-regexp-defaults-function)
11355 (replace-search):
11356 * subr.el (declare-function, number-sequence, local-set-key)
11357 (substitute-key-definition, locate-user-emacs-file)
11358 (with-silent-modifications, split-string, eval-after-load):
11359 Fix typos, remove unneeded backslashes and reflow some docstrings.
11360
cf1f9b9a
SM
113612013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11364 default for Elisp files.
11365
56602a4b
GM
113662013-06-11 Glenn Morris <rgm@gnu.org>
11367
11368 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11369 although define-derived-mode was doing this anyway. (Bug#14583)
11370
30ae0b2c
JB
113712013-06-10 Juanma Barranquero <lekktu@gmail.com>
11372
11373 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11374 Fix make-variable-buffer-local call to refer to the correct variable.
11375
fa472906
AG
113762013-06-10 Aidan Gauland <aidalgol@amuri.net>
11377
11378 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11379 (eshell-visual-subcommands, eshell-visual-options):
11380 Add summary line to docstrings. Add cross-references.
fa472906 11381
ff4871b9
GM
113822013-06-10 Glenn Morris <rgm@gnu.org>
11383
11384 * epa.el (epa-read-file-name): New function. (Bug#14510)
11385 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11386
04fcf1b0
AG
113872013-06-09 Aidan Gauland <aidalgol@amuri.net>
11388
11389 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11390 output redirection to be ignored with visual commands.
11391
88b00caa
AG
113922013-06-09 Aidan Gauland <aidalgol@amuri.net>
11393
11394 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11395 (eshell-term-initialize): Move long lambda to separate function
11396 eshell-visual-command-p.
27821a89 11397 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11398 * eshell/em-script.el (eshell-script-initialize):
11399 Add missing #' to lambda.
88b00caa 11400
fda74125
LL
114012013-06-08 Leo Liu <sdl.web@gmail.com>
11402
11403 * progmodes/octave.el (octave-add-log-current-defun): New function.
11404 (octave-mode): Set add-log-current-defun-function.
11405 (octave-goto-function-definition): Do not move point if not found.
11406 (octave-find-definition): Enhance to try subfunctions first.
11407
467f3b33
GM
114082013-06-08 Glenn Morris <rgm@gnu.org>
11409
11410 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11411 (byte-compile-backward-char, byte-compile-backward-word):
11412 Improve previous change, to handle non-explicit nil.
11413
544badc3
SM
114142013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11417 (smie--opener/closer-at-point): New function.
11418 (smie--matching-block-data): Use it. Don't match from right after an
11419 opener or right before a closer. Obey smie-blink-matching-inners.
11420 Don't signal a mismatch for repeated inners like "switch..case..case".
11421
a175bf33
LL
114222013-06-07 Leo Liu <sdl.web@gmail.com>
11423
11424 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11425 to t. (Bug#14303)
ce8209d4
LL
11426 (octave-function-header-regexp): Fix. (Bug#14570)
11427 (octave-help-mode-finish-hook, octave-help-mode-finish):
11428 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11429
11430 * newcomment.el (comment-search-backward): Revert last change.
11431 (Bug#14434)
11432
11433 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11434
a822acff
EZ
114352013-06-07 Eli Zaretskii <eliz@gnu.org>
11436
11437 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11438 through xargs, to avoid failure due to MS-Windows limitations on
11439 command-line length.
11440
961166f5
GM
114412013-06-06 Glenn Morris <rgm@gnu.org>
11442
d0341459
GM
11443 * font-lock.el (lisp-font-lock-keywords-2):
11444 Treat user-error like error.
11445
961166f5
GM
11446 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11447 (byte-compile-backward-char, byte-compile-backward-word):
11448 Handle explicit nil arguments. (Bug#14565)
11449
80fa505f
AM
114502013-06-05 Alan Mackenzie <acm@muc.de>
11451
11452 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11453 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11454 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11455 (Bug#9706)
80fa505f 11456
fccdc796
SM
114572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * autorevert.el (auto-revert-notify-handler): Use memq.
11460 Hide assertion failure.
11461
11462 * skeleton.el: Use cl-lib.
11463 (skeleton-further-elements): Use defvar-local.
11464 (skeleton-insert): Use cl-progv.
11465
9bfff84b
TZ
114662013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11467
11468 * progmodes/prog-mode.el (prog-prettify-symbols)
11469 (prog-prettify-install): Update docstrings.
11470
55577e7c
SM
114712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * simple.el: Move all the prog-mode code to prog-mode.el.
11474 * progmodes/prog-mode.el: New file.
11475 * loadup.el: Add prog-mode.el.
11476
8fc57765
TZ
114772013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11478
11479 * simple.el (prog-prettify-symbols): Add version.
11480 (prog-prettify-install): Add convenience function to prettify symbols.
11481
11482 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11483 (perl--augmented-font-lock-keywords-1)
11484 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11485 variables and use it.
11486
11487 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11488 (cfengine3-mode): Remove unneeded variable and use it.
11489
11490 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11491 (lisp--augmented-font-lock-keywords-1)
11492 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11493 Remove unneeded variables and use it.
11494
650645d5 114952013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11496
11497 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11498 to point when opening the connection. (Bug#14380)
28f5da6d 11499
781b4af6
SM
115002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * subr.el (load-history-regexp, load-history-filename-element)
11503 (eval-after-load, after-load-functions, do-after-load-evaluation)
11504 (eval-next-after-load, display-delayed-warnings)
11505 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11506 definition of save-match-data.
11507 (overriding-local-map): Remove accidental obsolescence declaration.
11508
11509 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11510
3ca0d0b4
TZ
115112013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11512
11513 Generalize symbol prettify support to prog-mode and implement it
11514 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11515 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11516 (prog--prettify-font-lock-compose-symbol)
11517 (prog-prettify-font-lock-symbols-keywords): New variables and
11518 functions to support symbol prettification.
11519 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11520 (lisp--augmented-font-lock-keywords-1)
11521 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11522 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11523 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11524 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11525 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11526 * progmodes/perl-mode.el (perl-prettify-symbols)
11527 (perl--font-lock-compose-symbol)
11528 (perl--font-lock-symbols-keywords): Move to prog-mode.
11529 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11530 (perl-font-lock-keywords-1)
11531 (perl-font-lock-keywords-2): Remove explicit prettify support.
11532 (perl--augmented-font-lock-keywords)
11533 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11534 (perl--augmented-font-lock-keywords-2, perl-mode):
11535 Implement prettify support.
3ca0d0b4 11536
976cb066
LL
115372013-06-05 Leo Liu <sdl.web@gmail.com>
11538
27821a89 11539 Re-implement SMIE matching block highlight using
976cb066
LL
11540 show-paren-data-function. (Bug#14395)
11541 * emacs-lisp/smie.el (smie-matching-block-highlight)
11542 (smie--highlight-matching-block-overlay)
11543 (smie--highlight-matching-block-lastpos)
11544 (smie-highlight-matching-block)
11545 (smie-highlight-matching-block-mode): Remove.
11546 (smie--matching-block-data-cache): New variable.
11547 (smie--matching-block-data): New function.
11548 (smie-setup): Use smie--matching-block-data for
11549 show-paren-data-function.
11550
11551 * progmodes/octave.el (octave-mode-menu): Fix.
11552 (octave-find-definition): Skip garbage lines.
11553
208d0342
SM
115542013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 Fix compilation error with simultaneous dynamic+lexical scoping.
11557 Add warning when a defvar appears after the first let-binding.
11558 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11559 (byte-compile-close-variables): Initialize it.
11560 (byte-compile--declare-var): New function.
11561 (byte-compile-file-form-defvar)
11562 (byte-compile-file-form-define-abbrev-table)
11563 (byte-compile-file-form-custom-declare-variable): Use it.
11564 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11565 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11566 (byte-compile-bind): Handle dynamic bindings that shadow
11567 lexical bindings.
11568 (byte-compile-unbind): Make arg non-optional.
11569 (byte-compile-let): Simplify.
11570 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11571 (cconv--analyse-function, cconv-analyse-form): Populate it.
11572 Protect byte-compile-bound-variables to limit the scope of defvars.
11573 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11574 Remove unneeded rule for `declare'.
11575
11576 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11577 so as to avoid depending on cl-adjoin at run-time.
11578 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11579
11580 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11581 (macroexp--warn-and-return): Use it.
11582
1ac2891e
GM
115832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11584
a12bf61e 11585 * subr.el: Convert to lexical binding.
1ac2891e
GM
11586 (overriding-local-map): Make obsolete.
11587 (add-to-list): Doc fix. Add compiler macro.
11588 (read-key): Swap values of local maps.
11589
2587b005
LL
115902013-06-05 Leo Liu <sdl.web@gmail.com>
11591
11592 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11593
f1da3c88
LL
115942013-06-04 Leo Liu <sdl.web@gmail.com>
11595
11596 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11597 (compilation-auto-jump): Suppress the "Mark set" message to give
11598 way to exit message.
11599
3caa391f
AM
116002013-06-04 Alan Mackenzie <acm@muc.de>
11601
11602 Remove faulty optimisation from indentation calculation.
11603 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11604 search limit based on 2000 characters back from indent-point.
11605
068922a2
TH
116062013-06-03 Tassilo Horn <tsdh@gnu.org>
11607
11608 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11609
1f8fdd53
SM
116102013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11611
bbcc4d97
SM
11612 * emacs-lisp/lisp.el: Use lexical-binding.
11613 (lisp--local-variables-1, lisp--local-variables): New functions.
11614 (lisp--local-variables-completion-table): New var.
208d0342 11615 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11616
1f8fdd53
SM
11617 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11618 eagerly (bug#14422).
11619
c9628c79
MA
116202013-06-03 Michael Albinus <michael.albinus@gmx.de>
11621
11622 * autorevert.el (auto-revert-notify-enabled)
11623 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11624 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11625 (auto-revert-notify-handler): Handle also gfilenotify.
11626
e7b41c4c 11627 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11628 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11629 Remove.
c9628c79 11630
e5e4a942
JL
116312013-06-03 Juri Linkov <juri@jurta.org>
11632
11633 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11634 `M-s h .'. (Bug#14427)
11635
11636 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11637 command `hi-lock-face-symbol-at-point'.
11638 (hi-lock-face-symbol-at-point): New command.
11639 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11640 (hi-lock-menu): Add `highlight-symbol-at-point'.
11641 (hi-lock-mode): Doc fix.
11642
11643 * isearch.el (isearch-forward-symbol-at-point): New command.
11644 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11645 (isearch-highlight-regexp): Add a regexp which matches
11646 words/symbols for word/symbol mode.
11647
11648 * subr.el (find-tag-default-bounds): New function with the body
11649 mostly moved from `find-tag-default'.
11650 (find-tag-default): Move most code to `find-tag-default-bounds',
11651 call it and apply `buffer-substring-no-properties' afterwards.
11652
26b3353a
TH
116532013-06-03 Tassilo Horn <tsdh@gnu.org>
11654
781b4af6
SM
11655 * eshell/em-term.el (eshell-term-initialize):
11656 Use `cl-intersection' rather than `intersection'.
26b3353a 11657
51b60f53
XF
116582013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11659
fe054b63 11660 * vc/log-view.el: Doc fix.
d3ffe17c 11661 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11662
a0eb10b3 116632013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11664
11665 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11666 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11667 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11668 (eieio-unbound, eieio-default-superclass)
11669 (eieio--define-field-accessors, method-static, method-before)
11670 (method-primary, method-after, method-num-lists)
11671 (method-generic-before, method-generic-primary)
11672 (method-generic-after, method-num-slots)
11673 (eieio-specialized-key-to-generic-key)
11674 (eieio--check-type, class-v, class-p)
11675 (eieio-class-name, define-obsolete-function-alias)
11676 (eieio-class-parents-fast, eieio-class-children-fast)
11677 (same-class-fast-p, class-constructor, generic-p)
11678 (generic-primary-only-p, generic-primary-only-one-p)
11679 (class-option-assoc, class-option, eieio-object-p)
11680 (class-abstract-p, class-method-invocation-order)
11681 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11682 (eieio-class-un-autoload, eieio-defclass)
11683 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11684 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11685 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11686 (eieio-defgeneric-reset-generic-form)
11687 (eieio-defgeneric-form-primary-only)
11688 (eieio-defgeneric-reset-generic-form-primary-only)
11689 (eieio-defgeneric-form-primary-only-one)
11690 (eieio-defgeneric-reset-generic-form-primary-only-one)
11691 (eieio-unbind-method-implementations)
11692 (eieio--defmethod, eieio--typep)
11693 (eieio-perform-slot-validation, eieio-validate-slot-value)
11694 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11695 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11696 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11697 (eieio-slot-name-index, eieio-class-slot-name-index)
11698 (eieio-set-defaults, eieio-initarg-to-attribute)
11699 (eieio-attribute-to-initarg, eieio-c3-candidate)
11700 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11701 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11702 (eieio-class-precedence-list, eieio-generic-call-methodname)
11703 (eieio-generic-call-arglst, eieio-generic-call-key)
11704 (eieio-generic-call-next-method-list)
11705 (eieio-pre-method-execution-functions, eieio-generic-call)
11706 (eieio-generic-call-primary-only, eieiomt-method-list)
11707 (eieiomt-optimizing-obarray, eieiomt-install)
11708 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11709 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11710 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11711 (defclass): Remove `eval-and-compile' from macro.
11712 (call-next-method, shared-initialize): Instead of using
11713 `scoped-class' variable, use new eieio--scoped-class, and
11714 eieio--with-scoped-class.
11715 (initialize-instance): Rename local variable 'scoped-class' to
11716 'this-class' to remove ambiguitity from old global.
11717
11718 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11719 eieio.el.
4f405069
JB
11720 (eieio--scoped-class-stack): New variable.
11721 (eieio--scoped-class): New fcn.
890f7890
DE
11722 (eieio--with-scoped-class): New scoping macro.
11723 (eieio-defclass): Use pushnew instead of add-to-list.
11724 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11725 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11726 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11727 `scoped-class' variable, use new eieio--scoped-class, and
11728 eieio--with-scoped-class.
11729
11730 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11731
d105b0e2
TH
117322013-06-02 Tassilo Horn <tsdh@gnu.org>
11733
11734 * eshell/esh-ext.el (eshell-external-command): Pass args to
11735 `eshell-find-interpreter'.
11736 (eshell-find-interpreter): Add new second parameter ARGS.
11737
11738 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11739 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11740
11741 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11742 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11743
11744 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11745 (eshell-visual-options): New defcustom.
11746 (eshell-escape-control-x): Adapt docstring.
11747 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11748 `eshell-visual-options' in addition to `eshell-visual-commands'.
11749 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11750
f46305c8 117512013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11752
11753 * progmodes/python.el (python-indent-block-enders): Add break,
11754 continue and raise keywords.
11755
d870df21
GM
117562013-06-01 Glenn Morris <rgm@gnu.org>
11757
9133b82e
GM
11758 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11759
02c992ec 11760 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11761 * progmodes/cc-cmds.el (delete-forward-p):
11762 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11763 * progmodes/cc-engine.el (buffer-syntactic-context):
11764 * progmodes/cc-fonts.el (face-property-instance):
11765 * progmodes/cc-mode.el (set-keymap-parents):
11766 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11767 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11768 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11769 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11770 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11771
31e7b090
GM
11772 * progmodes/cc-vars.el (other): Emacs has this widget since
11773 at least 21.1, so don't (re)define it.
11774
d870df21
GM
11775 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11776 Replace the obsolete alias pcomplete-arg-quote-list.
11777
c75c93c7
LL
117782013-06-01 Leo Liu <sdl.web@gmail.com>
11779
11780 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11781 punctuation syntax.
11782 (inferior-octave-minimal-columns)
11783 (inferior-octave-last-column-width): New variables.
11784 (inferior-octave-track-window-width-change): New function.
11785 (inferior-octave-mode): Adjust column width so that Octave output,
11786 for example from 'ls', can fit into the window nicely.
11787
973d1e12
DG
117882013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11789
11790 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11791 Highlight expansions inside regexp literals.
11792
0888c286
GM
117932013-05-31 Glenn Morris <rgm@gnu.org>
11794
e26aac1f
GM
11795 * obsolete/sym-comp.el (symbol-complete):
11796 Replace obsolete completion-annotate-function.
11797
0888c286
GM
11798 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11799
19bb8e62
DG
118002013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11801
781b4af6
SM
11802 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11803 New function, checks if point is inside a literal that allows
19bb8e62
DG
11804 expression expansion.
11805 (ruby-syntax-propertize-expansion): Use it.
11806 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11807 around the body.
11808
01dea85f
JL
118092013-05-30 Juri Linkov <juri@jurta.org>
11810
11811 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11812 to "\M-si".
11813 (isearch-invisible): New variable.
11814 (isearch-forward): Doc fix.
11815 (isearch-mode): Set `isearch-invisible'
11816 to the value of `search-invisible'.
11817 (isearch-toggle-case-fold): Doc fix.
11818 (isearch-toggle-invisible): New command.
11819 (isearch-query-replace): Let-bind `search-invisible'
11820 to the value of `isearch-invisible'.
11821 (isearch-search): Use `isearch-invisible' instead of
11822 `search-invisible'. Let-bind `search-invisible'
11823 to the value of `isearch-invisible'. (Bug#11378)
11824
ab1bdce5
JL
118252013-05-30 Juri Linkov <juri@jurta.org>
11826
11827 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11828 call when `query-flag' is nil and `search-invisible' is non-nil.
11829 (Bug#11746)
11830
d6d236e2
GM
118312013-05-30 Glenn Morris <rgm@gnu.org>
11832
8accd027
GM
11833 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11834
2a8bed1c
GM
11835 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11836 (cc-require): Suppress spurious "noruntime" warnings.
11837 (cc-require-when-compile): Use fboundp, for sake of compiler.
11838
d6d236e2
GM
11839 * progmodes/cc-mode.el: Move load of cc-vars before that of
11840 cc-langs (which in turn loads cc-vars), to quieten compiler.
11841
9190b35b
SM
118422013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * paren.el: Simplify the code.
11845 (show-paren-mode): Always start the timer.
11846 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11847 (show-paren--overlay, show-paren--overlay-1): Rename from
11848 show-paren-overlay and show-paren-overlay-1, and initialize to an
11849 overlay rather than to nil.
11850 (show-paren-function): Misc cleanup and simplifications.
11851
4f8d1cf6
SM
118522013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * paren.el (show-paren-data-function): New hook.
11855 (show-paren--default): New function, extracted from show-paren-function.
11856 (show-paren-function): Use show-paren-data-function.
11857
02d844b5
GM
118582013-05-30 Glenn Morris <rgm@gnu.org>
11859
d209d4a9
GM
11860 * ielm.el (ielm-map, ielm-complete-symbol):
11861 Use completion-at-point rather than obsolete functions.
11862 (inferior-emacs-lisp-mode): Doc fix.
11863 Set completion-at-point-functions, rather than
11864 comint-dynamic-complete-functions.
11865
2082faa6
GM
11866 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11867 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11868 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11869
dd8620de
GM
11870 * image.el (image-animated-p): Tweak definition.
11871
ceca95b1
GM
11872 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11873 (rlogin-process-connection-type): Tweak default. Add set-after.
11874 (rlogin-host): Doc fix.
11875 (rlogin): Tweak prompt.
11876 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11877
ee9f1acc
GM
11878 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11879 * progmodes/tcl.el (inferior-tcl-mode-map):
11880 Use completion-at-point rather than obsolete alias.
11881
45ce222e
GM
11882 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11883
02d844b5
GM
11884 * minibuffer.el (read-file-name-completion-ignore-case):
11885 Move before completion--in-region, for eager macro expansion.
11886
ac44d6c1
JL
118872013-05-29 Juri Linkov <juri@jurta.org>
11888
11889 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11890 for total count of matching lines. Add `global-matches' for total
11891 count of matches. Rename `matches' to `lines' for count of
11892 matching lines. Add `matches' for count of matches.
11893 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11894 to `prev-line' for line number of prev match endpt.
11895 Increment `matches' for every match. Print the number of
11896 matching lines in the header.
11897 (occur-context-lines): Rename `lines' to `curr-line'.
11898 Rename `prev-lines' to `prev-line'. (Bug#14017)
11899
3c9c9d38
JL
119002013-05-29 Juri Linkov <juri@jurta.org>
11901
11902 * replace.el (perform-replace): Add `skip-read-only-count',
11903 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11904 Increment them for corresponding conditions and report the number
11905 of skipped occurrences in the final message. (Bug#11746)
11906 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11907 (replace-string, replace-regexp): Doc fix.
11908
33e249a2
SM
119092013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11910
8e399682
SM
11911 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11912
33e249a2 11913 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11914 prog-mode-map (bug#14504).
33e249a2 11915
f236dd84
LL
119162013-05-29 Leo Liu <sdl.web@gmail.com>
11917
11918 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11919 (octave-help): Small simplification.
11920
11921 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11922 off the highlight first.
11923
3694d13f
GM
119242013-05-29 Glenn Morris <rgm@gnu.org>
11925
03983bdc
GM
11926 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11927 Handle idlwave-last-system-routine-info-cons-cell being nil.
11928
bc74a74a
GM
11929 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11930 (idlwave-write-paths): Simplify via with-temp-buffer.
11931
8b394200
GM
11932 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11933 * emulation/cua-rect.el: Also load cua-base at run time.
11934
3694d13f
GM
11935 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11936 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11937 (cperl-imenu-on-info): Require imenu.
11938
336d7284
AM
119392013-05-28 Alan Mackenzie <acm@muc.de>
11940
11941 Handle "capitalised keywords" correctly.
33e249a2 11942 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 11943
cb29c582
AG
119442013-05-28 Aidan Gauland <aidalgol@amuri.net>
11945
781b4af6 11946 * eshell/em-unix.el: Add -r option to cp.
cb29c582 11947
690e44b2
GM
119482013-05-28 Glenn Morris <rgm@gnu.org>
11949
e658d75c
GM
11950 * vc/vc-arch.el (vc-exec-after): Declare.
11951 (vc-switches): Autoload.
11952 * vc/vc-bzr.el: No need to require vc when compiling.
11953 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11954 (vc-resynch-buffer, vc-dir-refresh): Declare.
11955 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
11956 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11957 (vc-resynch-buffer): Declare.
11958 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 11959 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
11960 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11961 (grep-read-regexp, grep-read-files, grep-expand-template)
11962 (vc-dir-refresh): Declare.
11963 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11964 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11965 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
11966 * vc/vc-mtn.el (vc-exec-after): Declare.
11967 (vc-switches): Autoload.
11968 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11969 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11970 (vc-file-tree-walk): Declare.
712b9732
GM
11971 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11972 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11973 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
11974 * vc/vc-svn.el (vc-exec-after): Declare.
11975 (vc-switches, vc-setup-buffer): Autoload.
11976 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11977 Autoload.
11978 (vc-resynch-buffer): Declare.
11979
98e87fb3
GM
11980 * obsolete/fast-lock.el (byte-compile-warnings):
11981 Don't warn about obsolete features in this obsolete file.
11982
f5379553
GM
11983 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11984 Move definition before use.
11985
7a20ef83
GM
11986 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11987 (dun-unix-verbs): Remove dun-zippy.
11988 (dun-zippy): Remove function.
11989
690e44b2
GM
11990 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11991
3a52ccf7
JL
119922013-05-27 Juri Linkov <juri@jurta.org>
11993
11994 * replace.el (replace-search): New function with code moved out
11995 from `perform-replace'.
11996 (replace-highlight, replace-dehighlight): Move function definitions
11997 up closer to `replace-search'. (Bug#11746)
11998
d289938a
JL
119992013-05-27 Juri Linkov <juri@jurta.org>
12000
12001 * replace.el (perform-replace): Ignore invisible matches.
12002 In addition to checking `query-replace-skip-read-only', also
12003 filter out matches by calling `run-hook-with-args-until-failure'
12004 on `isearch-filter-predicates', and also check `search-invisible'
12005 for t or call `isearch-range-invisible'.
12006 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12007
66fc57e3
JL
120082013-05-27 Juri Linkov <juri@jurta.org>
12009
12010 * isearch.el (isearch-filter-predicates): Rename from
12011 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12012 (isearch-message-prefix): Display text from the property
12013 `isearch-message-prefix' of the currently active filters.
12014 (isearch-search): Don't compare `isearch-filter-predicate' with
12015 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12016 on `isearch-filter-predicates'. Also check `search-invisible' for t
12017 or call `isearch-range-invisible'.
12018 (isearch-filter-visible): Make obsolete.
12019 (isearch-lazy-highlight-search):
12020 Call `run-hook-with-args-until-failure' on
12021 `isearch-filter-predicates' and use `isearch-range-invisible'.
12022
12023 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12024 `isearch-filter-predicates' instead of `funcall'ing
12025 `isearch-filter-predicate'.
12026 (Info-mode): Set `Info-isearch-filter' to
12027 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12028
12029 * dired-aux.el (dired-isearch-filter-predicate-orig):
12030 Remove variable.
12031 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12032 (dired-isearch-filenames-end): Add and remove
12033 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12034 instead of changing the value of `isearch-filter-predicate'.
12035 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12036 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12037 Put property `isearch-message-prefix' to "filename " on
12038 `dired-isearch-filter-filenames'.
12039
12040 * wdired.el (wdired-change-to-wdired-mode):
12041 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12042 locally instead of changing `isearch-filter-predicate'.
12043 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12044
f1a60a0f
DG
120452013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12046
12047 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12048 return the commit hash (Bug#14459). Also set the
12049 `vc-git-detached' property.
12050 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12051 (vc-git-mode-line-string): Use the same help-echo format whether
12052 in detached mode or not, because we know the actual revision now.
12053 When in detached mode, shorten the revision to 7 chars.
12054
7f17cc40
SM
120552013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12056
12057 * emacs-lisp/easy-mmode.el (define-minor-mode):
12058 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12059 mode hook and provide a docstring.
12060
25c8401c
AM
120612013-05-27 Alan Mackenzie <acm@muc.de>
12062
12063 Remove spurious syntax-table text properties inserted by C-y.
12064 * progmodes/cc-mode.el (c-after-change): Also clear hard
12065 syntax-table property with value nil.
12066
dde84790
MA
120672013-05-27 Michael Albinus <michael.albinus@gmx.de>
12068
12069 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12070 when reading the events; the buffer layout shall not be changed.
12071
837fd9af
LL
120722013-05-27 Leo Liu <sdl.web@gmail.com>
12073
12074 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12075 New variable.
12076 (inferior-octave-directory-tracker): Automatically re-sync
12077 default-directory.
12078 (octave-help): Improve handling of 'See also'.
12079
4fd996b3
SM
120802013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12081
416f1802
SM
12082 * doc-view.el: Minor naming convention tweaks.
12083 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12084
4fd996b3
SM
12085 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12086 even if there's no `display' property yet (bug#14435).
12087
a052ef3b
EZ
120882013-05-25 Eli Zaretskii <eliz@gnu.org>
12089
4fd996b3 12090 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
12091
12092 * Makefile.in (custom-deps, finder-data, autoloads)
12093 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12094 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12095 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12096
c9023370
SM
120972013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12100 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 12101 Don't burp at EOB.
c9023370 12102
24d699fa
LL
121032013-05-25 Leo Liu <sdl.web@gmail.com>
12104
12105 * comint.el (comint-previous-matching-input): Do not flood the
12106 *Messages* buffer with trivial messages.
12107
17e5c0cc
SM
121082013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12109
12110 * progmodes/flymake.el (flymake-nop): Don't return a string.
12111 (flymake-set-at): Fix typo.
12112
12113 * simple.el (read--expression): New function, extracted from
12114 eval-expression. Set completion-at-point-functions (bug#14465).
12115 (eval-expression, eval-minibuffer): Use it.
12116
5d028165
XF
121172013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12118
12119 * progmodes/flymake.el (flymake-save-buffer-in-file)
12120 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12121 (flymake-selected-frame, flymake-log, flymake-ins-after)
12122 (flymake-set-at, flymake-get-buildfile-from-cache)
12123 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12124 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12125 Refine the doc string.
12126 (flymake-get-file-name-mode-and-masks): Reformat.
12127 (flymake-get-real-file-name-function): Fix a minor bug.
12128
7a1d7ba7
JL
121292013-05-24 Juri Linkov <juri@jurta.org>
12130
12131 * progmodes/grep.el (grep-mode-font-lock-keywords):
12132 Support =linenumber= format used by git-grep for lines with
12133 function names. (Bug#13549)
12134
650cff3d
SM
121352013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12136
12137 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12138 0 after a semi-colon; it works better for smie-auto-fill.
12139 (octave--indent-new-comment-line): New function.
12140 (octave-indent-new-comment-line): Use it (indirectly).
12141 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12142 modify comment-line-break-function.
12143
12144 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12145 (smie-setup): Use add-function to set it.
12146
9631677d
SS
121472013-05-24 Sam Steingold <sds@gnu.org>
12148
12149 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12150 argument (before the `interactive' argument).
12151
50105835
SM
121522013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12153
12154 * image-mode.el (image-mode-winprops): Add winprops to
12155 image-mode-winprops-alist before running
12156 image-mode-new-window-functions.
12157 * doc-view.el (doc-view-new-window-function): Don't delay
12158 doc-view-goto-page via timers (bug#14435).
12159
57b9823e
TH
121602013-05-24 Tassilo Horn <tsdh@gnu.org>
12161
12162 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12163 (doc-view-desktop-save-buffer): New function.
12164 (doc-view-restore-desktop-buffer): New function.
50105835
SM
12165 (desktop-buffer-mode-handlers):
12166 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
12167 handler.
12168 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12169 `desktop-save-buffer' function.
12170
91aafa16
MA
121712013-05-24 Michael Albinus <michael.albinus@gmx.de>
12172
12173 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12174 (tramp-gvfs-file-name-handler): Raise a user error when
12175 `tramp-gvfs-enabled' is nil.
12176 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12177 Do not raise a user error when loading package. (Bug#14447)
12178
ec076379
MA
12179 * net/xesam.el: Move to obsolete/.
12180
db785726
GM
121812013-05-24 Glenn Morris <rgm@gnu.org>
12182
af5c7606
GM
12183 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12184
e5d1916a
GM
12185 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12186
ded62b08
GM
12187 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12188 (Info-find-node, Man-getpage-in-background): Declare.
12189
9e614a3f
GM
12190 * mail/unrmail.el (unrmail):
12191 Replace obsolete detect-coding-with-priority.
12192
892f8ca3
GM
12193 * net/socks.el (socks-split-string): Use this rather than split-string.
12194 (socks-nslookup-host): Update for above change.
12195 (dynamic-choice, s5-dynamic-choice-match)
12196 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12197 Comment out unused code.
12198
3c291973
GM
12199 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12200 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12201 (gud-tooltip-echo-area): Make obsolete.
12202 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12203
43cc956b
GM
12204 * progmodes/js.el (js--optimize-arglist): Declare.
12205
dab49a3b
GM
12206 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12207
36b9d085
GM
12208 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12209 (ediff-window-C): Declare.
12210
e354ae76
GM
12211 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12212 Tweak requires to silence compiler.
12213
b8e57bf4
GM
12214 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12215 (he-search-string, he-tried-table, he-expand-list)
12216 (he-init-string, he-string-member, he-substitute-string)
12217 (he-reset-string): Declare.
12218
db785726
GM
12219 * obsolete/options.el (list-options): Use custom-variable-p,
12220 rather than obsolete alias.
12221
b3531901
SS
122222013-05-23 Sam Steingold <sds@gnu.org>
12223
12224 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12225 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12226 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12227
bdda4c66
SM
122282013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12229
12230 * emacs-lisp/smie.el (smie-indent-forward-token)
12231 (smie-indent-backward-token): Handle string tokens (bug#14381).
12232
c43d45f9
TH
122332013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12234
fe1eb856
RS
12235 * ielm.el (ielm-menu): New menu.
12236 (inferior-emacs-lisp-mode): Set comment-start.
96172128 12237
fe1eb856
RS
122382013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12239
a12bf61e 12240 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
12241 Fix deactivate action.
12242
a12bf61e 12243 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 12244 Add cleveref macros.
074dd971 12245
a12bf61e 12246 * textmodes/reftex-parse.el
c43d45f9
TH
12247 (reftex-locate-bibliography-files): Accept options for
12248 bibliography commands.
a12bf61e 12249 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
12250 Add addbibresource. Basic Biblatex support.
12251
7764286e
MA
122522013-05-23 Michael Albinus <michael.albinus@gmx.de>
12253
12254 * net/tramp-gvfs.el (top):
12255 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12256 when loading package. (Bug#14447)
12257
d361bc10
GM
122582013-05-23 Glenn Morris <rgm@gnu.org>
12259
8fa23984
GM
12260 * progmodes/js.el: No need to load comint when compiling.
12261 (ring-insert, comint-send-string, comint-send-input)
12262 (comint-last-input-end, ido-chop): Declare.
12263
a5c7df1a
GM
12264 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12265 * vc/ediff-mult.el: Adjust requires.
12266 (ediff-directories-internal, ediff-directory-revisions-internal)
12267 (ediff-patch-file-internal): Declare.
12268 * vc/ediff-ptch.el: Adjust requires.
12269 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12270 (ediff-find-file): Autoload.
12271 * vc/ediff-util.el: No need to load ediff when compiling.
12272 (ediff-regions-internal): Declare.
12273 * vc/ediff-wind.el: Adjust requires.
12274 (ediff-compute-toolbar-width): Define when compiling.
12275 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12276 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12277 (dired-get-filename, dired-get-marked-files)
12278 (ediff-last-dir-patch, ediff-patch-default-directory)
12279 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12280 (ediff-patch-buffer-internal): Declare.
12281
e2aec513
GM
12282 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12283 (ispell-process, ispell-buffer-local-words, lm-summary)
12284 (lm-section-start, lm-section-end): Declare.
12285 (checkdoc-ispell-init): Simplify.
12286
e68bbd7c
GM
12287 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12288 (he-string-member, he-reset-string, he-substitute-string): Declare.
12289
7efe0991
GM
12290 * eshell/em-ls.el: Adjust requires.
12291 (eshell-glob-regexp): Declare.
f87b1284
GM
12292 * eshell/em-tramp.el: Adjust requires.
12293 (eshell-parse-command): Autoload.
12294 * eshell/em-xtra.el: Adjust requires.
12295 (eshell-parse-command): Autoload.
12296 * eshell/esh-ext.el: Adjust requires.
12297 (eshell-parse-command, eshell-close-handles): Autoload.
12298 * eshell/esh-io.el: Adjust requires.
12299 (eshell-output-filter): Autoload.
12300 * eshell/esh-util.el: No need to load tramp when compiling.
12301 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12302 Declare.
12303 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12304 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12305 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12306 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12307 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12308 * eshell/esh-opt.el, eshell/esh-proc.el:
12309 * eshell/esh-var.el: Adjust requires.
12310 * eshell/eshell.el: Do not require esh-util twice.
12311 (eshell-add-input-to-history): Declare.
12312 (eshell-command): Check history module is active before using it.
12313
d361bc10
GM
12314 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12315
85d090a9
LL
123162013-05-22 Leo Liu <sdl.web@gmail.com>
12317
12318 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12319
5d0acd9d
MA
123202013-05-22 Michael Albinus <michael.albinus@gmx.de>
12321
12322 * autorevert.el (auto-revert-notify-add-watch)
12323 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12324 it indicates changes in file modification time.
12325
0cdffd7d
GM
123262013-05-22 Glenn Morris <rgm@gnu.org>
12327
ca5995ec
GM
12328 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12329 Always delete the autoloaded function from the noruntime and
12330 unresolved functions lists.
12331
6450907e
GM
12332 * allout.el: No need to load epa, epg, overlay when compiling.
12333 (epg-context-set-passphrase-callback, epg-list-keys)
12334 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12335 (epg-key-user-id-list): Declare.
12336
9c6906f6
GM
12337 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12338 (viper-set-parsing-style-toggling-macro)
12339 (viper-set-emacs-state-searchstyle-macros):
12340 Use called-interactively-p on Emacs.
12341 (viper-looking-back): Make it an obsolete alias. Update callers.
12342 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12343 Use looking-back rather than viper-looking-back.
12344 (viper-tmp-insert-at-eob, viper-enlarge-region)
12345 (viper-read-string-with-history, viper-register-to-point)
12346 (viper-append-to-register, viper-change-state-to-vi)
12347 (viper-backward-char-carefully, viper-forward-char-carefully)
12348 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12349 (viper-change-state-to-emacs): Declare.
12350 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12351 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12352 * emulation/viper-mous.el: Do not load viper-cmd.
12353 (viper-backward-char-carefully, viper-forward-char-carefully)
12354 (viper-forward-word, viper-adjust-window): Declare.
12355
5f70c169
GM
12356 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12357
b1b7f300
GM
12358 * progmodes/idlw-help.el (idlwave-help-fontify):
12359 Use called-interactively-p.
12360
f6ebbb46
GM
12361 * term/w32console.el (w32-get-console-codepage)
12362 (w32-get-console-output-codepage): Declare.
12363
0cdffd7d
GM
12364 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12365 Remove unnecessary declarations.
12366 (dframe-message): Doc fix.
12367
12368 * info.el (dframe-select-attached-frame, dframe-current-frame):
12369 Declare.
12370
12371 * speedbar.el (speedbar-message): Make it an obsolete alias.
12372 Update all callers.
12373 (speedbar-with-attached-buffer)
12374 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12375 (speedbar-with-writable): Use backquote.
12376 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12377 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12378 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12379 rather than speedbar- aliases.
12380 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12381 (speedbar-make-specialized-keymap, speedbar-insert-button)
12382 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12383 (speedbar-do-function-pointer): Declare.
12384 (rmail-speedbar-button, rmail-speedbar-find-file)
12385 (rmail-speedbar-move-message):
12386 Use dframe-with-attached-buffer rather than speedbar- alias.
12387 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12388 (dframe-message, speedbar-make-specialized-keymap)
12389 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12390 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12391 (speedbar-insert-button, dframe-select-attached-frame)
12392 (dframe-maybee-jump-to-attached-frame)
12393 (speedbar-change-initial-expansion-list)
12394 (speedbar-previously-used-expansion-list-name): Declare.
12395 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12396 Use dframe-message, dframe-with-attached-buffer rather than
12397 speedbar- aliases.
12398 (gud-sentinel): Silence compiler.
12399 * progmodes/vhdl-mode.el (speedbar-refresh)
12400 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12401 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12402 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12403 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12404 (speedbar-file-lists, speedbar-make-tag-line)
12405 (speedbar-line-directory, speedbar-goto-this-file)
12406 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12407 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12408 (speedbar-make-button, speedbar-reset-scanners)
12409 (speedbar-files-item-info, speedbar-line-text)
12410 (speedbar-find-file-in-frame, speedbar-set-timer)
12411 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12412 (speedbar-with-writable): Do not (re)define it.
12413 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12414 rather than speedbar- alias.
12415
ee44b62a
LL
124162013-05-21 Leo Liu <sdl.web@gmail.com>
12417
12418 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12419 menu items.
12420 (octave-mode): Tweak fill-nobreak-predicate.
12421 (inferior-octave-startup): Check process to avoid infinite loop.
12422 (inferior-octave): Pop to buffer first to show abornmal process
12423 exit information.
12424
640f050f
GM
124252013-05-21 Glenn Morris <rgm@gnu.org>
12426
79458038
GM
12427 * printing.el (pr-menu-bar): Define when compiling.
12428
9cc3e83f
LL
124292013-05-21 Leo Liu <sdl.web@gmail.com>
12430
12431 * progmodes/octave.el (octave-auto-fill): Remove.
12432 (octave-indent-new-comment-line): Improve.
12433 (octave-mode): Use auto fill mode through
4f405069 12434 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12435 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12436 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12437 (octave-help): Show parent directory.
12438
f440830d
GM
124392013-05-21 Glenn Morris <rgm@gnu.org>
12440
12441 * files.el (dired-unmark):
12442 * progmodes/gud.el (gdb-input): Update declarations.
12443
12444 * calculator.el (electric, ehelp): No need to load when compiling.
12445 (Electric-command-loop, electric-describe-mode): Declare.
12446
12447 * doc-view.el (doc-view-current-converter-processes): Move before use.
12448
12449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12450 Move MODE-set-explicitly definition before use.
12451
12452 * international/mule-diag.el (mule-diag):
12453 Don't use obsolete window-system-version.
12454
12455 * mail/feedmail.el (smtpmail): No need to load when compiling.
12456 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12457
12458 * mail/mail-utils.el (rfc822): No need to load when compiling.
12459 (rfc822-addresses): Autoload it.
12460 (mail-strip-quoted-names): Trivial simplification.
12461
12462 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12463 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12464
12465 * net/snmp-mode.el (tempo): Don't duplicate requires.
12466
12467 * progmodes/prolog.el (info): No need to load when compiling.
12468 (comint): Require before shell requires it.
12469 (Info-goto-node): Autoload it.
12470 (Info-follow-nearest-node): Declare.
12471 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12472
12473 * textmodes/artist.el (picture-mode-exit): Declare.
12474
12475 * textmodes/reftex-parse.el (reftex-parse-from-file):
12476 Trivial rewrite so the compiler can parse it better.
12477
b4da2cbb
LL
124782013-05-20 Leo Liu <sdl.web@gmail.com>
12479
12480 * progmodes/octave.el (octave-help-mode-map)
12481 (octave-help-mode-finish-hook): New variables.
12482 (octave-help-mode, octave-help-mode-finish): New functions.
12483 (octave-help): Use octave-help-mode.
12484
33c0f65b
GM
124852013-05-20 Glenn Morris <rgm@gnu.org>
12486
12487 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12488
1a0a0a8a
DG
124892013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12490
12491 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12492 start at point, so that expansion starting right after opening
12493 slash in a regexp is recognized.
12494 (ruby-syntax-before-regexp-re): New defvar, extracted from
12495 ruby-syntax-propertize-function. Since the value of this regexp
12496 is looked up at runtime now, we should be able to turn
12497 `ruby-syntax-methods-before-regexp' into a defcustom later.
12498 (ruby-syntax-propertize-function): Split regexp matching into two
12499 parts, for opening and closing slashes. That allows us to skip
12500 over string interpolations and support multiline regexps.
12501 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12502 for them, which calls `ruby-syntax-propertize-expansion'.
12503 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12504 call to `ruby-syntax-propertize-function'.
12505 (ruby-syntax-propertize-expansion): Extracted from
12506 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12507 (ruby-syntax-propertize-percent-literal): Leave point right after
12508 the percent symbol, so that the expression expansion rule can
12509 propertize the contents.
462388b6
DG
12510 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12511 heredoc openers.
12512 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12513
c1a6c0a4
JL
125142013-05-18 Juri Linkov <juri@jurta.org>
12515
12516 * man.el (Man-default-man-entry): Remove `-' from the end
12517 of the default value. (Bug#14400)
12518
8051fccd
GM
125192013-05-18 Glenn Morris <rgm@gnu.org>
12520
12521 * comint.el (comint-password-prompt-regexp):
12522 Allow "password for XXX" where XXX contains colons (eg https://...).
12523
5e80b74f
LL
125242013-05-18 Leo Liu <sdl.web@gmail.com>
12525
12526 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12527 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12528 (octave-source-directories): Don't check process.
12529 (octave-source-directories, octave-find-definition): Doc fix.
12530
521a54c5
GM
125312013-05-18 Glenn Morris <rgm@gnu.org>
12532
86a94b05
GM
12533 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12534 Remove backspace/delete bindings. (Bug#14392)
12535
521a54c5
GM
12536 * cus-dep.el (custom-make-dependencies): Sort the output.
12537 (custom-versions-load-alist): Convert comment to doc.
12538
42caeb89
LL
125392013-05-17 Leo Liu <sdl.web@gmail.com>
12540
12541 * newcomment.el (comment-search-backward): Stricter in finding
12542 comment start. (Bug#14303)
12543
12544 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12545 (octave-comment-start-skip): Properly anchored.
12546
e219dd97
LL
125472013-05-17 Leo Liu <sdl.web@gmail.com>
12548
fe1eb856
RS
12549 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12550 Clean up when turned off. (Bug#14395)
e219dd97
LL
12551 (smie--highlight-matching-block-overlay): No longer buffer-local.
12552 (smie-highlight-matching-block): Adjust.
12553
dc5dcb4b
PE
125542013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12555
12556 Doc string fix for "nanoseconds" (Bug#14406).
12557 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12558 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12559
1db165f0
JB
125602013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12561
12562 * calc/calc-units.el (math-extract-units): Preserve powers
12563 of units.
12564
c7a8fcac
LL
125652013-05-17 Leo Liu <sdl.web@gmail.com>
12566
12567 * subr.el (delete-consecutive-dups): New function.
12568 * ido.el (ido-set-matches-1): Use it.
12569 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12570 * ido.el (ido-remove-consecutive-dups): Remove.
12571
f678b18a
SM
125722013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12573
12574 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12575 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12576 regexp-opt's `words'.
12577
ebfe68e8
LL
125782013-05-16 Leo Liu <sdl.web@gmail.com>
12579
12580 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12581 (smie--highlight-matching-block-overlay)
12582 (smie--highlight-matching-block-lastpos)
12583 (smie--highlight-matching-block-timer): New variables.
12584 (smie-highlight-matching-block): New function.
12585 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12586 (smie-setup): Conditionally enable smie-blink-matching-open.
12587
bc8bc17d
WS
125882013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12589
12590 Sync with upstream verilog-mode r840.
12591 * progmodes/verilog-mode.el (verilog-mode-version)
12592 (verilog-mode-release-date): Update.
12593 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12594 (verilog-sig-tieoff): Fix string error on
12595 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12596 (verilog-read-decls): Fix parameters confusing
12597 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12598
df065a0b
EZ
125992013-05-16 Eli Zaretskii <eliz@gnu.org>
12600
12601 * subr.el (reveal-filename): New function.
12602
12603 * loadup.el: Compute Emacs executable versions on MS-Windows,
12604 where executables have the .exe extension. Add a hard link
12605 emacs-XX.YY.ZZ.exe on MS-Windows.
12606
12607 * Makefile.in (XARGS_LIMIT): New variable.
12608 (custom-deps, finder-data, autoloads)
12609 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12610 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12611 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12612 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12613
2d4bf34b
LL
126142013-05-16 Leo Liu <sdl.web@gmail.com>
12615
12616 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12617 (octave-mode-menu, octave-mode-map): Remove its uses.
12618
6b9c2d85
RZ
126192013-05-16 Reto Zimmermann <reto@gnu.org>
12620
12621 Sync with upstream vhdl mode v3.34.2.
12622 * progmodes/vhdl-mode.el: Use `push' throughout.
12623 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12624 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12625 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12626 (vhdl-actual-generic-name): New option to derive actual generic name.
12627 (vhdl-port-paste-signals): Replace formal by actual generics.
12628 (vhdl-beautify): New name for old group vhdl-align. Update users.
12629 (vhdl-beautify-options): New option.
12630 (vhdl-last-input-event): New compat alias. Use throughout.
12631 (vhdl-goto-line): Replace user level function `goto-line'.
12632 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12633 vhdl-fix-statement-buffer.
12634 (vhdl-create-mode-menu): Add some entries.
12635 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12636 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12637 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12638 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12639 to force statements on one line.
12640 (vhdl-remove-trailing-spaces-region):
12641 New, split from vhdl-remove-trailing-spaces.
12642 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12643 Respect vhdl-beautify-options.
12644 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12645 (vhdl-update-sensitivity-list): Not add with index if exists without.
12646 Not include array index with signal. Ignore keywords in comments.
12647 (vhdl-get-visible-signals): Regexp tweaks.
12648 (vhdl-template-component-inst): Handle empty library.
12649 (vhdl-template-type): Add template for 'enum' type.
12650 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12651 Use vhdl-replace-string.
12652 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12653 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12654 (vhdl-speedbar-initialize): Update for above name change.
12655 (vhdl-compose-wire-components): Fix in handling of constants.
12656 (vhdl-error-regexp-emacs-alist): New variable.
12657 (vhdl-error-regexp-add-emacs): New function;
12658 adds support for new compile.el (Emacs 22+)
12659 (vhdl-generate-makefile-1): Change target order for single lib. units.
12660 Allow use of absolute file names.
12661
9df4ec5e
LL
126622013-05-16 Leo Liu <sdl.web@gmail.com>
12663
12664 * simple.el (prog-indent-sexp): Indent enclosing defun.
12665
f5ba00a6
GM
126662013-05-15 Glenn Morris <rgm@gnu.org>
12667
ed8be7ff
GM
12668 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12669 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12670 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12671 (whitespace-highlight): Move to whitespace group.
12672
12673 * comint.el (comint-source):
12674 * pcmpl-linux.el (pcmpl-linux):
12675 * shell.el (shell-faces):
12676 * eshell/esh-opt.el (eshell-opt):
12677 * international/ccl.el (ccl): Remove empty custom groups.
12678
12679 * completion.el (dynamic-completion-mode):
12680 * jit-lock.el (jit-lock-debug-mode):
12681 * minibuffer.el (completion-in-region-mode):
12682 * type-break.el (type-break-mode-line-message-mode)
12683 (type-break-query-mode):
12684 * emulation/tpu-edt.el (tpu-edt-mode):
12685 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12686 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12687 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12688
12689 * term/xterm.el (xterm): Change parent group to terminals.
12690
12691 * master.el (master): Remove empty custom group.
12692 (master-mode): Remove unused :group argument.
12693 * textmodes/refill.el (refill): Remove empty custom group.
12694 (refill-mode): Remove unused :group argument.
12695
12696 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12697
82a7c41b
GM
12698 * cus-dep.el: Provide a feature.
12699 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12700 Don't mistakenly ignore files whose basenames match a basename
12701 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12702 Add a fallback method for getting :group.
f5ba00a6 12703
6d65486d
JL
127042013-05-15 Juri Linkov <juri@jurta.org>
12705
da547b32
JL
12706 * isearch.el (isearch-char-by-name): Rename from
12707 `isearch-insert-char-by-name'. Doc fix.
12708 (isearch-forward): Mention `isearch-char-by-name' in
12709 the docstring. (Bug#13348)
12710
6d65486d
JL
12711 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12712 `exit-minibuffer' instead of
12713 `isearch-nonincremental-exit-minibuffer'.
12714 (isearch-edit-string): Remove mention of
12715 `isearch-nonincremental-exit-minibuffer' from docstring.
12716 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12717 (isearch-forward-exit-minibuffer)
12718 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12719
c9990474
SM
127202013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12721
6e911150
SM
12722 * loadup.el: Just use unversioned DOC.
12723
c9990474
SM
12724 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12725 literals as extending to EOB.
12726 (nxml-last-fontify-end): Remove unused variable.
12727 (nxml-after-change1): Use with-silent-modifications.
12728 (nxml-extend-after-change-region): Simplify.
12729 (nxml-extend-after-change-region1): Remove function.
12730 (nxml-after-change1): Don't adjust for dependent regions.
12731 (nxml-fontify-matcher): Simplify.
12732 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12733 (xmltok-add-dependent): Remove function.
12734 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12735 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12736 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12737 unclosed <[[, <?, comment, and other literals as extending to EOB.
12738 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12739 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12740 Remove functions.
12741 (rng-do-some-validation-1): Don't mark dependent regions.
12742 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12743 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12744 (nxml-clear-dependent-regions): Remove functions.
12745 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12746 (nxml-ensure-scan-up-to-date):
12747 Don't clear&mark dependent regions.
12748
e3772e98
LL
127492013-05-15 Leo Liu <sdl.web@gmail.com>
12750
c9990474
SM
12751 * progmodes/octave.el (octave-goto-function-definition):
12752 Improve and fix callers.
e3772e98 12753
5ac2eb34
SM
127542013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12755
c46c57b0
SM
12756 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12757 the setter (bug#14387).
12758
5ac2eb34
SM
12759 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12760 surrounding group (bug#14402).
12761
180ed218
JL
127622013-05-14 Juri Linkov <juri@jurta.org>
12763
12764 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12765 (Bug#14390)
12766
0ac0fecb
GM
127672013-05-14 Glenn Morris <rgm@gnu.org>
12768
12769 * progmodes/f90.el (f90-imenu-generic-expression):
12770 Fix typo in 2013-05-08 change. (Bug#14402)
12771
2e78e6a7
JPG
127722013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12773
5ac2eb34
SM
12774 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12775 Remove signals for which replies are never received.
2e78e6a7 12776
53267cca
JPG
127772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12778
12779 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12780 (gdb-handler-alist, gdb-handler-number): Remove variables.
12781 (gdb-handler-list): New variable.
12782 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12783 (gdb-pending-handler-p, gdb-handle-reply)
12784 (gdb-remove-all-pending-triggers): New functions.
12785 (gdb-discard-unordered-replies): New defcustom.
12786 (gdb-handler): New defstruct.
12787 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12788 instead of gdb-pending-triggers. Update docstring.
12789 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12790 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12791 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12792 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12793 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12794 (gdb-frame-handler): Pending triggers are now automatically managed.
12795 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12796 Remove argument.
12797 (gdb-input): Automatically handles pending triggers. Update docstring.
12798 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12799 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12800 Update comments.
12801 (gdb-done-or-error): Now use gdb-handle-reply.
12802
d04ce803
JPG
128032013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12804
12805 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12806 gdb-debug-log.
12807
0114073a
GM
128082013-05-14 Glenn Morris <rgm@gnu.org>
12809
12810 * subr.el (user-emacs-directory-warning): New option.
12811 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12812
4d25fd7e
LL
128132013-05-14 Leo Liu <sdl.web@gmail.com>
12814
12815 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12816 during redisplay.
12817 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12818 (octave-font-lock-texinfo-comment): Fix invalid search bound
12819 error: wrong side of point.
4d25fd7e 12820
27c8b6eb
GM
128212013-05-14 Glenn Morris <rgm@gnu.org>
12822
61aaeb01
GM
12823 * progmodes/flymake.el (flymake-xml-program): New option.
12824 (flymake-xml-init): Use it.
12825
5bf90bc5
GM
12826 * term/xterm.el: Provide a feature.
12827
12828 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12829
f4c7dfd2
GM
128302013-05-13 Glenn Morris <rgm@gnu.org>
12831
12832 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12833 Add compat aliases as a hack workaround. (Bug#14384)
12834
2aeb3a1d
LL
128352013-05-13 Leo Liu <sdl.web@gmail.com>
12836
b0e069c2
LL
12837 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12838 ###, and %!.
f5a9432f
LL
12839 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12840 C-M-q.
b0e069c2
LL
12841 (octave-comment-start-skip): Include %!.
12842 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12843
30ea8374
LL
128442013-05-12 Leo Liu <sdl.web@gmail.com>
12845
12846 * progmodes/octave.el (inferior-octave-startup): Store the value
12847 of __octave_srcdir__ for octave-source-directories.
12848 (inferior-octave-check-process): New function refactored out of
12849 inferior-octave-send-list-and-digest.
12850 (octave-source-directories)
12851 (octave-find-definition-filename-function): New variables.
12852 (octave-source-directories)
12853 (octave-find-definition-default-filename): New functions.
12854 (octave-find-definition): Improve to find functions implemented in C++.
12855
472a3834
GM
128562013-05-12 Glenn Morris <rgm@gnu.org>
12857
12858 * calendar/diary-lib.el (diary-outlook-format-1):
12859 Don't include dayname in the output. (Bug#14349)
12860
3191b52f
GM
128612013-05-11 Glenn Morris <rgm@gnu.org>
12862
0060ac73
GM
12863 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12864
3191b52f
GM
12865 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12866 Treat cc-provide like provide.
12867
e065ba74
KR
128682013-05-11 Kevin Ryde <user42@zip.com.au>
12869
12870 * cus-dep.el (custom-make-dependencies):
12871 Use generated-autoload-load-name for the sake of files such
12872 such cedet/semantic/bovine/c.el, where the base file name
12873 is not in load-path. (Bug#5277)
12874
36f84c37
GM
128752013-05-11 Glenn Morris <rgm@gnu.org>
12876
12877 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12878 Provide features.
12879
c8730c3a
LL
128802013-05-11 Leo Liu <sdl.web@gmail.com>
12881
12882 * progmodes/octave.el (octave-indent-comment): Improve.
12883 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12884 (octave-eldoc-function-signatures, octave-eldoc-function):
12885 New functions.
c8730c3a
LL
12886 (octave-mode, inferior-octave-mode): Add eldoc support.
12887
212e29f2
RS
128882013-05-11 Richard Stallman <rms@gnu.org>
12889
12890 * epa.el (epa-decrypt-file): Take output file name as argument
12891 and read it using `interactive'.
12892
083fe0d7
LL
128932013-05-11 Leo Liu <sdl.web@gmail.com>
12894
12895 * progmodes/octave.el (octave-beginning-of-line)
12896 (octave-end-of-line): Check before using up-list because it jumps
12897 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12898 (octave-indent-comment): New function.
12899 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12900 (octave-begin-keywords, octave-end-keywords)
12901 (octave-reserved-words, octave-smie-bnf-table)
12902 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12903
8582e4c4
GM
129042013-05-11 Glenn Morris <rgm@gnu.org>
12905
f20def1f
GM
12906 * faces.el (internal-face-x-get-resource):
12907 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12908 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12909 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12910 Fix declarations.
f20def1f 12911
445f95e2
GM
12912 * calc/calc-menu.el: Make it loadable in isolation.
12913
12914 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12915 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12916 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12917 (eudc-bbdb-query-internal): Require 'bbdb.
12918
99fb2756
GM
12919 * lpr.el (lpr-headers-switches):
12920 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12921
12922 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12923
0da7ad96
GM
12924 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12925
8582e4c4
GM
12926 * term.el (term-set-escape-char): Make it idempotent.
12927
f71c50d0
LL
129282013-05-10 Leo Liu <sdl.web@gmail.com>
12929
5ac2eb34
SM
12930 * progmodes/octave.el (inferior-octave-completion-table):
12931 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
12932 completion due to bug#11906.
12933 (octave-beginning-of-defun): Re-write to be more general.
12934
d5837773
GM
129352013-05-10 Glenn Morris <rgm@gnu.org>
12936
12937 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12938
027c0f75
SM
129392013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12940
12941 * comint.el (comint-redirect-send-command-to-process): Use :around
12942 rather than :override for comint-redirect-filter.
12943 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12944 Call it instead of comint-redirect-original-filter-function (which
12945 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12946
4465bfb4
JD
129472013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12948
12949 * frame.el (display-monitor-attributes-list): Add NS case.
12950 (ns-display-monitor-attributes-list): Declare.
12951
2d809ffa 129522013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
12953
12954 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12955
e54eeb9b
GM
129562013-05-09 Glenn Morris <rgm@gnu.org>
12957
56cd351d
GM
12958 * international/fontset.el (vertical-centering-font-regexp):
12959 Set standard-value.
12960
d84b6108
GM
12961 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12962
a931698a
GM
12963 * bookmark.el (bookmark-search-delay):
12964 * cus-start.el (vertical-centering-font-regexp):
12965 * ps-mule.el (ps-mule-font-info-database-default):
12966 * ps-print.el (ps-default-fg, ps-default-bg):
12967 * type-break.el (type-break-good-break-interval):
12968 * whitespace.el (whitespace-indentation-regexp)
12969 (whitespace-space-after-tab-regexp):
12970 * emacs-lisp/testcover.el (testcover-1value-functions)
12971 (testcover-noreturn-functions, testcover-progn-functions)
12972 (testcover-prog1-functions):
12973 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12974 * eshell/em-glob.el (eshell-glob-translate-alist):
12975 * play/tetris.el (tetris-tty-colors):
12976 * progmodes/cpp.el (cpp-face-default-list):
12977 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12978 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12979 (idlwave-help-browser-generic-args):
12980 * progmodes/make-mode.el (makefile-special-targets-list):
12981 * progmodes/python.el (python-shell-virtualenv-path):
12982 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12983 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12984 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12985 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12986 * textmodes/reftex-vars.el (reftex-format-label-function):
12987 * textmodes/remember.el (remember-diary-file): Fix custom types.
12988
e54eeb9b
GM
12989 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12990 Add :version.
12991
455851dd
LL
129922013-05-09 Leo Liu <sdl.web@gmail.com>
12993
12994 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 12995 Restore file completion. (Bug#14300)
455851dd
LL
12996 (inferior-octave-startup): Fix incorrect highlighting for the
12997 first prompt.
12998
a9e4425b
SM
129992013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13000
13001 * progmodes/ruby-mode.el: First cut at SMIE support.
13002 (ruby-use-smie): New var.
13003 (ruby-smie-grammar): New constant.
13004 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13005 (ruby-smie--forward-token, ruby-smie--backward-token)
13006 (ruby-smie-rules): New functions.
13007 (ruby-mode-variables): Setup SMIE if applicable.
13008
060ca408
EZ
130092013-05-08 Eli Zaretskii <eliz@gnu.org>
13010
13011 * simple.el (line-move-visual): Signal beginning/end of buffer
13012 only if vertical-motion moved less than it was requested. Avoids
13013 silly incorrect error messages when there are display strings with
13014 multiple newlines at EOL.
13015
1d5963cc
SM
130162013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13017
13018 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13019 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13020 (prolog-char-quote-workaround):
13021 * progmodes/cperl-mode.el (cperl-under-as-char):
13022 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
13023 Mark as obsolete.
13024 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
13025 their declaration.
13026 (vhdl-mode-syntax-table-init): Remove.
13027
c9990474
SM
13028 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13029 last change.
1d5963cc
SM
13030
13031 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13032 syntax for "_".
13033 (ld-script-font-lock-keywords):
13034 Change regexps to use things like \_< and \_>.
13035
13036 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13037 Change all regexps to use things like \_< and \_>.
13038
13039 * progmodes/autoconf.el (autoconf-definition-regexp)
13040 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13041 Handle a _ with symbol syntax.
13042 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13043
c9990474
SM
13044 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13045 Consolidate declaration.
1d5963cc
SM
13046 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13047 the declaration.
13048 (ada-create-syntax-table): Remove.
13049 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13050 already has the right syntax nowadays.
13051 (ada-goto-next-word): Don't change the syntax of "_".
13052
13053 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13054 with-wrapper-hook.
13055
72d3cfca
SS
130562013-05-08 Sam Steingold <sds@gnu.org>
13057
13058 * thingatpt.el (thing-at-point): Accept optional second argument
13059 NO-PROPERTIES to strip the text properties from the return value.
13060 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13061 to `thing-at-point' instead of stripping the properties ourselves.
13062 Also, when `thing-at-point' fails to find a url, prepend "http://"
13063 to the filename at point on the assumption that the user is
13064 pointing at something like gnu.org/gnu.
13065
5cb15713
JB
130662013-05-08 Juanma Barranquero <lekktu@gmail.com>
13067
13068 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13069 * faces.el (crm-separator):
13070 Silence byte-compiler.
13071
13072 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13073 (tool-bar-map): Remove unneeded defvars.
13074
ea78b95b
LL
130752013-05-08 Leo Liu <sdl.web@gmail.com>
13076
13077 Re-work a fix for bug#10994 based on Le Wang's patch.
13078 * ido.el (ido-remove-consecutive-dups): New helper.
13079 (ido-completing-read): Use it.
13080 (ido-chop): Revert fix for bug#10994.
13081
dc7466df
AS
130822013-05-08 Adam Spiers <emacs@adamspiers.org>
13083
13084 * cus-edit.el (custom-save-variables):
13085 Pretty-print long values. (Bug#14187)
13086
9ecf672a
GM
130872013-05-08 Glenn Morris <rgm@gnu.org>
13088
13089 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13090 (m4-mode-syntax-table): Init in the defvar.
13091 (m4-mode-abbrev-table): Let define-derived-mode define it.
13092
3f555be8
TT
130932013-05-08 Tom Tromey <tromey@redhat.com>
13094
13095 * progmodes/m4-mode.el (m4-mode-syntax-table):
13096 Do not treat "_" as word constituent. (Bug#14167)
13097
7cc8ae06
GM
130982013-05-07 Glenn Morris <rgm@gnu.org>
13099
4f58bc06
GM
13100 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13101 Remove explicit eshell-isearch-cancel-map.
13102
7cc8ae06
GM
13103 * progmodes/f90.el (f90-smart-end-names): New option.
13104 (f90-smart-end): Doc fix.
13105 (f90-end-block-optional-name): New constant.
13106 (f90-block-match): Respect f90-smart-end-names.
13107
ceb57e59
SM
131082013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13111 about implicit semi-colons (bug#14218).
13112
4e3f9230
YM
131132013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13114
13115 * frame.el (display-monitor-attributes-list)
13116 (frame-monitor-attributes): New functions.
13117
203a5572
LL
131182013-05-06 Leo Liu <sdl.web@gmail.com>
13119
13120 * progmodes/octave.el (octave-syntax-propertize-function): Change
13121 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13122 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 13123 (octave-completion-at-point): Rename from
203a5572
LL
13124 octave-completion-at-point-function.
13125 (inferior-octave-directory-tracker): Robustify.
13126 (octave-text-functions): Remove and fix its uses. No such things
13127 any more.
13128
ee6cff99
SM
131292013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * emacs-lisp/trace.el (trace--display-buffer): New function.
13132 (trace-make-advice): Use it.
13133
32985194
JL
131342013-05-06 Juri Linkov <juri@jurta.org>
13135
13136 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13137 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13138 Doc fix.
13139 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13140 in the help string. (Bug#12985)
13141
a1c700de
KD
131422013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13143
13144 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13145
c67c0839
SM
131462013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13147
323885fd
SM
13148 * progmodes/perl-mode.el: Add support for here documents.
13149 (perl-syntax-propertize-function): Match here-doc markers.
13150 (perl-syntax-propertize-special-constructs): Find their end.
13151 (perl-imenu-generic-expression): Use [:alnum:].
13152
c67c0839
SM
13153 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13154 (advice--add-function): Refresh the advice if already present
13155 (bug#14317).
13156
d491e7a8
IA
131572013-05-06 Ivan Andrus <darthandrus@gmail.com>
13158
13159 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13160
ddf9925e
GM
131612013-05-06 Glenn Morris <rgm@gnu.org>
13162
7cc3af27
GM
13163 * w32-fns.el (w32-charset-info-alist): Declare.
13164
16e343d6
GM
13165 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13166 of its defcustom properties.
13167 (eshell-cmpl-initialize): No need to load pcomplete.
13168
7d889a47
GM
13169 * generic-x.el: No need to require comint when compiling.
13170
ddf9925e
GM
13171 * net/eudc-export.el: Make it loadable without bbdb.
13172 (top-level): Use require rather than load-library.
13173 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13174 (eudc-batch-export-records-to-bbdb)
13175 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13176 Require bbdb.
13177
1e2c18df
SM
131782013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13181 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13182 some tweaks, instead.
13183
02502a5f
LL
131842013-05-05 Leo Liu <sdl.web@gmail.com>
13185
13186 * progmodes/octave.el (octave-font-lock-keywords)
13187 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13188 (inferior-octave-send-list-and-digest): Improve error message.
13189 (octave-mode, inferior-octave-mode): Use setq-local.
13190 (octave-help): Set info-lookup-mode.
13191
0dc04f42
RS
131922013-05-05 Richard Stallman <rms@gnu.org>
13193
6c54491c
RS
13194 * vc/compare-w.el (compare-windows-whitespace):
13195 Treat no-break space as whitespace.
13196
0dc04f42
RS
13197 * mail/rmailsum.el (rmail-summary-rmail-update):
13198 Detect empty summary and don't change selected message.
13199 (rmail-summary-goto-msg): Likewise.
13200
df8f35df
RS
13201 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13202 Doc fixes, rename args.
13203
5356e1a3
AM
132042013-05-05 Alan Mackenzie <acm@muc.de>
13205
13206 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13207
d44014cb
JL
132082013-05-05 Juri Linkov <juri@jurta.org>
13209
13210 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13211 to not add the length of the summary segment to the return value.
13212 (Bug#14125)
13213
c129b51f
LL
132142013-05-05 Leo Liu <sdl.web@gmail.com>
13215
13216 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13217 (inferior-octave-output-filter): Remove.
13218 (octave-send-region, inferior-octave-startup): Fix callers.
13219 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13220 (octave-binary-file-extensions): New user variable.
13221 (octave-find-definition): Confirm if opening binary files.
13222 (octave-help-file): Use octave-find-definition to get the binary
13223 confirmation.
13224 (octave-help): Adjust for octave-help-file change.
13225
aa7dab97
SM
132262013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13227
13228 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13229 Merge the two entries that handle function definitions.
13230 (pascal--syntax-propertize): New const.
13231 (pascal-mode): Use it. Use setq-local.
13232
fd3a9a6b
GM
132332013-05-04 Glenn Morris <rgm@gnu.org>
13234
13235 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13236 (diary-from-outlook): Respect diary-from-outlook-function.
13237
30c7e542
SM
132382013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13239
13240 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13241 Move the declaration from C.
13242 (read-minibuffer, eval-minibuffer): Move from C.
13243 (completion-setup-function): Avoid minibuffer-completion-contents.
13244
b54f978b
LL
132452013-05-03 Leo Liu <sdl.web@gmail.com>
13246
13247 * progmodes/octave.el (octave-font-lock-keywords): Do not
13248 dehighlight 'end' in comments or strings.
30c7e542
SM
13249 (octave-completing-read, octave-goto-function-definition):
13250 New helpers.
d4d0f9b3
LL
13251 (octave-help-buffer): New user variable.
13252 (octave-help-file, octave-help-function): New button types.
13253 (octave-help): New command and bind it to C-h ;.
13254 (octave-find-definition): New command and bind it to M-.
d74a1581 13255 (user-error): Alias to error if not defined.
b54f978b 13256
27135018
LL
132572013-05-02 Leo Liu <sdl.web@gmail.com>
13258
13259 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13260 for \. (bug#14332)
13261 (octave-font-lock-keywords): Include [ and {.
13262
0d634d3a
LL
132632013-05-02 Leo Liu <sdl.web@gmail.com>
13264
13265 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13266 (inferior-octave): Remove calling comint-mode and return the buffer.
13267 (inferior-octave-startup): Cosmetic changes.
13268
b4c8295e
LL
132692013-05-02 Leo Liu <sdl.web@gmail.com>
13270
30c7e542
SM
13271 * progmodes/octave.el (octave-syntax-propertize-function):
13272 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 13273
f12ad6ec
GM
132742013-05-02 Glenn Morris <rgm@gnu.org>
13275
13276 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13277 * desktop.el (vc-dir-mode): Just autoload it here.
13278
30cac1e0
AM
132792013-05-02 Alan Mackenzie <acm@muc.de>
13280
13281 Eliminate variable c-standard-font-lock-fontify-region-function.
13282 * progmodes/cc-mode.el
13283 (c-standard-font-lock-fontify-region-function): Remove.
13284 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13285
d8ef28b1
LL
132862013-05-01 Leo Liu <sdl.web@gmail.com>
13287
2640d52e 13288 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 13289 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 13290 variables were removed from Octave in 2007.
d8ef28b1
LL
13291 (inferior-octave-startup): Fix uses.
13292 (comint-line-beginning-position): Remove compatibility code for
13293 emacs 21.
13294
ac63ec89
JL
132952013-05-01 Juri Linkov <juri@jurta.org>
13296
13297 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13298
9e9be37c
JL
132992013-05-01 Juri Linkov <juri@jurta.org>
13300
13301 * comint.el (comint-previous-matching-input): Don't print message
13302 "History item: %d" when `isearch-mode' is active.
13303 (comint-history-isearch-message): Print message "History item: %d"
13304 when `comint-input-ring-index' is not empty and this function is
13305 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13306
9b92c13b
LL
133072013-05-01 Leo Liu <sdl.web@gmail.com>
13308
13309 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13310 definitions. Use completion-at-point to insert keywords.
13311 (octave-abbrev-start): Remove.
13312 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13313
b12d33d7
LL
133142013-04-30 Leo Liu <sdl.web@gmail.com>
13315
13316 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13317 change.
13318
3d1c39fa
AM
133192013-04-30 Alan Mackenzie <acm@muc.de>
13320
13321 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13322 * progmodes/cc-engine.el (c-back-over-member-initializers):
13323 new function.
3d1c39fa
AM
13324 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13325 (most) member init lists.
13326
5147fc17
RS
133272013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13328
13329 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13330 variable.
13331
5b78d7fc
LL
133322013-04-30 Leo Liu <sdl.web@gmail.com>
13333
13334 * progmodes/octave.el (octave-variables): Remove. No builtin
13335 variables any more. All converted to functions.
13336 (octave-font-lock-keywords, octave-completion-at-point-function):
13337 Fix uses.
13338 (octave-font-lock-texinfo-comment): New user variable.
13339 (octave-texinfo-font-lock-keywords): New variable for texinfo
13340 comment block.
13341 (octave-function-comment-block): New face.
13342 (octave-font-lock-texinfo-comment): New function.
13343 (octave-mode): Font lock texinfo comment block.
13344
38d8527b
LL
133452013-04-29 Leo Liu <sdl.web@gmail.com>
13346
13347 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13348 indexing expression.
13349 (octave-continuation-string): Do not use \.
13350 (inferior-octave-complete-impossible): Remove.
13351 (inferior-octave-completion-table)
13352 (inferior-octave-completion-at-point): Remove its uses.
13353 (inferior-octave-startup): completion_matches was introduced to
13354 Octave in 1996 so safe to assume it.
13355 (octave-function-file-comment): Improve to follow how Octave does it.
13356 (octave-update-function-file-comment): Tweak.
13357
2ec12cb0
LL
133582013-04-29 Leo Liu <sdl.web@gmail.com>
13359
13360 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13361 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13362 (octave-function-file-comment): Fix typo.
13363 (octave-sync-function-file-names): Use read-char-choice.
13364
6eaed048
JB
133652013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13366
13367 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13368 to t for the less important warnings.
13369
3ffa2d4f
DH
133702013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13371
13372 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13373
685c9501
GM
133742013-04-27 Glenn Morris <rgm@gnu.org>
13375
13376 * vc/log-view.el (log-view-current-entry):
13377 Treat "---" separator lines as part of the following rev. (Bug#14169)
13378
0208ede7
JL
133792013-04-27 Juri Linkov <juri@jurta.org>
13380
13381 * subr.el (read-number): Doc fix about using it by interactive
13382 code letter `n'. (Bug#14254)
13383
5db9dace
JL
133842013-04-27 Juri Linkov <juri@jurta.org>
13385
13386 * desktop.el (desktop-auto-save-timeout): New option.
13387 (desktop-file-checksum): New variable.
13388 (desktop-save): Add optional arg `auto-save' and don't auto-save
13389 if nothing changed.
13390 (desktop-auto-save-timer): New variable.
13391 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13392 (after-init-hook): Call `desktop-auto-save-set-timer'.
13393 Suggested by Reuben Thomas <rrt@sc3d.org> in
13394 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13395
b7260dd4
LL
133962013-04-27 Leo Liu <sdl.web@gmail.com>
13397
13398 * progmodes/octave.el (octave-function-file-p)
13399 (octave-skip-comment-forward, octave-function-file-comment)
13400 (octave-update-function-file-comment): New functions.
13401 (octave-mode-map): Bind C-c ; to
13402 octave-update-function-file-comment.
13403 (octave-mode-menu): Add octave-update-function-file-comment.
13404 (octave-mode, inferior-octave-mode): Fix doc-string.
13405 (octave-insert-defun): Conform to Octave's coding convention.
13406 (Bug#14285)
13407
13408 * files.el (basic-save-buffer): Don't let errors in
13409 before-save-hook prevent saving buffer.
13410
c46da669
RW
134112013-04-20 Roland Winkler <winkler@gnu.org>
13412
13413 * faces.el (read-face-name): Use completing-read if arg multiple
13414 is nil.
13415
a81ee1eb
IL
134162013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13417
13418 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13419 displayed, move point to after the totals line.
13420 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13421 for the details.
13422
4fac34ce
SM
134232013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13424
13425 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13426 Add current dir to the load-path.
13427 (package-generate-autoloads): Don't rely on
13428 autoload-ensure-default-file.
13429
f6bfc063
RT
134302013-04-26 Reuben Thomas <rrt@sc3d.org>
13431
d40ab5cf
BG
13432 * textmodes/remember.el (remember-store-in-files): Document that
13433 the file name format is passed to `format-time-string'.
f6bfc063 13434
e55d3b04
LL
134352013-04-26 Leo Liu <sdl.web@gmail.com>
13436
13437 * progmodes/octave.el (octave-sync-function-file-names): New function.
13438 (octave-mode): Use it in before-save-hook.
13439
e53052d3
SM
134402013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13441
140ef50c
SM
13442 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13443 (bug#14274).
13444
e53052d3
SM
13445 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13446 \n and comment, even if it's not an implicit ; (bug#14218).
13447
af80458d 134482013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13449
13450 * subr.el (read-number): Once more use `read' rather than
13451 `string-to-number', to trap non-numeric input. (Bug#14254)
13452
af80458d 134532013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13454
13455 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13456 Use `syntax-multiline' text property consistently instead of
8a621d53 13457 `font-lock-multiline'. (Bug#14237)
70203c2e 13458
e6ea1f6c
GM
134592013-04-26 Glenn Morris <rgm@gnu.org>
13460
13461 * emacs-lisp/shadow.el (list-load-path-shadows):
13462 No longer necessary to check for duplicate simple.el, since
13463 2012-07-07 change to init_lread to not include installation lisp
13464 directories in load-path when running uninstalled. (Bug#14270)
13465
070ccca4
LL
134662013-04-26 Leo Liu <sdl.web@gmail.com>
13467
13468 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13469 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13470 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13471 octave-in-string-or-comment-p.
13472 (octave-in-comment-p, octave-in-string-p)
13473 (octave-in-string-or-comment-p): Replace defsubst with defun.
13474
9d1c5fb6
PE
134752013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13476
13477 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13478
c034abda
BG
134792013-04-25 Bastien Guerry <bzg@gnu.org>
13480
13481 * textmodes/remember.el (remember-data-directory)
13482 (remember-directory-file-name-format): Fix custom types.
13483
584ea277
LL
134842013-04-25 Leo Liu <sdl.web@gmail.com>
13485
e53052d3
SM
13486 * progmodes/octave.el (octave-completion-at-point-function):
13487 Make use of inferior octave process.
584ea277
LL
13488 (octave-initialize-completions): Remove.
13489 (inferior-octave-completion-table): New function.
13490 (inferior-octave-completion-at-point): Use it.
13491 (octave-completion-alist): Remove.
13492
1693b06a
SM
134932013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13494
13495 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13496 (opascal-mode-syntax-table): New var.
13497 (opascal-literal-kind, opascal-is-literal-end)
13498 (opascal-literal-token-at): Rewrite.
13499 (opascal--literal-start-re, opascal-font-lock-keywords)
13500 (opascal--syntax-propertize): New constants.
13501 (opascal-font-lock-defaults): Adjust.
13502 (opascal-mode): Use them. Set comment-<foo> variables as well.
13503 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13504 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13505 (delphi-other-face, opascal-other-face): Remove face variables.
13506 (opascal-save-state): Remove macro.
13507 (opascal-fontifying-progress-step): Remove constant.
13508 (opascal--ignore-changes): Remove var.
13509 (opascal-set-token-property, opascal-parse-next-literal)
13510 (opascal-is-stable-literal, opascal-complete-literal)
13511 (opascal-is-literal-start, opascal-face-of)
13512 (opascal-parse-region, opascal-parse-region-until-stable)
13513 (opascal-fontify-region, opascal-after-change)
13514 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13515 (opascal-debug-parse-region, opascal-debug-parse-window)
13516 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13517 (opascal-debug-fontify-buffer): Remove.
13518 (opascal-debug-mode-map): Adjust accordingly.
13519
be64c05d
LL
135202013-04-25 Leo Liu <sdl.web@gmail.com>
13521
13522 Merge octave-mod.el and octave-inf.el into octave.el with some
13523 cleanups.
13524 * progmodes/octave.el: New file renamed from octave-mod.el.
13525 * progmodes/octave-inf.el: Merged into octave.el.
13526 * progmodes/octave-mod.el: Renamed to octave.el.
13527
d79d37bd
TH
135282013-04-25 Tassilo Horn <tsdh@gnu.org>
13529
13530 * textmodes/reftex-vars.el
13531 (reftex-label-ignored-macros-and-environments): New defcustom.
13532
13533 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13534
ced3fc5d
SM
135352013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13538 (smie-indent-keyword): Improve the check to ensure that the next
13539 comment is really on the same line.
13540 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13541
13542 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13543 semi-colons if the line is not otherwise empty (bug#14218).
13544
1c141dad
GM
135452013-04-25 Glenn Morris <rgm@gnu.org>
13546
13547 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13548
5058062a
SM
135492013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * progmodes/opascal.el (opascal-set-token-property): Rename from
13552 opascal-set-text-properties and only set `token' (bug#14134).
13553 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13554 (opascal-literal-text-properties): Remove.
13555 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13556 Adjust callers.
13557
5db9dace 135582013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13559
13560 * textmodes/remember.el (remember-handler-functions): Add an
13561 option for a new handler `remember-store-in-files'.
13562 (remember-data-directory, remember-directory-file-name-format):
13563 New options.
13564 (remember-store-in-files): New function to store remember notes
13565 as separate files within a directory.
13566
4391916c
MH
135672013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13568
13569 * progmodes/compile.el (compilation-next-error-function):
13570 Pass "formats" to compilation-find-file (bug#11777).
13571
bb7cdf58
GM
135722013-04-24 Glenn Morris <rgm@gnu.org>
13573
3b8fe752 13574 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13575 * vc/vc-hg.el (vc-hg-print-log):
13576 * vc/vc-svn.el (vc-svn-print-log):
13577 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13578
bb7cdf58
GM
13579 * vc/vc-bzr.el (vc-bzr-print-log):
13580 * vc/vc-cvs.el (vc-cvs-print-log):
13581 * vc/vc-git.el (vc-git-print-log):
13582 * vc/vc-hg.el (vc-hg-print-log):
13583 * vc/vc-mtn.el (vc-mtn-print-log):
13584 * vc/vc-rcs.el (vc-rcs-print-log):
13585 * vc/vc-sccs.el (vc-sccs-print-log):
13586 * vc/vc-svn.el (vc-svn-print-log):
13587 * vc/vc.el (vc-print-log-internal): Doc fixes.
13588
b46a056e
GM
135892013-04-23 Glenn Morris <rgm@gnu.org>
13590
13591 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13592 Remove venerable code attempting to avoid substitute-command-keys.
13593
0aecf718
TH
135942013-04-23 Tassilo Horn <tsdh@gnu.org>
13595
4391916c
MH
13596 * textmodes/reftex-vars.el (reftex-label-regexps):
13597 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13598
117f94cf
SM
135992013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13600
4391916c 13601 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13602 Use lexical-binding.
13603 (jit-lock-force-redisplay): Use markers, check buffer's continued
13604 existence and beware narrowed buffers.
13605 (jit-lock-fontify-now): Adjust call accordingly.
13606
1d829c64
SM
136072013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13608
13609 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13610 to avoid misleading the user.
13611
72d548a9
LL
136122013-04-22 Leo Liu <sdl.web@gmail.com>
13613
13614 * info-look.el: Prefer latex2e.info. (Bug#14240)
13615
d0853629
MA
136162013-04-22 Michael Albinus <michael.albinus@gmx.de>
13617
13618 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13619
13620 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13621 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13622 (tramp-set-completion-function, tramp-parse-putty):
13623 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13624 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13625 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13626 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13627 (tramp-call-local-coding-command): Use `tramp-call-process'
13628 instead of `tramp-compat-call-process'.
13629
13630 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13631 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13632 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13633 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13634 (tramp-maybe-send-script): Check for Perl binary.
13635 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13636
38cc0210
DU
136372013-04-22 Daiki Ueno <ueno@gnu.org>
13638
13639 * epg.el (epg-context-pinentry-mode): New function.
13640 (epg-context-set-pinentry-mode): New function.
13641 (epg--start): Pass --pinentry-mode option to gpg command.
13642
cc641ee1
XF
136432013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13644
02d844b5 13645 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13646 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13647 `completion-at-point'. (Bug#13774)
5d4e5c31 13648
cc641ee1
XF
13649 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13650 default key binding for `describe-distribution' has been moved to
13651 `C-h C-o'. (Bug#13970)
13652
1b42ee43
GM
136532013-04-21 Glenn Morris <rgm@gnu.org>
13654
13655 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13656 Add doc strings.
13657 (vc-print-log): Clarify interactive prompt.
13658
a6d63d97
GM
136592013-04-20 Glenn Morris <rgm@gnu.org>
13660
13661 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13662 No longer include timestamp etc information.
13663
d7f5c16f
RW
136642013-04-20 Roland Winkler <winkler@gnu.org>
13665
13666 * faces.el (read-face-name): Bug fix, return just one face if arg
13667 multiple is nil. (Bug#14209)
13668
bcd7a0a4
SM
136692013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13672 (remove-function): Autoload.
13673
13674 * comint.el (comint-redirect-original-filter-function): Remove.
13675 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13676 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13677 (vc-cvs-annotate-command):
bcd7a0a4
SM
13678 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13679 * progmodes/prolog.el (prolog-consult-compile):
13680 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13681 Use add/remove-function instead.
13682 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13683 (gud-tooltip-process-output, gud-tooltip-tips):
13684 Use add/remove-function instead.
13685 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13686 (scheme-interaction-mode, exit-scheme-interaction-mode):
13687 Use add/remove-function instead.
13688
13689 * vc/vc-dispatcher.el: Use lexical-binding.
13690 (vc--process-sentinel): Rename from vc-process-sentinel.
13691 Change last arg to be the code to run. Don't use vc-previous-sentinel
13692 and vc-sentinel-commands any more.
13693 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13694 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13695
e36b2d20 136962013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13697
bcd7a0a4 13698 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13699 Handle function names with a single character. (Bug#14111)
4d3268ba 13700
27821a89 137012013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13702
13703 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13704 for subroutines defined in an eval (bug#14182).
13705
7d688336
TV
137062013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13707
13708 * bookmark.el (bookmark-completing-read): Improve handling of empty
13709 string (bug#14176).
13710
31dcede0
SM
137112013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13712
13713 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13714
adc31213
FEG
137152013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13716
13717 New faster Imenu implementation (bug#14058).
13718 * progmodes/python.el:
13719 (python-imenu-prev-index-position):
13720 (python-imenu-format-item-label-function)
13721 (python-imenu-format-parent-item-label-function)
13722 (python-imenu-format-parent-item-jump-label-function):
13723 New vars.
13724 (python-imenu-format-item-label)
13725 (python-imenu-format-parent-item-label)
13726 (python-imenu-format-parent-item-jump-label)
13727 (python-imenu--put-parent, python-imenu--build-tree)
13728 (python-imenu-create-index, python-imenu-create-flat-index)
13729 (python-util-popn): New functions.
13730 (python-mode): Set imenu-create-index-function to
13731 python-imenu-create-index.
13732
cdca8255
SM
137332013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * winner.el (winner-active-region): Use region-active-p, activate-mark
13736 and deactivate-mark (bug#14225).
13737
13738 * simple.el (deactivate-mark): Don't inline it.
13739
beb42340
MA
137402013-04-18 Michael Albinus <michael.albinus@gmx.de>
13741
13742 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13743
fc7f4d7e
TH
137442013-04-18 Tassilo Horn <tsdh@gnu.org>
13745
13746 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13747 file extensions from the archive-mode entry in order to prefer
13748 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13749
29f47822
LL
137502013-04-18 Leo Liu <sdl.web@gmail.com>
13751
13752 * bindings.el (help-event-list): Add ?\?.
13753
d36ed1c8
SM
137542013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13755
13756 * subr.el (with-wrapper-hook): Declare obsolete.
13757 * simple.el (filter-buffer-substring-function): New hook.
13758 (filter-buffer-substring): Use it.
13759 (filter-buffer-substring-functions): Mark obsolete.
13760 * minibuffer.el (completion-in-region-function): New hook.
13761 (completion-in-region): Use it.
13762 (completion-in-region-functions): Mark obsolete.
13763 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13764 * abbrev.el (abbrev-expand-function): New hook.
13765 (expand-abbrev): Use it.
13766 (abbrev-expand-functions): Mark obsolete.
13767 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13768 and :filter-return.
13769
04754d36
FEG
137702013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13771
13772 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13773 and do not care about match data.
13774
dd8791e9
SM
137752013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13778 completion tables when completing error conditions and
13779 `declare' arguments.
13780 (lisp-complete-symbol, field-complete): Mark as obsolete.
13781 (check-parens): Unmatched parens are user errors.
13782 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13783
ffe54a13
AM
137842013-04-17 Michal Nazarewicz <mina86@mina86.com>
13785
dd8791e9
SM
13786 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13787 command changed buffer (ie. `flyspell-pre-buffer' is not current
13788 buffer), which prevents making decisions based on invalid value of
13789 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13790 cause an error when `flyspell-pre-point' was nil after switching
13791 buffers.
13792 (flyspell-post-command-hook): No longer needs to change buffers when
13793 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13794
ec7e39f2
AM
137952013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13796
13797 * textmodes/ispell.el (ispell-add-per-file-word-list):
13798 Fix `flyspell-correct-word-before-point' error when accepting
13799 words and `coment-padding' is an integer by using
13800 `comment-normalize-vars' (Bug #14214).
13801
083850a6
FEG
138022013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13803
13804 New defun movement commands.
13805 * progmodes/python.el (python-nav--syntactically)
13806 (python-nav--forward-defun, python-nav-backward-defun)
13807 (python-nav-forward-defun): New functions.
13808
619ed6e1
FEG
138092013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13810
13811 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13812 (python-syntax-context): Use named compiler-macro for backwards
13813 compatibility with Emacs 24.x.
13814
7a1beb6c
LL
138152013-04-17 Leo Liu <sdl.web@gmail.com>
13816
13817 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13818 octave-hide-process-buffer.
13819
2d3fa3e5
SM
138202013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13821
13822 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13823 (bug#14216).
13824
7ce5be54
JPG
138252013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13826
13827 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13828 Fix adjustment of offset when receiving incomplete responses from GDB
13829 (bug#14129).
13830
351edece
SM
138312013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13832
13833 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13834 python-mode-abbrev-table.
13835 (python-skeleton-define): Adjust accordingly.
13836 (python-mode-abbrev-table): New table that inherits from it so that
13837 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13838
13839 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13840 (abbrev-symbol): Use it.
13841 (abbrev--before-point): Use it since we already handle inheritance.
13842
613f9481
LL
138432013-04-16 Leo Liu <sdl.web@gmail.com>
13844
13845 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13846 binding to info-lookup-symbol.
13847
51646b62
JB
138482013-04-16 Juanma Barranquero <lekktu@gmail.com>
13849
13850 * minibuffer.el (completion--twq-all):
13851 * term/ns-win.el (ns-initialize-window-system):
13852 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13853
efb3f01d
SM
138542013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13855
36c0a301
SM
13856 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13857 global bindings.
13858
efb3f01d
SM
13859 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13860
fb549d64
DG
138612013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13862
13863 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13864 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13865 to nil.
13866 (ruby-end-of-defun): Remove the unused arg, change the docstring
13867 to reflect that this function is only used as the value of
13868 `end-of-defun-function'.
13869 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13870 to reflect an earlier change that beginning/end-of-defun functions
13871 jump between methods in a class definition, as well as top-level
13872 functions.
13873
21e8fe2f
SM
138742013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13875
13876 * minibuffer.el (minibuffer-complete): Don't just scroll
13877 a *Completions* that's been iconified.
13878 (minibuffer-force-complete): Make sure repetitions do cycle when going
13879 through completion-in-region -> minibuffer-complete.
13880
20e527d0
AM
138812013-04-15 Alan Mackenzie <acm@muc.de>
13882
13883 Correct the placement of c-cpp-delimiters when there're #s not at
13884 col 0.
13885
13886 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13887 place a submatch around the #.
21e8fe2f
SM
13888 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13889 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13890 on the #, not BOL.
13891
dabefae5
SM
138922013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13893
13894 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13895 (advice--member-p): New arg `name'.
13896 (advice--add-function, advice-member-p): Use it (bug#14202).
13897
85c9ab64
AM
138982013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13899
13900 Reformulate java imenu-generic-expression.
13901 The old expression contained ill formed regexps.
13902
13903 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13904 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13905 (cc-imenu-java-method-arg-regexp): New defconsts.
13906 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13907 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13908 handling of spaces in the regexp.
13909
0f821d99
AM
139102013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13911
13912 * textmodes/ispell.el (ispell-command-loop): Remove
13913 flyspell highlight of a word when ispell accepts it (bug #14178).
13914
eb922adf
MA
139152013-04-15 Michael Albinus <michael.albinus@gmx.de>
13916
13917 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13918 uses code from the previous `ange-ftp-run-real-handler'.
13919 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13920 only in case that function exist. This is needed for proper
13921 unloading of Tramp.
13922
4d9a0979
TH
139232013-04-15 Tassilo Horn <tsdh@gnu.org>
13924
13925 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13926
13927 * textmodes/reftex.el (reftex-compile-variables): Use it.
13928
a829b0dc
SM
139292013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13930
91e8293c
SM
13931 * files.el (normal-mode): Only use default major-mode if no other mode
13932 was specified.
13933
830aed4d
SM
13934 * emacs-lisp/trace.el (trace-values): New function.
13935
a829b0dc
SM
13936 * files.el: Allow : in local variables (bug#14089).
13937 (hack-local-variable-regexp): New var.
13938 (hack-local-variables-prop-line, hack-local-variables): Use it.
13939
7ae9f0fb
RW
139402013-04-13 Roland Winkler <winkler@gnu.org>
13941
13942 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13943 data before it gets modified by bibtex-beginning-of-entry.
13944
6646e848
RW
139452013-04-13 Roland Winkler <winkler@gnu.org>
13946
13947 * textmodes/bibtex.el (bibtex-url): Doc fix.
13948
139492013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
13950
13951 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13952 does not visit a BibTeX file, exclude it from the list of buffers
13953 returned by bibtex-initialize.
13954
0aa3616e
SB
139552013-04-13 Stephen Berman <stephen.berman@gmx.net>
13956
13957 * window.el (split-window): Remove interactive form, since as a
13958 command this function is a special case of split-window-below.
13959 Correct doc string.
13960
011cddd6
RW
139612013-04-12 Roland Winkler <winkler@gnu.org>
13962
13963 * faces.el (read-face-name): Do not override value of arg default.
13964 Allow single faces and strings as default values. Remove those
13965 elements from return value that are not faces.
13966 (describe-face): Simplify.
13967 (face-at-point): New optional args thing and multiple so that this
13968 function can provide the same functionality previously provided by
13969 read-face-name.
13970 (make-face-bold, make-face-unbold, make-face-italic)
13971 (make-face-unitalic, make-face-bold-italic, invert-face)
13972 (modify-face, read-face-and-attribute): Use face-at-point.
13973
13974 * cus-edit.el (customize-face, customize-face-other-window)
13975 * cus-theme.el (custom-theme-add-face)
13976 * face-remap.el (buffer-face-set)
13977 * facemenu.el (facemenu-set-face): Use face-at-point.
13978
f24e0036
MA
139792013-04-12 Michael Albinus <michael.albinus@gmx.de>
13980
13981 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13982
da3cda2d
TH
139832013-04-10 Tassilo Horn <tsdh@gnu.org>
13984
13985 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13986 off leading { and trailing } from field values.
13987
15e54145
SM
139882013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13989
78ce603d
SM
13990 * emacs-lisp/timer.el (timer--check): New function.
13991 (timer--time, timer-set-function, timer-event-handler): Use it.
13992 (timer-set-idle-time): Simplify.
13993 (timer--activate): CSE.
13994 (timer-event-handler): Give more info in error message.
13995 (internal-timer-start-idle): New function, moved from C.
13996
15e54145
SM
13997 * mpc.el (mpc-proc): Add `restart' argument.
13998 (mpc-proc-cmd): Use it.
13999 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14000 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14001 less often.
14002
7144c627
MY
140032013-04-10 Masatake YAMATO <yamato@redhat.com>
14004
14005 * progmodes/sh-script.el: Implement `sh-mode' own
14006 `add-log-current-defun-function' (bug#14112).
14007 (sh-current-defun-name): New function.
14008 (sh-mode): Use the function.
14009
b39792eb
BG
140102013-04-09 Bastien Guerry <bzg@gnu.org>
14011
14012 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14013
8acdeb71
SM
140142013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14015
6fcdab68
SM
14016 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14017
8acdeb71
SM
14018 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14019 timer (bug#14156).
14020
e3e7b504
NF
140212013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14022
14023 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14024 declaration.
14025
201bb296
LL
140262013-04-07 Leo Liu <sdl.web@gmail.com>
14027
14028 * pcmpl-x.el: New file.
14029
ebb19708
DA
140302013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14031
14032 Do not set x-display-name until X connection is established.
14033 This is needed to prevent from weird situation described at
14034 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14035 * frame.el (make-frame): Set x-display-name after call to
14036 window system initialization function, not before.
14037 * term/x-win.el (x-initialize-window-system): Add optional
14038 display argument and use it.
14039 * term/w32-win.el (w32-initialize-window-system):
14040 * term/ns-win.el (ns-initialize-window-system):
14041 * term/pc-win.el (msdos-initialize-window-system):
14042 Add compatible optional display argument.
14043
33bb237a
EZ
140442013-04-06 Eli Zaretskii <eliz@gnu.org>
14045
14046 * files.el (normal-backup-enable-predicate): On MS-Windows and
14047 MS-DOS compare truenames of temporary-file-directory and of the
14048 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14049 don't fail comparison by compare-strings. Also, compare file
14050 names case-insensitively on MS-Windows and MS-DOS.
14051
134abf1f
SM
140522013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14053
14054 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14055 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14056
d695cb94
DG
140572013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14058
e3e7b504
NF
14059 * whitespace.el (whitespace-color-on, whitespace-color-off):
14060 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 14061
f4ad7ea1 140622013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
14063
14064 * ispell.el (ispell-set-spellchecker-params):
14065 Really set `ispell-args' for all equivs.
14066
632556e4
SM
140672013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14068
14069 * ido.el (ido-completions): Use extra elements of ido-decorations
14070 (bug#14143).
14071 (ido-decorations): Update docstring.
14072
2a417372
MA
140732013-04-05 Michael Albinus <michael.albinus@gmx.de>
14074
14075 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14076 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14077 nil during initialization, in order not to miss changes since the
14078 file was opened. (Bug#14140)
14079
fc164b0c
LL
140802013-04-05 Leo Liu <sdl.web@gmail.com>
14081
14082 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14083
0ccecc08
JB
140842013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14085
14086 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14087
51af1aa2
GM
140882013-04-04 Glenn Morris <rgm@gnu.org>
14089
14090 * electric.el (electric-pair-inhibit-predicate): Add :version.
14091
b208ebc6
SM
140922013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14093
14094 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14095 when a package is required several times (bug#14082).
14096
f3d3eaf0
RW
140972013-04-04 Roland Winkler <winkler@gnu.org>
14098
14099 * faces.el (read-face-name): Behave as promised by the docstring.
14100 Assume that arg default is a list of faces.
14101 (describe-face): Call read-face-name with list of default faces.
14102
2575da50
TV
141032013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14104
14105 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14106 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14107 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14108 the header.
14109 (bookmark-exit-hook-internal): Save even if list is empty.
14110
397703b4
YH
141112013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14112
14113 * emacs-lisp/package.el (package-pinned-packages): New var.
14114 (package--add-to-archive-contents): Obey it (bug#14118).
14115
691e26ae
AM
141162013-04-03 Alan Mackenzie <acm@muc.de>
14117
8a621d53
JB
14118 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14119 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
14120
14121 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14122 parameter `not-in-delimiter'. Handle being inside comment opener.
14123 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14124 character in case we're typing a '*' after a '/'.
14125 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14126 instead by passing the parameter to c-state-pp-to-literal.
14127
14128 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14129 for elt. 7 of a parse state.
14130
4b725a70
PE
141312013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14132
14133 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14134 * international/latin1-disp.el, international/mule-util.el:
14135 * language/cyril-util.el, language/european.el, language/ind-util.el:
14136 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14137 * language/tibetan.el, language/viet-util.el:
14138 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14139
15c579f0
SM
141402013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14141
14142 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14143 (electric-pair-post-self-insert-function): Use it.
14144 (electric-pair-default-inhibit): New function, extracted from
14145 electric-pair-post-self-insert-function.
14146
a77e2924
RW
141472013-03-31 Roland Winkler <winkler@gnu.org>
14148
14149 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14150
2bd8a4a8
SM
141512013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14152
14153 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14154
8d3655be 141552013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
14156
14157 Un-indent after "pass" and "return" statements (Bug#13888)
14158 * progmodes/python.el (python-indent-block-enders): New var.
14159 (python-indent-calculate-indentation): Use it.
14160
8d3655be 141612013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
14162
14163 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14164 defun. Defining it as defalias could introduce too eager
14165 byte-compiler optimization. (Bug#14030)
14166
8d3655be 141672013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
14168
14169 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14170
0b1619da
LL
141712013-03-30 Leo Liu <sdl.web@gmail.com>
14172
14173 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14174 (kmacro-execute-from-register): Pass the keyboard macro to
14175 kmacro-call-macro or repeating won't work correctly.
14176
0b938190
TZ
141772013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14178
14179 * progmodes/subword.el: Back to using `forward-symbol'.
14180
14181 * subr.el (forward-whitespace, forward-symbol)
14182 (forward-same-syntax): Move from thingatpt.el.
14183
35710234
LL
141842013-03-29 Leo Liu <sdl.web@gmail.com>
14185
14186 * kmacro.el (kmacro-to-register): New command.
14187 (kmacro-execute-from-register): New function.
14188 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14189
efc0bb73
SM
141902013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * mpc.el: Use defvar-local and setq-local.
14193 (mpc--proc-connect): Connection failures are not bugs.
14194 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14195 (mpc-volume-map): Bind to the up-events.
14196
75a2f981
TZ
141972013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14198
14199 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14200 instead of `forward-symbol'.
14201
17c781d1
SM
142022013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14203
14204 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14205 (edebug--recursive-edit): Use it.
14206 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14207 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14208
f67bfbcf
LL
142092013-03-28 Leo Liu <sdl.web@gmail.com>
14210
14211 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14212
b59f639d
EZ
142132013-03-27 Eli Zaretskii <eliz@gnu.org>
14214
14215 * facemenu.el (list-colors-callback): New defvar.
14216 (list-colors-redisplay): New function.
14217 (list-colors-display): Install list-colors-redisplay as the
14218 revert-buffer-function. (Bug#14063)
14219
f557c1b1
SM
142202013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14221
b1da2957
SM
14222 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14223 and suffixes don't overlap (bug#14061).
14224
f557c1b1
SM
14225 * case-table.el: Use lexical-binding.
14226 (case-table-get-table): New function.
14227 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14228
002668e1
TZ
142292013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14230
14231 * progmodes/subword.el: Add `superword-mode' to do word motion
14232 over symbol_words (parallels and leverages `subword-mode' which
14233 does word motion inside MixedCaseWords).
14234
73572c72
AG
142352013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14236
78b8f320 14237 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 14238 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 14239
69b2c07e
SM
142402013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14243 Change return value to be a sexp. Delay `get-buffer' to after
14244 restoring the desktop (bug#13951).
14245
08bb5ee2
LL
142462013-03-26 Leo Liu <sdl.web@gmail.com>
14247
14248 * register.el: Move semantic tag handling back to
14249 cedet/semantic/senator.el. (Bug#14052)
14250
8d4c974e
SM
142512013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14252
14253 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14254 into the prompt either (bug#13963).
14255
b234d92c
SM
142562013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14259 part of "(error-foo)".
14260
ddfa3cb4
JL
142612013-03-24 Juri Linkov <juri@jurta.org>
14262
14263 * replace.el (list-matching-lines-prefix-face): New defcustom.
14264 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14265 `occur-engine' if `face-differs-from-default-p' returns t.
14266 (occur-engine): Add `,' inside backquote construct to evaluate
14267 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14268 Pass `prefix-face' to the functions `occur-context-lines' and
14269 `occur-engine-add-prefix'.
14270 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14271 `prefix-face' and propertize the prefix with `prefix-face'.
14272 (Bug#14017)
14273
7b0e2f85
LL
142742013-03-24 Leo Liu <sdl.web@gmail.com>
14275
14276 * nxml/rng-valid.el (rng-validate-while-idle)
14277 (rng-validate-quick-while-idle): Guard against deleted buffer.
14278 (Bug#13999)
14279
14280 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14281 is the last entry in kill-buffer-hook.
14282
14283 * files.el (kill-buffer-hook): Doc fix.
14284
b3082f49
DG
142852013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14286
b234d92c
SM
14287 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14288 Make it safe-local.
bde73d27 14289
b3082f49
DG
14290 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14291
a320a2db
LL
142922013-03-23 Leo Liu <sdl.web@gmail.com>
14293
7e74b0fb
LL
14294 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14295 Remove.
14296
14297 * nxml/rng-valid.el (rng-validate-mode)
14298 (rng-after-change-function, rng-do-some-validation):
14299 * nxml/rng-maint.el (rng-validate-buffer):
14300 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14301 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14302 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14303 (nxml-extend-after-change-region): Use with-silent-modifications.
14304
a320a2db
LL
14305 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14306 timer-idle-list.
14307
14308 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14309 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14310 timer-idle-list. (Bug#13999)
14311
e38e6780
JL
143122013-03-23 Juri Linkov <juri@jurta.org>
14313
14314 * info.el (info-index-match): New face.
14315 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14316 main pattern and add text properties with the new face to matches
14317 in index entries relative to the beginning of the index entry.
14318 (Bug#14015)
14319
e8cc7880
DE
143202013-03-21 Eric Ludlam <zappo@gnu.org>
14321
39c87140 14322 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14323 Inhibit read only while inserting objects.
14324
9bb0d822
TZ
143252013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14326
14327 * progmodes/cfengine.el: Update docs to mention
14328 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14329 symbol motion. Remove "_" from the word syntax.
14330
aa703640
TZ
143312013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14332
14333 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14334 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14335
afff09d0
JL
143362013-03-20 Juri Linkov <juri@jurta.org>
14337
14338 * info.el (Info-next-reference-or-link)
14339 (Info-prev-reference-or-link): New functions.
14340 (Info-next-reference, Info-prev-reference): Use them.
14341 (Info-try-follow-nearest-node): Handle footnote navigation.
14342 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14343
9a1ff164
SM
143442013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14345
14346 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14347 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14348
2667d15d
PE
143492013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14350
14351 Suppress unnecessary non-ASCII chatter during build process.
14352 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14353 (batch-skkdic-convert): Suppress most of the chatter.
14354 It's not needed so much now that machines are faster,
14355 and its non-ASCII component was confusing; see Dmitry Gutov in
14356 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14357
438b0579
LL
143582013-03-20 Leo Liu <sdl.web@gmail.com>
14359
14360 * ido.el (ido-chop): Fix bug#10994.
14361
c128ab07
DG
143622013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14363
14364 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14365 Remove vars.
9a1ff164
SM
14366 (whitespace-color-on, whitespace-color-off):
14367 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14368
0e6008c5
SM
143692013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14370
14371 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14372 remapping in mode-line.
14373 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14374
627b52b0
DG
143752013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14376
14377 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14378 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14379 (whitespace-font-lock-keywords): Change description.
14380 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14381 the constructed keywords instead.
14382 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14383
50c3a20b
LL
143842013-03-19 Leo Liu <sdl.web@gmail.com>
14385
14386 * progmodes/compile.el (compilation-display-error): New command.
14387 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14388 C-o. (Bug#13992)
14389
2aa2157b
PE
143902013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14391
14392 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14393
e477dbfa
JD
143942013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14395
14396 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14397
64ab82d1
MA
143982013-03-18 Michael Albinus <michael.albinus@gmx.de>
14399
14400 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14401
14402 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14403 * net/tramp-gvfs.el (top):
14404 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14405 (tramp-handle-shell-command): Use it.
14406 (tramp-dissect-file-name): Raise an error when hostname is a
14407 method name, and neither method nor user is specified.
14408
14409 * net/trampver.el: Update release number.
14410
33cef733
LL
144112013-03-18 Leo Liu <sdl.web@gmail.com>
14412
14413 Make sure eldoc can be turned off properly.
14414 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14415 eldoc-mode.
14416 (eldoc-display-message-p): Revert last change.
14417 (eldoc-display-message-no-interference-p)
14418 (eldoc-print-current-symbol-info): Tweak.
14419
2167b7b2
TH
144202013-03-18 Tassilo Horn <tsdh@gnu.org>
14421
14422 * doc-view.el (doc-view-new-window-function): Check the new window
14423 overlay's display property instead the char property of the
14424 buffer's first char. Use `with-selected-window' instead of
14425 `save-window-excursion' with `select-window'.
14426 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14427 display property instead the char property of the buffer's first char.
2167b7b2 14428
982efbcd
PE
144292013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14430
14431 Automate the build of ja-dic.el (Bug#13984).
14432 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14433 from the input, rather than assume that it's been done for us by the
14434 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14435 the current date into a ja-dic.el comment, as that complicates
14436 regression testing.
14437
2fcc7665
SM
144382013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14439
14440 * whitespace.el: Fix double evaluation.
14441 (whitespace-space, whitespace-hspace, whitespace-tab)
14442 (whitespace-newline, whitespace-trailing, whitespace-line)
14443 (whitespace-space-before-tab, whitespace-indentation)
14444 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14445 obsolete defvars.
14446 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14447 (whitespace-color-on): Use a single font-lock-add-keywords call.
14448 Fix double-evaluation of face variables.
14449
67c0a6e6
MA
144502013-03-17 Michael Albinus <michael.albinus@gmx.de>
14451
2fcc7665
SM
14452 * net/tramp-adb.el (tramp-adb-parse-device-names):
14453 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14454 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14455
69489f1d
LL
144562013-03-17 Leo Liu <sdl.web@gmail.com>
14457
14458 Extend eldoc to display info in the mode-line. (Bug#13978)
14459 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14460 (eldoc-mode-line-string): New variable.
14461 (eldoc-minibuffer-message): New function.
14462 (eldoc-message-function): New variable.
14463 (eldoc-message): Use it.
14464 (eldoc-display-message-p)
2fcc7665
SM
14465 (eldoc-display-message-no-interference-p):
14466 Support eldoc-post-insert-mode.
69489f1d
LL
14467
14468 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14469 (eval-expression): Run it.
14470
9c44569e
RW
144712013-03-17 Roland Winkler <winkler@gnu.org>
14472
14473 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14474 strings in the list of return values.
14475
327f1f6f
JB
144762013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14477
14478 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14479 radix before checking for HMS forms.
14480
67ed8fcd
LL
144812013-03-16 Leo Liu <sdl.web@gmail.com>
14482
14483 * progmodes/scheme.el: Add indentation and font-locking for λ.
14484 (Bug#13975)
14485
78be8b64 144862013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14487
14488 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14489 token before point (bug#13942).
14490
78be8b64 144912013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14492
95b43468 14493 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14494
98e775e6
EZ
144952013-03-16 Eli Zaretskii <eliz@gnu.org>
14496
14497 * startup.el (command-line-normalize-file-name): Fix handling of
14498 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14499 <xfq.free@gmail.com> in
14500 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14501
2edd6029
MA
145022013-03-15 Michael Albinus <michael.albinus@gmx.de>
14503
14504 Sync with Tramp 2.2.7.
14505
14506 * net/trampver.el: Update release number.
14507
d35f5864
TH
145082013-03-14 Tassilo Horn <tsdh@gnu.org>
14509
e903c210 14510 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14511 (doc-view-insert-image): Don't modify overlay associated to
14512 non-live windows, and implement horizontal centering of image in
14513 case it's smaller than the window.
14514 (doc-view-new-window-function): Force redisplay of new windows on
14515 doc-view buffers.
d35f5864 14516
1c4a85ed
KF
145172013-03-13 Karl Fogel <kfogel@red-bean.com>
14518
14519 * saveplace.el (save-place-alist-to-file): Don't sort
14520 `save-place-alist', just pretty-print it (bug#13882).
14521
85b66a21
MA
145222013-03-13 Michael Albinus <michael.albinus@gmx.de>
14523
a020afb9
JB
14524 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14525 Check whether `default-file-name-coding-system' is bound.
14526 It isn't in XEmacs.
85b66a21 14527
175600da
SM
145282013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14529
e7f7cb1a
SM
14530 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14531 backquotes for `obsolete' (bug#13929).
14532
175600da
SM
14533 * international/mule.el (find-auto-coding): Include file name in
14534 obsolescence warning (bug#13922).
14535
ca68a22e
TZ
145362013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14537
14538 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14539 for CFEngine 3-specific indentation.
14540 (cfengine3-indent-line): Use it. Fix up category regex.
14541 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14542
940e5099
SM
145432013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14544
14545 * type-break.el (type-break-file-name):
14546 * textmodes/remember.el (remember-data-file):
14547 * strokes.el (strokes-file):
14548 * shadowfile.el (shadow-initialize):
14549 * saveplace.el (save-place-file):
14550 * ps-bdf.el (bdf-cache-file):
14551 * progmodes/idlwave.el (idlwave-config-directory):
14552 * net/quickurl.el (quickurl-url-file):
14553 * international/kkc.el (kkc-init-file-name):
14554 * ido.el (ido-save-directory-list-file):
14555 * emulation/viper.el (viper-custom-file-name):
14556 * emulation/vip.el (vip-startup-file):
14557 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14558 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14559
cc725808
PE
145602013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14561
14562 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14563 * language/thai-word.el: Switch to UTF-8.
14564
a020afb9 14565See ChangeLog.16 for earlier changes.
e3d51b27
MR
14566
14567;; Local Variables:
14568;; coding: utf-8
e3d51b27
MR
14569;; End:
14570
ba318903 14571 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14572
14573 This file is part of GNU Emacs.
14574
14575 GNU Emacs is free software: you can redistribute it and/or modify
14576 it under the terms of the GNU General Public License as published by
14577 the Free Software Foundation, either version 3 of the License, or
14578 (at your option) any later version.
14579
14580 GNU Emacs is distributed in the hope that it will be useful,
14581 but WITHOUT ANY WARRANTY; without even the implied warranty of
14582 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14583 GNU General Public License for more details.
14584
14585 You should have received a copy of the GNU General Public License
14586 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.